public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/32109]  New: [4.1/4.2/4.3 regression] ICE with inline-asm and class with destructor
@ 2007-05-27 21:32 reichelt at gcc dot gnu dot org
  2007-05-27 21:33 ` [Bug inline-asm/32109] " reichelt at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-05-27 21:32 UTC (permalink / raw)
  To: gcc-bugs

The following (valid?) code snippet triggers an ICE since GCC 3.1:

=================================
struct A
{
  ~A();
};

struct B
{
  A a;
  B();
};

B::B()
{
  asm("" : : "r"(a) );
}
=================================

bug.cc: In constructor 'B::B()':
bug.cc:14: internal compiler error: in create_tmp_var, at gimplify.c:489
Please submit a full bug report, [etc.]


-- 
           Summary: [4.1/4.2/4.3 regression] ICE with inline-asm and class
                    with destructor
           Product: gcc
           Version: 4.3.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=32109


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

end of thread, other threads:[~2007-06-25 22:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-27 21:32 [Bug inline-asm/32109] New: [4.1/4.2/4.3 regression] ICE with inline-asm and class with destructor reichelt at gcc dot gnu dot org
2007-05-27 21:33 ` [Bug inline-asm/32109] " reichelt at gcc dot gnu dot org
2007-05-27 21:38 ` pinskia at gcc dot gnu dot org
2007-06-20  6:37 ` jakub at gcc dot gnu dot org
2007-06-20  6:46 ` jakub at gcc dot gnu dot org
2007-06-20  6:52 ` jakub at gcc dot gnu dot org
2007-06-20  9:46 ` jakub at gcc dot gnu dot org
2007-06-25 22:33 ` pluto at agmk dot net

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