public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/52006] New: [4.7 Regression] ARM ICE on
@ 2012-01-26 10:02 jakub at gcc dot gnu.org
  2012-01-26 10:22 ` [Bug target/52006] [4.7 Regression] ARM ICE with incorrectly peepholed tls_load_dot_plus_eight jakub at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-26 10:02 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52006
           Summary: [4.7 Regression] ARM ICE on
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: jakub@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org
                CC: ramana@gcc.gnu.org
            Target: arm*-linux-gnueabi


/* { dg-do compile } */
/* { dg-options "-march=armv7-a -mfloat-abi=hard -O2 -fPIC" } */

unsigned long a;
static int b;

void
foo (void)
{
  asm volatile ("" : "=r" (b));
}

void
bar (float f)
{
  if (f < b / 100.0)
    a = 1;
}

ICEs on arm with:
error: insn does not satisfy its constraints:
(insn 69 64 10 2 (set (reg:SI 77 s14 [orig:143 b ] [143])
        (mem:SI (unspec:SI [
                    (reg/f:SI 2 r2 [141])
                    (const_int 8 [0x8])
                    (const_int 1 [0x1])
                ] UNSPEC_PIC_BASE) [0 S4 A32])) rh784748.i:17 188
{tls_load_dot_plus_eight}
     (nil))
rh784748.i:19:1: internal compiler error: in copyprop_hardreg_forward_1, at
regcprop.c:767


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

end of thread, other threads:[~2012-02-09 17:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-26 10:02 [Bug target/52006] New: [4.7 Regression] ARM ICE on jakub at gcc dot gnu.org
2012-01-26 10:22 ` [Bug target/52006] [4.7 Regression] ARM ICE with incorrectly peepholed tls_load_dot_plus_eight jakub at gcc dot gnu.org
2012-01-26 10:24 ` jakub at gcc dot gnu.org
2012-01-26 10:25 ` jakub at gcc dot gnu.org
2012-01-28  2:21 ` jakub at gcc dot gnu.org
2012-01-28  2:21 ` jakub at gcc dot gnu.org
2012-02-09 17:29 ` jakub at gcc dot gnu.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).