This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [Patch] Fix PR44328 - switch/case optimization produces an invalid lookup table index


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]