This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/81424] [7 regression] internal error on GPRbuild with -O2


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]