[Bug c/41679] internal compiler error: in loc_cmp, at var-tracking.c:2433

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 9 17:36:00 GMT 2009



------- Comment #3 from jakub at gcc dot gnu dot org  2009-11-09 17:36 -------
/* { dg-do compile } */
/* { dg-options "-march=armv5te -g -O2" } */

extern int a;
extern char b;
extern int foo (void);

void
test (void)
{
  int c;
  b = foo () ? '~' : '\0';
  while ((c = foo ()))
    if (c == '7')
      a = 0;
}

fails on the current trunk the same way, at least in the x86_64-linux ->
armv5tel-unknown-linux-gnueabi cross.


-- 

jakub at gcc dot gnu dot org changed:

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


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



More information about the Gcc-bugs mailing list