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

             Bug #: 53187
           Summary: ICE in arm_select_dominance_cc_mode
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: ja...@gcc.gnu.org
            Target: armv7hl-linux-gnueabi


void bar (int);

void
foo (int x, double y, double z)
{
  _Bool t = z >= y;
  if (!t || x)
    bar (t ? 1 : 16);
}

ICEs onboth 4.7 branch and trunk at -O2 -mfloat-abi=hard with:
rh817086.i: In function 'foo':
rh817086.i:9:1: internal compiler error: in arm_select_dominance_cc_mode, at
config/arm/arm.c:11544
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

This prevents mesa from building on arm hard float.

Reply via email to