Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: daniel at constexpr dot org
Target Milestone: ---
GCC 13.2.0 as well as git from today report a false positive
-Wdangling-reference warning for the following C++ code:
struct A {
int * i;
int &am
: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: daniel at constexpr dot org
Target Milestone: ---
Created attachment 53652
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53652&action=edit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953
--- Comment #29 from Daniel Scharrer ---
Hi, shouldn't this be
Known to fail 10.3.**1**
Known to work 10.3.**2**
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: daniel at constexpr dot org
Target Milestone: ---
Created attachment 52166
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52166&acti
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96447
--- Comment #2 from Daniel Scharrer ---
For warnings enabled by something like -fanalyzer this might be reasonable but
for a warning I enabled by default (not even requiring -Wall) the bar should
ideally be a bit higher.
Assignee: unassigned at gcc dot gnu.org
Reporter: daniel at constexpr dot org
Target Milestone: ---
Created attachment 48990
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48990&action=edit
test.c
The attached reduced test case results in the following false p
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87618
--- Comment #4 from Daniel Scharrer ---
Thanks, everything works for me now.
MED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: daniel at constexpr dot org
Target Milestone: ---
$ cat stringbuf.cpp
#include
int main() {
std::stringbuf sb;
return 0;
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61269
--- Comment #5 from Daniel Scharrer ---
Yes, after your fix everything works with Clang.
++
Assignee: unassigned at gcc dot gnu.org
Reporter: daniel at constexpr dot org
Partial diff from commit f2b58c906cf64f3e082bda9808b9f049bb71d5b4:
--- a/libstdc++-v3/include/std/type_traits
+++ b/libstdc++-v3/include/std/type_traits
@@ -41,6 +41,15 @@ namespace std _GLIBCXX_VISIBILITY
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56282
Bug #: 56282
Summary: [4.8 regression] std::basic_ios broken with
-std=c++11 (undefined reference)
Classification: Unclassified
Product: gcc
Version: unknown
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56273
--- Comment #1 from Daniel Scharrer 2013-02-10
07:07:40 UTC ---
The same code and command-line arguments do not produce a warning in gcc 4.7.2,
4.6.3, 4.5.4 and clang 3.2 as well as clang's static analyzer.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56273
Bug #: 56273
Summary: [4.8 regression] Bogus -Warray-bounds warning
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
P
13 matches
Mail list logo