This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/77621] [6/7 Regression] Internal compiler error for mtune=atom + msse2
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Sep 2016 10:53:26 +0000
- Subject: [Bug tree-optimization/77621] [6/7 Regression] Internal compiler error for mtune=atom + msse2
- Auto-submitted: auto-generated
- References: <bug-77621-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77621
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |NEW
CC| |rguenth at gcc dot gnu.org
Component|target |tree-optimization
--- Comment #6 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #5)
> Started to ICE with r230310.
Confirmed.
Reduced testcase fails with -O3 -msse2 -mtune=atom for 32bit and 64bit x86
targets in:
Program received signal SIGSEGV, Segmentation fault.
0x00000000006de13e in tree_class_check (__t=0x0, __class=tcc_type,
__f=0x215b580 "../../git/gcc/gcc/tree-vect-data-refs.c", __l=761,
__g=0x215d260
<vect_compute_data_ref_alignment(data_reference*)::__FUNCTION__>
"vect_compute_data_ref_alignment")
at ../../git/gcc/gcc/tree.h:3148
3148 if (TREE_CODE_CLASS (TREE_CODE (__t)) != __class)
(gdb) bt
#0 0x00000000006de13e in tree_class_check (__t=0x0, __class=tcc_type,
__f=0x215b580 "../../git/gcc/gcc/tree-vect-data-refs.c", __l=761,
__g=0x215d260
<vect_compute_data_ref_alignment(data_reference*)::__FUNCTION__>
"vect_compute_data_ref_alignment")
at ../../git/gcc/gcc/tree.h:3148
#1 0x000000000199f40d in vect_compute_data_ref_alignment (dr=0x29688e0) at
../../git/gcc/gcc/tree-vect-data-refs.c:759
(gdb) f 1
#1 0x000000000199f40d in vect_compute_data_ref_alignment (dr=0x29688e0) at
../../git/gcc/gcc/tree-vect-data-refs.c:759
759 if (tree_fits_shwi_p (step)
(gdb) list
754 else
755 {
756 tree step = DR_STEP (dr);
757 unsigned vf = loop ? LOOP_VINFO_VECT_FACTOR (loop_vinfo) : 1;
758
759 if (tree_fits_shwi_p (step)
760 && ((tree_to_shwi (step) * vf)
761 % GET_MODE_SIZE (TYPE_MODE (vectype)) != 0))
762 {
763 if (dump_enabled_p ())
(gdb) p vectype
$1 = (tree) 0x0
CC author.