public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/41798]  New: internal compiler error: in expand_scalar_variables_expr, at graphite.c:4295
@ 2009-10-22 17:26 ronis at ronispc dot chem dot mcgill dot ca
  2009-10-22 17:27 ` [Bug c/41798] " ronis at ronispc dot chem dot mcgill dot ca
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ronis at ronispc dot chem dot mcgill dot ca @ 2009-10-22 17:26 UTC (permalink / raw)
  To: gcc-bugs

I'm building the git master of mesa on an i686-linux-gnu box (basically
slackware 12.2) using 
gcc configured/built with 

gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --host=i686-pc-linux-gnu --prefix=/usr
--with-gnu-as --enable-shared --with-gnu-ld --enable-threads=posix
--with-ecj-jar=/usr/share/java/ecj.jar
--enable-languages=c,c++,fortran,java,objc
Thread model: posix
gcc version 4.4.2 (GCC)

No CFLAGS or CXXFLAGS were set when I built gcc.

Make was building in mesa/progs/redbook when:


/usr/bin/gcc -save-temps -I../../include -march=native -msse2 -mfpmath=sse -O3
-ffast-math -funroll-loops -fomit-frame-pointer -floop-interchange
-floop-strip-mine -floop-block -Wall -Wmissing-prototypes -std=c99 -ffast-math
-fno-strict-aliasing  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM
-DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS  checker.c -L../../lib -lglut -lGLU -lGL 
-lm -o checker
checker.c:53: warning: no previous prototype for 'makeCheckImage'
checker.c:67: warning: no previous prototype for 'myinit'
checker.c:87: warning: no previous prototype for 'display'
checker.c:104: warning: no previous prototype for 'myReshape'
checker.c: In function 'makeCheckImage':
checker.c:53: internal compiler error: in expand_scalar_variables_expr, at
graphite.c:4295

I'll attach the .i and .s files.


-- 
           Summary: internal compiler error: in
                    expand_scalar_variables_expr, at graphite.c:4295
           Product: gcc
           Version: 4.4.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ronis at ronispc dot chem dot mcgill dot ca
  GCC host triplet: i686-linux-gnu


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


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

* [Bug c/41798] internal compiler error: in expand_scalar_variables_expr, at graphite.c:4295
  2009-10-22 17:26 [Bug c/41798] New: internal compiler error: in expand_scalar_variables_expr, at graphite.c:4295 ronis at ronispc dot chem dot mcgill dot ca
@ 2009-10-22 17:27 ` ronis at ronispc dot chem dot mcgill dot ca
  2009-10-22 17:28 ` ronis at ronispc dot chem dot mcgill dot ca
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ronis at ronispc dot chem dot mcgill dot ca @ 2009-10-22 17:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ronis at ronispc dot chem dot mcgill dot ca  2009-10-22 17:27 -------
Created an attachment (id=18867)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18867&action=view)
Preprocessed file leading to ICE


-- 


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


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

* [Bug c/41798] internal compiler error: in expand_scalar_variables_expr, at graphite.c:4295
  2009-10-22 17:26 [Bug c/41798] New: internal compiler error: in expand_scalar_variables_expr, at graphite.c:4295 ronis at ronispc dot chem dot mcgill dot ca
  2009-10-22 17:27 ` [Bug c/41798] " ronis at ronispc dot chem dot mcgill dot ca
@ 2009-10-22 17:28 ` ronis at ronispc dot chem dot mcgill dot ca
  2009-10-22 17:33 ` [Bug tree-optimization/41798] " ronis at ronispc dot chem dot mcgill dot ca
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ronis at ronispc dot chem dot mcgill dot ca @ 2009-10-22 17:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ronis at ronispc dot chem dot mcgill dot ca  2009-10-22 17:28 -------
Created an attachment (id=18868)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18868&action=view)
Resulting .s file

This is basically empty.


-- 


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


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

* [Bug tree-optimization/41798] internal compiler error: in expand_scalar_variables_expr, at graphite.c:4295
  2009-10-22 17:26 [Bug c/41798] New: internal compiler error: in expand_scalar_variables_expr, at graphite.c:4295 ronis at ronispc dot chem dot mcgill dot ca
  2009-10-22 17:27 ` [Bug c/41798] " ronis at ronispc dot chem dot mcgill dot ca
  2009-10-22 17:28 ` ronis at ronispc dot chem dot mcgill dot ca
@ 2009-10-22 17:33 ` ronis at ronispc dot chem dot mcgill dot ca
  2009-10-22 17:35 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ronis at ronispc dot chem dot mcgill dot ca @ 2009-10-22 17:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ronis at ronispc dot chem dot mcgill dot ca  2009-10-22 17:33 -------
removing -floop- flags hides/removes the problem.


-- 


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


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

* [Bug tree-optimization/41798] internal compiler error: in expand_scalar_variables_expr, at graphite.c:4295
  2009-10-22 17:26 [Bug c/41798] New: internal compiler error: in expand_scalar_variables_expr, at graphite.c:4295 ronis at ronispc dot chem dot mcgill dot ca
                   ` (2 preceding siblings ...)
  2009-10-22 17:33 ` [Bug tree-optimization/41798] " ronis at ronispc dot chem dot mcgill dot ca
@ 2009-10-22 17:35 ` pinskia at gcc dot gnu dot org
  2009-10-22 17:44 ` spop at gcc dot gnu dot org
  2009-10-22 17:48 ` spop at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-10-22 17:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2009-10-22 17:34 -------
(In reply to comment #3)
> removing -floop- flags hides/removes the problem.

Removes the problem.  graphite.c code is only involved when the -floop-*
options are supplied.


-- 


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


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

* [Bug tree-optimization/41798] internal compiler error: in expand_scalar_variables_expr, at graphite.c:4295
  2009-10-22 17:26 [Bug c/41798] New: internal compiler error: in expand_scalar_variables_expr, at graphite.c:4295 ronis at ronispc dot chem dot mcgill dot ca
                   ` (3 preceding siblings ...)
  2009-10-22 17:35 ` pinskia at gcc dot gnu dot org
@ 2009-10-22 17:44 ` spop at gcc dot gnu dot org
  2009-10-22 17:48 ` spop at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-10-22 17:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from spop at gcc dot gnu dot org  2009-10-22 17:44 -------
Fixed in the Graphite branch.  I will do a merge back to trunk in the next
days.

Sebastian


-- 

spop at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/41798] internal compiler error: in expand_scalar_variables_expr, at graphite.c:4295
  2009-10-22 17:26 [Bug c/41798] New: internal compiler error: in expand_scalar_variables_expr, at graphite.c:4295 ronis at ronispc dot chem dot mcgill dot ca
                   ` (4 preceding siblings ...)
  2009-10-22 17:44 ` spop at gcc dot gnu dot org
@ 2009-10-22 17:48 ` spop at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-10-22 17:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from spop at gcc dot gnu dot org  2009-10-22 17:48 -------
Oh, well, this is reported against gcc4.4. 

I do not intend to fix graphite there anymore, as there are way too many
changes to backport.  You should try gcc 4.5 if you intend to use -floop-block.

Sebastian


-- 


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


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

end of thread, other threads:[~2009-10-22 17:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-22 17:26 [Bug c/41798] New: internal compiler error: in expand_scalar_variables_expr, at graphite.c:4295 ronis at ronispc dot chem dot mcgill dot ca
2009-10-22 17:27 ` [Bug c/41798] " ronis at ronispc dot chem dot mcgill dot ca
2009-10-22 17:28 ` ronis at ronispc dot chem dot mcgill dot ca
2009-10-22 17:33 ` [Bug tree-optimization/41798] " ronis at ronispc dot chem dot mcgill dot ca
2009-10-22 17:35 ` pinskia at gcc dot gnu dot org
2009-10-22 17:44 ` spop at gcc dot gnu dot org
2009-10-22 17:48 ` 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).