[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

[gcc r15-3884] testsuite: Fix testcase g++.dg/modules/indirect-1_b.C [PR116846]

2024-09-25 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:064d5c67d7ad2be446c19e84f0cd993ecab784c3 commit r15-3884-g064d5c67d7ad2be446c19e84f0cd993ecab784c3 Author: Nathaniel Shead Date: Thu Sep 26 11:12:02 2024 +1000 testsuite: Fix testcase g++.dg/modules/indirect-1_b.C [PR116846] r15-3878 exposed a mistake in the

[gcc r15-3592] c++/modules: Really always track partial specialisations [PR116496]

2024-09-11 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:ba393bf8879e5cf1f917bd88246d6b80ac081052 commit r15-3592-gba393bf8879e5cf1f917bd88246d6b80ac081052 Author: Nathaniel Shead Date: Wed Sep 11 22:41:21 2024 +1000 c++/modules: Really always track partial specialisations [PR116496] My last fix for this issue (PR

[gcc r15-3482] c++: Add missing auto_diagnostic_groups

2024-09-05 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:cb76fcf5ebf0817e6f1b7c019071362f7a5f3ae0 commit r15-3482-gcb76fcf5ebf0817e6f1b7c019071362f7a5f3ae0 Author: Nathaniel Shead Date: Wed Aug 7 19:20:19 2024 +1000 c++: Add missing auto_diagnostic_groups This patch goes through all .cc files in gcc/cp and adds in

[gcc r15-3207] c++/modules: Fix include translation for already-seen headers [PR99243]

2024-08-26 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:215ff991a8681f968823b913e1c79a32d339c097 commit r15-3207-g215ff991a8681f968823b913e1c79a32d339c097 Author: Nathaniel Shead Date: Thu Aug 22 20:41:54 2024 +1000 c++/modules: Fix include translation for already-seen headers [PR99243] After importing a header un

[gcc r15-3206] c++/modules: Clean up include translation [PR110980]

2024-08-26 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:98608342932e8951a4c8db3e9df79f9187424d53 commit r15-3206-g98608342932e8951a4c8db3e9df79f9187424d53 Author: Nathaniel Shead Date: Thu Aug 22 21:04:11 2024 +1000 c++/modules: Clean up include translation [PR110980] Currently the handling of include translation

[gcc r15-3053] c++/modules: Remove unnecessary errors when not writing compiled module

2024-08-20 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:e668771ff0dcc3c72937768e5c37b6f287b97799 commit r15-3053-ge668771ff0dcc3c72937768e5c37b6f287b97799 Author: Nathaniel Shead Date: Sun Aug 18 21:35:23 2024 +1000 c++/modules: Remove unnecessary errors when not writing compiled module It was pointed out to me th

[gcc r15-3033] c++/modules: Disable streaming definitions of non-vague-linkage GMF decls [PR115020]

2024-08-20 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:c1a53d9dcf9ebf0a6b4528a8c3eae48a583f272c commit r15-3033-gc1a53d9dcf9ebf0a6b4528a8c3eae48a583f272c Author: Nathaniel Shead Date: Sat Aug 17 22:37:30 2024 +1000 c++/modules: Disable streaming definitions of non-vague-linkage GMF decls [PR115020] The error in

[gcc r15-3032] c++/modules: Handle transitive reachability for deduction guides [PR116403]

2024-08-20 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:6f115a8eeea41d383dfb1bbb1af6ac9a97aee180 commit r15-3032-g6f115a8eeea41d383dfb1bbb1af6ac9a97aee180 Author: Nathaniel Shead Date: Sun Aug 18 11:36:40 2024 +1000 c++/modules: Handle transitive reachability for deduction guides [PR116403] Currently we implement

[gcc r15-3031] c++/modules: Avoid rechecking initializers when streaming NTTPs [PR116382]

2024-08-20 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:0b7904e274fbd6a736d63c0fed28ea32f9cb5997 commit r15-3031-g0b7904e274fbd6a736d63c0fed28ea32f9cb5997 Author: Nathaniel Shead Date: Fri Aug 16 15:06:33 2024 +1000 c++/modules: Avoid rechecking initializers when streaming NTTPs [PR116382] When reading an NTTP we

[gcc r15-3030] c++/modules: Fix type lookup in DECL_TEMPLATE_INSTANTIATIONS [PR116364]

2024-08-20 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:c310d29cac1c3a770f48ab8bb2d295ef9cc08c53 commit r15-3030-gc310d29cac1c3a770f48ab8bb2d295ef9cc08c53 Author: Nathaniel Shead Date: Thu Aug 15 21:46:09 2024 +1000 c++/modules: Fix type lookup in DECL_TEMPLATE_INSTANTIATIONS [PR116364] We need to use the DECL_TEM

[gcc r15-2819] c++: Propagate TREE_ADDRESSABLE in fixup_type_variants [PR115062]

2024-08-08 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:71aebb36174c194231da5f9c7c23f81dbb082ca4 commit r15-2819-g71aebb36174c194231da5f9c7c23f81dbb082ca4 Author: Nathaniel Shead Date: Thu Aug 8 17:52:03 2024 +1000 c++: Propagate TREE_ADDRESSABLE in fixup_type_variants [PR115062] This has caused issues with module

[gcc r15-2818] c++/modules: Assume header bindings are global module

2024-08-08 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:0de1481a9d91e936135da4f882314499eea38a36 commit r15-2818-g0de1481a9d91e936135da4f882314499eea38a36 Author: Nathaniel Shead Date: Thu Aug 8 22:00:07 2024 +1000 c++/modules: Assume header bindings are global module While stepping through some code I noticed tha

[gcc r15-2808] c++/modules: Handle instantiating already tsubsted template friend classes [PR115801]

2024-08-07 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:79209273663672ff05663554741fd2558b4aac99 commit r15-2808-g79209273663672ff05663554741fd2558b4aac99 Author: Nathaniel Shead Date: Tue Aug 6 15:41:38 2024 +1000 c++/modules: Handle instantiating already tsubsted template friend classes [PR115801] With modules

[gcc r15-2807] c++/modules: Fix merging of GM entities in partitions [PR114950]

2024-08-07 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:c592310d5275e09977504c136419686bd2277af0 commit r15-2807-gc592310d5275e09977504c136419686bd2277af0 Author: Nathaniel Shead Date: Mon Aug 5 22:37:57 2024 +1000 c++/modules: Fix merging of GM entities in partitions [PR114950] Currently name lookup generally see

[gcc r15-2806] c++/modules: Clarify error message in read_enum_def

2024-08-07 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:c0ad382caa38873bb6078edf5314930504bc01f1 commit r15-2806-gc0ad382caa38873bb6078edf5314930504bc01f1 Author: Nathaniel Shead Date: Wed Aug 7 19:17:52 2024 +1000 c++/modules: Clarify error message in read_enum_def This error message reads to me the wrong way aro

[gcc r15-2779] c++/modules: Ensure deduction guides are always reachable [PR115231]

2024-08-06 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:ca287145f23ec3ea987fc2eacde3994096cc528e commit r15-2779-gca287145f23ec3ea987fc2eacde3994096cc528e Author: Nathaniel Shead Date: Sat Jun 15 22:50:14 2024 +1000 c++/modules: Ensure deduction guides are always reachable [PR115231] Deduction guides are represent

[gcc r15-2778] c++: Improve fixits for incorrect explicit instantiations

2024-08-06 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:b7f719612515a86d1d2a36e24b02ade3f0904e10 commit r15-2778-gb7f719612515a86d1d2a36e24b02ade3f0904e10 Author: Nathaniel Shead Date: Mon Mar 4 22:59:56 2024 +1100 c++: Improve fixits for incorrect explicit instantiations When forgetting the '<>' on an explicit sp

[gcc r15-2334] c++/modules: Stream warning suppressions [PR115757]

2024-07-25 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:fd599d96d464caed8bf78e4a43120d9a121b7e7a commit r15-2334-gfd599d96d464caed8bf78e4a43120d9a121b7e7a Author: Nathaniel Shead Date: Sun Jul 7 13:56:25 2024 +1000 c++/modules: Stream warning suppressions [PR115757] Currently we don't stream the contents of 'nowar

[gcc r14-10453] c++/modules: Conditionally start timer during lazy load [PR115165]

2024-07-17 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:f0c3a1c16af234b55f48cf1cfe299417f93f163c commit r14-10453-gf0c3a1c16af234b55f48cf1cfe299417f93f163c Author: Nathaniel Shead Date: Sun Jul 7 23:19:52 2024 +1000 c++/modules: Conditionally start timer during lazy load [PR115165] While lazy loading, instantiatio

[gcc r15-2121] c++/modules: Conditionally start timer during lazy load [PR115165]

2024-07-17 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:b7b2434cc7e712dc5055bde02c441393ae881f06 commit r15-2121-gb7b2434cc7e712dc5055bde02c441393ae881f06 Author: Nathaniel Shead Date: Sun Jul 7 23:19:52 2024 +1000 c++/modules: Conditionally start timer during lazy load [PR115165] While lazy loading, instantiation

[gcc r14-10442] c++/modules: Propagate BINDING_VECTOR_*_DUPS_P on realloc [PR99242]

2024-07-16 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:5fad0b552c5851fb6ae6eb3616e50cc25af1391d commit r14-10442-g5fad0b552c5851fb6ae6eb3616e50cc25af1391d Author: Nathaniel Shead Date: Mon Jul 8 22:25:17 2024 +1000 c++/modules: Propagate BINDING_VECTOR_*_DUPS_P on realloc [PR99242] When importing modules, when a

[gcc r15-2079] c++/modules: Propagate BINDING_VECTOR_*_DUPS_P on realloc [PR99242]

2024-07-16 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:1aa0f1627857c3e2d90982bdb07ca78ca10b26f3 commit r15-2079-g1aa0f1627857c3e2d90982bdb07ca78ca10b26f3 Author: Nathaniel Shead Date: Mon Jul 8 22:25:17 2024 +1000 c++/modules: Propagate BINDING_VECTOR_*_DUPS_P on realloc [PR99242] When importing modules, when a b

[gcc r15-2005] c++/modules: Add testcase for fixed issue with usings [PR115798]

2024-07-12 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:13757e50ff0b4e0dccfabc67b1322a2724bf3a5c commit r15-2005-g13757e50ff0b4e0dccfabc67b1322a2724bf3a5c Author: Nathaniel Shead Date: Fri Jul 12 22:59:19 2024 +1000 c++/modules: Add testcase for fixed issue with usings [PR115798] This issue was fixed by r15-2003-g

[gcc r15-2004] c++/modules: Handle redefinitions of using-decls

2024-07-12 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:1f7a21c6e85d553e7b5114e5ca1395118478dddf commit r15-2004-g1f7a21c6e85d553e7b5114e5ca1395118478dddf Author: Nathaniel Shead Date: Fri Jul 5 13:52:01 2024 +1000 c++/modules: Handle redefinitions of using-decls This fixes an ICE exposed by supporting exported no

[gcc r15-2003] c++: Introduce USING_DECLs for non-function usings [PR114683]

2024-07-12 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:d6bf4b1c93221118b3008a878ec508f6412dfc55 commit r15-2003-gd6bf4b1c93221118b3008a878ec508f6412dfc55 Author: Nathaniel Shead Date: Thu Jun 27 11:08:15 2024 +1000 c++: Introduce USING_DECLs for non-function usings [PR114683] With modules, a non-function using-de

[gcc r14-10407] c++/modules: Keep entity mapping info across duplicate_decls [PR99241]

2024-07-11 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:08c2abffe0a903e8cf16b469813b7dd0fb41275a commit r14-10407-g08c2abffe0a903e8cf16b469813b7dd0fb41275a Author: Nathaniel Shead Date: Mon Jul 8 14:35:58 2024 +1000 c++/modules: Keep entity mapping info across duplicate_decls [PR99241] When duplicate_decls finds a

  1   2   >