[Bug c/33872] New: Segfault on -O2 -ftree-vectorize -mabi=altivec with gcc-4.3.0 from 20071012

lu_zero at gentoo dot org gcc-bugzilla@gcc.gnu.org
Tue Oct 23 18:02:00 GMT 2007


I experienced that on ffmpeg elbg.c, I'll attach a delta reduced testcase soon,
the issue is trigged by the cflags combination of -O2 and -ftree-vectorize, I
hadn't dug on -O2 list to spot which is the exact one.

gcc -O2 -mcpu=cell -ftree-vectorize -ftree-vectorizer-verbose=7 delta/min.c
delta/min.c:32: warning: 'struct __gconv_step_data' declared inside parameter
list
delta/min.c:32: warning: its scope is only this definition or declaration,
which is probably not what you want
delta/min.c:32: warning: 'struct __gconv_step' declared inside parameter list
delta/min.c:34: warning: 'struct __gconv_step' declared inside parameter list

delta/min.c:118: note: not vectorized: too many BBs in loop.
delta/min.c:116: note: not vectorized: number of iterations cannot be computed.
delta/min.c:113: note: vectorized 0 loops in function.

delta/min.c:81: note: === vect_analyze_slp ===
delta/min.c:81: note: === vect_make_slp_decision ===
delta/min.c:81: note: === vect_detect_hybrid_slp ===
delta/min.c:81: note: Vectorizing an unaligned access.
delta/min.c:81: note: Vectorizing an unaligned access.
delta/min.c:81: note: === vect_update_slp_costs_according_to_vf ===
delta/min.c:81: note: LOOP VECTORIZED.
delta/min.c:147: note: vectorized 1 loops in function.
delta/min.c: In function 'try_shift_candidate':
delta/min.c:147: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: Segfault on -O2 -ftree-vectorize -mabi=altivec with gcc-
                    4.3.0 from 20071012
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lu_zero at gentoo dot org
 GCC build triplet: powerpc64-unknown-linux-gnu
  GCC host triplet: powerpc64-unknown-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33872



More information about the Gcc-bugs mailing list