[Bug c++/69694] New: type incomplete depending if constructing function is templated

2016-02-05 Thread bloerwald at googlemail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bloerwald at googlemail dot com Target Milestone: --- Created attachment 37595 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37595&action=edit source file triggering the b

[Bug c++/69694] type incomplete depending if constructing function is templated

2016-02-11 Thread bloerwald at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69694 --- Comment #2 from bloerwald at googlemail dot com --- (In reply to Patrick Palka from comment #1) > g++ 4.9 compiles this successfully, g++ 5.1 doesn't, neither does trunk. The original testcase as well as the code it was reduced fro

[Bug c++/81605] New: -Wignored-attributes emitted when decltype(function) used in template for function with __nonnull__

2017-07-28 Thread bloerwald at googlemail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bloerwald at googlemail dot com Target Milestone: --- When using the type of a function with attribute __nonnull__ as a template parameter, -Wignored

[Bug c++/65201] New: range-for range-init containing variable named like for-range-declaration iterates over uninitialized for-range-declaration

2015-02-25 Thread bloerwald at googlemail dot com
Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bloerwald at googlemail dot com #include #include #include template std::vector split

[Bug c++/72777] New: broken error message with reference in constexpr arguments in c++11 mode

2016-08-02 Thread bloerwald at googlemail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bloerwald at googlemail dot com Target Milestone: --- The error message for modifying a reference argument in a constexpr is not exactly perfect, and degrades horribly when using

[Bug c++/72777] broken error message with reference in constexpr arguments in c++11 mode

2016-08-02 Thread bloerwald at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72777 --- Comment #1 from bloerwald at googlemail dot com --- Note: compiles fine in c++11 mode of clang 3.8, so not sure if it actually is forbidden by the standard.