[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

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

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

[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

[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

[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

[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

[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

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

[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

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

[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

[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

[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

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

[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

[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

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

[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

[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-101] c++: Don't emit unused GMF partial specializations [PR114630]

2024-05-02 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

[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

[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

[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

[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

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

2024-04-30 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

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

2024-04-30 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

[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

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

2024-04-23 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-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-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-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

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

[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

[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

[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

[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

[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

[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

[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