A segmentation fault(ipa-cp.c ipcp_lattice_changed (old_lat=0x7ffffbf46080,
new_lat=0x0)) comes up if we:
declare function Mibench > automotive_susan_e > susan.c:susan_edges() with
__attribute__((optimize(3)))
declare function Mibench > automotive_susan_e > susan.c:susan_edges_small()
with __attribute__((optimize(1)))
declare function Mibench > automotive_susan_e > susan.c:susan_corners_quick()
with __attribute__((optimize(3)))
complete command line and compiler output :
$~/ici/install/bin/gcc -lm -O3 -c susan.c
susan.c:2122: internal compiler error: Segmentation fault
System type:
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with:
../../../gcc-ici/branches/gcc-4.4.0-ici-2.0-adapt/configure
--prefix=/home/lpeng/ici/install --with-mpfr=/home/common/tools/mpfr-2.4.1
--with-gmp=/home/common/tools/gmp-4.3.1
--with-ppl=/home/common/tools/ppl-0.10.2 --with-cloog=/home/common/tools/cloog
--enable-languages=c,fortran
Thread model: posix
Release:
gcc version 4.4.0 (GCC)
--
Summary: segmentation fault after using
__attribute__((optimize()))
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ictlpeng at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43589