aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-expr.c
diff options
context:
space:
mode:
authorTobias Schlüter <tobi@gcc.gnu.org>2006-12-21 04:04:43 +0100
committerTobias Schlüter <tobi@gcc.gnu.org>2006-12-21 04:04:43 +0100
commitda4c6ed815c2723b3e9f6ddc375ea915da62d207 (patch)
treee08435e41b0ca91e22171efc98b4f40e3898d64c /gcc/fortran/trans-expr.c
parent5165f1258bb2b110382156d62f46627e3e81654c (diff)
downloadgcc-da4c6ed815c2723b3e9f6ddc375ea915da62d207.zip
gcc-da4c6ed815c2723b3e9f6ddc375ea915da62d207.tar.gz
gcc-da4c6ed815c2723b3e9f6ddc375ea915da62d207.tar.bz2
re PR fortran/25392 (ICEs with -ff2c)
PR fortran/25392 fortran/ * trans-stmt.c (gfc_trans_return): Fix comment formatting. * 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. testsuite/ * gfortran.dg/f2c_8.f90: New test. From-SVN: r120099
Diffstat (limited to 'gcc/fortran/trans-expr.c')
0 files changed, 0 insertions, 0 deletions