public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/47483] New: [4.6.0 regression] ce3 moves dereference before implied non-NULL test
@ 2011-01-27 1:25 aoliva at gcc dot gnu.org
2011-01-27 1:46 ` [Bug rtl-optimization/47483] " pinskia at gcc dot gnu.org
2011-01-27 2:20 ` aoliva at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: aoliva at gcc dot gnu.org @ 2011-01-27 1:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47483
Summary: [4.6.0 regression] ce3 moves dereference before
implied non-NULL test
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: aoliva@gcc.gnu.org
Target: i686-pc-linux-gnu
Created attachment 23138
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23138
Compile with -O2 -m32 on i686-pc-linux-gnu, run to crash
I simplified this testcase from a FOR_EACH_LOCAL_DECL loop I introduced as part
of an attempt to fix the latent problem that remained from bug 47106, after the
reversal that fixed bug 47402.
ce3 regards the memory reference as safe, for it's marked as non-trapping
(which is true, since it's guarded by the test), and then it decides to move it
ahead of the test that made it safe in the first place.
This is a regression, it works with 4.5.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug rtl-optimization/47483] [4.6.0 regression] ce3 moves dereference before implied non-NULL test
2011-01-27 1:25 [Bug rtl-optimization/47483] New: [4.6.0 regression] ce3 moves dereference before implied non-NULL test aoliva at gcc dot gnu.org
@ 2011-01-27 1:46 ` pinskia at gcc dot gnu.org
2011-01-27 2:20 ` aoliva at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-01-27 1:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47483
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-01-27 00:21:07 UTC ---
This sounds like what was just fixed for PR 47464.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug rtl-optimization/47483] [4.6.0 regression] ce3 moves dereference before implied non-NULL test
2011-01-27 1:25 [Bug rtl-optimization/47483] New: [4.6.0 regression] ce3 moves dereference before implied non-NULL test aoliva at gcc dot gnu.org
2011-01-27 1:46 ` [Bug rtl-optimization/47483] " pinskia at gcc dot gnu.org
@ 2011-01-27 2:20 ` aoliva at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: aoliva at gcc dot gnu.org @ 2011-01-27 2:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47483
Alexandre Oliva <aoliva at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-01-27 01:25:02 UTC ---
Dupe
*** This bug has been marked as a duplicate of bug 47464 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-27 1:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-27 1:25 [Bug rtl-optimization/47483] New: [4.6.0 regression] ce3 moves dereference before implied non-NULL test aoliva at gcc dot gnu.org
2011-01-27 1:46 ` [Bug rtl-optimization/47483] " pinskia at gcc dot gnu.org
2011-01-27 2:20 ` aoliva at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).