[Bug ada/81424] [7 regression] internal error on GPRbuild with -O2
pavel at zhukoff dot net
gcc-bugzilla@gcc.gnu.org
Sun Jul 16 11:17:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81424
--- Comment #2 from Pavel Zhukov <pavel at zhukoff dot net> ---
(In reply to Eric Botcazou from comment #1)
> Confirmed, but how can it block anything since the workaround is trivial?
Thanks Eric.
We have to use compiler/linker flags provided by distribution's macros and they
include O2 [1]. While we can change gnat specific flags relatively easy global
optflags is distribution wide.
Ada packaging guidelines:
https://fedoraproject.org/wiki/Packaging:Ada
[1] -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
https://fedoraproject.org/wiki/Packaging:RPMMacros#Build_flags_macros_and_variables
More information about the Gcc-bugs
mailing list