aboutsummaryrefslogtreecommitdiff
path: root/libobjc/objc-private
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2024-07-25 17:36:09 -0400
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:59 +0200
commitb9594864b7c39fe6c4072de2dac39fc6e1bd8aac (patch)
treeafcc96dbc2711bfac4d248038b21210a0b8f8eb8 /libobjc/objc-private
parente0aa8f2e35636451a58c02b0bad47804e13124e9 (diff)
downloadgcc-b9594864b7c39fe6c4072de2dac39fc6e1bd8aac.zip
gcc-b9594864b7c39fe6c4072de2dac39fc6e1bd8aac.tar.gz
gcc-b9594864b7c39fe6c4072de2dac39fc6e1bd8aac.tar.bz2
c++: #pragma target and deferred instantiation [PR115403]
My patch for 109753 applies the current #pragma target/optimize to a function when we compile it, which was a problem for a template instantiation deferred until EOF, where different #pragmas are active. So let's only do this for artificial functions. PR c++/115403 PR c++/109753 gcc/cp/ChangeLog: * decl.cc (start_preparsed_function): Only call decl_attributes for artificial functions. gcc/testsuite/ChangeLog: * g++.dg/ext/pragma-target1.C: New test.
Diffstat (limited to 'libobjc/objc-private')
0 files changed, 0 insertions, 0 deletions