-
re PR pch/54117 (FAIL: ./decl-3.h -O0 -g (internal compiler error)) · f6007d99
PR pch/54117 * c-opts.c (c_common_post_options): If debug info is enabled and non-dwarf*, refuse to load PCH files and when writing PCH file warn. * lib/dg-pch.exp (pch-init, pch-finish, check_effective_target_pch_supported_debug): New procs. (dg-flags-pch): If $pch_unsupported, make tests UNSUPPORTED. Likewise if $pch_unsupported_debug and $flags include -g. Skip FAILs about missing *.gch file if $pch_unsupported_debug and dg-require-effective-target pch_unsupported_debug. * g++.dg/pch/pch.exp: Call pch-init and pch-finish. * objc.dg/pch/pch.exp: Likewise. * gcc.dg/pch/pch.exp: Likewise. * gcc.dg/pch/valid-1.c: Add dg-require-effective-target pch_unsupported_debug. * gcc.dg/pch/valid-1.hs: Likewise. * gcc.dg/pch/valid-1b.c: Likewise. * gcc.dg/pch/valid-1b.hs: Likewise. Co-Authored-By: Steven Bosscher <steven@gcc.gnu.org> From-SVN: r196124
Jakub Jelinek committed
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
interface-1.hs | Loading commit data... | |
interface-1.m | Loading commit data... | |
pch.exp | Loading commit data... |