[Bug middle-end/44681] usage of macro in loop boundary leads to crash
jd at cococo dot de
gcc-bugzilla@gcc.gnu.org
Wed Jun 30 10:32:00 GMT 2010
------- Comment #3 from jd at cococo dot de 2010-06-30 10:32 -------
You are right - it was a matter of bracketing. After having changed the macro
to
#define max(a,b) (a>b?a:b)
it works fine on MingW and Linux.
The problem lies in an incompatibility between to Delphi 2010. Delphi processed
it according to my intention and gcc interprets it differently.
Thanks,
Jens
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44681
More information about the Gcc-bugs
mailing list