]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: use -Wprio-ctor-dtor for attribute init_priority
authorJason Merrill <jason@redhat.com>
Wed, 12 Feb 2025 22:21:25 +0000 (23:21 +0100)
committerJason Merrill <jason@redhat.com>
Thu, 13 Feb 2025 21:53:38 +0000 (22:53 +0100)
commit4e7f74225116e76caa65c5ce2815c2714343dfbc
tree44cad2ad42f0e250c9b670b1939d87b539472007
parent32d3e63ebb2aac4208a522fcd3477932d72eacfc
c++: use -Wprio-ctor-dtor for attribute init_priority

gcc/cp/ChangeLog:

* tree.cc (handle_init_priority_attribute): Use OPT_prio_ctor_dtor.

gcc/testsuite/ChangeLog:

* g++.dg/special/initp1.C: Test disabling -Wprio-ctor-dtor.
gcc/cp/tree.cc
gcc/testsuite/g++.dg/special/initp1.C