[gcc r15-9724] c++/modules: Fix merge of TLS init functions [PR120363]

2025-05-23 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:a8f62a9b32668ea77da721cdc8b9403e507637af commit r15-9724-ga8f62a9b32668ea77da721cdc8b9403e507637af Author: Nathaniel Shead Date: Thu May 22 22:16:22 2025 +1000 c++/modules: Fix merge of TLS init functions [PR120363] The PR notes that we missed setting DECL_CO

[gcc r15-9723] c++/modules: Fix stream-in of member using-decls [PR120414]

2025-05-23 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:2486d94bc45a9815395a36cc6dc1e9e3219a74b7 commit r15-9723-g2486d94bc45a9815395a36cc6dc1e9e3219a74b7 Author: Nathaniel Shead Date: Sat May 24 00:51:49 2025 +1000 c++/modules: Fix stream-in of member using-decls [PR120414] When streaming in a reference to a data

[gcc r16-855] c++/modules: Fix stream-in of member using-decls [PR120414]

2025-05-23 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:43dddeef7a870ce4db7407f73660504b67a0a919 commit r16-855-g43dddeef7a870ce4db7407f73660504b67a0a919 Author: Nathaniel Shead Date: Sat May 24 00:51:49 2025 +1000 c++/modules: Fix stream-in of member using-decls [PR120414] When streaming in a reference to a data

[gcc r16-856] c++/modules: Fix merge of TLS init functions [PR120363]

2025-05-23 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:66e9a4f3083356b064cc64651edad466a56f762b commit r16-856-g66e9a4f3083356b064cc64651edad466a56f762b Author: Nathaniel Shead Date: Thu May 22 22:16:22 2025 +1000 c++/modules: Fix merge of TLS init functions [PR120363] The PR notes that we missed setting DECL_CON

[gcc r16-754] c++/modules: Ensure vtables are emitted when needed [PR120349]

2025-05-19 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:870e66a3fcbde185c086f10e63ac1c9fe946e233 commit r16-754-g870e66a3fcbde185c086f10e63ac1c9fe946e233 Author: Nathaniel Shead Date: Mon May 19 22:11:13 2025 +1000 c++/modules: Ensure vtables are emitted when needed [PR120349] I missed a testcase in r16-688-gc8757

[gcc r15-9714] c++/modules: Fix ICE on merge of instantiation with partial spec [PR120013]

2025-05-19 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:2d1244a5b2dca62b97656cdfa28cd99af583aaa8 commit r15-9714-g2d1244a5b2dca62b97656cdfa28cd99af583aaa8 Author: Nathaniel Shead Date: Sat May 17 23:51:07 2025 +1000 c++/modules: Fix ICE on merge of instantiation with partial spec [PR120013] When we import a pendin

[gcc r15-9713] c++/modules: Always mark tinfo vars as TREE_ADDRESSABLE [PR120350]

2025-05-19 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:3ba1b0ac7ccbe7b01811302dc1d50dcdbd7dc2ac commit r15-9713-g3ba1b0ac7ccbe7b01811302dc1d50dcdbd7dc2ac Author: Nathaniel Shead Date: Mon May 19 23:17:16 2025 +1000 c++/modules: Always mark tinfo vars as TREE_ADDRESSABLE [PR120350] We need to mark type info decls

[gcc r16-752] c++/modules: Fix ICE on merge of instantiation with partial spec [PR120013]

2025-05-19 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:b0de7297f2b5670386472229ab795a577c288ecf commit r16-752-gb0de7297f2b5670386472229ab795a577c288ecf Author: Nathaniel Shead Date: Sat May 17 23:51:07 2025 +1000 c++/modules: Fix ICE on merge of instantiation with partial spec [PR120013] When we import a pending

[gcc r16-751] c++/modules: Always mark tinfo vars as TREE_ADDRESSABLE [PR120350]

2025-05-19 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:9a6e5a437f0416627ee516f6ef5929cb30c5e498 commit r16-751-g9a6e5a437f0416627ee516f6ef5929cb30c5e498 Author: Nathaniel Shead Date: Mon May 19 23:17:16 2025 +1000 c++/modules: Always mark tinfo vars as TREE_ADDRESSABLE [PR120350] We need to mark type info decls a

[gcc r16-688] c++/modules: Clean up importer_interface

2025-05-16 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:c875748cdc468ec604c904e19a688998aa4d7a1f commit r16-688-gc875748cdc468ec604c904e19a688998aa4d7a1f Author: Nathaniel Shead Date: Fri Mar 28 23:30:31 2025 +1100 c++/modules: Clean up importer_interface This patch removes some no longer needed special casing in

[gcc r14-11783] c++: Partially revert "Support lambdas attached to more places in modules" [PR118245]

2025-05-14 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:9a16584beb312bfc493977e472dcb9d11ad5bc76 commit r14-11783-g9a16584beb312bfc493977e472dcb9d11ad5bc76 Author: Nathaniel Shead Date: Wed May 14 20:49:22 2025 +1000 c++: Partially revert "Support lambdas attached to more places in modules" [PR118245] r14-9232-g3

[gcc r14-11775] c++/modules: Fix handling of -fdeclone-ctor-dtor with explicit instantiations [PR120125]

2025-05-14 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:6b1a99c3e2cf0fb858ad42b19c6834f7593f091d commit r14-11775-g6b1a99c3e2cf0fb858ad42b19c6834f7593f091d Author: Nathaniel Shead Date: Thu May 8 23:06:13 2025 +1000 c++/modules: Fix handling of -fdeclone-ctor-dtor with explicit instantiations [PR120125] The attac

[gcc r15-9681] c++/modules: Fix handling of -fdeclone-ctor-dtor with explicit instantiations [PR120125]

2025-05-14 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:6dfc5d1fc86fe6aaed6e7c476286f7a5f0ffc867 commit r15-9681-g6dfc5d1fc86fe6aaed6e7c476286f7a5f0ffc867 Author: Nathaniel Shead Date: Thu May 8 23:06:13 2025 +1000 c++/modules: Fix handling of -fdeclone-ctor-dtor with explicit instantiations [PR120125] The attach

[gcc r15-9680] c++: Fix OpenMP support with C++20 modules [PR119864]

2025-05-14 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:53690a84a35b905403126be66210d21e89f53ac6 commit r15-9680-g53690a84a35b905403126be66210d21e89f53ac6 Author: Nathaniel Shead Date: Mon Apr 21 20:40:29 2025 +1000 c++: Fix OpenMP support with C++20 modules [PR119864] In r15-2799-gf1bfba3a9b3f31, a new kind of gl

[gcc r16-613] c++/modules: Fix handling of -fdeclone-ctor-dtor with explicit instantiations [PR120125]

2025-05-14 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:d787bc4fd372298e9ed5b11cb3050fd3707070f6 commit r16-613-gd787bc4fd372298e9ed5b11cb3050fd3707070f6 Author: Nathaniel Shead Date: Thu May 8 23:06:13 2025 +1000 c++/modules: Fix handling of -fdeclone-ctor-dtor with explicit instantiations [PR120125] The attache

[gcc r16-611] c++/modules: Revert "Remove unnecessary lazy_load_pendings"

2025-05-14 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:011ea36d0e5828e9db848f4a46b9a17f634ed2c0 commit r16-611-g011ea36d0e5828e9db848f4a46b9a17f634ed2c0 Author: Nathaniel Shead Date: Sat May 10 01:12:20 2025 +1000 c++/modules: Revert "Remove unnecessary lazy_load_pendings" This reverts commit r16-63-g241157eb0858

[gcc r16-612] c++: Fix OpenMP support with C++20 modules [PR119864]

2025-05-14 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:79b7e37ea3fbbc43958190f69f6da3be3d809c9c commit r16-612-g79b7e37ea3fbbc43958190f69f6da3be3d809c9c Author: Nathaniel Shead Date: Mon Apr 21 20:40:29 2025 +1000 c++: Fix OpenMP support with C++20 modules [PR119864] In r15-2799-gf1bfba3a9b3f31, a new kind of glo

[gcc r15-9610] c++/modules: Catch exposures of TU-local values through inline references [PR119996]

2025-04-30 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:3042862fbdba809473e3ea4ddc1697692b233d5f commit r15-9610-g3042862fbdba809473e3ea4ddc1697692b233d5f Author: Nathaniel Shead Date: Tue Apr 29 17:31:55 2025 +1000 c++/modules: Catch exposures of TU-local values through inline references [PR119996] In r15-9136-g

[gcc r15-9612] c++/modules: Ensure deduction guides for imported types are reachable [PR120023]

2025-04-30 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:90484ea24e7886f01200619a55c2343728362fc6 commit r15-9612-g90484ea24e7886f01200619a55c2343728362fc6 Author: Nathaniel Shead Date: Wed Apr 30 23:35:51 2025 +1000 c++/modules: Ensure deduction guides for imported types are reachable [PR120023] In the linked PR,

[gcc r15-9611] c++/modules: Fix imported CNTTPs being considered non-constant [PR119938]

2025-04-30 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:aa49bb9deb7e040679f184009f38c5027f1a8dc4 commit r15-9611-gaa49bb9deb7e040679f184009f38c5027f1a8dc4 Author: Nathaniel Shead Date: Fri Apr 25 22:45:41 2025 +1000 c++/modules: Fix imported CNTTPs being considered non-constant [PR119938] When importing a CNTTP ob

[gcc r16-319] c++/modules: Ensure deduction guides for imported types are reachable [PR120023]

2025-04-30 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:fb4583566afdee50aad12e1219610813b44bdff4 commit r16-319-gfb4583566afdee50aad12e1219610813b44bdff4 Author: Nathaniel Shead Date: Wed Apr 30 23:35:51 2025 +1000 c++/modules: Ensure deduction guides for imported types are reachable [PR120023] In the linked PR,

[gcc r16-318] c++/modules: Fix imported CNTTPs being considered non-constant [PR119938]

2025-04-30 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:d613678c94f06809656e56b37f314501b37a5ddd commit r16-318-gd613678c94f06809656e56b37f314501b37a5ddd Author: Nathaniel Shead Date: Fri Apr 25 22:45:41 2025 +1000 c++/modules: Fix imported CNTTPs being considered non-constant [PR119938] When importing a CNTTP obj

[gcc r16-317] c++/modules: Catch exposures of TU-local values through inline references [PR119996]

2025-04-30 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:22ccaded63e96e5a42f4e3676dbbb57aa05b36f9 commit r16-317-g22ccaded63e96e5a42f4e3676dbbb57aa05b36f9 Author: Nathaniel Shead Date: Tue Apr 29 17:31:55 2025 +1000 c++/modules: Catch exposures of TU-local values through inline references [PR119996] In r15-9136-g0

[gcc r15-9594] c++/modules: Ensure DECL_FRIEND_CONTEXT is streamed [PR119939]

2025-04-27 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:57feb6afcade6b066477359bee41d071225ab499 commit r15-9594-g57feb6afcade6b066477359bee41d071225ab499 Author: Nathaniel Shead Date: Sat Apr 26 00:10:34 2025 +1000 c++/modules: Ensure DECL_FRIEND_CONTEXT is streamed [PR119939] An instantiated friend function reli

[gcc r15-9593] c++/modules: Find non-exported reachable decls when instantiating friend classes [PR119863]

2025-04-27 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:947e0d1811805468116b0d497bd62779273bfa2b commit r15-9593-g947e0d1811805468116b0d497bd62779273bfa2b Author: Nathaniel Shead Date: Mon Apr 21 19:58:03 2025 +1000 c++/modules: Find non-exported reachable decls when instantiating friend classes [PR119863] In r15

[gcc r16-175] c++/modules: Ensure DECL_FRIEND_CONTEXT is streamed [PR119939]

2025-04-27 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:1c5cf7cc82d3a2afa5d4fb90049456be408c2a7a commit r16-175-g1c5cf7cc82d3a2afa5d4fb90049456be408c2a7a Author: Nathaniel Shead Date: Sat Apr 26 00:10:34 2025 +1000 c++/modules: Ensure DECL_FRIEND_CONTEXT is streamed [PR119939] An instantiated friend function relie

[gcc r16-63] c++/modules: Remove unnecessary lazy_load_pendings

2025-04-22 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:241157eb0858b3c7f7f0750023a9350c939fca3b commit r16-63-g241157eb0858b3c7f7f0750023a9350c939fca3b Author: Nathaniel Shead Date: Mon Apr 21 20:09:29 2025 +1000 c++/modules: Remove unnecessary lazy_load_pendings This call is not necessary, as we don't access the

[gcc r16-62] c++/modules: Find non-exported reachable decls when instantiating friend classes [PR119863]

2025-04-22 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:948ea8766780f7e44f39ccde3f2436ac2fec80da commit r16-62-g948ea8766780f7e44f39ccde3f2436ac2fec80da Author: Nathaniel Shead Date: Mon Apr 21 19:58:03 2025 +1000 c++/modules: Find non-exported reachable decls when instantiating friend classes [PR119863] In r15-9

[gcc r15-9508] c++: Prune lambda captures from more places [PR119755]

2025-04-15 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:a6f4178d0d5a51c0de175d282f693f923ffefa27 commit r15-9508-ga6f4178d0d5a51c0de175d282f693f923ffefa27 Author: Nathaniel Shead Date: Sun Apr 13 12:20:37 2025 +1000 c++: Prune lambda captures from more places [PR119755] Currently, pruned lambda captures are still

[gcc r15-9410] c++/modules: More fixes for merging DECL_MAYBE_DELETED functions

2025-04-13 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:f40e39515e0b7fa69bd50bad99f1f1b8c446692f commit r15-9410-gf40e39515e0b7fa69bd50bad99f1f1b8c446692f Author: Nathaniel Shead Date: Fri Apr 11 07:29:11 2025 +1000 c++/modules: More fixes for merging DECL_MAYBE_DELETED functions My change in r15-9216 broke the ca

[gcc r15-9409] c++/modules: Give more specific diagnostics in is_matching_decl

2025-04-13 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:714e9020becc260a05f17ae694a6bdde65d9c567 commit r15-9409-g714e9020becc260a05f17ae694a6bdde65d9c567 Author: Nathaniel Shead Date: Fri Apr 11 07:09:33 2025 +1000 c++/modules: Give more specific diagnostics in is_matching_decl This patch also rephrases the diagn

[gcc r15-9218] c++: Fix GC with TU_LOCAL_ENTITY [PR119564]

2025-04-04 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:337b9ff4854c6a7fa47860ce0acad82ffb4d39be commit r15-9218-g337b9ff4854c6a7fa47860ce0acad82ffb4d39be Author: Nathaniel Shead Date: Fri Apr 4 12:24:10 2025 +1100 c++: Fix GC with TU_LOCAL_ENTITY [PR119564] When adding TU_LOCAL_ENTITY in r15-6379 I neglected to a

[gcc r15-9217] c++/modules: Fix divergence in streaming/non-streaming tree walks [PR119608]

2025-04-04 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:b8e8829cfb73d7aa009d387ab09bdbab221930d7 commit r15-9217-gb8e8829cfb73d7aa009d387ab09bdbab221930d7 Author: Nathaniel Shead Date: Fri Apr 4 11:56:53 2025 +1100 c++/modules: Fix divergence in streaming/non-streaming tree walks [PR119608] Modules streaming walks

[gcc r15-9216] c++/modules: Propagate bits to DECL_MAYBE_DELETED dups [PR119462]

2025-04-04 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:f4a3ae1ef5ec951f007c4bd530f30e44945c5f0d commit r15-9216-gf4a3ae1ef5ec951f007c4bd530f30e44945c5f0d Author: Nathaniel Shead Date: Fri Apr 4 19:08:40 2025 +1100 c++/modules: Propagate bits to DECL_MAYBE_DELETED dups [PR119462] In the linked PR, we're importing

[gcc r15-9136] c++/modules: Forbid exposures of TU-local entities in inline variables [PR119551]

2025-04-01 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:0210bedf481a9fd248ce29650b824bcd84c3723c commit r15-9136-g0210bedf481a9fd248ce29650b824bcd84c3723c Author: Nathaniel Shead Date: Tue Apr 1 16:36:30 2025 +1100 c++/modules: Forbid exposures of TU-local entities in inline variables [PR119551] An inline variabl

[gcc r15-9135] c++: Rename -fmodules-ts to -fmodules in diagnostics

2025-04-01 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:9aa78d771222cd9aec463ee28f9039d306ab5834 commit r15-9135-g9aa78d771222cd9aec463ee28f9039d306ab5834 Author: Nathaniel Shead Date: Tue Apr 1 22:36:28 2025 +1100 c++: Rename -fmodules-ts to -fmodules in diagnostics This replaces some usages of the old -fmodules-

[gcc r15-9024] c++/modules: Fix modules and LTO with header units [PR118961]

2025-03-29 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:3258c89fbb092412a69b689425e77972e7a1c567 commit r15-9024-g3258c89fbb092412a69b689425e77972e7a1c567 Author: Nathaniel Shead Date: Fri Mar 28 23:38:26 2025 +1100 c++/modules: Fix modules and LTO with header units [PR118961] This patch makes some adjustments req

[gcc r15-8968] c++/modules: Handle conflicting ABI tags [PR118920]

2025-03-27 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:8e99bd447c459d8f298a70355a89122683d7b149 commit r15-8968-g8e99bd447c459d8f298a70355a89122683d7b149 Author: Nathaniel Shead Date: Wed Mar 26 23:43:36 2025 +1100 c++/modules: Handle conflicting ABI tags [PR118920] The ICE in the linked PR is caused because out_

[gcc r15-8687] c++/modules: Fix explicit instantiations and gnu_inlines [PR119154]

2025-03-24 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:9fcb9d39c36ae0c1b1681c68d314580ae0c820c4 commit r15-8687-g9fcb9d39c36ae0c1b1681c68d314580ae0c820c4 Author: Nathaniel Shead Date: Sat Mar 22 23:04:12 2025 +1100 c++/modules: Fix explicit instantiations and gnu_inlines [PR119154] My change in r15-8012 for PR c+

[gcc r15-8012] c++/modules: Handle gnu_inline attribute, cleanup linkage determination [PR119154]

2025-03-15 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:4cd99e41ef687fd62d6908f4807de277c7dc9803 commit r15-8012-g4cd99e41ef687fd62d6908f4807de277c7dc9803 Author: Nathaniel Shead Date: Mon Mar 10 23:35:40 2025 +1100 c++/modules: Handle gnu_inline attribute, cleanup linkage determination [PR119154] Currently, note

[gcc r15-8013] c++/modules: Better handle no-linkage decls in unnamed namespaces [PR118799]

2025-03-12 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:2eb3d7454ee578335b7719aadfb9e37a8456f1f1 commit r15-8013-g2eb3d7454ee578335b7719aadfb9e37a8456f1f1 Author: Nathaniel Shead Date: Sun Feb 9 00:37:48 2025 +1100 c++/modules: Better handle no-linkage decls in unnamed namespaces [PR118799] There are two issues wi

[gcc r15-7927] c++/modules: Handle exposures of TU-local types in uninstantiated member templates

2025-03-11 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:65febfb25544f089e7459219b6c095f0b8eff879 commit r15-7927-g65febfb25544f089e7459219b6c095f0b8eff879 Author: Nathaniel Shead Date: Fri Jan 31 23:53:35 2025 +1100 c++/modules: Handle exposures of TU-local types in uninstantiated member templates Previously, 'is

[gcc r15-7879] c++: Handle TU_LOCAL_ENTITY in tsubst_expr and potential_constant_expression

2025-03-07 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:95e23e74ccb1fe7decf916c12e74486b692372cd commit r15-7879-g95e23e74ccb1fe7decf916c12e74486b692372cd Author: Nathaniel Shead Date: Tue Feb 11 22:59:36 2025 +1100 c++: Handle TU_LOCAL_ENTITY in tsubst_expr and potential_constant_expression This cleans up the TU_

[gcc r15-7560] c++/modules: Don't treat template parameters as TU-local [PR118846]

2025-02-15 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:9f1f4efc06f43b1ba8c1cf5a31d5b73d6a2bb12d commit r15-7560-g9f1f4efc06f43b1ba8c1cf5a31d5b73d6a2bb12d Author: Nathaniel Shead Date: Wed Feb 12 19:15:22 2025 +1100 c++/modules: Don't treat template parameters as TU-local [PR118846] There are two separate issues m

[gcc r15-7519] c++: Clear lambda scope for unattached member template lambdas

2025-02-13 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:8caf67eea7e1b29a4437f07d13c300d9fdb04827 commit r15-7519-g8caf67eea7e1b29a4437f07d13c300d9fdb04827 Author: Nathaniel Shead Date: Fri Jan 31 23:01:15 2025 +1100 c++: Clear lambda scope for unattached member template lambdas In r15-7202 we made lambdas between

[gcc r15-7518] c++: Fix mangling of lambas in static member template initializers [PR107741]

2025-02-13 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:12feb78be517472ca941953dce47d6e78e5a17f8 commit r15-7518-g12feb78be517472ca941953dce47d6e78e5a17f8 Author: Nathaniel Shead Date: Fri Jan 31 21:19:45 2025 +1100 c++: Fix mangling of lambas in static member template initializers [PR107741] My fix for this issu

[gcc r14-11305] c++: Constrain visibility for CNTTPs with internal types [PR118849]

2025-02-13 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:9fa962a5db797665972aaa65426b881754782cfb commit r14-11305-g9fa962a5db797665972aaa65426b881754782cfb Author: Nathaniel Shead Date: Wed Feb 12 23:07:43 2025 +1100 c++: Constrain visibility for CNTTPs with internal types [PR118849] While looking into PR118846 I

[gcc r15-7504] c++: Constrain visibility for CNTTPs with internal types [PR118849]

2025-02-13 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:0e485b8c85c31856b9f7c91015ac94874b100bd4 commit r15-7504-g0e485b8c85c31856b9f7c91015ac94874b100bd4 Author: Nathaniel Shead Date: Wed Feb 12 23:07:43 2025 +1100 c++: Constrain visibility for CNTTPs with internal types [PR118849] While looking into PR118846 I n

[gcc r15-7471] testsuite: Fix g++.dg/modules/adl-5

2025-02-11 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:1bfab1dc79bef1f1120bda37556f2e372a2378f5 commit r15-7471-g1bfab1dc79bef1f1120bda37556f2e372a2378f5 Author: Nathaniel Shead Date: Tue Feb 11 22:24:55 2025 +1100 testsuite: Fix g++.dg/modules/adl-5 This testcase wasn't running, because adl-5_a had the wrong ext

[gcc r15-7470] c++: Fix use-after-free of replaced friend instantiation [PR118807]

2025-02-11 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:ef83fae50d8f085fe8440bfa595875a2e2329871 commit r15-7470-gef83fae50d8f085fe8440bfa595875a2e2329871 Author: Nathaniel Shead Date: Mon Feb 10 22:15:30 2025 +1100 c++: Fix use-after-free of replaced friend instantiation [PR118807] When instantiating a friend fun

[gcc r15-7342] c++: Improve contracts support in modules [PR108205]

2025-02-03 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:d3627c78be116ef1941f6819d57c237e71c39444 commit r15-7342-gd3627c78be116ef1941f6819d57c237e71c39444 Author: Nathaniel Shead Date: Sat Feb 1 22:55:22 2025 +1100 c++: Improve contracts support in modules [PR108205] Modules makes some assumptions about types that

[gcc r15-7341] c++: Modularise start_cleanup_fn [PR98893]

2025-02-03 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:736e8eef6c0df860f9b0469f9f7cfb8c121a70a7 commit r15-7341-g736e8eef6c0df860f9b0469f9f7cfb8c121a70a7 Author: Nathaniel Shead Date: Sat Feb 1 21:21:37 2025 +1100 c++: Modularise start_cleanup_fn [PR98893] 'start_cleanup_fn' is not currently viable in modules, du

[gcc r15-7204] c++/modules: Treat unattached lambdas as TU-local [PR116568]

2025-01-24 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:80bd9eb48190f3554c4de74ccb3d0976831160b1 commit r15-7204-g80bd9eb48190f3554c4de74ccb3d0976831160b1 Author: Nathaniel Shead Date: Sun Jan 5 23:01:44 2025 +1100 c++/modules: Treat unattached lambdas as TU-local [PR116568] This fixes ICEs where unattached lambda

[gcc r15-7203] c++/modules: Diagnose TU-local lambdas, give mangling scope to lambdas in concepts

2025-01-24 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:4c01f40985eafccc3dd058441325b58009defd09 commit r15-7203-g4c01f40985eafccc3dd058441325b58009defd09 Author: Nathaniel Shead Date: Sun Jan 5 23:45:05 2025 +1100 c++/modules: Diagnose TU-local lambdas, give mangling scope to lambdas in concepts This fills in a

[gcc r15-7202] c++: Fix mangling of otherwise unattached class-scope lambdas [PR118245]

2025-01-24 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:8990070b4297b913025d564293f97c0440622976 commit r15-7202-g8990070b4297b913025d564293f97c0440622976 Author: Nathaniel Shead Date: Thu Jan 23 19:22:04 2025 +1100 c++: Fix mangling of otherwise unattached class-scope lambdas [PR118245] This is a step closer to i

[gcc r15-7146] c++/modules: Fix exporting temploid friends in header units [PR118582]

2025-01-22 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:21cccfa91e6ed172062e0c62682422269c914937 commit r15-7146-g21cccfa91e6ed172062e0c62682422269c914937 Author: Nathaniel Shead Date: Wed Jan 22 21:24:03 2025 +1100 c++/modules: Fix exporting temploid friends in header units [PR118582] When we started streaming th

[gcc r15-7148] c++: Update mangling of lambdas in expressions

2025-01-22 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:2119c254606c58d247d3d0b92bf192780d375ddb commit r15-7148-g2119c254606c58d247d3d0b92bf192780d375ddb Author: Nathaniel Shead Date: Fri Nov 8 23:20:47 2024 +1100 c++: Update mangling of lambdas in expressions https://github.com/itanium-cxx-abi/cxx-abi/pull/85 cl

[gcc r15-7147] c++: Fix mangling of lambdas in static data member initializers [PR107741]

2025-01-22 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:685c458fb4775cbd1a3b3d3585d1e5615d7eaee9 commit r15-7147-g685c458fb4775cbd1a3b3d3585d1e5615d7eaee9 Author: Nathaniel Shead Date: Mon Dec 16 16:06:05 2024 +1100 c++: Fix mangling of lambdas in static data member initializers [PR107741] This fixes an issue wher

[gcc r14-11233] c++/modules: Propagate FNDECL_USED_AUTO when propagating deduced return types [PR118049]

2025-01-20 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:a82352a2a074230d841a3944e30bd497726e0bfa commit r14-11233-ga82352a2a074230d841a3944e30bd497726e0bfa Author: Nathaniel Shead Date: Fri Jan 17 21:29:08 2025 +1100 c++/modules: Propagate FNDECL_USED_AUTO when propagating deduced return types [PR118049] In the l

[gcc r15-7085] c++/modules: Check linkage of structured binding decls

2025-01-20 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:2fcb0c079530b019586e5693f057d2eb72855e70 commit r15-7085-g2fcb0c079530b019586e5693f057d2eb72855e70 Author: Nathaniel Shead Date: Sun Jan 19 15:26:03 2025 +1100 c++/modules: Check linkage of structured binding decls When looking at PR c++/118513 I noticed that

[gcc r15-7084] c++/modules: Handle mismatching TYPE_CANONICAL when deduping partial specs [PR118101]

2025-01-20 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:5c0e1879ea639dc527d3928af877d3df985e3f13 commit r15-7084-g5c0e1879ea639dc527d3928af877d3df985e3f13 Author: Nathaniel Shead Date: Mon Jan 20 22:09:22 2025 +1100 c++/modules: Handle mismatching TYPE_CANONICAL when deduping partial specs [PR118101] In r15-4862

[gcc r12-10914] c++: Allow pragmas in NSDMIs [PR118147]

2025-01-17 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:9d2f4c8b0f849839ff1b9b7d5f9e734271c03634 commit r12-10914-g9d2f4c8b0f849839ff1b9b7d5f9e734271c03634 Author: Nathaniel Shead Date: Fri Dec 20 22:09:39 2024 +1100 c++: Allow pragmas in NSDMIs [PR118147] This patch removes the (unnecessary) CPP_PRAGMA_EOL case f

[gcc r15-6997] c++/modules: Propagate FNDECL_USED_AUTO when propagating deduced return types [PR118049]

2025-01-17 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:f054c36c4fcb693e04411dc691ef4172479143d6 commit r15-6997-gf054c36c4fcb693e04411dc691ef4172479143d6 Author: Nathaniel Shead Date: Fri Jan 17 21:29:08 2025 +1100 c++/modules: Propagate FNDECL_USED_AUTO when propagating deduced return types [PR118049] In the li

[gcc r13-9330] c++: Allow pragmas in NSDMIs [PR118147]

2025-01-17 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:9f29e23fc2c34a776620f43d95982f0df6e93bf0 commit r13-9330-g9f29e23fc2c34a776620f43d95982f0df6e93bf0 Author: Nathaniel Shead Date: Fri Dec 20 22:09:39 2024 +1100 c++: Allow pragmas in NSDMIs [PR118147] This patch removes the (unnecessary) CPP_PRAGMA_EOL case fr

[gcc r14-11221] c++: Allow pragmas in NSDMIs [PR118147]

2025-01-17 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:f400d065a2ecda19b46fc0f7ec0a1fe6d7dd597e commit r14-11221-gf400d065a2ecda19b46fc0f7ec0a1fe6d7dd597e Author: Nathaniel Shead Date: Fri Dec 20 22:09:39 2024 +1100 c++: Allow pragmas in NSDMIs [PR118147] This patch removes the (unnecessary) CPP_PRAGMA_EOL case f

[gcc r15-6995] c++: Allow pragmas in NSDMIs [PR118147]

2025-01-17 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:f3ccc57e5f044031a1b07e79330de9220e93afe7 commit r15-6995-gf3ccc57e5f044031a1b07e79330de9220e93afe7 Author: Nathaniel Shead Date: Fri Dec 20 22:09:39 2024 +1100 c++: Allow pragmas in NSDMIs [PR118147] This patch removes the (unnecessary) CPP_PRAGMA_EOL case fr

[gcc r15-6890] c++/modules: Don't emit imported deduction guides [PR117397]

2025-01-14 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:87ffd205fe0f4cbabd3d22cba815b02c0466d9ed commit r15-6890-g87ffd205fe0f4cbabd3d22cba815b02c0466d9ed Author: Nathaniel Shead Date: Sun Jan 12 04:00:56 2025 +1100 c++/modules: Don't emit imported deduction guides [PR117397] The ICE in the linked PR is caused bec

[gcc r14-11204] testsuite: Fix flag used for modules test

2025-01-11 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:f7ddb2b6dbacd2a6559bf47d43f6d907904cdd89 commit r14-11204-gf7ddb2b6dbacd2a6559bf47d43f6d907904cdd89 Author: Nathaniel Shead Date: Sun Jan 12 04:35:08 2025 +1100 testsuite: Fix flag used for modules test GCC14 doesn't have the new spelling '-fmodules' for enab

[gcc r14-11203] c++/modules: Handle chaining already-imported local types [PR114630]

2025-01-11 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:7c013a681cc138b8f191b75e408fe322d7fd998c commit r14-11203-g7c013a681cc138b8f191b75e408fe322d7fd998c Author: Nathaniel Shead Date: Fri Jan 10 01:06:37 2025 +1100 c++/modules: Handle chaining already-imported local types [PR114630] In the linked testcase, an IC

[gcc r15-6822] c++/modules: Handle chaining already-imported local types [PR114630]

2025-01-11 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:d6d7e0261a0ee43c8738b964cbb2572d49d24cad commit r15-6822-gd6d7e0261a0ee43c8738b964cbb2572d49d24cad Author: Nathaniel Shead Date: Fri Jan 10 01:06:37 2025 +1100 c++/modules: Handle chaining already-imported local types [PR114630] In the linked testcase, an ICE

[gcc r14-11125] c++/modules: Fallback to ftruncate if posix_fallocate fails [PR115008]

2025-01-03 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:1c3dee768a9f7aa384150e4e4a584d6aa1db5e97 commit r14-11125-g1c3dee768a9f7aa384150e4e4a584d6aa1db5e97 Author: Nathaniel Shead Date: Sat Dec 21 23:42:28 2024 +1100 c++/modules: Fallback to ftruncate if posix_fallocate fails [PR115008] Depending on the libc and f

[gcc r15-6453] c++: Don't treat lambda typedef as lambda declaration [PR106221]

2024-12-28 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:ce81cd2eac686dc0f1c91adac779add550b0 commit r15-6453-gce81cd2eac686dc0f1c91adac779add550b0 Author: Nathaniel Shead Date: Sun Dec 22 01:18:16 2024 +1100 c++: Don't treat lambda typedef as lambda declaration [PR106221] I noticed that in a couple of plac

[gcc r15-6454] c++/modules: Fallback to ftruncate if posix_fallocate fails [PR115008]

2024-12-28 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:84aa7065deec49bab9fb0b085cd0a0dcc42cc479 commit r15-6454-g84aa7065deec49bab9fb0b085cd0a0dcc42cc479 Author: Nathaniel Shead Date: Sat Dec 21 23:42:28 2024 +1100 c++/modules: Fallback to ftruncate if posix_fallocate fails [PR115008] Depending on the libc and fi

[gcc r15-6390] c++: regenerate opt urls

2024-12-20 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:2d8982c279912d9170689752d4edb42489d44842 commit r15-6390-g2d8982c279912d9170689752d4edb42489d44842 Author: Nathaniel Shead Date: Fri Dec 20 22:23:42 2024 +1100 c++: regenerate opt urls This should have been part of r15-6379-g0c2ae384326108. gcc/c-fam

[gcc r15-6379] c++/modules: Ignore TU-local entities where necessary

2024-12-19 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:0c2ae384326108fad5ca2713ad3c9b768162fe73 commit r15-6379-g0c2ae384326108fad5ca2713ad3c9b768162fe73 Author: Nathaniel Shead Date: Fri Oct 11 22:16:02 2024 +1100 c++/modules: Ignore TU-local entities where necessary [basic.link] p14 lists a number of circumstan

[gcc r15-6382] c++/modules: Validate external linkage definitions in header units [PR116401]

2024-12-19 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:71732eafedbd30355e752bf873d355fbcd0e076f commit r15-6382-g71732eafedbd30355e752bf873d355fbcd0e076f Author: Nathaniel Shead Date: Sun Sep 8 01:37:28 2024 +1000 c++/modules: Validate external linkage definitions in header units [PR116401] [module.import] p6 sa

[gcc r15-6381] c++/modules: Check linkage for exported declarations

2024-12-19 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:fde64d1180408128a2f33e5326a3a7876926e2a3 commit r15-6381-gfde64d1180408128a2f33e5326a3a7876926e2a3 Author: Nathaniel Shead Date: Fri Sep 6 23:53:08 2024 +1000 c++/modules: Check linkage for exported declarations By [module.interface] p3, if an exported declar

[gcc r15-6380] c++/modules: Support unnamed namespaces in header units

2024-12-19 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:eebd8dfdc4f4a7f54b42f74c2e7f54f957930ecd commit r15-6380-geebd8dfdc4f4a7f54b42f74c2e7f54f957930ecd Author: Nathaniel Shead Date: Fri Sep 6 23:46:47 2024 +1000 c++/modules: Support unnamed namespaces in header units A header unit may contain unnamed namespaces

[gcc r15-6378] c++/modules: Detect exposures of TU-local entities

2024-12-19 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:9016c5ac94c55714d001309ef640710f9d512254 commit r15-6378-g9016c5ac94c55714d001309ef640710f9d512254 Author: Nathaniel Shead Date: Tue Oct 8 20:50:38 2024 +1100 c++/modules: Detect exposures of TU-local entities Currently, the modules streaming code implements

[gcc r15-6251] c++: Disallow decomposition of lambda bases [PR90321]

2024-12-13 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:a6a15bc5b77c8703a95130f410a944f5408a5cc4 commit r15-6251-ga6a15bc5b77c8703a95130f410a944f5408a5cc4 Author: Nathaniel Shead Date: Thu Nov 7 21:37:28 2024 +1100 c++: Disallow decomposition of lambda bases [PR90321] Decomposition of lambda closure types is not a

[gcc r15-4944] c++/modules: Merge default arguments [PR99274]

2024-11-04 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:a96c774f7bb99729ab9e7e2a57cd970469ccbc08 commit r15-4944-ga96c774f7bb99729ab9e7e2a57cd970469ccbc08 Author: Nathaniel Shead Date: Mon Aug 12 10:57:39 2024 +1000 c++/modules: Merge default arguments [PR99274] When merging a newly imported declaration with an ex

[gcc r15-4943] c++/modules: Handle location exhaustion in write_location [PR105443]

2024-11-04 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:48ef485eabc8fd3e16d184860ce693816f3919eb commit r15-4943-g48ef485eabc8fd3e16d184860ce693816f3919eb Author: Nathaniel Shead Date: Tue Nov 5 03:08:54 2024 +1100 c++/modules: Handle location exhaustion in write_location [PR105443] The 'location_t' type currently

[gcc r15-4940] libstdc++: Remove workaround for modules issue [PR113814]

2024-11-04 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:35425d025b46a384fa89c4d06bd7c128d09e3009 commit r15-4940-g35425d025b46a384fa89c4d06bd7c128d09e3009 Author: Nathaniel Shead Date: Tue Nov 5 09:37:23 2024 +1100 libstdc++: Remove workaround for modules issue [PR113814] The modules bug requiring this workaround

[gcc r15-4862] c++/modules: Propagate TYPE_CANONICAL for partial specialisations [PR113814]

2024-11-02 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:815e48e3d42231b675bae1dec5fa26890f048ef1 commit r15-4862-g815e48e3d42231b675bae1dec5fa26890f048ef1 Author: Nathaniel Shead Date: Thu Oct 31 20:05:16 2024 +1100 c++/modules: Propagate TYPE_CANONICAL for partial specialisations [PR113814] In some cases, when we

[gcc r15-4861] c++/modules: Fix recursive dependencies [PR116317]

2024-11-02 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:4a99443c5dd9a235022652ba0fb143c6370ea99d commit r15-4861-g4a99443c5dd9a235022652ba0fb143c6370ea99d Author: Nathaniel Shead Date: Thu Oct 31 20:54:29 2024 +1100 c++/modules: Fix recursive dependencies [PR116317] In cases like the linked PR we sometimes get mut

[gcc r15-4621] c++/modules: Support decloned cdtors

2024-10-24 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:29efc621b7c66ec67d10fc87cddbb3f1ab709fb2 commit r15-4621-g29efc621b7c66ec67d10fc87cddbb3f1ab709fb2 Author: Nathaniel Shead Date: Wed Aug 21 01:08:36 2024 +1000 c++/modules: Support decloned cdtors When compiling with '-fdeclone-ctor-dtor' (enabled by default

[gcc r15-4620] c++/modules: Prevent maybe_clone_decl being called multiple times [PR115007]

2024-10-24 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:058ed8705a7b38bef2c107b6ff5de243aebd57b4 commit r15-4620-g058ed8705a7b38bef2c107b6ff5de243aebd57b4 Author: Nathaniel Shead Date: Wed Aug 21 00:50:53 2024 +1000 c++/modules: Prevent maybe_clone_decl being called multiple times [PR115007] The ICE in the linked

[gcc r15-4622] c++/modules: Propagate some missing flags on type definitions

2024-10-24 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:6aba48a8cc128e54ee243d451ac9a843ff41c4f9 commit r15-4622-g6aba48a8cc128e54ee243d451ac9a843ff41c4f9 Author: Nathaniel Shead Date: Thu Oct 24 18:10:52 2024 +1100 c++/modules: Propagate some missing flags on type definitions Noticed while testing my fix for PR c

[gcc r15-4619] c++: Handle ABI for non-polymorphic dynamic classes

2024-10-24 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:6713f05a2aeb852c3f4d738c8c5dbad816624323 commit r15-4619-g6713f05a2aeb852c3f4d738c8c5dbad816624323 Author: Nathaniel Shead Date: Wed Aug 21 00:42:42 2024 +1000 c++: Handle ABI for non-polymorphic dynamic classes The Itanium ABI has specific rules for when vir

[gcc r15-4542] c++/modules: Handle forward-declared class types

2024-10-22 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:9f9afc65bb7823db84ceeb7981965916c4a583db commit r15-4542-g9f9afc65bb7823db84ceeb7981965916c4a583db Author: Nathaniel Shead Date: Mon Oct 21 22:55:46 2024 +1100 c++/modules: Handle forward-declared class types In some cases we can access members of a namespace

[gcc r15-4061] c++: Allow references to internal-linkage vars in C++11 [PR113266]

2024-10-04 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:247643c7e21b087e6c93b8b8d49b4268bf84b03b commit r15-4061-g247643c7e21b087e6c93b8b8d49b4268bf84b03b Author: Nathaniel Shead Date: Fri Oct 4 12:01:38 2024 +1000 c++: Allow references to internal-linkage vars in C++11 [PR113266] [temp.arg.nontype] changed in C++

[gcc r15-4060] c++: Return the underlying decl rather than the USING_DECL from update_binding [PR116913]

2024-10-04 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:6a1e109158940ce3a2d1ceed3e1b614ea6c9a2de commit r15-4060-g6a1e109158940ce3a2d1ceed3e1b614ea6c9a2de Author: Nathaniel Shead Date: Fri Oct 4 10:46:57 2024 +1000 c++: Return the underlying decl rather than the USING_DECL from update_binding [PR116913] Users of

[gcc r15-3939] c++: Implement resolution for DR 36 [PR116160]

2024-09-27 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:2196a20b82bdde2aeb099bcfd164fa29a698e837 commit r15-3939-g2196a20b82bdde2aeb099bcfd164fa29a698e837 Author: Nathaniel Shead Date: Fri Sep 20 00:47:12 2024 +1000 c++: Implement resolution for DR 36 [PR116160] This implements part of P1787 to no longer complain

[gcc r15-3938] c++: Don't strip USING_DECLs when updating local bindings [PR116748]

2024-09-27 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:b9ac51a843f9dc807b00ab7f49f64968807a4ee8 commit r15-3938-gb9ac51a843f9dc807b00ab7f49f64968807a4ee8 Author: Nathaniel Shead Date: Fri Sep 20 00:05:04 2024 +1000 c++: Don't strip USING_DECLs when updating local bindings [PR116748] Currently update_binding strip

[gcc r15-3937] c++/modules: Propagate purview/import for templates in duplicate_decls [PR116803]

2024-09-27 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:cf9efe5ec14fea3ad5746fbefb22544bb9424d9d commit r15-3937-gcf9efe5ec14fea3ad5746fbefb22544bb9424d9d Author: Nathaniel Shead Date: Fri Sep 27 18:58:27 2024 +1000 c++/modules: Propagate purview/import for templates in duplicate_decls [PR116803] We need to ensur

[gcc r15-3913] c++/modules: Allow imported references in constant expressions

2024-09-26 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:1a0b33ebc57ebcc9595b19050f5c36c1f9d39e3e commit r15-3913-g1a0b33ebc57ebcc9595b19050f5c36c1f9d39e3e Author: Nathaniel Shead Date: Thu Sep 12 20:06:39 2024 +1000 c++/modules: Allow imported references in constant expressions Currently the streaming code uses TR

[gcc r15-3912] c++/modules: Fix linkage checks for exported using-decls

2024-09-26 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:d0762e93ce1ed046e1dd9477ebe0ad941c298677 commit r15-3912-gd0762e93ce1ed046e1dd9477ebe0ad941c298677 Author: Nathaniel Shead Date: Wed Sep 4 01:18:19 2024 +1000 c++/modules: Fix linkage checks for exported using-decls This fixes some inconsistencies with what k

[gcc r15-3911] c++/modules: Use decl_linkage in maybe_record_mergeable_decl

2024-09-26 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:ad08ef098a8c8bb9c148d0a32e91456fdf58ffc1 commit r15-3911-gad08ef098a8c8bb9c148d0a32e91456fdf58ffc1 Author: Nathaniel Shead Date: Wed Sep 4 02:42:58 2024 +1000 c++/modules: Use decl_linkage in maybe_record_mergeable_decl This avoids any possible inconsistencie

[gcc r15-3910] c++: Update decl_linkage for C++11

2024-09-26 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:af4471cb422a867f1877c7c08bb63fa75afe commit r15-3910-gaf4471cb422a867f1877c7c08bb63fa75afe Author: Nathaniel Shead Date: Mon Aug 19 16:38:41 2024 +1000 c++: Update decl_linkage for C++11 Currently modules code uses a variety of ad-hoc methods to attem

[gcc r15-3906] libgcc, libstdc++: Make declarations no longer TU-local [PR115126]

2024-09-26 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:6a4d1c374eed177eceb12a50f3b25bd20f8b347a commit r15-3906-g6a4d1c374eed177eceb12a50f3b25bd20f8b347a Author: Nathaniel Shead Date: Tue Sep 24 23:53:59 2024 +1000 libgcc, libstdc++: Make declarations no longer TU-local [PR115126] In C++20, modules streaming chec

  1   2   >