ICE in change_address_1, at emit-rtl.c:2019

Bug #1349570 reported by Gregory Fong on 2014-07-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Fix Committed
Kumar Venkataramanan
gcc-4.8-armhf-cross (Ubuntu)

Bug Description

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 -c 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.

Gregory Fong (gvfong) wrote :
Maxim Kuvyrkov (maxim-kuvyrkov) wrote :

Thanks for the testcase. This is reproducible with 4.8 2014.04 (our latest 4.8), but not with 4.9 2014.06 (didn't test other 4.9 versions).

Maxim Kuvyrkov (maxim-kuvyrkov) wrote :

We track Linaro toolchain bugs on Please report future bugs there directly.

This is now

Gregory Fong (gvfong) wrote :

Thanks for adding that Maxim, I didn't know that Linaro had a new bug tracker.

Maxim Kuvyrkov (maxim-kuvyrkov) wrote :

Also confirmed on linaro-4.8-branch as of yesterday

Changed in gcc-linaro:
status: New → Confirmed
Changed in gcc-linaro:
assignee: nobody → Kumar Venkataramanan (venkataramanan-kumar)

Reproduced the bug with cbuild2 on linaro-4.8-branch with options -mtune=cortex-a15 -mfpu=neon -marm -O2

Please see for the bug triage details

Fixed by backporting trunk r205807.


Changed in gcc-linaro:
status: Confirmed → Fix Committed
Gregory Fong (gvfong) on 2014-08-29
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.