[forwarded from https://bugs.launchpad.net/bugs/280107]

seen with 4.2, 4.3 branches and trunk 20080915.

int foo() {
 asm();
 return 0;
}

$ /usr/lib/gcc-snapshot/bin/gcc -g -O0 foo.c 
foo.c: In function 'foo':
foo.c:2: error: expected string literal before ')' token
foo.c:2: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.


-- 
           Summary: ICE with empty asm statement
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: doko at ubuntu dot com


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

Reply via email to