https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43986
janus at gcc dot gnu.org changed:
What|Removed |Added
Target Milestone|--- |4.6.0
--- Comment #7 from burnus at gcc dot gnu dot org 2010-07-19 15:05 ---
(In reply to comment #6)
(In reply to comment #5)
Is this now fixed on trunk? We had to deal with the TBAA problem with the
arrival of mem-ref2.
Seems to be fixed according to the result for
4.6.0 20100716
--- Comment #8 from hjl dot tools at gmail dot com 2010-07-19 15:38 ---
It disappeared at least since revision 161672.
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
--- Comment #6 from pault at gcc dot gnu dot org 2010-07-16 17:35 ---
(In reply to comment #5)
Is this now fixed on trunk? We had to deal with the TBAA problem with the
arrival of mem-ref2.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43986
--- Comment #5 from wilson at gcc dot gnu dot org 2010-05-17 20:24 ---
A little more debugging. I traced through the true_dependence call that is
returning 0 when it should return 1.
We end up calling rtx_refs_may_alias_p at the end. This calls
refs_may_alias_p_1, which calls
--- Comment #4 from wilson at gcc dot gnu dot org 2010-05-16 02:07 ---
The testcase fails with -O2 -funroll-loops. It works with -O2.
The problem occurs in main at line 89, which is the second doit call. We get a
segfault when dereferencing a null pointer.
The code is wrong because
--- Comment #1 from janus at gcc dot gnu dot org 2010-05-05 08:12 ---
Works for me on x86_64-unknown-linux-gnu.
--
janus at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from janus at gcc dot gnu dot org 2010-05-05 13:07 ---
It also works on x86_64-apple-darwin10.3.0.
Does the failure on ia64 only happen with -O3?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43986
--- Comment #3 from hjl dot tools at gmail dot com 2010-05-05 13:28 ---
(In reply to comment #2)
Does the failure on ia64 only happen with -O3?
It fails with
-O3 -fomit-frame-pointer -funroll-all-loops -finline-functions
and
-O3 -fomit-frame-pointer -funroll-loops
--