++
Assignee: unassigned at gcc dot gnu.org
Reporter: g...@arne-mertz.de
Target Milestone: ---
Consider the following code:
typedef int foo;
namespace Foo {
int f();
foo g();
}
int ::Foo::f() { return 0; }
foo ::Foo::g() { return 1; }
This
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: g...@arne-mertz.de
Target Milestone: ---
Build: GCC v8.0.0 (built from source 20170429)
The following code:
struct T {
constexpr auto foo() { return false; }
};
template
Version: 7.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: g...@arne-mertz.de
Target Milestone: ---
Consider the following code:
void g(int) {}
v
++
Assignee: unassigned at gcc dot gnu.org
Reporter: g...@arne-mertz.de
Target Milestone: ---
The following code snippet leads to an internal compiler error in GCC 5.3
through 7.0.1:
(see also https://godbolt.org/g/yFPEfx)
## Code
struct C{};
struct X {
unsigned i