aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-12-15 17:27:56 +0100
committerMartin Liska <mliska@suse.cz>2021-12-16 17:49:49 +0100
commit5b8f5a50a93c5fd44fa1ecb6f431fee1df267571 (patch)
treed44a3f87ab74cf460800ef7668a64f1e72a770bc /gcc/cp/class.c
parentc14f38d4292ec22462a4080841d526f87428130a (diff)
downloadgcc-5b8f5a50a93c5fd44fa1ecb6f431fee1df267571.zip
gcc-5b8f5a50a93c5fd44fa1ecb6f431fee1df267571.tar.gz
gcc-5b8f5a50a93c5fd44fa1ecb6f431fee1df267571.tar.bz2
pragma: respect pragma in lambda functions
In g:01ad8c54fdca we started supporting target pragma changes that are primarily caused by optimization option. The same can happen in the opposite way and we need to check for changes both in optimization_current_node and target_option_current_node. PR c++/103696 gcc/ChangeLog: * attribs.c (decl_attributes): Check if target_option_current_node is changed. gcc/testsuite/ChangeLog: * g++.target/i386/pr103696.C: New test.
Diffstat (limited to 'gcc/cp/class.c')
0 files changed, 0 insertions, 0 deletions