This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/6358: GCC 3.1 ICE on statement expressions
- From: Gwenole Beauchesne <gbeauchesne at mandrakesoft dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 18 Apr 2002 17:21:44 +0200 (CEST)
- Subject: Re: c/6358: GCC 3.1 ICE on statement expressions
On Thu, 18 Apr 2002, Jakub Jelinek wrote:
> Actually, it doesn't seem to be related to statement expressions
> at all.
OK, I got confused by their obfuscated macro expansion and thought the
"return;" meant to get out of the statement expression. Appear to be a
program bug trigerring a gcc-3.1 bug. ;-)
FWIW, the guy used the glib g_return_if_fail() macro and probably should
have used g_return_val_if_fail() with a NAN as the value instead.
Thanks,
Gwenole.