public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/40157]  New: [4.4 Regression]  ICE with -floop-block
@ 2009-05-15  8:42 arthur dot loiret at gmail dot com
  2009-05-15 11:05 ` [Bug tree-optimization/40157] " rguenth at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: arthur dot loiret at gmail dot com @ 2009-05-15  8:42 UTC (permalink / raw)
  To: gcc-bugs

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

Hi,

With this simple testcase:

int buffer[256*256];
int main(void)
{
    int *dest = buffer;
    int x, y;
    for(x = 0; x < 256; x++)
        for(y = 0; y < 256; y++)
            *dest++ = 0;
    return 0;
}

We get an ICE:

% gcc-4.4 -O1 -floop-block foo.c -o foo
foo.c: In function ‘main’:
foo.c:2: internal compiler error: in expand_scalar_variables_expr, at
graphite.c:4295
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.


Thanks.


-- 
           Summary: [4.4 Regression]  ICE with -floop-block
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: arthur dot loiret at gmail dot com
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu


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


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

* [Bug tree-optimization/40157] ICE with -floop-block
  2009-05-15  8:42 [Bug middle-end/40157] New: [4.4 Regression] ICE with -floop-block arthur dot loiret at gmail dot com
@ 2009-05-15 11:05 ` rguenth at gcc dot gnu dot org
  2009-05-15 17:49 ` spop at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-05-15 11:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-05-15 11:05 -------
Not a regression, -floop-block is new.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spop at gcc dot gnu dot org
          Component|middle-end                  |tree-optimization
           Keywords|                            |ice-on-valid-code
            Summary|[4.4 Regression]  ICE with -|ICE with -floop-block
                   |floop-block                 |
            Version|unknown                     |4.4.0


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


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

* [Bug tree-optimization/40157] ICE with -floop-block
  2009-05-15  8:42 [Bug middle-end/40157] New: [4.4 Regression] ICE with -floop-block arthur dot loiret at gmail dot com
  2009-05-15 11:05 ` [Bug tree-optimization/40157] " rguenth at gcc dot gnu dot org
@ 2009-05-15 17:49 ` spop at gcc dot gnu dot org
  2009-05-16 12:48 ` debian-gcc at lists dot debian dot org
  2009-10-15 16:27 ` spop at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-05-15 17:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from spop at gcc dot gnu dot org  2009-05-15 17:49 -------
This problem is fixed in the Graphite branch.  I guess that the
problem comes from the fact that in GCC4.4 we did not handled
INDIRECT_REF in expand_scalar_variables_expr.  

Should I back-port that code?

Thanks,
Sebastian


-- 


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


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

* [Bug tree-optimization/40157] ICE with -floop-block
  2009-05-15  8:42 [Bug middle-end/40157] New: [4.4 Regression] ICE with -floop-block arthur dot loiret at gmail dot com
  2009-05-15 11:05 ` [Bug tree-optimization/40157] " rguenth at gcc dot gnu dot org
  2009-05-15 17:49 ` spop at gcc dot gnu dot org
@ 2009-05-16 12:48 ` debian-gcc at lists dot debian dot org
  2009-10-15 16:27 ` spop at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2009-05-16 12:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from debian-gcc at lists dot debian dot org  2009-05-16 12:48 -------
a patch would be appreciated, even if it's not applied directly in the 4.4
branch.

  Matthias


-- 


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


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

* [Bug tree-optimization/40157] ICE with -floop-block
  2009-05-15  8:42 [Bug middle-end/40157] New: [4.4 Regression] ICE with -floop-block arthur dot loiret at gmail dot com
                   ` (2 preceding siblings ...)
  2009-05-16 12:48 ` debian-gcc at lists dot debian dot org
@ 2009-10-15 16:27 ` spop at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-10-15 16:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from spop at gcc dot gnu dot org  2009-10-15 16:27 -------
I do not intend to backport all the changes from graphite GCC4.5 to GCC4.4.
This testcase is now part of the graphite testsuite and works with -floop-block
in the graphite branch.

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=40157


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

end of thread, other threads:[~2009-10-15 16:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-15  8:42 [Bug middle-end/40157] New: [4.4 Regression] ICE with -floop-block arthur dot loiret at gmail dot com
2009-05-15 11:05 ` [Bug tree-optimization/40157] " rguenth at gcc dot gnu dot org
2009-05-15 17:49 ` spop at gcc dot gnu dot org
2009-05-16 12:48 ` debian-gcc at lists dot debian dot org
2009-10-15 16:27 ` 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).