public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/39058]  New: [4.3/4.4 regression] ICE with double in inline-asm
@ 2009-02-01 10:58 reichelt at gcc dot gnu dot org
  2009-02-01 11:03 ` [Bug inline-asm/39058] " reichelt at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-02-01 10:58 UTC (permalink / raw)
  To: gcc-bugs

The following (IMHO valid) code snippet triggers an ICE since GCC 4.3.0
when compiled with "-O":

========================================
double foo()
{
  double x;
  asm("" : "=r,r"(x) : "0,0"(x));
  return x;
}
========================================

bug.c: In function 'foo':
bug.c:5: internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1393
Please submit a full bug report, [etc.]

The same code compiles fine if I use float instead of double.


-- 
           Summary: [4.3/4.4 regression] ICE with double in inline-asm
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: inline-asm
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

end of thread, other threads:[~2009-02-26  7:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-01 10:58 [Bug inline-asm/39058] New: [4.3/4.4 regression] ICE with double in inline-asm reichelt at gcc dot gnu dot org
2009-02-01 11:03 ` [Bug inline-asm/39058] " reichelt at gcc dot gnu dot org
2009-02-02 10:07 ` jakub at gcc dot gnu dot org
2009-02-02 13:24 ` [Bug inline-asm/39058] [4.3 " jakub at gcc dot gnu dot org
2009-02-02 13:24 ` [Bug inline-asm/39058] [4.3/4.4 " jakub at gcc dot gnu dot org
2009-02-16  8:46 ` [Bug inline-asm/39058] [4.3 " ubizjak at gmail dot com
2009-02-21 13:17 ` rguenth at gcc dot gnu dot org
2009-02-26  7:07 ` uros at gcc dot gnu dot org
2009-02-26  7:23 ` ubizjak at gmail dot com

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).