public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/67715] New: [6 Regression][ARM] ICE in cselib.c during reload_cse_regs
@ 2015-09-24 16:05 ktkachov at gcc dot gnu.org
2015-09-25 7:53 ` [Bug rtl-optimization/67715] " rguenth at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-09-24 16:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67715
Bug ID: 67715
Summary: [6 Regression][ARM] ICE in cselib.c during
reload_cse_regs
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: ktkachov at gcc dot gnu.org
CC: vmakarov at gcc dot gnu.org
Target Milestone: ---
Target: arm
The testcase:
typedef struct
{
unsigned short fld[9][8][8];
} my_struct;
extern my_struct *img;
void
foo (void)
{
int i,j;
int arr[25];
for (i = 0; i < 8; i++)
{
img->fld[1][i][0] =
img->fld[1][i][1] =
img->fld[1][i][2] =
img->fld[1][i][3] =
img->fld[1][i][4] =
img->fld[1][i][5] =
img->fld[1][i][6] =
img->fld[1][i][7] = (&(arr[17]))[i];
}
}
ICEs on arm after r227382 with:
$ arm-none-eabi-gcc -Ofast -S -mcpu=cortex-a57 -mfpu=neon-vfpv4
-mfloat-abi=hard besttry.c
besttry.c: In function 'foo':
besttry.c:24:1: internal compiler error: in cselib_record_set, at cselib.c:2388
}
^
0x70a659 cselib_record_set
$SRC/gcc/cselib.c:2388
0x70a659 cselib_record_sets
$SRC/gcc/cselib.c:2605
0x70b6a8 cselib_process_insn(rtx_insn*)
$SRC/gcc/cselib.c:2678
0x9acabd reload_cse_regs_1
$SRC/gcc/postreload.c:235
0x9acf30 reload_cse_regs
$SRC/gcc/postreload.c:81
0x9acf30 execute
$SRC/gcc/postreload.c:2350
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
The arm cross compiler was configured with --with-fpu=neon-fp-armv8
--with-arch=armv8-a.
The ICE occurs at -O3 and -Ofast but not -O1, -O2, -Os, presumably due to
vectorization.
The insn that's causing the ICE is:
#2 cselib_record_sets (insn=insn@entry=0x7ffff7328680) at
/work/kyrtka01/local-checkouts/gcc/gcc/cselib.c:2605
2605 cselib_record_set (dest, sets[i].src_elt,
sets[i].dest_addr_elt);
(gdb) call debug_rtx (insn)
(insn 19 17 67 2 (parallel [
(set (reg:V8HI 48 d16 [117])
(unspec:V8HI [
(reg:V8HI 48 d16 [117])
(reg:V8HI 48 d16 [117])
] UNSPEC_VZIP1))
(set (reg:V8HI 48 d16 [117])
(unspec:V8HI [
(reg:V8HI 48 d16 [117])
(reg:V8HI 48 d16 [117])
] UNSPEC_VZIP2))
]) besttry.c:15 1964 {*neon_vzipv8hi_insn}
(nil))
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug rtl-optimization/67715] [6 Regression][ARM] ICE in cselib.c during reload_cse_regs
2015-09-24 16:05 [Bug rtl-optimization/67715] New: [6 Regression][ARM] ICE in cselib.c during reload_cse_regs ktkachov at gcc dot gnu.org
@ 2015-09-25 7:53 ` rguenth at gcc dot gnu.org
2015-10-10 10:56 ` ramana at gcc dot gnu.org
2015-10-12 10:39 ` renlin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-09-25 7:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67715
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |6.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug rtl-optimization/67715] [6 Regression][ARM] ICE in cselib.c during reload_cse_regs
2015-09-24 16:05 [Bug rtl-optimization/67715] New: [6 Regression][ARM] ICE in cselib.c during reload_cse_regs ktkachov at gcc dot gnu.org
2015-09-25 7:53 ` [Bug rtl-optimization/67715] " rguenth at gcc dot gnu.org
@ 2015-10-10 10:56 ` ramana at gcc dot gnu.org
2015-10-12 10:39 ` renlin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: ramana at gcc dot gnu.org @ 2015-10-10 10:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67715
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-10-10
CC| |ramana at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug rtl-optimization/67715] [6 Regression][ARM] ICE in cselib.c during reload_cse_regs
2015-09-24 16:05 [Bug rtl-optimization/67715] New: [6 Regression][ARM] ICE in cselib.c during reload_cse_regs ktkachov at gcc dot gnu.org
2015-09-25 7:53 ` [Bug rtl-optimization/67715] " rguenth at gcc dot gnu.org
2015-10-10 10:56 ` ramana at gcc dot gnu.org
@ 2015-10-12 10:39 ` renlin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: renlin at gcc dot gnu.org @ 2015-10-12 10:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67715
renlin at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |renlin at gcc dot gnu.org
--- Comment #2 from renlin at gcc dot gnu.org ---
I have check that this ICE has been fixed by the target patch here:
https://gcc.gnu.org/ml/gcc-patches/2015-10/msg00609.html
It's exactly the same type of error. The patch has already been committed on
trunk as r228662.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-10-12 10:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-24 16:05 [Bug rtl-optimization/67715] New: [6 Regression][ARM] ICE in cselib.c during reload_cse_regs ktkachov at gcc dot gnu.org
2015-09-25 7:53 ` [Bug rtl-optimization/67715] " rguenth at gcc dot gnu.org
2015-10-10 10:56 ` ramana at gcc dot gnu.org
2015-10-12 10:39 ` renlin at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).