Comment 0 for bug 1349570

Revision history for this message
Gregory Fong (gvfong) wrote :

Found when trying to build the v8 javascript engine.
Reproduced with gcc-linaro 4.8-2014.01 and gcc-linaro 4.8-2014.04.
Cannot be reproduced with FSF gcc 4.8.2 or gcc 4.9.0.

$ arm-linux-gnueabihf-g++ -fvisibility=hidden -mtune=cortex-a15 -mfpu=neon -marm -O2 testcase.ii
testcase.ii: In member function ‘int G::SizeFromMap()’:
testcase.ii:63:1: internal compiler error: in change_address_1, at emit-rtl.c:2019
 }
 ^

Removing any of these flags eliminates the error. Reproducible with -O2 and -O3 but not -O1 or -Os.
Cannot be reproduced without -mtune=cortex-a15, even if one of -march=armv7ve or -march=armv7-a are provided.
The problem is not seen with -mthumb (default) instead of -marm.