public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/56145] New: [4.8.0 ICE] Use of too much optimizations -O2 -ffast-math -floop-parallelize-all
@ 2013-01-30  5:28 vchou79 at gmail dot com
  2013-01-31 13:41 ` [Bug tree-optimization/56145] " vchou79 at gmail dot com
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: vchou79 at gmail dot com @ 2013-01-30  5:28 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56145
           Summary: [4.8.0 ICE] Use of too much optimizations -O2
                    -ffast-math -floop-parallelize-all
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: vchou79@gmail.com


Created attachment 29304
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29304
preprocessed source

When compiling the following source code from this url.
http://waix.dl.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz

gcc produced ice, when the particular combination of optimization flags are
used. -m32 -m64 made no difference. When adding -fwrapv to the command line it
stops gcc from produce the ice.

gcc version 4.8.0 20130129 (experimental)
[gcc trunk revision 195526]
(mingw-w64 trunk revision 5568) 

x86_64-w64-mingw32-gcc -m64 -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -O1 -ffast-math -floop-parallelize-all -c layer3.c -o layer3.o

Compiled OK...

x86_64-w64-mingw32-gcc -m64 -DHAVE_CONFIG_H -I. -I.. -I../include
-I../libmp3lame -O2 -ffast-math -floop-parallelize-all -c layer3.c -o layer3.o
layer3.c: In function 'decode_layer3_sideinfo':
layer3.c:1613:1: internal compiler error: Segmentation fault
 decode_layer3_sideinfo(PMPSTR mp)
 ^
0x71f295 crash_signal
        ../../gcc-4_8-trunk/gcc/toplev.c:332
0xac6017 subtract_commutative_associative_deps
        ../../gcc-4_8-trunk/gcc/graphite-dependences.c:422
0xac6017 compute_deps(scop*, vec<poly_bb*, va_heap, vl_ptr>, isl_union_map**,
isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**,
isl_union_map**, isl_union_map**, isl_union_map**, isl_union_map**,
isl_union_map**, isl_union_map**, isl_union_map**)
        ../../gcc-4_8-trunk/gcc/graphite-dependences.c:494
0xac665a loop_level_carries_dependences
        ../../gcc-4_8-trunk/gcc/graphite-dependences.c:558
0xac665a loop_is_parallel_p(loop*, htab*, int)
        ../../gcc-4_8-trunk/gcc/graphite-dependences.c:591
0xac4eda translate_clast_for_loop
        ../../gcc-4_8-trunk/gcc/graphite-clast-to-gimple.c:1173
0xac4eda translate_clast_for
        ../../gcc-4_8-trunk/gcc/graphite-clast-to-gimple.c:1197
0xac4eda translate_clast
        ../../gcc-4_8-trunk/gcc/graphite-clast-to-gimple.c:1280
0xac54b4 gloog(scop*, htab*)
        ../../gcc-4_8-trunk/gcc/graphite-clast-to-gimple.c:1680
0xac29c4 graphite_transform_loops()
        ../../gcc-4_8-trunk/gcc/graphite.c:288
0x7d3726 graphite_transforms
        ../../gcc-4_8-trunk/gcc/tree-ssa-loop.c:258
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Hopefully somebody could be able to narrow this down and produce a reduced test
case.

Thank you.


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-06-26 20:27 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-30  5:28 [Bug tree-optimization/56145] New: [4.8.0 ICE] Use of too much optimizations -O2 -ffast-math -floop-parallelize-all vchou79 at gmail dot com
2013-01-31 13:41 ` [Bug tree-optimization/56145] " vchou79 at gmail dot com
2013-02-08 15:47 ` [Bug tree-optimization/56145] [4.8 Regression] " rguenth at gcc dot gnu.org
2013-02-08 18:29 ` vchou79 at gmail dot com
2013-02-09  0:37 ` vchou79 at gmail dot com
2013-03-03  5:00 ` vchou79 at gmail dot com
2013-03-22 14:44 ` [Bug tree-optimization/56145] [4.8/4.9 " jakub at gcc dot gnu.org
2013-05-31 11:03 ` jakub at gcc dot gnu.org
2013-10-16  9:49 ` jakub at gcc dot gnu.org
2013-10-25 12:23 ` rguenth at gcc dot gnu.org
2013-10-25 12:30 ` rguenth at gcc dot gnu.org
2014-05-22  9:04 ` [Bug tree-optimization/56145] [4.8/4.9/4.10 " rguenth at gcc dot gnu.org
2014-12-19 13:27 ` [Bug tree-optimization/56145] [4.8/4.9/5 " jakub at gcc dot gnu.org
2015-02-24 11:28 ` jakub at gcc dot gnu.org
2015-02-24 14:33 ` mircea.namolaru at inria dot fr
2015-02-24 14:36 ` [Bug tree-optimization/56145] [4.8/4.9 " rguenth at gcc dot gnu.org
2015-02-24 16:22 ` mircea.namolaru at inria dot fr
2015-06-23  8:18 ` rguenth at gcc dot gnu.org
2015-06-26 19:54 ` [Bug tree-optimization/56145] [4.9 " jakub at gcc dot gnu.org
2015-06-26 20:27 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).