[Bug c++/44328] switch/case optimization produces an invalid lookup table index

mikpe at it dot uu dot se gcc-bugzilla@gcc.gnu.org
Sun Jun 20 18:26:00 GMT 2010



------- Comment #18 from mikpe at it dot uu dot se  2010-06-20 18:26 -------
(In reply to comment #5)
> Unfortunately I don't see this happening on the x86_64-linux ->
> arm-linux-gnueabi cross compiler I built for myself.

You need to build a cross to arm-eabi not arm-linux-gnueabi to see the bug. 
The two ABIs apparently have different data layout rules.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44328



More information about the Gcc-bugs mailing list