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 inline-asm/55934] New: [4.8 Regression] LRA inline asm error recovery


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

             Bug #: 55934
           Summary: [4.8 Regression] LRA inline asm error recovery
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: inline-asm
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org


_Complex float
foo (void)
{
  _Complex float x;
  __asm ("" : "=x" (x)); /* { dg-error "impossible register constraint" } */
  return x;
}

on x86_64 used to ICE since the introduction of LRA (before that it has been
just issuing error on the asm).  Starting with
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193871
this got fixed, but already (guess) starting with
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193901
it issues both the expected error and also ICE after it.


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