[gcc r14-9332] c++: Fix template deduction for conversion operators with xobj parameters [PR113629]

2024-03-06 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:49d83e963aa453600088380aebd507e172eb80ad commit r14-9332-g49d83e963aa453600088380aebd507e172eb80ad Author: Nathaniel Shead Date: Wed Mar 6 00:43:22 2024 +1100 c++: Fix template deduction for conversion operators with xobj parameters [PR113629] Unification fo

[gcc r14-9356] c++: Stream DECL_CONTEXT for template template parms [PR98881]

2024-03-07 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:2f8a3da8ea30066d2201f8148714a8e89da5 commit r14-9356-g2f8a3da8ea30066d2201f8148714a8e89da5 Author: Nathaniel Shead Date: Tue Mar 5 15:17:09 2024 +1100 c++: Stream DECL_CONTEXT for template template parms [PR98881] When streaming in a nested template-t

[gcc r14-9357] c++: Fix ICE diagnosing incomplete type of overloaded function set [PR98356]

2024-03-07 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:940586a63586941a9f2b973491afc8a15a96c98b commit r14-9357-g940586a63586941a9f2b973491afc8a15a96c98b Author: Nathaniel Shead Date: Tue Mar 5 01:59:41 2024 +1100 c++: Fix ICE diagnosing incomplete type of overloaded function set [PR98356] In the linked PR the re

[gcc r14-9375] c++: Redetermine whether to write vtables on stream-in [PR114229]

2024-03-07 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:9ccd03dee4c35a24c6699a58a7251a5277a91cf5 commit r14-9375-g9ccd03dee4c35a24c6699a58a7251a5277a91cf5 Author: Nathaniel Shead Date: Thu Mar 7 23:09:03 2024 +1100 c++: Redetermine whether to write vtables on stream-in [PR114229] We currently always stream DECL_IN

[gcc r15-220] c++/modules: Fix dangling pointer with imported_temploid_friends

2024-05-06 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:ec2365e07537e8b17745d75c28a2b45bf33be119 commit r15-220-gec2365e07537e8b17745d75c28a2b45bf33be119 Author: Nathaniel Shead Date: Fri May 3 19:36:17 2024 +1000 c++/modules: Fix dangling pointer with imported_temploid_friends I got notified by Linaro CI and by c

[gcc r15-221] c++: Allow IS_FAKE_BASE_TYPE for union types [PR114954]

2024-05-06 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:0c43c673b0d431ca02d83bf6fae9cd60e9a3d0a8 commit r15-221-g0c43c673b0d431ca02d83bf6fae9cd60e9a3d0a8 Author: Nathaniel Shead Date: Mon May 6 13:05:52 2024 +1000 c++: Allow IS_FAKE_BASE_TYPE for union types [PR114954] In some circumstances, unions can also have a

[gcc r15-310] c++/modules: Stream unmergeable temporaries by value again [PR114856]

2024-05-07 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:e60032b382364897a58e67994baac896bcd03327 commit r15-310-ge60032b382364897a58e67994baac896bcd03327 Author: Nathaniel Shead Date: Tue Apr 30 22:29:57 2024 +1000 c++/modules: Stream unmergeable temporaries by value again [PR114856] In r14-9266-g2823b4d96d9ec4 I

[gcc r14-10182] c++/modules: Stream unmergeable temporaries by value again [PR114856]

2024-05-07 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:61a095b05c244a6e0b1aec36ee1607def00654ab commit r14-10182-g61a095b05c244a6e0b1aec36ee1607def00654ab Author: Nathaniel Shead Date: Tue Apr 30 22:29:57 2024 +1000 c++/modules: Stream unmergeable temporaries by value again [PR114856] In r14-9266-g2823b4d96d9ec4

[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-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-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-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-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-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-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-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-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-1882] c++: Simplify uses of LAMBDA_EXPR_EXTRA_SCOPE

2024-07-07 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:24cb586cafd40f8fbea68641f97e3431ea76c1b8 commit r15-1882-g24cb586cafd40f8fbea68641f97e3431ea76c1b8 Author: Nathaniel Shead Date: Sat Jun 15 22:47:07 2024 +1000 c++: Simplify uses of LAMBDA_EXPR_EXTRA_SCOPE I noticed there already exists a getter to get the sc

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

2024-07-11 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:f04f9714fca40315360af109b9e5ca2305fd75db commit r15-1968-gf04f9714fca40315360af109b9e5ca2305fd75db 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

[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

[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 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-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-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 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-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-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 r14-9439] c++: Support target-specific nodes when streaming modules [PR111224]

2024-03-12 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:4aa87b856067d4911de8fb66b3a27659dc75ca6d commit r14-9439-g4aa87b856067d4911de8fb66b3a27659dc75ca6d Author: Nathaniel Shead Date: Sun Mar 10 22:06:18 2024 +1100 c++: Support target-specific nodes when streaming modules [PR111224] Some targets make use of POLY_

[gcc r14-9501] c++: Check module attachment instead of just purview when necessary [PR112631]

2024-03-16 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:ead3075406ece9daaad65a01ae539150aee43f5a commit r14-9501-gead3075406ece9daaad65a01ae539150aee43f5a Author: Nathaniel Shead Date: Tue Mar 12 23:24:27 2024 +1100 c++: Check module attachment instead of just purview when necessary [PR112631] Block-scope declara

[gcc r14-9517] testsuite: Fix excess errors for new modules testcases on powerpc [PR114320]

2024-03-18 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:6cb5ef37c2fac240b68d8ee438aba4885956269f commit r14-9517-g6cb5ef37c2fac240b68d8ee438aba4885956269f Author: Nathaniel Shead Date: Sat Mar 16 00:11:25 2024 +1100 testsuite: Fix excess errors for new modules testcases on powerpc [PR114320] On some configurations

[gcc r14-9530] c++: Fix handling of no-linkage decls for modules

2024-03-18 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:c4845edfeaf44756ad9672e8d143f1c8f5c4c0f6 commit r14-9530-gc4845edfeaf44756ad9672e8d143f1c8f5c4c0f6 Author: Nathaniel Shead Date: Sat Mar 16 22:00:29 2024 +1100 c++: Fix handling of no-linkage decls for modules When testing the changes for PR c++/112631 we dis

[gcc r14-9881] c++: Track declarations imported from partitions [PR99377]

2024-04-09 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:77c0b5b23f91404004a9bf710981f6d615b63f57 commit r14-9881-g77c0b5b23f91404004a9bf710981f6d615b63f57 Author: Nathaniel Shead Date: Thu Apr 4 23:16:08 2024 +1100 c++: Track declarations imported from partitions [PR99377] The testcase in comment 15 of the linked

[gcc r14-9883] c++: Keep DECL_SAVED_TREE of cdtor instantiations in modules [PR104040]

2024-04-09 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:0774240b4df9a9bc48ce33a9625788e402498f5a commit r14-9883-g0774240b4df9a9bc48ce33a9625788e402498f5a Author: Nathaniel Shead Date: Fri Mar 29 13:53:54 2024 +1100 c++: Keep DECL_SAVED_TREE of cdtor instantiations in modules [PR104040] A template instantiation st

[gcc r14-9959] c++: Setup aliases imported from modules [PR106820]

2024-04-14 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:62a0ef0d02cbb74cd865c1db2ecb7ca1b11f87cd commit r14-9959-g62a0ef0d02cbb74cd865c1db2ecb7ca1b11f87cd Author: Nathaniel Shead Date: Sat Feb 17 23:10:49 2024 +1100 c++: Setup aliases imported from modules [PR106820] I wonder if more generally we need to be doing

[gcc r14-9961] c++: Only emit exported GMF usings [PR114600]

2024-04-15 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:3878e9aeb30cb192f769997c52743daf8190744c commit r14-9961-g3878e9aeb30cb192f769997c52743daf8190744c Author: Nathaniel Shead Date: Mon Apr 8 23:34:42 2024 +1000 c++: Only emit exported GMF usings [PR114600] A typo in r14-6978 made us emit too many things. This

[gcc r14-10085] c++: Check if allocation functions are xobj members [PR114078]

2024-04-22 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:cf51fe706ea0219beb5bb85e81606d372ca9635e commit r14-10085-gcf51fe706ea0219beb5bb85e81606d372ca9635e Author: Nathaniel Shead Date: Sat Apr 20 15:08:02 2024 +1000 c++: Check if allocation functions are xobj members [PR114078] A class allocation member function

[gcc r14-10100] c++: Fix ICE with xobj parms and maybe incomplete decl-specifiers

2024-04-23 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:7318f1a389769ab540f414fcba743e90051d466b commit r14-10100-g7318f1a389769ab540f414fcba743e90051d466b Author: Nathaniel Shead Date: Sat Apr 20 14:44:11 2024 +1000 c++: Fix ICE with xobj parms and maybe incomplete decl-specifiers This fixes a null dereference is

[gcc r15-58] c++: Standardise errors for module_may_redeclare

2024-04-29 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:2faf040335f9b49c33ba6d40cf317920f27ce431 commit r15-58-g2faf040335f9b49c33ba6d40cf317920f27ce431 Author: Nathaniel Shead Date: Sun Apr 14 23:03:11 2024 +1000 c++: Standardise errors for module_may_redeclare Currently different places calling 'module_may_redec

[gcc r15-59] c++: Fix instantiation of imported temploid friends [PR114275]

2024-04-29 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:b5f6a56940e70838a07e885de03a92e2bd64674a commit r15-59-gb5f6a56940e70838a07e885de03a92e2bd64674a Author: Nathaniel Shead Date: Mon Apr 29 17:00:13 2024 +1000 c++: Fix instantiation of imported temploid friends [PR114275] This patch fixes a number of issues wi

[gcc r15-84] c++: Implement P2615 'Meaningful Exports' [PR107688]

2024-04-30 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:79420dd344145819677b3f975bb305a778fcaf91 commit r15-84-g79420dd344145819677b3f975bb305a778fcaf91 Author: Nathaniel Shead Date: Mon Mar 4 23:58:30 2024 +1100 c++: Implement P2615 'Meaningful Exports' [PR107688] This clarifies which kinds of declarations may an

[gcc r15-86] c++: Propagate hidden flag on decls from partitions

2024-05-01 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:3032ebf0c9b769f02f494e97417a1b68ad59c884 commit r15-86-g3032ebf0c9b769f02f494e97417a1b68ad59c884 Author: Nathaniel Shead Date: Tue Apr 9 21:52:38 2024 +1000 c++: Propagate hidden flag on decls from partitions While working on some other fixes I noticed that t

[gcc r15-85] c++: Propagate using decls from partitions [PR114868]

2024-05-01 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:0d0215b10dbbe39d655ceda4af283f288ec7680c commit r15-85-g0d0215b10dbbe39d655ceda4af283f288ec7680c Author: Nathaniel Shead Date: Tue Apr 9 21:49:58 2024 +1000 c++: Propagate using decls from partitions [PR114868] The modules code currently neglects to set OVL_U

[gcc r15-98] c++: Implement modules ABI for vtable emissions

2024-05-01 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:ad30265ccfb211fca35789df2d1404cc12302219 commit r15-98-gad30265ccfb211fca35789df2d1404cc12302219 Author: Nathaniel Shead Date: Tue Apr 16 22:50:26 2024 +1000 c++: Implement modules ABI for vtable emissions This patch implements the changes described in ht

[gcc r15-101] c++: Don't emit unused GMF partial specializations [PR114630]

2024-05-01 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:02917ac4528e32d1b2d0da5f45ef5937c56942cd commit r15-101-g02917ac4528e32d1b2d0da5f45ef5937c56942cd Author: Nathaniel Shead Date: Thu Apr 11 19:15:35 2024 +1000 c++: Don't emit unused GMF partial specializations [PR114630] The change in r14-8408 to also emit pa

[gcc r15-114] c++: Clear is_unbraced_* when parsing declaration_seq_opt [PR114917]

2024-05-02 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:7317d62a1200dbd3685015e5d6b811497a27fe5f commit r15-114-g7317d62a1200dbd3685015e5d6b811497a27fe5f Author: Nathaniel Shead Date: Thu May 2 12:55:24 2024 +1000 c++: Clear is_unbraced_* when parsing declaration_seq_opt [PR114917] Currently we incorrectly retain

[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 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-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-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-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-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-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-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-762] c++: Strengthen checks on 'main'

2024-05-21 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:292fc21a8d7aa2f16e61ac941e22ada6ddd85500 commit r15-762-g292fc21a8d7aa2f16e61ac941e22ada6ddd85500 Author: Nathaniel Shead Date: Sat May 11 22:25:44 2024 +1000 c++: Strengthen checks on 'main' This patch adds some missing requirements for legal main declaratio

[gcc r15-810] c++/modules: Ensure all partial specialisations are tracked [PR114947]

2024-05-23 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:7fa0ffa4f789683ba80e93cd10546cb7bd2c3d8a commit r15-810-g7fa0ffa4f789683ba80e93cd10546cb7bd2c3d8a Author: Nathaniel Shead Date: Sun May 12 22:31:01 2024 +1000 c++/modules: Ensure all partial specialisations are tracked [PR114947] Constrained partial specialis

[gcc r15-822] c++/modules: Fix treatment of unnamed types

2024-05-24 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:0173dcce92baa62a74929814a75edb75eeab1a54 commit r15-822-g0173dcce92baa62a74929814a75edb75eeab1a54 Author: Nathaniel Shead Date: Thu May 23 22:50:58 2024 +1000 c++/modules: Fix treatment of unnamed types In r14-9530 we relaxed "depending on type with no-linkag

[gcc r15-823] c++/modules: Remember that header units have CMIs

2024-05-24 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:03531ec45f15aa187bbab7842a1eb6cf746a104b commit r15-823-g03531ec45f15aa187bbab7842a1eb6cf746a104b Author: Nathaniel Shead Date: Thu May 23 22:56:52 2024 +1000 c++/modules: Remember that header units have CMIs This appears to be an oversight in the definition

[gcc r15-824] c++/modules: Improve errors for bad module-directives [PR115200]

2024-05-24 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:dae606a11eb99814e452b49241fa76f7678f53b8 commit r15-824-gdae606a11eb99814e452b49241fa76f7678f53b8 Author: Nathaniel Shead Date: Fri May 24 00:08:57 2024 +1000 c++/modules: Improve errors for bad module-directives [PR115200] This fixes an ICE when a module dir

[gcc r14-10239] c++: Standardise errors for module_may_redeclare

2024-05-24 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:557cddcc71c9025932b30f1f825dc600a82dfe03 commit r14-10239-g557cddcc71c9025932b30f1f825dc600a82dfe03 Author: Nathaniel Shead Date: Sun Apr 14 23:03:11 2024 +1000 c++: Standardise errors for module_may_redeclare Currently different places calling 'module_may_re

[gcc r14-10240] c++: Fix instantiation of imported temploid friends [PR114275]

2024-05-24 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:fd6fd88b1a93f4fb38f095688255ab5c00122810 commit r14-10240-gfd6fd88b1a93f4fb38f095688255ab5c00122810 Author: Nathaniel Shead Date: Mon Apr 29 17:00:13 2024 +1000 c++: Fix instantiation of imported temploid friends [PR114275] This patch fixes a number of issues

[gcc r14-10241] c++: Propagate using decls from partitions [PR114868]

2024-05-24 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:782ad2033ea0709a25ef3e899cbb9491406146d5 commit r14-10241-g782ad2033ea0709a25ef3e899cbb9491406146d5 Author: Nathaniel Shead Date: Tue Apr 9 21:49:58 2024 +1000 c++: Propagate using decls from partitions [PR114868] The modules code currently neglects to set OV

[gcc r15-830] c++/modules: Improve diagnostic when redeclaring builtin in module [PR102345]

2024-05-24 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:28b508233a12c13295f960a2cb8a4864879acfb4 commit r15-830-g28b508233a12c13295f960a2cb8a4864879acfb4 Author: Nathaniel Shead Date: Sat May 25 01:03:54 2024 +1000 c++/modules: Improve diagnostic when redeclaring builtin in module [PR102345] If a user mistakenly

[gcc r15-964] c++/modules: Fix revealing with using-decls [PR114867]

2024-05-31 Thread Nathaniel Shead via Gcc-cvs
https://gcc.gnu.org/g:85f15ea65a97686ad39af0c14b7dd9a9372e3a19 commit r15-964-g85f15ea65a97686ad39af0c14b7dd9a9372e3a19 Author: Nathaniel Shead Date: Sat Jun 1 01:14:44 2024 +1000 c++/modules: Fix revealing with using-decls [PR114867] This patch fixes a couple issues with the curr

[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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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 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 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-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

  1   2   >