aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/interface.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-03-31 14:56:25 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2025-04-01 10:31:21 +0200
commitae2912748b9913fe9cd198db1b3fa704d0cbc728 (patch)
tree68b42232e6e15e263da2b3f26279bf72dbaeb5c0 /gcc/fortran/interface.cc
parentde92ac6f11e605987421fe1443b5b81ff172dbb6 (diff)
downloadgcc-ae2912748b9913fe9cd198db1b3fa704d0cbc728.zip
gcc-ae2912748b9913fe9cd198db1b3fa704d0cbc728.tar.gz
gcc-ae2912748b9913fe9cd198db1b3fa704d0cbc728.tar.bz2
target/119549 - fixup handling of -mno-sse4 in target attribute
The following fixes ix86_valid_target_attribute_inner_p to properly handle target("no-sse4") via OPT_mno_sse4 rather than as unset OPT_msse4. I've added asserts to ix86_handle_option that RejectNegative is honored for both. PR target/119549 * common/config/i386/i386-common.cc (ix86_handle_option): Assert that both OPT_msse4 and OPT_mno_sse4 are never unset. * config/i386/i386-options.cc (ix86_valid_target_attribute_inner_p): Process negated OPT_msse4 as OPT_mno_sse4. * gcc.target/i386/pr119549.c: New testcase.
Diffstat (limited to 'gcc/fortran/interface.cc')
0 files changed, 0 insertions, 0 deletions