This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/42509] [4.5 Regression] bootstrap failure in stage3 (integer overflow in preprocessor expression)
- From: "ramana at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jan 2010 12:26:44 -0000
- Subject: [Bug target/42509] [4.5 Regression] bootstrap failure in stage3 (integer overflow in preprocessor expression)
- References: <bug-42509-11764@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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