This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25392] ICEs with -ff2c
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Feb 2007 19:20:39 -0000
- Subject: [Bug fortran/25392] ICEs with -ff2c
- References: <bug-25392-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from tobi at gcc dot gnu dot org 2007-02-27 19:20 -------
Subject: Bug 25392
Author: tobi
Date: Tue Feb 27 19:20:21 2007
New Revision: 122382
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122382
Log:
2006-12-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/25392
* trans-types.c (gfc_sym_type): Don't return early for functions.
Remove special handling for -ff2c.
(gfc_get_function_type): Add special handling for -ff2c.
* trans-decl.c (gfc_create_function_decl): Fix comment formatting.
(gfc_get_fake_result_decl): Make sure we get the right type for
functions.
(gfc_generate_function_code): Convert type of result variable to
type of function.
* gfortran.dg/f2c_8.f90: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/f2c_8.f90
- copied unchanged from r120099,
trunk/gcc/testsuite/gfortran.dg/f2c_8.f90
Modified:
branches/gcc-4_1-branch/gcc/fortran/ChangeLog
branches/gcc-4_1-branch/gcc/fortran/trans-decl.c
branches/gcc-4_1-branch/gcc/fortran/trans-stmt.c
branches/gcc-4_1-branch/gcc/fortran/trans-types.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25392