This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/42691] [4.4/4.5 regression] problematic REG_EQUAL note added to SUBREG
- From: "mikpe at it dot uu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2010 21:11:10 -0000
- Subject: [Bug rtl-optimization/42691] [4.4/4.5 regression] problematic REG_EQUAL note added to SUBREG
- References: <bug-42691-17567@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from mikpe at it dot uu dot se 2010-01-15 21:11 -------
The test case added with this PR appears to be rather broken. On armv5tel with
gcc-4.3 or 4.4 (without the fix) -Os -mthumb I do get an abort(), which seems
deliberate. However, replacing -Os -mthumb with -O0 -g results in a segfault
because deletedEntry is NULL when "*deletedEntry = 0.0;" is executed. It also
segfaults in the same way on i686/x86_64/powerpc64 even with old non-broken
compiler versions.
Looking at the code I don't see how it could ever work, that is exit normally
with status 0.
--
mikpe at it dot uu dot se changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpe at it dot uu dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42691