[Bug bootstrap/33992] [4.3 Regression] profiledbootstrap is broken

2008-02-08 Thread rguenth at gcc dot gnu dot org
--- Comment #23 from rguenth at gcc dot gnu dot org 2008-02-08 21:29 --- Now that we have a testcase. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/33992] [4.3 Regression] profiledbootstrap is broken

2008-02-08 Thread ubizjak at gmail dot com
--- Comment #22 from ubizjak at gmail dot com 2008-02-08 21:17 --- Created an attachment (id=15119) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15119&action=view) Executable test that shows the failure. This is the test that shows the inliner failure: [EMAIL PROTECTED] ~]$ gcc

[Bug bootstrap/33992] [4.3 Regression] profiledbootstrap is broken

2008-02-08 Thread ubizjak at gmail dot com
--- Comment #21 from ubizjak at gmail dot com 2008-02-08 20:25 --- Following patch that forces inlining of normalize breaks normal bootstrap in exactly the same way, so it looks that there is something wrong with inliner. Index: real.c ===

[Bug bootstrap/33992] [4.3 Regression] profiledbootstrap is broken

2008-02-08 Thread ubizjak at gmail dot com
--- Comment #20 from ubizjak at gmail dot com 2008-02-08 20:15 --- (In reply to comment #19) > So, what upsets gcc's inliner/profiler/whatever to drop the call? Correction, normalize() gets inlined together with lshift_significand(), but there is something wrong with inlined version. A

[Bug bootstrap/33992] [4.3 Regression] profiledbootstrap is broken

2008-02-08 Thread ubizjak at gmail dot com
--- Comment #19 from ubizjak at gmail dot com 2008-02-08 14:21 --- The core of the problem is, that for profiled bootstrap, the call to normalize() from do_multiply() is simply gone. Gone in the sense, that normalize() is neither inlined at the call site, neither is called in do_multiply

[Bug bootstrap/33992] [4.3 Regression] profiledbootstrap is broken

2008-02-07 Thread ubizjak at gmail dot com
--- Comment #18 from ubizjak at gmail dot com 2008-02-07 20:47 --- (In reply to comment #17) > P2 - this should not block the release (it's not that profiledbootstrap was > never > broken in released compilers). It's also hard to analyze (no, I'm not on it, > volunteers welcome). It lo

[Bug bootstrap/33992] [4.3 Regression] profiledbootstrap is broken

2008-02-06 Thread rguenth at gcc dot gnu dot org
--- Comment #17 from rguenth at gcc dot gnu dot org 2008-02-06 20:51 --- P2 - this should not block the release (it's not that profiledbootstrap was never broken in released compilers). It's also hard to analyze (no, I'm not on it, volunteers welcome). -- rguenth at gcc dot gnu dot

[Bug bootstrap/33992] [4.3 Regression] profiledbootstrap is broken

2008-02-06 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2008-02-06 11:19 --- Just re-building real.o with removing the real.gc* files before fixes the bug, so to trigger this bug you indeed need the profile-feedback. -O2 -fbranch-probabilities -finline-functions is enough to trigger the fa

[Bug bootstrap/33992] [4.3 Regression] profiledbootstrap is broken

2008-02-06 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2008-02-06 09:59 --- profiledbootstrap on x86_64 fails for me with checking for x86_64-unknown-linux-gnu-gcc... /space/rguenther/obj/./gcc/xgcc -B/space/rguenther/obj/./gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_

[Bug bootstrap/33992] [4.3 Regression] profiledbootstrap is broken

2008-02-06 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2008-02-06 09:28 --- Err well. Adjusted the summary to something more descriptive, marked as a regression (4.2 did profiledbootstrap ok). -- rguenth at gcc dot gnu dot org changed: What|Removed