re PR driver/49726 (-g0 file.S -g does not produce debug info)
commit1c70261c9a4d7faedfb03a79753b9acf81195561
authorJakub Jelinek <jakub@redhat.com>
Mon, 16 Jan 2017 21:33:07 +0000 (16 22:33 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 16 Jan 2017 21:33:07 +0000 (16 22:33 +0100)
tree42e4ab59078ab992f7c8dd3456b96869aaa874b8
parenta60c3351032bbaad8c45dbad341437ba47540568
re PR driver/49726 (-g0 file.S -g does not produce debug info)

PR driver/49726
* gcc.c (debug_level_greater_than_spec_func): New function.
(static_spec_functions): Add debug-level-gt spec function.
(ASM_DEBUG_SPEC, cpp_options): Use %:debug-level-gt(0) instead of
!g0.
* config/darwin.h (DSYMUTIL_SPEC, ASM_DEBUG_SPEC): Likewise.
* config/darwin9.h (DSYMUTIL_SPEC, ASM_DEBUG_SPEC): Likewise.
* common.opt (g, gcoff, gdwarf, gdwarf-, ggdb, gno-pubnames,
gpubnames, ggnu-pubnames, gno-record-gcc-switches,
grecord-gcc-switches, gno-strict-dwarf, gstrict-dwarf, gstabs,
gstabs+, gtoggle, gvms, gxcoff, gxcoff+): Add Driver flag.
c-family/
* c.opt (gen-decls): Add Driver flag.
ada/
* gcc-interface/lang.opt (gant, gnatO, gnat): Add Driver flag.

From-SVN: r244505
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/lang.opt
gcc/c-family/ChangeLog
gcc/c-family/c.opt
gcc/common.opt
gcc/config/darwin.h
gcc/config/darwin9.h
gcc/gcc.c