[Bug rtl-optimization/70219] [6 Regression] ICE: in delete_move_and_clobber, at lra-constraints.c:5864 with -O2

2016-03-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70219

Andrew Pinski  changed:

   What|Removed |Added

   Target Milestone|--- |6.0

[Bug rtl-optimization/70219] [6 Regression] ICE: in delete_move_and_clobber, at lra-constraints.c:5864 with -O2

2016-03-13 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70219

--- Comment #2 from Zdenek Sojka  ---
Created attachment 37951
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37951=edit
testcase that needs only -O1 to reproduce

$ gcc -O testcase.c 
testcase.c: In function 'foo':
testcase.c:9:1: note: The ABI for passing parameters with 32-byte alignment has
changed in GCC 4.6
 foo(u16 u16_0, u32 u64_1, u128 u128_1, v32u16 v32u64_0, v32u128 v32u128_0,
v32u16 v32u16_1, v32u32 v32u32_1, v32u64 v32u64_1, v32u128 v32u128_1)
 ^~~
testcase.c:9:1: warning: AVX vector argument without AVX enabled changes the
ABI [-Wpsabi]
testcase.c:15:1: internal compiler error: in delete_move_and_clobber, at
lra-constraints.c:5864
 }
 ^
0xa08790 delete_move_and_clobber
/repo/gcc-trunk/gcc/lra-constraints.c:5864
0xa166e8 remove_inheritance_pseudos
/repo/gcc-trunk/gcc/lra-constraints.c:5943
0xa166e8 lra_undo_inheritance()
/repo/gcc-trunk/gcc/lra-constraints.c:6231
0x9fe567 lra(_IO_FILE*)
/repo/gcc-trunk/gcc/lra.c:2333
0x9a4c79 do_reload
/repo/gcc-trunk/gcc/ira.c:5398
0x9a4c79 execute
/repo/gcc-trunk/gcc/ira.c:5582
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See  for instructions.

[Bug rtl-optimization/70219] [6 Regression] ICE: in delete_move_and_clobber, at lra-constraints.c:5864 with -O2

2016-03-13 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70219

--- Comment #1 from Zdenek Sojka  ---
Created attachment 37950
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37950=edit
reduced testcase