public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/32998] -frecord-gcc-switches issues Date: Sun, 20 Jun 2010 21:03:00 -0000 [thread overview] Message-ID: <20100620210306.10533.qmail@sourceware.org> (raw) In-Reply-To: <bug-32998-87@http.gcc.gnu.org/bugzilla/> ------- Comment #6 from jsm28 at gcc dot gnu dot org 2010-06-20 21:03 ------- Subject: Bug 32998 Author: jsm28 Date: Sun Jun 20 21:02:46 2010 New Revision: 161053 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161053 Log: PR other/32998 * opth-gen.awk: Generate definitions of OPT_SPECIAL_unknown, OPT_SPECIAL_program_name and OPT_SPECIAL_input_file. * opts-common.c (find_opt): Return OPT_SPECIAL_unknown on failure. (decode_cmdline_option): Update for this return value. Set orig_option_with_args_text field. Set arg field for unknown options. Make static. (decode_cmdline_options_to_array): New. (prune_options): Update handling of find_opt return value. * opts.c (read_cmdline_option): Take decoded option. Return void. (read_cmdline_options): Take decoded options. (decode_options): Add parameters for decoded options. Use decode_cmdline_options_to_array. Use decoded options for -O scan. Use integral_argument for -O parameters. Update call to read_cmdline_options. (enable_warning_as_error): Update handling of find_opt return value. * opts.h: Update comment on unknown options. (struct cl_decoded_option): Update comments on opt_index and arg. Add orig_option_with_args_text. (decode_cmdline_option): Remove. (decode_cmdline_options_to_array): Declare. (decode_options): Update prototype. * toplev.c (save_argv): Remove. (save_decoded_options, save_decoded_options_count): New. (read_integral_parameter): Remove. (print_switch_values): Use decoded options. (toplev_main): Don't set save_argv. Update call to decode_options. * toplev.h (read_integral_parameter): Remove. * varasm.c (elf_record_gcc_switches): Don't handle holding back names. c-family: * c-common.c (parse_optimize_options): Update call to decode_options. fortran: * options.c (gfc_handle_option): Don't handle N_OPTS. testsuite: * gcc.dg/opts-2.c: New test. Added: trunk/gcc/testsuite/gcc.dg/opts-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-common.c trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/options.c trunk/gcc/opth-gen.awk trunk/gcc/opts-common.c trunk/gcc/opts.c trunk/gcc/opts.h trunk/gcc/testsuite/ChangeLog trunk/gcc/toplev.c trunk/gcc/toplev.h trunk/gcc/varasm.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32998
next prev parent reply other threads:[~2010-06-20 21:03 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-08-05 21:17 [Bug other/32998] New: " jakub at gcc dot gnu dot org 2007-08-06 8:12 ` [Bug other/32998] " nickc at redhat dot com 2007-08-06 16:17 ` bkoz at gcc dot gnu dot org 2007-08-06 19:19 ` roland at redhat dot com 2007-08-07 8:11 ` nickc at redhat dot com 2007-08-07 8:25 ` nickc at redhat dot com 2010-06-20 21:03 ` jsm28 at gcc dot gnu dot org [this message] 2010-06-20 21:05 ` jsm28 at gcc dot gnu dot org 2010-06-20 21:20 ` manu at gcc dot gnu dot org [not found] <bug-32998-4@http.gcc.gnu.org/bugzilla/> 2010-10-02 16:06 ` jan.kratochvil at redhat dot com 2010-10-05 0:42 ` roland at redhat dot com 2010-10-05 9:48 ` jakub at gcc dot gnu.org 2010-10-05 19:54 ` roland at redhat dot com 2011-04-22 18:49 ` jan.kratochvil at redhat dot com 2011-07-12 16:26 ` jakub at gcc dot gnu.org 2011-07-22 20:04 ` jakub at gcc dot gnu.org 2012-06-14 9:22 ` philomath868 at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100620210306.10533.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).