public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/30979]  New: internal compiler error -ff2c
@ 2007-02-27 12:19 tim dot bevan at 1spatial dot com
  2007-02-27 12:22 ` [Bug fortran/30979] " tim dot bevan at 1spatial dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: tim dot bevan at 1spatial dot com @ 2007-02-27 12:19 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/30979] internal compiler error -ff2c
  2007-02-27 12:19 [Bug fortran/30979] New: internal compiler error -ff2c tim dot bevan at 1spatial dot com
@ 2007-02-27 12:22 ` tim dot bevan at 1spatial dot com
  2007-02-27 13:12 ` dfranke at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tim dot bevan at 1spatial dot com @ 2007-02-27 12:22 UTC (permalink / raw)
  To: gcc-bugs



------- 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=13119&action=view)
trimmed down source file

Just the ont function that provokes the problem.


-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/30979] internal compiler error -ff2c
  2007-02-27 12:19 [Bug fortran/30979] New: internal compiler error -ff2c tim dot bevan at 1spatial dot com
  2007-02-27 12:22 ` [Bug fortran/30979] " tim dot bevan at 1spatial dot com
@ 2007-02-27 13:12 ` dfranke at gcc dot gnu dot org
  2007-02-27 13:51 ` tim dot bevan at 1spatial dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-02-27 13:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dfranke at gcc dot gnu dot org  2007-02-27 13:11 -------
Works, in terms of compiles, with gfortran-4.3 (svn version, 20070220).
Did you try the latest 4.1.2 release?


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|internal compiler error -   |internal compiler error -
                   |ff2c                        |ff2c


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/30979] internal compiler error -ff2c
  2007-02-27 12:19 [Bug fortran/30979] New: internal compiler error -ff2c tim dot bevan at 1spatial dot com
  2007-02-27 12:22 ` [Bug fortran/30979] " tim dot bevan at 1spatial dot com
  2007-02-27 13:12 ` dfranke at gcc dot gnu dot org
@ 2007-02-27 13:51 ` tim dot bevan at 1spatial dot com
  2007-02-27 15:03 ` tim dot bevan at 1spatial dot com
  2007-02-27 15:28 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tim dot bevan at 1spatial dot com @ 2007-02-27 13:51 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/30979] internal compiler error -ff2c
  2007-02-27 12:19 [Bug fortran/30979] New: internal compiler error -ff2c tim dot bevan at 1spatial dot com
                   ` (2 preceding siblings ...)
  2007-02-27 13:51 ` tim dot bevan at 1spatial dot com
@ 2007-02-27 15:03 ` tim dot bevan at 1spatial dot com
  2007-02-27 15:28 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tim dot bevan at 1spatial dot com @ 2007-02-27 15:03 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/30979] internal compiler error -ff2c
  2007-02-27 12:19 [Bug fortran/30979] New: internal compiler error -ff2c tim dot bevan at 1spatial dot com
                   ` (3 preceding siblings ...)
  2007-02-27 15:03 ` tim dot bevan at 1spatial dot com
@ 2007-02-27 15:28 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-27 15:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2007-02-27 15:28 -------


*** This bug has been marked as a duplicate of 25392 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-02-27 15:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-27 12:19 [Bug fortran/30979] New: internal compiler error -ff2c tim dot bevan at 1spatial dot com
2007-02-27 12:22 ` [Bug fortran/30979] " tim dot bevan at 1spatial dot com
2007-02-27 13:12 ` dfranke at gcc dot gnu dot org
2007-02-27 13:51 ` tim dot bevan at 1spatial dot com
2007-02-27 15:03 ` tim dot bevan at 1spatial dot com
2007-02-27 15:28 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).