public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/38997]  New: -ftree-loop-distribution ICEs
@ 2009-01-28  7:06 kazu at gcc dot gnu dot org
  2009-01-28  8:40 ` [Bug tree-optimization/38997] " kazu at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: kazu at gcc dot gnu dot org @ 2009-01-28  7:06 UTC (permalink / raw)
  To: gcc-bugs

Consider:

char a[8][8];
char b[8];

void
foo (int i)
{
  int j;
  for (j = 0; j < 8; j++)
    {
      a[i][j] = 0;
      b[j] = j;
    }
}

I get:

$ ./cc1 -quiet -O2 -ftree-loop-distribution min.c
min.c: In function 'foo':
min.c:5: internal compiler error: in build2_stat, at tree.c:3298
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: -ftree-loop-distribution ICEs
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kazu at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug tree-optimization/38997] -ftree-loop-distribution ICEs
  2009-01-28  7:06 [Bug tree-optimization/38997] New: -ftree-loop-distribution ICEs kazu at gcc dot gnu dot org
@ 2009-01-28  8:40 ` kazu at gcc dot gnu dot org
  2009-01-28 18:17 ` kazu at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: kazu at gcc dot gnu dot org @ 2009-01-28  8:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from kazu at gcc dot gnu dot org  2009-01-28 08:40 -------
I've got a patch.


-- 

kazu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |kazu at gcc dot gnu dot org
                   |dot org                     |


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


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

* [Bug tree-optimization/38997] -ftree-loop-distribution ICEs
  2009-01-28  7:06 [Bug tree-optimization/38997] New: -ftree-loop-distribution ICEs kazu at gcc dot gnu dot org
  2009-01-28  8:40 ` [Bug tree-optimization/38997] " kazu at gcc dot gnu dot org
  2009-01-28 18:17 ` kazu at gcc dot gnu dot org
@ 2009-01-28 18:17 ` kazu at gcc dot gnu dot org
  2009-01-28 18:19 ` kazu at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: kazu at gcc dot gnu dot org @ 2009-01-28 18:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from kazu at gcc dot gnu dot org  2009-01-28 18:17 -------
Subject: Bug 38997

Author: kazu
Date: Wed Jan 28 18:16:57 2009
New Revision: 143739

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143739
Log:
gcc/
        PR tree-optimization/38997
        * tree-loop-distribution.c (generate_memset_zero): Use
        POINTER_PLUS_EXPR for a pointer addition.

gcc/testsuite/
        PR tree-optimization/38997
        * gcc.dg/tree-ssa/pr38997.c: New.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-loop-distribution.c


-- 


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


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

* [Bug tree-optimization/38997] -ftree-loop-distribution ICEs
  2009-01-28  7:06 [Bug tree-optimization/38997] New: -ftree-loop-distribution ICEs kazu at gcc dot gnu dot org
  2009-01-28  8:40 ` [Bug tree-optimization/38997] " kazu at gcc dot gnu dot org
@ 2009-01-28 18:17 ` kazu at gcc dot gnu dot org
  2009-01-28 18:17 ` kazu at gcc dot gnu dot org
  2009-01-28 18:19 ` kazu at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: kazu at gcc dot gnu dot org @ 2009-01-28 18:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from kazu at gcc dot gnu dot org  2009-01-28 18:17 -------
Subject: Bug 38997

Author: kazu
Date: Wed Jan 28 18:17:13 2009
New Revision: 143740

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143740
Log:
gcc/
        PR tree-optimization/38997
        * tree-loop-distribution.c (generate_memset_zero): Use
        POINTER_PLUS_EXPR for a pointer addition.

gcc/testsuite/
        PR tree-optimization/38997
        * gcc.dg/tree-ssa/pr38997.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr38997.c


-- 


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


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

* [Bug tree-optimization/38997] -ftree-loop-distribution ICEs
  2009-01-28  7:06 [Bug tree-optimization/38997] New: -ftree-loop-distribution ICEs kazu at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-01-28 18:17 ` kazu at gcc dot gnu dot org
@ 2009-01-28 18:19 ` kazu at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: kazu at gcc dot gnu dot org @ 2009-01-28 18:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from kazu at gcc dot gnu dot org  2009-01-28 18:18 -------
Patch committed.


-- 

kazu at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2009-01-28 18:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-28  7:06 [Bug tree-optimization/38997] New: -ftree-loop-distribution ICEs kazu at gcc dot gnu dot org
2009-01-28  8:40 ` [Bug tree-optimization/38997] " kazu at gcc dot gnu dot org
2009-01-28 18:17 ` kazu at gcc dot gnu dot org
2009-01-28 18:17 ` kazu at gcc dot gnu dot org
2009-01-28 18:19 ` kazu 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).