https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96742
--- Comment #2 from William Throwe ---
It was decided in bug 11856 that it was a bug to warn about comparisons when a
choice for a type template parameter made them always false, so it seems like
it should also be a bug to warn if a non-type temp
: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: wtt6 at cornell dot edu
Target Milestone: ---
The following code warns "comparison of unsigned expression in ‘< 0’ is always
false"
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: wtt6 at cornell dot edu
Target Milestone: ---
With gcc-9.1.0, compiling this code
---
template
void a(const T&...) {}
template
vo
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: wtt6 at cornell dot edu
Target Milestone: ---
Host: x86_64-pc-linux-gnu
Build: x86_64-pc-linux-gnu
Created attachment 43619
--> ht
: other
Assignee: unassigned at gcc dot gnu.org
Reporter: wtt6 at cornell dot edu
Target Milestone: ---
From https://github.com/rust-lang/rust/issues/29293
In the Rust project, we are encountering cases where libbacktrace spends about
a second performing the actual work of
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58983
--- Comment #4 from William Throwe ---
Testing, I cannot reproduce either on a different machine, so probably
something just went wrong with my install here. Sorry for the noise.
++
Assignee: unassigned at gcc dot gnu.org
Reporter: wtt6 at cornell dot edu
$ cat foo.cpp
struct Base { template Base(T) { } };
struct Derived: public Base { using Base::Base; };
int main() {
Derived(1);
return 0;
}
$ /var/tmp/portage/wthrowe-gcc-trunk/dist/bin/g++ -v -std=c++11