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/14093] New: Internal compiler error for code when using -mhitachi option in SH.


Try the code below with sh-coff toolchain

----------------bug.c ---------------------
char foo(void);
void bar()
{
        char gc = foo();
}
----------------bug.c ---------------------

Compile with

sh-coff-gcc -m2 -mhitachi bug.c

It generates following error:

bug.c: In function 'bar':
bug.c:4: internal compiler error: in emit_move_insn, at expr.c:2776
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs/html> for instructions.

-- 
           Summary: Internal compiler error for code when using -mhitachi
                    option in SH.
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rajeshs1 at kpitcummins dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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