This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/34038] 176.gcc segfaults when compiled with -O2 -ftree-vectorize -maltivec
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Nov 2007 19:01:26 -0000
- Subject: [Bug tree-optimization/34038] 176.gcc segfaults when compiled with -O2 -ftree-vectorize -maltivec
- References: <bug-34038-4503@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from janis at gcc dot gnu dot org 2007-11-29 19:01 -------
I can reproduce the failure with revision 130507 on a p970 system. I compile
176.gcc with "-m32 -O3 -maltivec" and execute that benchmark program with test
input.
My list of vectorized loops is the same except that reload1.c:2433 is reported
twice:
elm3b145% fgrep 'LOOP VECTORIZED' reload.c.104t.vect
reload.c:3231: note: LOOP VECTORIZED.(get_loop_exit_condition
reload.c:3257: note: LOOP VECTORIZED.(get_loop_exit_condition
reload.c:2352: note: LOOP VECTORIZED.
elm3b145% fgrep 'LOOP VECTORIZED' reload1.c.104t.vect
reload1.c:2433: note: LOOP VECTORIZED.
reload1.c:3968: note: LOOP VECTORIZED.(get_loop_exit_condition
reload1.c:3749: note: LOOP VECTORIZED.
reload1.c:784: note: LOOP VECTORIZED.(get_loop_exit_condition
reload1.c:697: note: LOOP VECTORIZED.(get_loop_exit_condition
reload1.c:3623: note: LOOP VECTORIZED.(get_loop_exit_condition
reload1.c:3617: note: LOOP VECTORIZED.(get_loop_exit_condition
reload1.c:2447: note: LOOP VECTORIZED.(get_loop_exit_condition
reload1.c:2433: note: LOOP VECTORIZED.(get_loop_exit_condition
reload1.c:474: note: LOOP VECTORIZED.
It shouldn't make any difference, of course, but I normally build GCC using
--with-cpu=default32 and I think you don't do that; I'll try without it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34038