Bug 45614 - [4.6 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1056 with -ftree-vectorize
Summary: [4.6 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_re...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: rtl-optimization (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: 4.6.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-09 13:03 UTC by Zdenek Sojka
Modified: 2010-09-09 14:09 UTC (History)
1 user (show)

See Also:
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
reduced testcase (126 bytes, text/plain)
2010-09-09 13:04 UTC, Zdenek Sojka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zdenek Sojka 2010-09-09 13:03:28 UTC
Compiler output:
$ gcc -O -ftree-vectorize testcase.c
testcase.c: In function 'foo':
testcase.c:11:1: internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1056
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.

Tested revisions:
r164069 - crash
r163965 - OK
Comment 1 Zdenek Sojka 2010-09-09 13:04:19 UTC
Created attachment 21751 [details]
reduced testcase
Comment 2 H.J. Lu 2010-09-09 13:26:51 UTC
I think it is fixed by revision 164071:

http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg00363.html
Comment 3 Zdenek Sojka 2010-09-09 13:40:09 UTC
Indeed, r164077 no longer crashes.
Comment 4 H.J. Lu 2010-09-09 14:09:43 UTC
Fixed.