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

           Summary: [4.7 Regression] ICE in new_elt_loc_list
           Product: gcc
           Version: 4.7.0
               URL: https://bugzilla.redhat.com/716837
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: ja...@gcc.gnu.org
        ReportedBy: ja...@gcc.gnu.org
            Target: s390x-linux


int baz (int, int, void *);

static inline __attribute__ ((always_inline)) long
foo (int x, int y, void *z)
{
  if (y < 0)
    return baz (x, y, z);
  return 0;
}

long
bar (long x, long y, long z)
{
  return foo (x, y, (void *) z);
}

ICEs on the trunk on s390x-linux at -g -O2.  The bug has been introduced by my
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174508
patch.

Reply via email to