aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.cc
diff options
context:
space:
mode:
authorKewen Lin <linkw@linux.ibm.com>2024-07-23 00:47:49 -0500
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:46 +0200
commit8237d37d294b70c81ae95f72c1e2c814cf1369f2 (patch)
treefa19c7463ad760b47263ddb7ffa9c79eaf2b621b /gcc/cp/tree.cc
parent150f5707ca5506917504631d60cd0b060019a778 (diff)
downloadgcc-8237d37d294b70c81ae95f72c1e2c814cf1369f2.zip
gcc-8237d37d294b70c81ae95f72c1e2c814cf1369f2.tar.gz
gcc-8237d37d294b70c81ae95f72c1e2c814cf1369f2.tar.bz2
rs6000: Escalate warning to error for VSX with explicit no-altivec etc.
As the discussion in PR115688, for now when users specify -mvsx and -mno-altivec explicitly, compiler emits warning rather than error, but considering both options are given explicitly, emitting hard error should be better. So this patch is to escalate some related warning to error when both are incompatible. PR target/115713 gcc/ChangeLog: * config/rs6000/rs6000.cc (rs6000_option_override_internal): Emit error messages when explicit VSX encounters explicit soft-float, no-altivec or avoid-indexed-addresses. gcc/testsuite/ChangeLog: * gcc.target/powerpc/warn-1.c: Move to ... * gcc.target/powerpc/error-1.c: ... here. Adjust dg-warning with dg-error and remove ineffective scan.
Diffstat (limited to 'gcc/cp/tree.cc')
0 files changed, 0 insertions, 0 deletions