This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/65504] [4.9/5 Regression] select case with strings and -fgcse -O
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 22 Mar 2015 17:02:04 +0000
- Subject: [Bug rtl-optimization/65504] [4.9/5 Regression] select case with strings and -fgcse -O
- Auto-submitted: auto-generated
- References: <bug-65504-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65504
--- Comment #15 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
It's a bug in Dead Store Elimination (so -fno-dse is the workaround) exposed by
a combination of GCSE and FWPROP which changes the canonicalization of
addresses (so -fno-gcse and -fno-forward-propagate paper over the bug).