[Bug c++/94255] template specialization in different namespace causes crash

2020-05-07 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94255 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/94255] template specialization in different namespace causes crash

2020-05-07 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94255 --- Comment #7 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:21968d4ae067e3fa1c1728c8db26478e8ac8ad0b commit r11-175-g21968d4ae067e3fa1c1728c8db26478e8ac8ad0b Author: Marek Polacek Date:

[Bug c++/94255] template specialization in different namespace causes crash

2020-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94255 --- Comment #6 from Marek Polacek --- Patch approved for GCC 11: https://gcc.gnu.org/pipermail/gcc-patches/2020-April/544081.html

[Bug c++/94255] template specialization in different namespace causes crash

2020-04-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94255 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/94255] template specialization in different namespace causes crash

2020-03-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94255 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/94255] template specialization in different namespace causes crash

2020-03-21 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94255 --- Comment #3 from Nicholas Krause --- I've managed to track this down to what appears to me to be a issue in: tree push_inner_scope (tree inner) { tree outer = current_scope (); if (!outer) outer = current_namespace;

[Bug c++/94255] template specialization in different namespace causes crash

2020-03-21 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94255 Nicholas Krause changed: What|Removed |Added CC||jason at redhat dot com,

[Bug c++/94255] template specialization in different namespace causes crash

2020-03-21 Thread vince.a.bridgers at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94255 --- Comment #1 from Vince Bridgers --- The corrected code successfully compiles. Basically, making sure the template specialization is in the correct namespace. namespace clang { class DynTypedNode { private: template struct