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

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

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.

Revision history for this message
Gregory Fong (gvfong) wrote :
Revision history for this message
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).

Revision history for this message
Maxim Kuvyrkov (maxim-kuvyrkov) wrote :

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

This is now https://bugs.linaro.org/show_bug.cgi?id=307

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

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

Revision history for this message
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)
Revision history for this message
Kumar Venkataramanan (venkataramanan-kumar) wrote :

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

Revision history for this message
Kumar Venkataramanan (venkataramanan-kumar) wrote :

Please see https://bugs.linaro.org/show_bug.cgi?id=307 for the bug triage details

Revision history for this message
Kumar Venkataramanan (venkataramanan-kumar) wrote :

Fixed by backporting trunk r205807.

Reference: https://bugs.linaro.org/show_bug.cgi?id=307

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

Other bug subscribers

Remote bug watches

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