public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/45552] [graphite] ICE in sese_loop_depth, at sese.h:172
       [not found] <bug-45552-4@http.gcc.gnu.org/bugzilla/>
@ 2010-12-14 17:18 ` spop at gcc dot gnu.org
  2010-12-14 17:24 ` spop at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu.org @ 2010-12-14 17:18 UTC (permalink / raw)
  To: gcc-bugs

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

Sebastian Pop <spop at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2010.12.14 17:17:49
         AssignedTo|unassigned at gcc dot       |spop at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #2 from Sebastian Pop <spop at gcc dot gnu.org> 2010-12-14 17:17:49 UTC ---
Mine.
I can see this ICE on the 4.5 branch.
On trunk this has been fixed.


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

* [Bug tree-optimization/45552] [graphite] ICE in sese_loop_depth, at sese.h:172
       [not found] <bug-45552-4@http.gcc.gnu.org/bugzilla/>
  2010-12-14 17:18 ` [Bug tree-optimization/45552] [graphite] ICE in sese_loop_depth, at sese.h:172 spop at gcc dot gnu.org
@ 2010-12-14 17:24 ` spop at gcc dot gnu.org
  2010-12-14 19:19 ` spop at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu.org @ 2010-12-14 17:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Sebastian Pop <spop at gcc dot gnu.org> 2010-12-14 17:24:39 UTC ---
I can see a different error than what reported:
glcells.c:846:12: internal compiler error: in chrec_component_in_loop_num, at
tree-chrec.c:758

I'm reducing the testcase using delta.


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

* [Bug tree-optimization/45552] [graphite] ICE in sese_loop_depth, at sese.h:172
       [not found] <bug-45552-4@http.gcc.gnu.org/bugzilla/>
  2010-12-14 17:18 ` [Bug tree-optimization/45552] [graphite] ICE in sese_loop_depth, at sese.h:172 spop at gcc dot gnu.org
  2010-12-14 17:24 ` spop at gcc dot gnu.org
@ 2010-12-14 19:19 ` spop at gcc dot gnu.org
  2010-12-17 22:23 ` spop at gcc dot gnu.org
  2010-12-23 18:53 ` spop at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu.org @ 2010-12-14 19:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Sebastian Pop <spop at gcc dot gnu.org> 2010-12-14 19:18:56 UTC ---
Reduced testcase:

typedef struct
{
  double z;
} Vector;
typedef struct
{
  float *vertex;
  float *normal;
} VertexArray;
typedef struct
{
  Vector *vertex;
  int num_vertex;
} ObjectSmooth;
typedef struct
{
  int num_cells;
} State;
static void *array_from_ObjectSmooth( ObjectSmooth *obj )
{
  int i, j;
  VertexArray *array = (VertexArray *) malloc( sizeof( VertexArray ) );
  array->vertex = (float *) malloc( 3*sizeof(float)*obj->num_vertex );
  array->normal = (float *) malloc( 3*sizeof(float)*obj->num_vertex );
  for (i=0, j=0; i<obj->num_vertex; ++i) {
    array->normal[j++] = 9;
    array->vertex[j] = obj->vertex[i].z;
    array->normal[j++] = 1;
  }
}
static void draw_cell( void )
{
  glCallList( array_from_ObjectSmooth( (ObjectSmooth *) malloc(10) ));
}
static int render( State *st)
{
  int b;
  for (b=0; b<st->num_cells; ++b) {
    draw_cell();
    draw_cell();
  }
}
reshape_glcells( int width, int height )
{
  render( 0 );
}


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

* [Bug tree-optimization/45552] [graphite] ICE in sese_loop_depth, at sese.h:172
       [not found] <bug-45552-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2010-12-14 19:19 ` spop at gcc dot gnu.org
@ 2010-12-17 22:23 ` spop at gcc dot gnu.org
  2010-12-23 18:53 ` spop at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu.org @ 2010-12-17 22:23 UTC (permalink / raw)
  To: gcc-bugs

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

Sebastian Pop <spop at gcc dot gnu.org> changed:

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

--- Comment #5 from Sebastian Pop <spop at gcc dot gnu.org> 2010-12-17 22:23:21 UTC ---
This is a duplicate of PR45758 that has been fixed on trunk.
I backported this change to the 4.5 branch and that fixes the
testcase.  I will commit the fix after regstrap.

*** This bug has been marked as a duplicate of bug 45758 ***


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

* [Bug tree-optimization/45552] [graphite] ICE in sese_loop_depth, at sese.h:172
       [not found] <bug-45552-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2010-12-17 22:23 ` spop at gcc dot gnu.org
@ 2010-12-23 18:53 ` spop at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu.org @ 2010-12-23 18:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Sebastian Pop <spop at gcc dot gnu.org> 2010-12-23 18:52:08 UTC ---
Author: spop
Date: Thu Dec 23 18:52:04 2010
New Revision: 168213

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168213
Log:
Fix PR45552: backport fix for PR45758 to 4.5 branch.

2010-12-23  Sebastian Pop  <sebastian.pop@amd.com>

    Backport from mainline
    Fix PR45758: reset scevs before Graphite.
        2010-09-24  Sebastian Pop  <sebastian.pop@amd.com>

    PR tree-optimization/45552
    * graphite.c (graphite_initialize): Call scev_reset.

    * gcc.dg/graphite/pr45552.c

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/graphite/pr45552.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/graphite.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


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

* [Bug tree-optimization/45552] [graphite] ICE in sese_loop_depth, at sese.h:172
  2010-09-06  4:35 [Bug tree-optimization/45552] New: " tolkiendili at gmail dot com
@ 2010-09-06  4:36 ` tolkiendili at gmail dot com
  0 siblings, 0 replies; 6+ messages in thread
From: tolkiendili at gmail dot com @ 2010-09-06  4:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tolkiendili at gmail dot com  2010-09-06 04:36 -------
Created an attachment (id=21708)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21708&action=view)
preprocessed file


-- 


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


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

end of thread, other threads:[~2010-12-23 18:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-45552-4@http.gcc.gnu.org/bugzilla/>
2010-12-14 17:18 ` [Bug tree-optimization/45552] [graphite] ICE in sese_loop_depth, at sese.h:172 spop at gcc dot gnu.org
2010-12-14 17:24 ` spop at gcc dot gnu.org
2010-12-14 19:19 ` spop at gcc dot gnu.org
2010-12-17 22:23 ` spop at gcc dot gnu.org
2010-12-23 18:53 ` spop at gcc dot gnu.org
2010-09-06  4:35 [Bug tree-optimization/45552] New: " tolkiendili at gmail dot com
2010-09-06  4:36 ` [Bug tree-optimization/45552] " tolkiendili at gmail dot com

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).