This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/37310] [4.3 Regression] gfortran errors in compilation and the making for upgraded compilers
- From: "petermorgan at grapevine dot net dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2008 00:43:29 -0000
- Subject: [Bug tree-optimization/37310] [4.3 Regression] gfortran errors in compilation and the making for upgraded compilers
- References: <bug-37310-16653@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from petermorgan at grapevine dot net dot au 2008-09-08 00:43 -------
Created an attachment (id=16250)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16250&action=view)
An updated code fragment, old version tsummc00.f, showing the compilation
error.
A smaller code fragment to tsummc001.f which also shows the compilation error.
Here is the output from my test starting with with a version call to gfortran
and ending with an error free compilation when there is no optimization.
[peterm@currawong test]$ gfortran -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.3.1.source/configure --prefix=/opt
--with-mpfr-lib=/opt/lib --with-mpfr-include=/opt/include --disable-multilib
Thread model: posix
gcc version 4.3.1 (GCC)
[peterm@currawong test]$ gfortran -c -O3 tssumd00.f
tssumd00.f: In function 'remove_ejmp':
tssumd00.f:91: internal compiler error: in set_uids_in_ptset, at
tree-ssa-structalias.c:4789
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[peterm@currawong test]$ gfortran -c tssumd00.f
The extensive parameter lists and common blocks are important. They are
normally invoked by the use of include files. The error in in this test also
occurs in a second place in the suite. In both case there are two include
statement lines. In this module everything is okay when only one include
statement is requested. I am searching for other locations in the suite where
there may be two used of include. This is a relatively slow process.
--
petermorgan at grapevine dot net dot au changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #16199|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37310