public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/35041]  New: ICE in tree-ssa-ccp.c with -fipa-struct-reorg
@ 2008-01-31 14:54 alond at il dot ibm dot com
  2008-01-31 15:05 ` [Bug middle-end/35041] [4.3 Regression] " rguenth at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: alond at il dot ibm dot com @ 2008-01-31 14:54 UTC (permalink / raw)
  To: gcc-bugs

The following testcase fails for me when compiled with -O3 -fwhole-program
-fdump-ipa-all -combine -fipa-type-escape -fipa-struct-reorg

#include <stdlib.h>

typedef struct test_struct
{
  int a;
  int b;
} type_struct;

typedef type_struct **struct_pointer2;

struct_pointer2 str1;

int main()
{
  int i, j;

  str1 = malloc (2 * sizeof (type_struct*));

  for (i=0; i<=1; i++)
    str1[i] = malloc (2 * sizeof (type_struct));

  return 0;
}

The failure is:

try11.c: In function 'main':
try11.c:23: internal compiler error: in create_general_new_stmt, at
ipa-struct-reorg.c:1323
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE in tree-ssa-ccp.c with -fipa-struct-reorg
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: alond at il dot ibm dot com


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


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

end of thread, other threads:[~2008-03-14 17:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-31 14:54 [Bug middle-end/35041] New: ICE in tree-ssa-ccp.c with -fipa-struct-reorg alond at il dot ibm dot com
2008-01-31 15:05 ` [Bug middle-end/35041] [4.3 Regression] " rguenth at gcc dot gnu dot org
2008-01-31 15:08 ` steven at gcc dot gnu dot org
2008-01-31 15:37 ` [Bug middle-end/35041] " olga at gcc dot gnu dot org
2008-01-31 15:40 ` olga at gcc dot gnu dot org
2008-03-13 15:41 ` olga at gcc dot gnu dot org
2008-03-14 17:08 ` rguenth 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).