[Bug c++/60679] New: class specialization not instantiated even though it is a better match than the primary template

2014-03-26 Thread filip.roseen at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32463 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32463&action=edit testcase.cpp template

[Bug c++/60680] New: unqalified-id expected, gcc fails to diagnose and accepts invalid

2014-03-26 Thread filip.roseen at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32464 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32464&action=edit testcase.cpp int main () { int

[Bug c++/60698] New: non-empty braced-or-equal-initializer of non-static data member T[N] in class template results in error diagnostic, if T is a class

2014-03-28 Thread filip.roseen at gmail dot com
Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32476 --> http://gcc.gnu.org/bugzi

[Bug c++/60699] New: empty braced-init-list of non-static data member T[N] in class template results in ICE, if T is a class

2014-03-28 Thread filip.roseen at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32477 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32477&action=edit testcase.cpp s

[Bug c++/60715] New: Narrowing conversions not caught in non-type template parameters

2014-03-30 Thread filip.roseen at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32493 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32493&action=edit testcase.cpp template<char> void f (

[Bug c++/60742] New: ill-formed declarator (array) in selection statement not caught appropriately

2014-04-02 Thread filip.roseen at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32527 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32527&action=edit testcase.cpp int main () { if (int a[3] =

[Bug c++/60753] New: defining an explicit function template specialization as deleted, following a non-deleted declaration, not diagnosted

2014-04-03 Thread filip.roseen at gmail dot com
: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32537 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32

[Bug c++/60755] New: lambda capturing `this` doesn't honor the const qualifier of the enclosing member function

2014-04-03 Thread filip.roseen at gmail dot com
IRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32539 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32539&action=edit testcase.cpp #includ

[Bug c++/60755] lambda capturing `this` doesn't honor the const qualifier of the enclosing member function

2014-04-03 Thread filip.roseen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60755 --- Comment #1 from Filip Roséen --- Reduced testcase: - struct A { void f () { } void g () const { [this] { f (); } (); } }; int main () { A {}.g (); } -

[Bug c++/60771] New: rejects-valid: static constexpr const reference initialization

2014-04-05 Thread filip.roseen at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32550 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32550&action=edit testcase.cpp struct A { static constexpr int const&a

[Bug c++/60927] New: Ambiguity not caught when name introduced through using-directive conflicts with previously declared entity

2014-04-22 Thread filip.roseen at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32656 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32656&acti

[Bug c++/61457] New: Inaccurately refusing non-ODR usage of type with no linkage

2014-06-09 Thread filip.roseen at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32912 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32912&action=edit testcase.cpp enum { X }; struct A { static constexpr a

[Bug c++/61470] New: ill-formed friend declaration(s) with default-arguments not caught

2014-06-11 Thread filip.roseen at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32920 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32920&action=edit testcase.cpp struct A { friend void f(int=0);

[Bug c++/61471] New: redeclaration of default-argument in function template declaration not caught

2014-06-11 Thread filip.roseen at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32921 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32921&action=edit testcase.cpp template void f(int=3); t

[Bug c++/61471] redeclaration of default-argument in function template declaration not caught

2014-06-11 Thread filip.roseen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61471 --- Comment #1 from Filip Roséen --- Created attachment 32922 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32922&action=edit testcase-real.cpp The previously attached `testcase.cpp` contains a code snippet for a related, but different, b

[Bug c++/61472] New: added default-argument in later declaration of function template not caught

2014-06-11 Thread filip.roseen at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32923 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32923&action=edit testcase.cpp template void f(int); templa

[Bug c++/61472] added default-argument in later declaration of function template not caught

2014-06-11 Thread filip.roseen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61472 --- Comment #2 from Filip Roséen --- Sorry Jonathan, I completely forgot, I'll add the version to this (and those other newly posted bug reports where it is missing).

[Bug c++/61490] New: accepts-invalid: qualified-name in friend function definition

2014-06-12 Thread filip.roseen at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32929 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32929&action=edit testcase.cpp namespace N { void f (); } struct A {

[Bug c++/60177] New: Unable to deduce template base of derived class in function template accepting a simple-template-id

2014-02-13 Thread filip.roseen at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com template struct Base { }; struct Derived : Base { }; template class TT, typename T> void func (TT) { } int m

[Bug c++/60177] Unable to deduce template base of derived class in call to function taking a `simple-template-id`

2014-02-14 Thread filip.roseen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60177 --- Comment #1 from Filip Roséen --- Created attachment 32133 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32133&action=edit testcase.cpp

[Bug c++/60262] New: explicit destructor call to destructor of Base accepted without using a qualified-id

2014-02-18 Thread filip.roseen at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32160 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32160&action=edit testcase.cpp struct Base { };

[Bug c++/60364] New: [[noreturn]] specified for second declaration but not first doesn't result in a diagnostic

2014-02-28 Thread filip.roseen at gmail dot com
IRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32232 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32232&action=edit testcase.cpp void func ()

[Bug c++/60365] New: multiple noreturn attribute specifiers in single declaration doesn't result in a diagnostic

2014-02-28 Thread filip.roseen at gmail dot com
IRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 32233 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32233&action=edit testcase.cpp void fun

[Bug c++/62136] New: pack expansion failure in an alignment-specifier

2014-08-14 Thread filip.roseen at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Created attachment 33323 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33323&action=edit testcase.cpp template struct alignas(Ts...) A { }; i

[Bug c++/66392] New: rejects-valid: copy-initialization through user-defined conversion sequence fails

2015-06-03 Thread filip.roseen at gmail dot com
Keywords: rejects-valid Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: filip.roseen at gmail dot com Target Milestone: --- Created attachment 35687 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35