This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/28270] New: [4.0/4.1/4.2 regression] ICE on invalid inline asm


The following invalid code snippet triggers an ICE since GCC 3.1:

============================================================
void foo(long double d)
{
  asm("" :: "a" (d));
}
============================================================

bug.c: In function 'foo':
bug.c:3: error: impossible register constraint in 'asm'
bug.c:4: internal compiler error: in ix86_secondary_memory_needed, at
config/i386/i386.c:16554
Please submit a full bug report, [etc.]

Maybe related to PR26655.


-- 
           Summary: [4.0/4.1/4.2 regression] ICE on invalid inline asm
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored
          Severity: normal
          Priority: P3
         Component: target
        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=28270


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]