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 c++/20818] New: internal compiler error


-------------------------

martin@martini:/tmp$ gcc test.c
test.c: In function `main':
test.c:6: warning: return type of `main' is not `int'
test.c:7: internal compiler error: in emit_move_insn, at expr.c:3201
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions, see
<URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.
martin@martini:/tmp$ 

-------------------------
test.c:

struct b
{
}a;

void main()
{
        asm("fstenv %%eax" : : "a"(a));
}

-------------------------

-- 
           Summary: internal compiler error
           Product: gcc
           Version: 3.3.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: SchreiberX at Altmuehlnet dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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