Don't consider '-foffload-abi' in 'DEF_GOACC_BUILTIN', 'DEF_GOMP_BUILTIN'
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 2 Aug 2021 16:33:50 +0000 (18:33 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Mon, 9 Aug 2021 11:39:38 +0000 (13:39 +0200)
commit2a700fb8ea95927b02146db2b3338b1f9b868196
tree5bf70253579d416f882328157f04ddb28db47598
parentc5230519305946338ddc7107ce45c740812142b4
Don't consider '-foffload-abi' in 'DEF_GOACC_BUILTIN', 'DEF_GOMP_BUILTIN'

Since Tom's PR64707 commit r220037 (Git commit
1506ae0e1e865fb7a42fc37a47f1799b71f21c53) "Make fopenmp an LTO option" as well
as PR64672 commit r220038 (Git commit a0c88d0629a33161add8d5bc083f1e59f3f756f7)
"Make fopenacc an LTO option", we're now actually passing
'-fopenacc'/'-fopenmp' to the 'mkoffload's, which will pass these on to the
offload compilers.

gcc/
* builtins.def (DEF_GOACC_BUILTIN, DEF_GOMP_BUILTIN): Don't
consider '-foffload-abi'.
* common.opt (-foffload-abi): Remove 'Var', 'Init'.
* opts.c (common_handle_option) <-foffload-abi> [ACCEL_COMPILER]:
Ignore.
gcc/builtins.def
gcc/common.opt
gcc/opts.c