https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67973
--- Comment #21 from dominiq at gcc dot gnu.org --- Author: dominiq Date: Sat May 21 08:35:25 2016 New Revision: 236556 URL: https://gcc.gnu.org/viewcvs?rev=236556&root=gcc&view=rev Log: @@ -1,3 +1,22 @@ 2016-05-21 Iain Sandoe <i...@codesourcery.com> Dominique d'Humieres <domi...@lps.ens.fr> Backport from mainline 2015-12-17 Rainer Orth <r...@cebitec.uni-bielefeld.de> gcc: PR target/67973 * configure.ac (gcc_cv_as_stabs_directive): New test. * configure: Regenerate. * config.in: Regenerate. * config/darwin.h (DBX_DEBUGGING_INFO): Wrap in HAVE_AS_STABS_DIRECTIVE. (PREFERRED_DEBUGGING_TYPE): Likewise. * config/i386/darwin.h (PREFERRED_DEBUGGING_TYPE): Only include DBX_DEBUG if HAVE_AS_STABS_DIRECTIVE. * doc/sourcebuild.texi (Effective-Target Keywords, Environment attributes): Document stabs. gcc/testsuite: PR target/67973 * lib/target-supports.exp (check_effective_target_stabs): New proc. * g++.dg/cpp0x/alias-decl-debug-0.C: Restrict to stabs targets. * g++.dg/other/PR23205.C: Likewise. * g++.dg/other/pr23205-2.C: Likewise. * gcc.dg/20040813-1.c: Likewise. * gcc.dg/darwin-20040809-2.c: Likewise. * objc.dg/stabs-1.m: Likewise. Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config.in branches/gcc-5-branch/gcc/config/darwin.h branches/gcc-5-branch/gcc/config/i386/darwin.h branches/gcc-5-branch/gcc/configure branches/gcc-5-branch/gcc/configure.ac branches/gcc-5-branch/gcc/doc/sourcebuild.texi branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/alias-decl-debug-0.C branches/gcc-5-branch/gcc/testsuite/g++.dg/other/PR23205.C branches/gcc-5-branch/gcc/testsuite/g++.dg/other/pr23205-2.C branches/gcc-5-branch/gcc/testsuite/gcc.dg/20040813-1.c branches/gcc-5-branch/gcc/testsuite/gcc.dg/darwin-20040809-2.c branches/gcc-5-branch/gcc/testsuite/lib/target-supports.exp branches/gcc-5-branch/gcc/testsuite/objc.dg/stabs-1.m