This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [Patch] Fix PR44328 - switch/case optimization produces an invalid lookup table index
- From: "Ian Bolton" <Ian dot Bolton at arm dot com>
- To: "'H.J. Lu'" <hjl dot tools at gmail dot com>, <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 12 Aug 2010 17:28:40 +0100
- Subject: RE: [Patch] Fix PR44328 - switch/case optimization produces an invalid lookup table index
- References: <4451172357808738623@unknownmsgid> <AANLkTi=JDQMS60QCwu1QWaOw6eAky7XX0mSsPLXEvxi0@mail.gmail.com>
H.J.Lu writes:
> > ? ? ? ?* testsuite/gcc.target/arm/pr44328.C: New test.
> >
>
> Why is this test ARM specific?
It's because I didn't know the right place to put it yet. ;-)
I am open to suggestions as to where it should go, and what
options to give it.
For trunk, I need "-fstrict-enums -O2 -Wextra" to cause the
circumstances that exposed the bug, and check that there are
no warnings. For 4.5 branch, -fstrict-enums does not exist,
so I guess I only want "-O2 -Wextra".
Cheers,
Ian