[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 --- Comment #18 from Martin Liška --- (In reply to Daniel Santos from comment #17) > Thanks for all your work on this Martin. I've put a script up on my github > account (https://github.com/daniel-santos/distccflags), updated the Gentoo > Distcc instructions and sent distcc a mail to notify them. > > Thanks! Good to hear it helped ;)
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 --- Comment #17 from Daniel Santos --- Thanks for all your work on this Martin. I've put a script up on my github account (https://github.com/daniel-santos/distccflags), updated the Gentoo Distcc instructions and sent distcc a mail to notify them. Thanks!
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Known to work||6.4.0, 7.2.0 Resolution|--- |FIXED Known to fail|6.4.0, 7.2.0| --- Comment #16 from Martin Liška --- Fixed on GCC 6 and 7 branches, no plans for 5 branch because it's more complicated to backport.
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 --- Comment #15 from Martin Liška --- Author: marxin Date: Fri Sep 15 09:20:37 2017 New Revision: 252798 URL: https://gcc.gnu.org/viewcvs?rev=252798=gcc=rev Log: Backport r251406 2017-09-15 Martin LiskaBackport from mainline 2017-08-29 Martin Liska PR other/39851 * gcc-interface/trans.c (Pragma_to_gnu): Set argument to NULL. Modified: branches/gcc-6-branch/gcc/ada/ChangeLog branches/gcc-6-branch/gcc/ada/gcc-interface/trans.c
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 --- Comment #14 from Martin Liška --- Author: marxin Date: Fri Sep 15 09:19:36 2017 New Revision: 252797 URL: https://gcc.gnu.org/viewcvs?rev=252797=gcc=rev Log: Backport r251400 2017-09-15 Martin LiskaBackport from mainline 2017-08-29 Martin Liska 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 Backport from mainline 2017-08-29 Martin Liska 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
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 --- Comment #13 from Martin Liška --- Author: marxin Date: Fri Sep 15 08:18:34 2017 New Revision: 252787 URL: https://gcc.gnu.org/viewcvs?rev=252787=gcc=rev Log: Subject: Backport r251400 2017-09-15 Martin LiskaBackport from mainline 2017-08-29 Martin Liska 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 Backport from mainline 2017-08-29 Martin Liska PR other/39851 * c-common.c (parse_optimize_options): Add argument to function call. * c-pragma.c (handle_pragma_diagnostic): Likewise. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/c-family/ChangeLog branches/gcc-7-branch/gcc/c-family/c-common.c branches/gcc-7-branch/gcc/c-family/c-pragma.c branches/gcc-7-branch/gcc/gcc.c branches/gcc-7-branch/gcc/opts-common.c branches/gcc-7-branch/gcc/opts-global.c branches/gcc-7-branch/gcc/opts.c branches/gcc-7-branch/gcc/opts.h branches/gcc-7-branch/gcc/toplev.c
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 --- Comment #12 from Martin Liška --- Author: marxin Date: Fri Sep 15 08:14:24 2017 New Revision: 252786 URL: https://gcc.gnu.org/viewcvs?rev=252786=gcc=rev Log: Backport r251406 2017-09-15 Martin LiskaBackport from mainline 2017-08-29 Martin Liska PR other/39851 * gcc-interface/trans.c (Pragma_to_gnu): Set argument to NULL. Modified: branches/gcc-7-branch/gcc/ada/ChangeLog branches/gcc-7-branch/gcc/ada/gcc-interface/trans.c
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 --- Comment #11 from Aldy Hernandez --- Author: aldyh Date: Wed Sep 13 17:35:13 2017 New Revision: 252601 URL: https://gcc.gnu.org/viewcvs?rev=252601=gcc=rev Log: Fix --help=target (Ada) (PR other/39851) 2017-08-29 Martin LiskaPR other/39851 * gcc-interface/trans.c (Pragma_to_gnu): Set argument to NULL. Modified: branches/range-gen2/gcc/ada/ChangeLog branches/range-gen2/gcc/ada/gcc-interface/trans.c
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 --- Comment #10 from Aldy Hernandez --- Author: aldyh Date: Wed Sep 13 17:34:49 2017 New Revision: 252599 URL: https://gcc.gnu.org/viewcvs?rev=252599=gcc=rev Log: Fix --help=target (PR other/39851). 2017-08-29 Martin LiskaPR 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-08-29 Martin Liska PR other/39851 * c-common.c (parse_optimize_options): Add argument to function call. * c-pragma.c (handle_pragma_diagnostic): Likewise. Modified: branches/range-gen2/gcc/ChangeLog branches/range-gen2/gcc/c-family/ChangeLog branches/range-gen2/gcc/c-family/c-common.c branches/range-gen2/gcc/c-family/c-pragma.c branches/range-gen2/gcc/gcc.c branches/range-gen2/gcc/opts-common.c branches/range-gen2/gcc/opts-global.c branches/range-gen2/gcc/opts.c branches/range-gen2/gcc/opts.h branches/range-gen2/gcc/toplev.c
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 --- Comment #9 from Martin Liška --- Author: marxin Date: Tue Aug 29 08:35:46 2017 New Revision: 251406 URL: https://gcc.gnu.org/viewcvs?rev=251406=gcc=rev Log: Fix --help=target (Ada) (PR other/39851) 2017-08-29 Martin LiskaPR other/39851 * gcc-interface/trans.c (Pragma_to_gnu): Set argument to NULL. Modified: trunk/gcc/ada/ChangeLog trunk/gcc/ada/gcc-interface/trans.c
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 Martin Liška changed: What|Removed |Added Known to work||8.0 Known to fail||5.4.0, 6.4.0, 7.2.0 --- Comment #8 from Martin Liška --- Fixed on trunk, queued for backporting.
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 --- Comment #7 from Martin Liška --- Author: marxin Date: Tue Aug 29 07:46:10 2017 New Revision: 251400 URL: https://gcc.gnu.org/viewcvs?rev=251400=gcc=rev Log: Fix --help=target (PR other/39851). 2017-08-29 Martin LiskaPR 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-08-29 Martin Liska PR other/39851 * c-common.c (parse_optimize_options): Add argument to function call. * c-pragma.c (handle_pragma_diagnostic): Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-common.c trunk/gcc/c-family/c-pragma.c trunk/gcc/gcc.c trunk/gcc/opts-common.c trunk/gcc/opts-global.c trunk/gcc/opts.c trunk/gcc/opts.h trunk/gcc/toplev.c
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org --- Comment #6 from Martin Liška --- I've got a patch candidate, let's see what maintainers say about it.
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 Daniel Santos changed: What|Removed |Added CC||daniel.santos at pobox dot com --- Comment #5 from Daniel Santos --- Confirmed. $ diff -u0 <(gcc -Q -march=sandybridge --help=target) <(gcc -march=native -Q --help=target) --- /dev/fd/63 2017-07-22 14:49:57.839642336 -0500 +++ /dev/fd/62 2017-07-22 14:49:57.839642336 -0500 @@ -16 +16 @@ - -maes[disabled] + -maes[enabled] @@ -26 +26 @@ - -mavx[disabled] + -mavx[enabled] @@ -49 +49 @@ - -mcx16 [disabled] + -mcx16 [enabled] @@ -62 +62 @@ - -mfxsr [disabled] + -mfxsr [enabled] @@ -79 +79 @@ - -mmmx[disabled] + -mmmx[enabled] @@ -89 +89 @@ - -mno-sse4[enabled] + -mno-sse4[disabled] @@ -95 +95 @@ - -mpclmul [disabled] + -mpclmul [enabled] @@ -97 +97 @@ - -mpopcnt [disabled] + -mpopcnt [enabled] @@ -112 +112 @@ - -msahf [disabled] + -msahf [enabled] @@ -116,2 +116,2 @@ - -msse[disabled] - -msse2 [disabled] + -msse[enabled] + -msse2 [enabled] @@ -119,4 +119,4 @@ - -msse3 [disabled] - -msse4 [disabled] - -msse4.1 [disabled] - -msse4.2 [disabled] + -msse3 [enabled] + -msse4 [enabled] + -msse4.1 [enabled] + -msse4.2 [enabled] @@ -126 +126 @@ - -mssse3 [disabled] + -mssse3 [enabled] @@ -135 +135 @@ - -mtune= + -mtune= sandybridge @@ -142 +142 @@ - -mxsave [disabled] + -mxsave [enabled] @@ -144 +144 @@ - -mxsaveopt [disabled] + -mxsaveopt [enabled]
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 Alexander Monakov amonakov at gcc dot gnu.org changed: What|Removed |Added CC||bratsinot at gmail dot com --- Comment #4 from Alexander Monakov amonakov at gcc dot gnu.org 2013-03-04 09:29:32 UTC --- *** Bug 56507 has been marked as a duplicate of this bug. ***
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 Alexander Monakov amonakov at gcc dot gnu.org changed: What|Removed |Added CC||kjslag at gmail dot com CC||philomath868 at gmail dot ||com --- Comment #2 from Alexander Monakov amonakov at gcc dot gnu.org 2012-06-01 14:05:12 UTC --- *** Bug 43718 has been marked as a duplicate of this bug. *** --- Comment #3 from Alexander Monakov amonakov at gcc dot gnu.org 2012-06-01 14:06:12 UTC --- *** Bug 53554 has been marked as a duplicate of this bug. ***
[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 Alexander Monakov amonakov at gcc dot gnu.org changed: What|Removed |Added CC||kjslag at gmail dot com CC||philomath868 at gmail dot ||com --- Comment #2 from Alexander Monakov amonakov at gcc dot gnu.org 2012-06-01 14:05:12 UTC --- *** Bug 43718 has been marked as a duplicate of this bug. *** --- Comment #3 from Alexander Monakov amonakov at gcc dot gnu.org 2012-06-01 14:06:12 UTC --- *** Bug 53554 has been marked as a duplicate of this bug. ***