------- Comment #7 from ramana at gcc dot gnu dot org 2010-03-16 08:57 ------- (In reply to comment #6) > As Matthias said this is a --with-mode=thumb issue, people not using this > option have no issue bootstraping natively on arm: > > http://gcc.gnu.org/ml/gcc-testresults/2010-03/msg01254.html > http://gcc.gnu.org/ml/gcc-testresults/2010-03/msg01186.html >
I spent some time last night playing with this and have a smaller testcase as below where the stage2 pre-processor seems to generate a warning which is wrong. $>cat /tmp/test.c #if 3 * -2 != 6 #error #endif /tmp/test.c:1:12: warning: integer overflow in preprocessor expression /tmp/test.c:2:2: error: #error -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42509