[Bug c++/104433] [modules] Importing and using std::make_shared causes linker errors

2022-10-11 Thread lhlaurini at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104433 --- Comment #3 from Luiz Henrique Laurini --- Thank you for the fix. The test case seems to be working as expected now. However, the original code import ; int main() { std::make_shared(); } now causes an internal compiler error: du

[Bug c++/107118] New: "does not name a type" when used in constrained struct specialization

2022-10-01 Thread lhlaurini at hotmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lhlaurini at hotmail dot com Target Milestone: --- This is similar to bug 92944. The following code fails to compile: namespace N { template struct Q; struct S;

[Bug c++/104433] New: [modules] Importing and using std::make_shared causes linker errors

2022-02-07 Thread lhlaurini at hotmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lhlaurini at hotmail dot com Target Milestone: --- Greetings. I found that by importing and trying to use std::make_shared, some symbols seem to not be defined. Example: $ cat

[Bug libstdc++/103879] error: accessing value of variant::_Copy_ctor_base through a 'const variant' glvalue in a constant expression

2021-12-31 Thread lhlaurini at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103879 Luiz Henrique Laurini changed: What|Removed |Added CC||lhlaurini at hotmail dot com

[Bug c++/96474] Internal compiler error with template struct inside template struct

2020-08-05 Thread lhlaurini at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96474 --- Comment #2 from Luiz Henrique Laurini --- (In reply to Marek Polacek from comment #1) > The ICE started with r278298. Before that: > > 96474.C:11:15: error: class template argument deduction failed: >11 | A::B x; > |

[Bug c++/96474] New: Internal compiler error with template struct inside template struct

2020-08-04 Thread lhlaurini at hotmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lhlaurini at hotmail dot com Target Milestone: --- Tested on Arch Linux (10.1.0) and on the online compiler godbolt.org (10.1.0, 10.2.0 and trunk), all with the same results. The