aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c.opt
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-01-16 22:33:07 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-01-16 22:33:07 +0100
commit1c70261c9a4d7faedfb03a79753b9acf81195561 (patch)
tree42e4ab59078ab992f7c8dd3456b96869aaa874b8 /gcc/c-family/c.opt
parenta60c3351032bbaad8c45dbad341437ba47540568 (diff)
downloadgcc-1c70261c9a4d7faedfb03a79753b9acf81195561.zip
gcc-1c70261c9a4d7faedfb03a79753b9acf81195561.tar.gz
gcc-1c70261c9a4d7faedfb03a79753b9acf81195561.tar.bz2
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
Diffstat (limited to 'gcc/c-family/c.opt')
-rw-r--r--gcc/c-family/c.opt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index 33caeb2..3bb42f6 100644
--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -1762,7 +1762,7 @@ ObjC ObjC++ Var(flag_zero_link)
Generate lazy class lookup (via objc_getClass()) for use in Zero-Link mode.
gen-decls
-ObjC ObjC++ Var(flag_gen_declaration)
+ObjC ObjC++ Driver Var(flag_gen_declaration)
Dump declarations to a .decl file.
femit-struct-debug-baseonly