This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Sep 2017 09:20:08 +0000
- Subject: [Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
- Auto-submitted: auto-generated
- References: <bug-39851-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851
--- Comment #14 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Sep 15 09:19:36 2017
New Revision: 252797
URL: https://gcc.gnu.org/viewcvs?rev=252797&root=gcc&view=rev
Log:
Backport r251400
2017-09-15 Martin Liska <mliska@suse.cz>
Backport from mainline
2017-08-29 Martin Liska <mliska@suse.cz>
PR other/39851
* gcc.c (driver_handle_option): Add new argument.
* opts-common.c (handle_option): Pass
target_option_override_hook.
* opts-global.c (lang_handle_option): Add new option.
(set_default_handlers): Add new argument.
(decode_options): Likewise.
* opts.c (target_handle_option): Likewise.
(common_handle_option): Call target_option_override_hook.
* opts.h (struct cl_option_handler_func): Add hook for
target option override.
(struct cl_option_handlers): Likewise.
(set_default_handlers): Add new argument.
(decode_options): Likewise.
(common_handle_option): Likewise.
(target_handle_option): Likewise.
* toplev.c (toplev::main): Pass targetm.target_option.override
hook.
2017-09-15 Martin Liska <mliska@suse.cz>
Backport from mainline
2017-08-29 Martin Liska <mliska@suse.cz>
PR other/39851
* c-common.c (parse_optimize_options): Add argument to function
call.
* c-pragma.c (handle_pragma_diagnostic): Likewise.
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/c-family/ChangeLog
branches/gcc-6-branch/gcc/c-family/c-common.c
branches/gcc-6-branch/gcc/c-family/c-pragma.c
branches/gcc-6-branch/gcc/gcc.c
branches/gcc-6-branch/gcc/opts-common.c
branches/gcc-6-branch/gcc/opts-global.c
branches/gcc-6-branch/gcc/opts.c
branches/gcc-6-branch/gcc/opts.h
branches/gcc-6-branch/gcc/toplev.c