This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/17397] New: gimplify ICE


extern unsigned long strlen (__const char *__s); 
 
extern void bar (); 
 
extern int cols; 
 
void foo (void) 
{ 
  char s[cols + 2]; 
  if (strlen (s) > 0) 
    bar (); 
} 
 
$ ./cc1 -quiet t.i 
t.i: In function `foo': 
t.i:8: internal compiler error: in check_pointer_types_r, at gimplify.c:4216 
 
Happens on at least ia64, amd64.

-- 
           Summary: gimplify ICE
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: steven at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]