https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gcc dot gnu.org --- Comment #5 from anlauf at gcc dot gnu.org --- (In reply to Steve Kargl from comment #4) > subroutine foo4 > implicit none > real(4) :: ar(2,3), v(1) That should have read: real :: ar(2,3), v(1) > with the "gfortran -c -fdump-tree-original". and this: "gfortran -c -fdump-tree-original -fdefault-real-8" Which then gives apparently identical dump trees for both subroutines, as is likely expected by the user. > If someone wants to use -fdefault-* options, then all > code must be compiled with that option. Which the leads to the question: what exactly happens with that code when lto is used? Is there a way to compare the "lto representation" to the dump tree the gfortran developers may know better?