[Bug bootstrap/65065] New: ICE with -O3 -floop-block on bootstrap

2015-02-14 Thread hete2 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65065

Bug ID: 65065
   Summary: ICE with -O3 -floop-block on bootstrap
   Product: gcc
   Version: 5.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: hete2 at gmx dot de

On my System (Ubuntu14.04 on an Intel Sandy-bridge configuering gcc-5-20150208
with
../configure --disable-werror 
and bootstraping with:
make BOOT_CFLAGS='-O3 -floop-block -pipe' bootstrap
gave the following error:

/home/hete/neugcc/gcc-5-20150208/Build1/./prev-gcc/xg++
-B/home/hete/neugcc/gcc-5-20150208/Build1/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++ -B/home/hete/
neugcc/gcc-5-20150208/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/hete/neugcc/gcc-5-20150208/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.
libs 
-I/home/hete/neugcc/gcc-5-20150208/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
 -I/home/hete/neugcc/gcc-5-20150208/Build1/prev-x86_64
-unknown-linux-gnu/libstdc++-v3/include 
-I/home/hete/neugcc/gcc-5-20150208/libstdc++-v3/libsupc++
-L/home/hete/neugcc/gcc-5-20150208/Build1/prev-x86_64-unknown-linux-gnu/libstdc
++-v3/src/.libs
-L/home/hete/neugcc/gcc-5-20150208/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-c   -O3 -floop-block -pipe -gtoggle -DIN_GCC-fno-excepti
ons -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual
-pedantic -Wno-long-long -Wno-varia
dic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I.
-I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include 
-I../../gcc/../libdecnumbe
r -I../../gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc/../libbacktrace
  -o omega.o -MT omega.o -MMD -MP -MF ./.deps/omega.TPo ../../gcc/omega.c
../isl_constraint.c:558: expecting integer value
../../gcc/omega.c: In Funktion »int omega_add_new_wild_card(omega_pb)«:
../../gcc/omega.c:758:1: interner Compiler-Fehler: Abgebrochen
 omega_add_new_wild_card (omega_pb pb)
 ^
0xfa1da2 crash_signal
../../gcc/toplev.c:383
0x18f5833 build_linearized_memory_access
../../gcc/graphite-interchange.c:128
0x18f596b pdr_stride_in_loop
../../gcc/graphite-interchange.c:214
0x18f5ccf memory_strides_in_loop_1
../../gcc/graphite-interchange.c:300
0x18f5dd2 memory_strides_in_loop
../../gcc/graphite-interchange.c:319
0x18f5e48 lst_interchange_profitable_p
../../gcc/graphite-interchange.c:417
0x18f6331 lst_try_interchange_loops
../../gcc/graphite-interchange.c:554
0x18f6558 lst_interchange_select_inner
../../gcc/graphite-interchange.c:617
0x18f6642 lst_interchange_select_outer
../../gcc/graphite-interchange.c:643
0x18f667b lst_interchange_select_outer
../../gcc/graphite-interchange.c:653
0x18f66cc scop_do_interchange(scop*)
../../gcc/graphite-interchange.c:665
0x18f49c9 scop_do_block(scop*)
../../gcc/graphite-blocking.c:278
0x1817f66 apply_poly_transforms(scop*)
../../gcc/graphite-poly.c:272
0x1811a30 graphite_transform_loops()
../../gcc/graphite.c:309
0x1811ad7 graphite_transforms
../../gcc/graphite.c:338
0x1811c21 execute
../../gcc/graphite.c:419
Bitte senden Sie einen vollständigen Fehlerbericht auf Englisch ein;
bearbeiten Sie die Quellen zunächst mit einem Präprozessor, wenn es
dienlich ist.
Please include the complete backtrace with any bug report.
Siehe <http://gcc.gnu.org/bugs.html> für nähere Anweisungen.
make[3]: *** [omega.o] Fehler 1
make[3]: Verlasse Verzeichnis '/home/hete/neugcc/gcc-5-20150208/Build1/gcc'
make[2]: *** [all-stage2-gcc] Fehler 2
make[2]: Verlasse Verzeichnis '/home/hete/neugcc/gcc-5-20150208/Build1'
make[1]: *** [stage2-bubble] Fehler 2
make[1]: Verlasse Verzeichnis '/home/hete/neugcc/gcc-5-20150208/Build1'

[Bug bootstrap/64976] Bootstrap fails with -O3 -fgraphite-identity

2015-02-14 Thread hete2 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64976

--- Comment #2 from hete2 at gmx dot de ---
Thank you for this hint.
Using this configure option the boootstrapping works. Therefore this report can
be renamed to a false warning about -Werror=maybe-uninitialized (if this is
considered a Bug) or get closed.


[Bug bootstrap/64976] New: Bootstrap fails with -O3 -fgraphite-identity

2015-02-08 Thread hete2 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64976

Bug ID: 64976
   Summary: Bootstrap fails with -O3 -fgraphite-identity
   Product: gcc
   Version: 5.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: hete2 at gmx dot de

On my System (Ubuntu 14.04 on an Sandy-Bridge Processor) bootstrapping
gcc-5-20150201 fails with BOOT_CFLAGS= -O3 -fgraphite-identity. The output is:

 /home/hete/buggcc/gcc-5-20150201/Build1/./prev-gcc/xg++
-B/home/hete/buggcc/gcc-5-20150201/Build1/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu

-I/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
 -I/home/hete/buggcc/gcc-5-20150201/libstdc++-v3/libsupc++
-L/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-c  -DIN_GCC_FRONTEND -O3 -fgraphite-identity -pipe -gtoggle -DIN_GCC   
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-fno-common  -DHAVE_CONFIG_H -I. -Ifortran -I../../gcc -I../../gcc/fortran
-I../../gcc/../include -I../../gcc/../libcpp/include 
-I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc/../libbacktrace   -o fortran/options.o -MT fortran/options.o -MMD
-MP -MF fortran/.deps/options.TPo ../../gcc/fortran/options.c
../../gcc/fortran/module.c: In Funktion »void load_omp_udrs()«:
../../gcc/fortran/module.c:4582:24: Fehler: »name« könnte in dieser Funktion
uninitialisiert verwendet werden [-Werror=maybe-uninitialized]
size_t len = strlen (name + 1);
^
/home/hete/buggcc/gcc-5-20150201/Build1/./prev-gcc/xg++
-B/home/hete/buggcc/gcc-5-20150201/Build1/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu

-I/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
 -I/home/hete/buggcc/gcc-5-20150201/libstdc++-v3/libsupc++
-L/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/hete/buggcc/gcc-5-20150201/Build1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-c  -DIN_GCC_FRONTEND -O3 -fgraphite-identity -pipe -gtoggle -DIN_GCC   
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-fno-common  -DHAVE_CONFIG_H -I. -Ifortran -I../../gcc -I../../gcc/fortran
-I../../gcc/../include -I../../gcc/../libcpp/include 
-I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc/../libbacktrace   -o fortran/parse.o -MT fortran/parse.o -MMD -MP
-MF fortran/.deps/parse.TPo ../../gcc/fortran/parse.c
../../gcc/fortran/module.c: In Funktion »void read_module()«:
../../gcc/fortran/module.c:1562:7: Fehler: »n« könnte in dieser Funktion
uninitialisiert verwendet werden [-Werror=maybe-uninitialized]
   if (i < 0)
   ^
../../gcc/fortran/module.c:4932:12: Anmerkung: »n« wurde hier deklariert
int n;
^
../../gcc/fortran/module.c:4940:41: Fehler: »comp_name« könnte in dieser
Funktion uninitialisiert verwendet werden [-Werror=maybe-uninitialized]
gcc_assert (comp_name == c->name);
 ^
cc1plus: Alle Warnungen werden als Fehler behandelt
make[3]: *** [fortran/module.o] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
rm cpp.pod gcov-tool.pod gcj-dbtool.pod jcf-dump.pod jv-convert.pod grmic.pod
gcov.pod gcj.pod gc-analyze.pod gfdl.pod fsf-funding.pod gij.pod gfortran.pod
gcc.pod
make[3]: Verlasse Verzeichnis '/home/hete/buggcc/gcc-5-20150201/Build1/gcc'
make[2]: *** [all-stage2-gcc] Fehler 2
make[2]: Verlasse Verzeichnis '/home/hete/buggcc/gcc-5-20150201/Build1'
make[1]: *** [stage2-bubble] Fehler 2
make[1]: Verlasse Verzeichnis '/home/hete/buggcc/gcc-5-20150201/Build1'
make: *** [bootstrap] Fehle

[Bug bootstrap/64116] ice with -O3 -fgraphite-identity on bootstrap

2014-12-02 Thread hete2 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64116

--- Comment #5 from hete2 at gmx dot de ---
Created attachment 34174
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34174&action=edit
Output of gcc -v ...


[Bug c++/57168] [graphite] -fgraphite-identity breaks app-office/libreoffice-3.6.6.2 OpenXML filter

2014-12-02 Thread hete2 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57168

--- Comment #2 from hete2 at gmx dot de ---
Sorry.. should be sended to bug 64116.


[Bug c++/57168] [graphite] -fgraphite-identity breaks app-office/libreoffice-3.6.6.2 OpenXML filter

2014-12-02 Thread hete2 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57168

hete2 at gmx dot de changed:

   What|Removed |Added

 CC||hete2 at gmx dot de

--- Comment #1 from hete2 at gmx dot de ---
Created attachment 34173
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34173&action=edit
Output of gcc -v ...


[Bug bootstrap/64116] ice with -O3 -fgraphite-identity on bootstrap

2014-12-02 Thread hete2 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64116

--- Comment #4 from hete2 at gmx dot de ---
I found out that -march=native is not needeed. The following prerequisites were
used: gmp-6.0.0, mpfr-3.1.2, mpc-1.0.2, isl-0.12.2, cloog-0.18.1.
pt.ii.bz2 is the compressed preprocessed source. Log is the output of gcc -v -
save-temps + :


[Bug bootstrap/64116] ice with -O3 -fgraphite-identity on bootstrap

2014-12-02 Thread hete2 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64116

--- Comment #3 from hete2 at gmx dot de ---
Created attachment 34172
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34172&action=edit
preprozessed source


[Bug bootstrap/64116] ice with -O3 -fgraphite-identity on bootstrap

2014-11-30 Thread hete2 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64116

hete2 at gmx dot de changed:

   What|Removed |Added

  Known to fail||4.9.0, 4.9.1

--- Comment #1 from hete2 at gmx dot de ---
gcc 4.8.3 doesn't exhibit this error. But bootstrapping fails with:

/home/hete/gcc/gcc-4.8.3/Build2/./prev-gcc/xg++
-B/home/hete/gcc/gcc-4.8.3/Build2/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/home/hete/gcc/gcc-4.8.3/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/hete/gcc/gcc-4.8.3/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/home/hete/gcc/gcc-4.8.3/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/home/hete/gcc/gcc-4.8.3/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/home/hete/gcc/gcc-4.8.3/libstdc++-v3/libsupc++
-L/home/hete/gcc/gcc-4.8.3/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/hete/gcc/gcc-4.8.3/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-c   -O3 -fgraphite-identity -pipe -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I.
-I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include 
-I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc/../libbacktrace -DCLOOG_INT_GMP../../gcc/cfg.c -o cfg.o
[CLooG] ERROR: index out of range
make[3]: *** [cfg.o] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
rm gfortran.pod gcc.pod
make[3]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.8.3/Build2/gcc'
make[2]: *** [all-stage3-gcc] Fehler 2
make[2]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.8.3/Build2'
make[1]: *** [stage3-bubble] Fehler 2
make[1]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.8.3/Build2'
make: *** [bootstrap] Fehler 2


[Bug bootstrap/64116] New: ice with -O3 -fgraphite-identity on bootstrap

2014-11-29 Thread hete2 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64116

Bug ID: 64116
   Summary: ice with -O3 -fgraphite-identity on bootstrap
   Product: gcc
   Version: 4.9.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: hete2 at gmx dot de

My System: Ubuntu 14.04 on a  Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz

Configuring with --with-arch=native and using -O3 -fgraphite-identity -pipe as
BOOT_CFLAGS i get an ICE in Stage 2:

/home/hete/gcc/gcc-4.9.2/Build/./prev-gcc/xg++
-B/home/hete/gcc/gcc-4.9.2/Build/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu

-I/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
 -I/home/hete/gcc/gcc-4.9.2/libstdc++-v3/libsupc++
-L/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-c  -DIN_GCC_FRONTEND -O3 -fgraphite-identity -pipe -gtoggle -DIN_GCC   
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Icp
-I../../gcc -I../../gcc/cp -I../../gcc/../include -I../../gcc/../libcpp/include
 -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc/../libbacktrace -DCLOOG_INT_GMP-o cp/pt.o -MT cp/pt.o -MMD -MP
-MF cp/.deps/pt.TPo ../../gcc/cp/pt.c
../../gcc/cp/pt.c: In Funktion Âtree_node* add_to_template_args(tree, tree)Â:
../../gcc/cp/pt.c:516:1: interner Compiler-Fehler: Speicherzugriffsfehler
 add_to_template_args (tree args, tree extra_args)
 ^
0xb92df9 crash_signal
../../gcc/toplev.c:337
0x7ef7a1 loop_preheader_edge(loop const*)
../../gcc/cfgloop.c:1669
0xc3ef1e block_before_loop
../../gcc/tree-scalar-evolution.h:48
0xc422a4 analyze_scalar_evolution(loop*, tree_node*)
../../gcc/tree-scalar-evolution.c:2042
0xc4238e analyze_scalar_evolution_in_loop
../../gcc/tree-scalar-evolution.c:2139
0xc441c5 simple_iv(loop*, loop*, tree_node*, affine_iv*, bool)
../../gcc/tree-scalar-evolution.c:3247
0xac5fa1 is_comparison_with_loop_invariant_p
../../gcc/predict.c:1144
0xac71e0 predict_loops
../../gcc/predict.c:1611
0xac9167 tree_estimate_probability()
../../gcc/predict.c:2453
0x11c6a49 graphite_finalize
../../gcc/graphite.c:250
0x11c6c20 graphite_transform_loops()
../../gcc/graphite.c:310
0x11c6c59 graphite_transforms
../../gcc/graphite.c:332
0x11c6d86 execute
../../gcc/graphite.c:416
Bitte senden Sie einen vollstÃndigen Fehlerbericht auf Englisch ein;
bearbeiten Sie die Quellen zunÃchst mit einem PrÃprozessor, wenn es
dienlich ist.
Please include the complete backtrace with any bug report.
Siehe <http://gcc.gnu.org/bugs.html> fÃr nÃhere Anweisungen.
make[3]: *** [cp/pt.o] Fehler 1
make[3]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.9.2/Build/gcc'
make[2]: *** [all-stage2-gcc] Fehler 2
make[2]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.9.2/Build'
make[1]: *** [stage2-bubble] Fehler 2
make[1]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.9.2/Build'
make: *** [bootstrap] Fehler 2

I get the same result using gcc-4.9-20141126

Using -O2 -fgraphite-identity -pipe as BOOT_CFLAGS there is no ICE.

Configuring with --enable-checking=valgrind --with-arch=native and using
additionally -j 3 as make option, i get

/home/hete/gcc/gcc-4.9.2/Build2/./prev-gcc/xg++
-B/home/hete/gcc/gcc-4.9.2/Build2/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu

-I/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
 -I/home/hete/gcc/gcc-4.9.2/libstdc++-v3/libsupc++
-L/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-c  -DIN_GCC_FRONTEND -O3 -fgraphite-identity -pipe -gtoggle -DIN_GCC   
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Icp
-I../../gcc -I../../gcc/cp -I../../gcc/../inclu

[Bug tree-optimization/63655] New: ice using -O2 -floop-parallelize-all

2014-10-27 Thread hete2 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63655

Bug ID: 63655
   Summary: ice using -O2 -floop-parallelize-all
   Product: gcc
   Version: 4.8.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: hete2 at gmx dot de

Created attachment 33816
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33816&action=edit
preprocessed source

I'm using Ubuntu 14.04 on an AMD64 (Sandy-bridge) Computer.
gcc -v:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1'
--with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap
--enable-plugin --with-system-zlib --disable-browser-plugin
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686
--with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)

Compiling gegl0.2.0 results in an ice:

gegl-processor.c:539:1: internal compiler error: Segmentation fault
 region_area (GeglRegion *region)
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
Preprocessed source stored into /tmp/cc1j8zH0.out file, please attach this to
your bugreport.


when configured with:  ./configure CFLAGS='-O2 -floop-parallelize-all'.
-O2 or -floop-parallelize-all alone gives no error.

This ICE happens with gcc 4.8.3 and gcc 4.9.1 also.


[Bug bootstrap/61448] New: ice on profiledbootstrap with -o2 -flto -fuse-linker-plugin

2014-06-08 Thread hete2 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61448

Bug ID: 61448
   Summary: ice on profiledbootstrap with -o2 -flto
-fuse-linker-plugin
   Product: gcc
   Version: 4.8.3
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: hete2 at gmx dot de

On my System:

uname -m = x86_64
uname -r = 3.5.0-23-generic
uname -s = Linux
uname -v = #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013
on a  Intel i3-2120 CPU @ 3.30GHz

configuring gcc-4.8.3 with 
--enable-checking=release --with-arch=native
an building with 
make -j 2 BOOT_CFLAGS='-O2 -flto -fuse-linker-plugin' profiledbootstrap

i got the following error:

../../gcc/optabs.c: In Funktion »emit_indirect_jump«:
../../gcc/optabs.c:4478:0: interner Compiler-Fehler: Speicherzugriffsfehler
 emit_indirect_jump (rtx loc)
 ^
0x94b33d crash_signal
../../gcc/toplev.c:332
0x74c2f6 can_refer_decl_in_current_unit_p
../../gcc/gimple-fold.c:70
0x74c6a7 canonicalize_constructor_val(tree_node*, tree_node*)
../../gcc/gimple-fold.c:172
0x7535e0 fold_ctor_reference
../../gcc/gimple-fold.c:2952
0x7534dc fold_nonarray_ctor_reference
../../gcc/gimple-fold.c:2933
0x75375e fold_ctor_reference
../../gcc/gimple-fold.c:2978
0x7530c6 fold_array_ctor_reference
../../gcc/gimple-fold.c:2867
0x75373d fold_ctor_reference
../../gcc/gimple-fold.c:2975
0x753b23 fold_const_aggregate_ref_1(tree_node*, tree_node* (*)(tree_node*))
../../gcc/gimple-fold.c:3077
0x753c08 fold_const_aggregate_ref(tree_node*)
../../gcc/gimple-fold.c:3099
0x74cb1a maybe_fold_reference
../../gcc/gimple-fold.c:277
0x74cae6 maybe_fold_reference
../../gcc/gimple-fold.c:269
0x74cda9 fold_gimple_assign
../../gcc/gimple-fold.c:343
0x74efaf fold_stmt_1
../../gcc/gimple-fold.c:1190
0x74f4c7 fold_stmt(gimple_stmt_iterator*)
../../gcc/gimple-fold.c:1318
0xa767a8 substitute_and_fold(tree_node* (*)(tree_node*), bool
(*)(gimple_stmt_iterator*), bool)
../../gcc/tree-ssa-propagate.c:1186
0xb24315 vrp_finalize
../../gcc/tree-vrp.c:9212
0xb24461 execute_vrp
../../gcc/tree-vrp.c:9308
Bitte senden Sie einen vollständigen Fehlerbericht auf Englisch ein;
bearbeiten Sie die Quellen zunächst mit einem Präprozessor, wenn es
dienlich ist.
Please include the complete backtrace with any bug report.
Siehe <http://gcc.gnu.org/bugs.html> für nähere Anweisungen.
lto-wrapper: /home/hete/gcc/gcc-4.8.3/Build3/./prev-gcc/xg++ gab Ende-Status 1
zurück
/usr/bin/ld: lto-wrapper failed

Normal bootstrapping works.

Gcc 4.9.0 hasn't this error, but i have to add -ffat-lto-objects to the
boot-cflags.