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 middle-end/18725] New: another ICE on trivial invalid asm


void
f (void)
{
  int x = 1;
  asm ("" : "" (x), "" (x));
}

yields

t.c: In function 'f':
t.c:5: error: output operand constraint lacks '='
t.c:5: error: output operand constraint lacks '='
t.c:3: error: Incorrect sharing of tree nodes
__asm__("":"" <<< error >>>, "" <<< error >>>:);

<<< error >>>

t.c:3: internal compiler error: verify_stmts failed.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

: Search converges between 2004-09-18-014002-trunk (#546) and
2004-09-18-161001-trunk (#547).

-- 
           Summary: another ICE on trivial invalid asm
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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