public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/42930]  New: crash when compiling scummvm on Ubuntu 9.10/amd64 with
@ 2010-02-01 21:03 matt at use dot net
  2010-02-01 22:25 ` [Bug middle-end/42930] crash when compiling scummvm on Ubuntu 9.10/amd64 with -floop-block matt at use dot net
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: matt at use dot net @ 2010-02-01 21:03 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]

with trunk revision 156392
1. get and unpack the scummvm src:
http://helllabs.org/scummvm/scummvm-20100201.tar.bz2
2. ./configure --enable-all-engines
3. edit config.mk so that CXXFLAGS :=  -O2 -funswitch-loops -ftree-loop-linear
-floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution
-ftree-loop-im -ftree-loop-ivcanon -fivopts -ftree-vectorize
-fvariable-expansion-in-unroller -fpredictive-commoning -fweb -ffast-math -fsee
-fgcse-after-reload -fgcse-sm -g  -ansi -W -Wno-unused-parameter
-Wno-empty-body -pedantic

4. edit config.mk so that LDFLAGS reads as "-lm -flto -fuse-linker-plugin
-fwhole-program"
5. make

result:
engines/cine/gfx.cpp: In member function ‘virtual void
Cine::OSRenderer::transformPalette(int, int, int, int, int)’:
engines/cine/gfx.cpp:1243:6: internal compiler error: in scan_tree_for_params,
at graphite-sese-to-poly.c:815


-- 
           Summary: crash when compiling scummvm on Ubuntu 9.10/amd64 with
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: matt at use dot net


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


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

* [Bug middle-end/42930] crash when compiling scummvm on Ubuntu 9.10/amd64 with -floop-block
  2010-02-01 21:03 [Bug middle-end/42930] New: crash when compiling scummvm on Ubuntu 9.10/amd64 with matt at use dot net
@ 2010-02-01 22:25 ` matt at use dot net
  2010-02-01 22:26 ` matt at use dot net
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: matt at use dot net @ 2010-02-01 22:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from matt at use dot net  2010-02-01 22:24 -------
I have narrowed it to the following commandline (-O1 -floop-block):
~/src/scummvm$ /home/matt/bin/g++
-Wp,-MMD,"engines/cine/.deps/gfx.d",-MQ,"engines/cine/gfx.o",-MP -Wall -O1
-floop-block -ansi -fcheck-new -DSCUMMVM_SVN_REVISION=\"47802\" -DHAVE_CONFIG_H
-DUNIX -DDATA_PATH=\"/usr/local/share/scummvm\"
-DPLUGIN_DIRECTORY=\"/usr/local/lib/scummvm\" -DSDL_BACKEND
-DENABLE_SCUMM=STATIC_PLUGIN -DENABLE_SCUMM_7_8 -DENABLE_HE
-DENABLE_AGI=STATIC_PLUGIN -DENABLE_AGOS=STATIC_PLUGIN -DENABLE_AGOS2
-DENABLE_CINE=STATIC_PLUGIN -DENABLE_CRUISE=STATIC_PLUGIN
-DENABLE_DRACI=STATIC_PLUGIN -DENABLE_DRASCULA=STATIC_PLUGIN
-DENABLE_GOB=STATIC_PLUGIN -DENABLE_GROOVIE=STATIC_PLUGIN -DENABLE_GROOVIE2
-DENABLE_KYRA=STATIC_PLUGIN -DENABLE_LOL -DENABLE_LURE=STATIC_PLUGIN
-DENABLE_M4=STATIC_PLUGIN -DENABLE_MADE=STATIC_PLUGIN
-DENABLE_MOHAWK=STATIC_PLUGIN -DENABLE_PARALLACTION=STATIC_PLUGIN
-DENABLE_QUEEN=STATIC_PLUGIN -DENABLE_SAGA=STATIC_PLUGIN -DENABLE_IHNM
-DENABLE_SAGA2 -DENABLE_SCI=STATIC_PLUGIN -DENABLE_SCI32
-DENABLE_SKY=STATIC_PLUGIN -DENABLE_SWORD1=STATIC_PLUGIN
-DENABLE_SWORD2=STATIC_PLUGIN -DENABLE_TEENAGENT=STATIC_PLUGIN
-DENABLE_TINSEL=STATIC_PLUGIN -DENABLE_TOUCHE=STATIC_PLUGIN
-DENABLE_TUCKER=STATIC_PLUGIN -I. -I. -I./engines -I/usr/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT -c engines/cine/gfx.cpp -o engines/cine/gfx.o

Pre-processed source is attached.


-- 

matt at use dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|crash when compiling scummvm|crash when compiling scummvm
                   |on Ubuntu 9.10/amd64 with   |on Ubuntu 9.10/amd64 with -
                   |                            |floop-block


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


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

* [Bug middle-end/42930] crash when compiling scummvm on Ubuntu 9.10/amd64 with -floop-block
  2010-02-01 21:03 [Bug middle-end/42930] New: crash when compiling scummvm on Ubuntu 9.10/amd64 with matt at use dot net
  2010-02-01 22:25 ` [Bug middle-end/42930] crash when compiling scummvm on Ubuntu 9.10/amd64 with -floop-block matt at use dot net
@ 2010-02-01 22:26 ` matt at use dot net
  2010-02-11  5:58 ` [Bug middle-end/42930] [graphite] " spop at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: matt at use dot net @ 2010-02-01 22:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from matt at use dot net  2010-02-01 22:25 -------
Created an attachment (id=19781)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19781&action=view)
pre-processed source file that causes the crash


-- 


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


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

* [Bug middle-end/42930] [graphite] crash when compiling scummvm on Ubuntu 9.10/amd64 with -floop-block
  2010-02-01 21:03 [Bug middle-end/42930] New: crash when compiling scummvm on Ubuntu 9.10/amd64 with matt at use dot net
  2010-02-01 22:25 ` [Bug middle-end/42930] crash when compiling scummvm on Ubuntu 9.10/amd64 with -floop-block matt at use dot net
  2010-02-01 22:26 ` matt at use dot net
@ 2010-02-11  5:58 ` spop at gcc dot gnu dot org
  2010-02-11  6:00 ` spop at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-02-11  5:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from spop at gcc dot gnu dot org  2010-02-11 05:57 -------
Subject: Bug 42930

Author: spop
Date: Thu Feb 11 05:57:30 2010
New Revision: 156682

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156682
Log:
Fix PR42930.

2010-02-10  Sebastian Pop  <seb@napoca>

        PR middle-end/42930
        * graphite-scop-detection.c (graphite_can_represent_scev): Call
        graphite_can_represent_init for MULT_EXPR.

Modified:
    branches/graphite/gcc/ChangeLog.graphite
    branches/graphite/gcc/graphite-scop-detection.c


-- 


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


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

* [Bug middle-end/42930] [graphite] crash when compiling scummvm on Ubuntu 9.10/amd64 with -floop-block
  2010-02-01 21:03 [Bug middle-end/42930] New: crash when compiling scummvm on Ubuntu 9.10/amd64 with matt at use dot net
                   ` (2 preceding siblings ...)
  2010-02-11  5:58 ` [Bug middle-end/42930] [graphite] " spop at gcc dot gnu dot org
@ 2010-02-11  6:00 ` spop at gcc dot gnu dot org
  2010-02-11 19:43 ` spop at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-02-11  6:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from spop at gcc dot gnu dot org  2010-02-11 06:00 -------
Fixed on the Graphite branch, I will commit this to trunk after automatic
tests.


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |spop at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-02-11 06:00:42
               date|                            |


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


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

* [Bug middle-end/42930] [graphite] crash when compiling scummvm on Ubuntu 9.10/amd64 with -floop-block
  2010-02-01 21:03 [Bug middle-end/42930] New: crash when compiling scummvm on Ubuntu 9.10/amd64 with matt at use dot net
                   ` (3 preceding siblings ...)
  2010-02-11  6:00 ` spop at gcc dot gnu dot org
@ 2010-02-11 19:43 ` spop at gcc dot gnu dot org
  2010-02-11 19:50 ` spop at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-02-11 19:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from spop at gcc dot gnu dot org  2010-02-11 19:43 -------
Subject: Bug 42930

Author: spop
Date: Thu Feb 11 19:42:51 2010
New Revision: 156713

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156713
Log:
Fix PR42930.

2010-02-10  Sebastian Pop  <seb@napoca>

        PR middle-end/42930
        * graphite-scop-detection.c (graphite_can_represent_scev): Call
        graphite_can_represent_init for MULT_EXPR.

Modified:
    trunk/gcc/ChangeLog.graphite
    trunk/gcc/graphite-scop-detection.c


-- 


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


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

* [Bug middle-end/42930] [graphite] crash when compiling scummvm on Ubuntu 9.10/amd64 with -floop-block
  2010-02-01 21:03 [Bug middle-end/42930] New: crash when compiling scummvm on Ubuntu 9.10/amd64 with matt at use dot net
                   ` (4 preceding siblings ...)
  2010-02-11 19:43 ` spop at gcc dot gnu dot org
@ 2010-02-11 19:50 ` spop at gcc dot gnu dot org
  2010-02-11 20:37 ` matt at use dot net
  2010-02-11 20:56 ` spop at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-02-11 19:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from spop at gcc dot gnu dot org  2010-02-11 19:49 -------
Fixed.


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug middle-end/42930] [graphite] crash when compiling scummvm on Ubuntu 9.10/amd64 with -floop-block
  2010-02-01 21:03 [Bug middle-end/42930] New: crash when compiling scummvm on Ubuntu 9.10/amd64 with matt at use dot net
                   ` (5 preceding siblings ...)
  2010-02-11 19:50 ` spop at gcc dot gnu dot org
@ 2010-02-11 20:37 ` matt at use dot net
  2010-02-11 20:56 ` spop at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: matt at use dot net @ 2010-02-11 20:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from matt at use dot net  2010-02-11 20:36 -------
Should this fix also be backported to 4.4? I'll test your fix this weekend.


-- 


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


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

* [Bug middle-end/42930] [graphite] crash when compiling scummvm on Ubuntu 9.10/amd64 with -floop-block
  2010-02-01 21:03 [Bug middle-end/42930] New: crash when compiling scummvm on Ubuntu 9.10/amd64 with matt at use dot net
                   ` (6 preceding siblings ...)
  2010-02-11 20:37 ` matt at use dot net
@ 2010-02-11 20:56 ` spop at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-02-11 20:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from spop at gcc dot gnu dot org  2010-02-11 20:56 -------
I wouldn't recommend to backport this to 4.4, as Graphite in 4.4 has a
completely different structure.

Sebastian


-- 


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


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

end of thread, other threads:[~2010-02-11 20:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-01 21:03 [Bug middle-end/42930] New: crash when compiling scummvm on Ubuntu 9.10/amd64 with matt at use dot net
2010-02-01 22:25 ` [Bug middle-end/42930] crash when compiling scummvm on Ubuntu 9.10/amd64 with -floop-block matt at use dot net
2010-02-01 22:26 ` matt at use dot net
2010-02-11  5:58 ` [Bug middle-end/42930] [graphite] " spop at gcc dot gnu dot org
2010-02-11  6:00 ` spop at gcc dot gnu dot org
2010-02-11 19:43 ` spop at gcc dot gnu dot org
2010-02-11 19:50 ` spop at gcc dot gnu dot org
2010-02-11 20:37 ` matt at use dot net
2010-02-11 20:56 ` spop at gcc dot gnu dot 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).