This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/42509] [4.5 Regression] bootstrap failure in stage3 (integer overflow in preprocessor expression)



------- Comment #3 from ramana at gcc dot gnu dot org  2010-01-06 12:26 -------
[I don't see the first build breakage with libiberty but the second problem
with "integer overflow in expressions"] . I am trying a full checking build on
a board but that's taking some time to complete !

With some more digging , the problem appears to be with miscompiling
_cpp_parse_expr in libcpp/expr.o in stage2. By recompiling expr.o with -O1 and
recreating the stage2 compiler the bootstrap proceeded further without the
error message. The other work around was to turn off inlining for the "reduce"
function in the libcpp/expr.c and then things seemed to work better.

Looks like a miscompiled stage2 compiler.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42509


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]