Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jorg.brown at gmail dot com
Target Milestone: ---
Consider these four templated functions, each using an enable_if:
template
typename std::enable_if<(int)sizeof(T) >= -(1), int>::t
NCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jorg.brown at gmail dot com
Target Milestone: ---
This code works just fine:
inline int inline1 = 0;
inline int inline2 = 0;
static_assert(&inlin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43565
Jorg Brown changed:
What|Removed |Added
CC||jorg.brown at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91693
--- Comment #1 from Jorg Brown ---
Related missed-optimization bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43565
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jorg.brown at gmail dot com
Target Milestone: ---
This code causes gcc 11.1.0 to ICE:
extern "C" {
int printf(const char *, ...);
}
vo
ty: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jorg.brown at gmail dot com
Target Milestone: ---
Source:
#include
constexpr std::string Hello = "Hello, ", World = "World.";
constexpr std::string He
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114913
--- Comment #4 from Jorg Brown ---
Oddly, if I move the reference to HelloWorld into a separate routine, it works
(you can comment out a() and ba() returns what it should, on gcc 15.0)
struct strt {
const char *ptr = &data;
char data = '\0'