[Bug c++/92082] New: ICE with concepts

2019-10-13 Thread bruno.manga95 at gmail dot com
: unassigned at gcc dot gnu.org Reporter: bruno.manga95 at gmail dot com Target Milestone: --- The compiler ICEs with a segmentation fault with the following code: #include #include template class ttp, class c> struct resolve {static constexpr bool value = false; }; template class

[Bug c++/91122] New: alignas gives up evaluating a constant expression in template context

2019-07-09 Thread bruno.manga95 at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bruno.manga95 at gmail dot com Target Milestone: --- The following code: template constexpr T min( const T& a, const T& b) { return a < b ? a : b; } template

[Bug c++/87970] New: Template Instantiation from empty parameter pack is not diagnosed in class specialization

2018-11-10 Thread bruno.manga95 at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bruno.manga95 at gmail dot com Target Milestone: --- The following code compiles with g++ 8.1+, but fails with all the other compilers which claim that we are

[Bug libstdc++/83860] [6/7/8 Regression] valarray replacement type breaks with auto and more than one operation

2018-01-16 Thread bruno.manga95 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83860 --- Comment #2 from Bruno Manganelli --- Just to clarify, it still segfaults when using clang++ with libstdc++.

[Bug libstdc++/83860] New: valarray replacement type breaks with auto and more than one operation

2018-01-15 Thread bruno.manga95 at gmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: bruno.manga95 at gmail dot com Target Milestone: --- The following code results in a segmentation fault: int main() { std::valarray va(16), vb(16), vc(16); auto sum

[Bug c++/77755] New: [concepts] Abbreviatd function template pack expansions not working

2016-09-27 Thread bruno.manga95 at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bruno.manga95 at gmail dot com Target Milestone: --- Pack expansions are not handled correctly in the context of abbreviated function templates. For example, foo in template struct S

[Bug c++/66266] Abbreviated function template does not behave as expected

2015-05-23 Thread bruno.manga95 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66266 --- Comment #1 from Bruno Manganelli --- Probably another symptom of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64969 as inverting the arguments for auto_sum does not cause the assertion to fail. Apologies for the duplicate.

[Bug c++/66266] New: Abbreviated function template does not behave as expected

2015-05-23 Thread bruno.manga95 at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bruno.manga95 at gmail dot com Target Milestone: --- Although abbreviated function templates are not part of ISO c++14 (but part of the Concepts ts), the following code does not behave as its

[Bug c++/66210] Variable template specialization does not work with alias-declarations

2015-05-19 Thread bruno.manga95 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66210 Bruno Manganelli changed: What|Removed |Added Severity|minor |normal

[Bug c++/66210] New: Variable template specialization does not work with alias-declarations

2015-05-19 Thread bruno.manga95 at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bruno.manga95 at gmail dot com Target Milestone: --- Created attachment 35571 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35571&action=edit testcase In code such