[Bug c++/104041] static_assert failure triggered by non-selected template specialization

2022-01-15 Thread bugzilla at cems dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104041 bugzilla at cems dot de changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #2 from

[Bug c++/104041] New: static_assert failure triggered by non-selected template specialization

2022-01-15 Thread bugzilla at cems dot de via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bugzilla at cems dot de Target Milestone: --- A static_assert failure can be triggered even by a template specialization that is not selected. The following code selects the

[Bug c++/57504] New: invalid this pointer passed in call to virtual function that returns a struct

2013-06-02 Thread bugzilla at cems dot de
: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bugzilla at cems dot de /*The following code compiles without diagnostic in both gcc 4.6.2 and gcc 4.7.2. It produces correct code in gcc 4.6.2 but incorrect code in gcc 4.7.2