[Bug fortran/79430] [7 Regression] action of statement incorrectly optimised away

juergen.reuter at desy dot de gcc-bugzilla@gcc.gnu.org
Fri Feb 10 06:05:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79430

--- Comment #24 from Jürgen Reuter <juergen.reuter at desy dot de> ---
Actually, the volatile attribute conflicts with the intent(in) of the final
variable. But making the function result variable 'integral' volatile, does the
job. Thanks for the suggestion. And sorry again for not producing a smaller
case.


More information about the Gcc-bugs mailing list