[Bug fortran/30979] New: internal compiler error -ff2c
gcc version 4.1.0 (SUSE Linux) Trivial file fails to compile with -ff2c: gcc orient.f -ff2c -c -O -Wall -o orient.o orient.f: In function 'angnrm': orient.f:1: internal compiler error: in emit_move_insn, at expr.c:3158 Please submit a full bug report, with preprocessed source if appropriate. Omitting the -ff2c compiles the file. A different machine compiles this fine: gcc version 4.0.2 20050901 (prerelease) (SUSE Linux) - although the output code differs depending on the -ff2c option. -- Summary: internal compiler error -ff2c Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tim dot bevan at 1spatial dot com GCC host triplet: i586-suse-linux GCC target triplet: i586-suse-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30979
[Bug fortran/30979] internal compiler error -ff2c
--- Comment #1 from tim dot bevan at 1spatial dot com 2007-02-27 12:21 --- Created an attachment (id=13119) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13119action=view) trimmed down source file Just the ont function that provokes the problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30979
[Bug fortran/30979] internal compiler error -ff2c
--- Comment #3 from tim dot bevan at 1spatial dot com 2007-02-27 13:51 --- Unfortunately it is not possible to test that here at the moment. This is not critical as I can avoid needing this code. Not sure if we do actually need to specify the -ff2c flag anyway, I have a report that we needed it to compile other code with the earlier compiler. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30979
[Bug fortran/30979] internal compiler error -ff2c
--- Comment #4 from tim dot bevan at 1spatial dot com 2007-02-27 15:03 --- Having got gcc 4.1.3 (which supplied 4.1.2 prerelease) and some newer version of the GMP library installed. gcc --version gcc (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux) The problem still occurs gcc orient.f -ff2c -c -O -Wall -o orient.o orient.f: In function 'angnrm': orient.f:1: internal compiler error: in emit_move_insn, at expr.c:3162 Please submit a full bug report, with preprocessed source if appropriate. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30979