[Bug fortran/41212] [4.5 Regression] miscompilation at -O2
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Sep 12 11:47:00 GMT 2009
------- Comment #12 from rguenth at gcc dot gnu dot org 2009-09-12 11:46 -------
We should instead revert
2009-08-18 Michael Matz <matz@suse.de>
* trans-expr.c (gfc_conv_substring): Don't evaluate casted decl early,
change order of length calculation to (end - start) + 1.
(gfc_get_interface_mapping_array): Adjust call to
gfc_get_nodesc_array_type.
...
* trans-decl.c (gfc_finish_var_decl): Give scalars that can't be
aliased a type with a different alias set than the base type.
(gfc_build_dummy_array_decl): Adjust call to gfc_get_nodesc_array_type.
for now.
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41212
More information about the Gcc-bugs
mailing list