From mint-bounce@lists.fishpool.fi  Thu Feb 26 03:56:07 2009
Date: Thu, 26 Feb 2009 09:53:27 +0100 (CET)
From: Frank Naumann <fnaumann@boerde.de>
X-X-Sender: fnaumann@localhost.localdomain
To: =?ISO-8859-15?Q?Vincent_Rivi=E8re?= <vincent.riviere@freesbee.fr>
Cc: mint@fishpool.com
Subject: Re: [MiNT] Gcc 3.3.6 v 4.0.1
In-Reply-To: <49A65413.2020403@freesbee.fr>
Message-ID: <alpine.LFD.2.00.0902260947220.3685@localhost.localdomain>
References: <20090225103817.swnyw26m0wgk8osc@pop.freeola.net>  <373EB9E0-576D-4D59-B0A9-829AD39EB08F@gmail.com> <c6533ef60902250323y7091ce02mbb09a78c9bf3c86a@mail.gmail.com> <49A535ED.6000008@freesbee.fr> <49A56B1A.9050304@atari-source.org> <49A5C597.9030
 <49A65413.2020403@freesbee.fr>
User-Agent: Alpine 2.00 (LFD 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=- tagged_above=-50.5 required=7.0 WHITELISTED 
X-Spam-Level: 
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: fnaumann@boerde.de
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>

Hello!

> I reproduced the bug with a small standalone testcase (not using gmp).
> It passes on Linux, but fails on MiNT.

That's help a lot!

> Again, the macro ARGCHECK() is hit.
> Unfortunately macros cannot be debugged :-(

You can change this one macro manually to an inline function and then you 
can easily debug it. Just remove the '\' and add a function header.

Another way is to only output the preprocessed file (gcc -E option), 
reformat it with a C pretty print tool and then compile and debug it.


Regards,
Frank

--
ATARI FALCON 060 // MILAN 060
-----------------------------
http://sparemint.org/
e-Mail: fnaumann@boerde.de


