[Bug ada/83892] Various ICEs and link-errors with running ACATS with -O2 -g -flto
simon at pushface dot org
gcc-bugzilla@gcc.gnu.org
Sat Feb 10 17:01:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83892
--- Comment #7 from simon at pushface dot org ---
(In reply to rguenther@suse.de from comment #5)
> It would be nice if acats could honor dejagnu RUNTESTFLAGS. That is,
> I regularly do
>
> make check RUNTESTFLAGS="--target_board=unix/-g"
>
> and that should append -g to all flags used. That might need a "simple"
> acats.exp to wrap the run_acats/all.sh scripts. Currently acats seems
> to be invoked via check-acats in gcc/ada/gcc-interface/Make-lang.in
I have a patch to do this, but
(a) I’ve just seen that you said "append",
(b) if the added switches include -gnat<foo>, you’d need to make sure
you only ran "make check-acats" - -g<bar> looks like a debug
option
(c) RUNTESTFLAGS doesn’t get transmitted to the sub-makes in the
check-acats target if you 'make -j<n>'
More information about the Gcc-bugs
mailing list