I just tried to compile package gsl-1.7-2 from Suse Linux with a recent
GNU C compiler version 4.2 snapshot 20060121. 

The compiler snapshot said

/home/dcb/gnu/42-20060121/results/bin/gcc -g -O3 -Wall -fmessage-length=0
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2
-O3 -finline-limit=720 --param max-inline-insns-auto=160 -ffast-math
-funroll-loops -fno-strict-aliasing -momit-leaf-frame-pointer -funit-at-a-time
-ftree-vectorize -c bessel_Kn.c  -fPIC -DPIC -o bessel_Kn.o
bessel_Kn.c: In function sel_Kn.c:103: internal compiler error: in
vect_recog_dot_prod_pattern, at tree-vect-patterns.c:246
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

It seems that the flags -O2  -ffast-math -ftree-vectorize are required.

Preprocessed source code attached.


-- 
           Summary: ice in vect_recog_dot_prod_pattern
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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

Reply via email to