[Bug middle-end/77432] warn about null check after pointer dereference

2020-06-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77432 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Last

[Bug target/89788] trunk/liboffloadmic/runtime/emulator/coi_host.cpp:175]: (error) Null pointer dereference (missed -Wnull-dereference)

2020-06-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89788 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug tree-optimization/95581] [11 Regression] ICE in gimple_call_arg, at gimple.h:3260 since r11-959-gb825a22890740f341eae566af27e18e528cd29a7

2020-06-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95581 --- Comment #3 from Martin Sebor --- I posted a patch to avoid the ICE but it's not clear to me that it's the right fix: https://gcc.gnu.org/pipermail/gcc-patches/2020-June/547548.html

[Bug middle-end/95594] New: overzealous -Wmaybe-uninitialized calling a function with an empty range of const pointers

2020-06-08 Thread msebor at gcc dot gnu.org
Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- The recent enhancement to -Wuninitialized (PR 10138) is overly strict: it triggers for calls to functions

[Bug tree-optimization/95581] [11 Regression] ICE in gimple_call_arg, at gimple.h:3260 since r11-959-gb825a22890740f341eae566af27e18e528cd29a7

2020-06-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95581 Martin Sebor changed: What|Removed |Added CC||seurer at linux dot vnet.ibm.com --- Com

[Bug fortran/95595] [11 regression] ICE in building gcc after r11-959

2020-06-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95595 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/95581] [11 Regression] ICE in gimple_call_arg, at gimple.h:3260 since r11-959-gb825a22890740f341eae566af27e18e528cd29a7

2020-06-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95581 Martin Sebor changed: What|Removed |Added Component|tree-optimization |target --- Comment #8 from Martin Sebor

[Bug middle-end/95619] New: apparently in-bounds subscript in -Warray-bounds message

2020-06-09 Thread msebor at gcc dot gnu.org
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- When the type of the access is obscured by a typedef (or macro, or, in C++, by a template parameter), -Warray-bounds warnings like the one

[Bug middle-end/95189] [10/11 Regression] memcmp being wrongly stripped like strcmp

2020-06-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 --- Comment #6 from Martin Sebor --- The priority is up to the GCC release managers but raising it won't make the fix available before 10.2 (except on trunk). Regardless, I should have a patch soon.

[Bug c/95625] New: missing detail in -Waddress initializing a function argument

2020-06-10 Thread msebor at gcc dot gnu.org
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- In a real-world scenario where the declaration of the called function was removed from the call it took me a few minutes to understand what the

[Bug middle-end/88992] missing -Warray-bounds indexing into a zero-length array

2020-06-10 Thread msebor at gcc dot gnu.org
gcc dot gnu.org |msebor at gcc dot gnu.org Known to work||10.1.0 Target Milestone|--- |10.0 Status|UNCONFIRMED |RESOLVED --- Comment #1 from Martin Sebor --- Fixed in GCC 10.

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2020-06-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 88992, which changed state. Bug 88992 Summary: missing -Warray-bounds indexing into a zero-length array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88992 What|Removed |Added ---

[Bug tree-optimization/86889] s390x gcc build fails when configured with --disable-checking

2020-06-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86889 Martin Sebor changed: What|Removed |Added Last reconfirmed|2018-08-09 00:00:00 |2020-6-10 Known to fail|

[Bug tree-optimization/82581] missing -Warray-bounds on writing past the end of a member array

2020-06-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82581 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to fail|

[Bug tree-optimization/82608] missing -Warray-bounds on an out-of-bounds VLA index

2020-06-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82608 Martin Sebor changed: What|Removed |Added Known to fail||10.1.0, 11.0, 8.4.0, 9.3.0 Last reconfi

[Bug tree-optimization/82608] missing -Warray-bounds on an out-of-bounds VLA index

2020-06-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82608 Martin Sebor changed: What|Removed |Added Target Milestone|--- |11.0 See Also|

[Bug tree-optimization/95353] [10 Regression] spurious -Wstringop-overflow writing to a trailing array plus offset

2020-06-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95353 Martin Sebor changed: What|Removed |Added Known to fail|11.0| Known to work|

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2020-06-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 92939, which changed state. Bug 92939 Summary: missing -Wstringop-overflow on negative index from the end of array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92939 What|Removed |Added

[Bug middle-end/92939] missing -Wstringop-overflow on negative index from the end of array

2020-06-10 Thread msebor at gcc dot gnu.org
|RESOLVED Target Milestone|--- |11.0 Known to work||11.0 Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org --- Comment #2 from Martin

[Bug tree-optimization/95635] -Warray-bounds while iterating over an escaped constant local array

2020-06-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95635 Martin Sebor changed: What|Removed |Added Depends on||86318 Component|c

[Bug tree-optimization/94335] [10/11 Regression] False positive -Wstringop-overflow warning with -O2

2020-06-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94335 --- Comment #8 from Martin Sebor --- (In reply to kal.conley from comment #6) For reference, this was also submitted as pr95353 and is now fixed on trunk (GCC 11). The test case in comment #0 still triggers a warning.

[Bug middle-end/95667] New: warning for memset writing across multiple members

2020-06-13 Thread msebor at gcc dot gnu.org
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- Although strictly correct, GCC usually avoids warning for calls to memcpy that write into multiple members at the same time, up to the size of the complete object

[Bug middle-end/95667] [11 Regression] unintended warning for memset writing across multiple members

2020-06-13 Thread msebor at gcc dot gnu.org
||2020-06-13 Blocks||88443 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Keywords||diagnostic Ever confirmed|0 |1 Summary

[Bug c++/95684] internal compiler error: Segmentation fault

2020-06-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95684 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #5

[Bug c/95625] missing detail in -Waddress initializing a function argument

2020-06-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95625 Martin Sebor changed: What|Removed |Added Component|c++ |c --- Comment #1 from Martin Sebor --- A

[Bug regression/95673] Inconsistent optimization behavior when there is a buffer overflow

2020-06-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95673 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #2

[Bug c++/95725] Confusing error diagnostic in an invalid template

2020-06-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95725 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2020-06-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 86349, which changed state. Bug 86349 Summary: diagnose string overflow for allocations of non-constant sizes https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86349 What|Removed |Added

[Bug middle-end/86349] diagnose string overflow for allocations of non-constant sizes

2020-06-17 Thread msebor at gcc dot gnu.org
||7.3.0, 8.2.0, 9.2.0 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Status|UNCONFIRMED |RESOLVED Known to work||10.1.0 Component|tree-optimization |middle-end Target

[Bug middle-end/95667] [11 Regression] unintended warning for memset writing across multiple members

2020-06-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95667 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor -

[Bug c++/69698] [meta-bug] flexible array members

2020-06-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69698 Bug 69698 depends on bug 92814, which changed state. Bug 92814 Summary: missing -Wstringop-overflow writing into a dynamically allocated flexible array member https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92814 What|Removed

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2020-06-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 92814, which changed state. Bug 92814 Summary: missing -Wstringop-overflow writing into a dynamically allocated flexible array member https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92814 What|Removed

[Bug middle-end/92814] missing -Wstringop-overflow writing into a dynamically allocated flexible array member

2020-06-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92814 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug middle-end/95755] GCC 10.1.0 reports bogus sizes in -Werror=format-truncation= error

2020-06-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95755 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/95673] missing -Wstring-compare for an impossible strncmp test

2020-06-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95673 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Component|regression

[Bug middle-end/95673] missing -Wstring-compare for an impossible strncmp test

2020-06-19 Thread msebor at gcc dot gnu.org
at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug middle-end/95794] New: strnlen of a constant string plus variable offset not folded when bound exceeds size

2020-06-20 Thread msebor at gcc dot gnu.org
Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- GCC folds comparisons of the results of calls to strlen with constant strings and variable offsets but it

[Bug middle-end/95795] New: missing warning on strnlen with a nonstring and excessive bound

2020-06-20 Thread msebor at gcc dot gnu.org
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- GCC warns for the first call to strnlen in f() that may read past the end of the unterminated array but it fails to warn for the

[Bug c++/95768] [11 Regression] -march=sandybridge -O2 -Wall crashes as 'during GIMPLE pass: uninit ... Segmentation fault'

2020-06-22 Thread msebor at gcc dot gnu.org
at gcc dot gnu.org |msebor at gcc dot gnu.org Component|tree-optimization |c++ --- Comment #3 from Martin Sebor --- This is the same case of the pretty printer not handling an expression as pr95580, except this one is in the C++ front end (the code is duplicated almost

[Bug c++/95768] [11 Regression] -march=sandybridge -O2 -Wall crashes as 'during GIMPLE pass: uninit ... Segmentation fault'

2020-06-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95768 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/95803] Failure to optimize strlen in certain situations properly, instead leading to weird code

2020-06-22 Thread msebor at gcc dot gnu.org
||83819 Last reconfirmed||2020-06-22 CC||msebor at gcc dot gnu.org Status|UNCONFIRMED |NEW --- Comment #1 from Martin Sebor --- The first case is due to failing to handle POINTER_PLUS

[Bug middle-end/95818] wrong "used uninitialized" warning

2020-06-22 Thread msebor at gcc dot gnu.org
|--- |INVALID CC||msebor at gcc dot gnu.org Status|WAITING |RESOLVED --- Comment #6 from Martin Sebor --- This instance of the warning looks familiar but I can't reproduce it with my build of the k

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2020-06-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 95818, which changed state. Bug 95818 Summary: wrong "used uninitialized" warning https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95818 What|Removed |Added -

[Bug middle-end/95818] wrong "used uninitialized" warning

2020-06-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95818 --- Comment #8 from Martin Sebor --- No problem (and no inconvenience either).

[Bug c++/95768] [11 Regression] -march=sandybridge -O2 -Wall crashes as 'during GIMPLE pass: uninit ... Segmentation fault'

2020-06-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95768 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #5 from Martin Sebor -

[Bug middle-end/95848] New: missing -Wuninitialized passing structs by value

2020-06-23 Thread msebor at gcc dot gnu.org
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- In the test case below, -Wuninitialized only detects the first instances of using an uninitialized struct. It does not detect passing it as an argument by value

[Bug middle-end/49754] Wuninitialized does not work with structs/unions/arrays

2020-06-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49754 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org See

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2020-06-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 49754, which changed state. Bug 49754 Summary: Wuninitialized does not work with structs/unions/arrays https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49754 What|Removed |Added

[Bug c++/89976] missing uninitialized warning for uninitialized struct member (VOPs)

2020-06-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89976 Bug 89976 depends on bug 49754, which changed state. Bug 49754 Summary: Wuninitialized does not work with structs/unions/arrays https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49754 What|Removed |Added

[Bug middle-end/95886] New: suboptimal memcpy with embedded zero bytes

2020-06-24 Thread msebor at gcc dot gnu.org
-end Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- While testing the fix for pr95189 I noticed that the memcpy expansion into copy-by-pieces is less than optimal for sequences containing embedded null bytes. For example, in

[Bug middle-end/95189] [10/11 Regression] memcmp being wrongly stripped like strcmp

2020-06-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 --- Comment #7 from Martin Sebor --- The following is a more straightforward test case that's also miscompiled to return zero: int main () { char a[] = "\0abc"; return __builtin_memcmp (a, "\0\0\0\0", 4); } main: .LFB0:

[Bug middle-end/95887] New: suboptimal memcmp with embedded zero bytes

2020-06-24 Thread msebor at gcc dot gnu.org
-end Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- Similar to pr95886, the memcmp expansion into compare-by-pieces is less than optimal for sequences containing embedded null bytes. For example, in the test case below, the

[Bug middle-end/95886] suboptimal memcpy with embedded zero bytes

2020-06-24 Thread msebor at gcc dot gnu.org
|1 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Last reconfirmed||2020-06-24 --- Comment #1 from Martin Sebor --- I'm testing a fix.

[Bug middle-end/95886] suboptimal memcpy with embedded zero bytes

2020-06-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95886 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/86568] -Wnonnull warnings should highlight the relevant argument not the closing parenthesis

2020-06-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86568 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|NEW --- Comment #7 from Martin Sebor ---

[Bug bootstrap/95940] [11 Regression] sparc64-linux bootstrap with gcc-9.3 broken

2020-06-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95940 Martin Sebor changed: What|Removed |Added Last reconfirmed||2020-06-29 Ever confirmed|0

[Bug bootstrap/95970] New: gcc/go/gofrontend/types.cc:1474:34: warning: ‘this’ pointer null

2020-06-29 Thread msebor at gcc dot gnu.org
Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- Since r11-1697 Go bootstrap fails due to the following warning turned error: In static member function ‘static Expression* Type

[Bug bootstrap/95970] gcc/go/gofrontend/types.cc:1474:34: warning: ‘this’ pointer null

2020-06-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95970 --- Comment #2 from Martin Sebor --- I think the warning is a false positive. The problem call is introduced by early inlining and is eliminated by path isolation, but the -Wnonnull warning code runs before that happens (by the post_ipa_warn pas

[Bug bootstrap/95970] gcc/go/gofrontend/types.cc:1474:34: warning: ‘this’ pointer null

2020-06-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95970 --- Comment #3 from Martin Sebor --- On second thought, I think the warning might be correct. The function it's issued for is a static member of class Type (I at first thought it was virtual): Expression* Type::type_descriptor(Gogo* gogo, Type*

[Bug bootstrap/95970] gcc/go/gofrontend/types.cc:1474:34: warning: ‘this’ pointer null

2020-06-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95970 --- Comment #5 from Martin Sebor --- Yes, that's what it's saying. Unfortunately, the locations of null pointer constants isn't available in the middle end so all we have left is the function calls they're used in.

[Bug tree-optimization/95984] [11 Regression] Internal compiler error: Error reporting routines re-entered. since r11-1697-g75ff24e1920ea6b1

2020-06-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95984 Martin Sebor changed: What|Removed |Added Last reconfirmed||2020-06-29 CC|

[Bug tree-optimization/96007] -O2 miscompiles memcmp an object with a string literal containing '\0'

2020-06-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96007 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #3

[Bug c++/96008] cpp1y/lambda-generic-69078-1.C nonnull warning and ICE

2020-06-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96008 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug c++/95984] [11 Regression] Internal compiler error: Error reporting routines re-entered. since r11-1697-g75ff24e1920ea6b1

2020-06-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95984 --- Comment #2 from Martin Sebor --- *** Bug 96008 has been marked as a duplicate of this bug. ***

[Bug testsuite/96014] [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697

2020-06-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96014 Martin Sebor changed: What|Removed |Added Last reconfirmed||2020-07-01 Ever confirmed|0

[Bug testsuite/96014] [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697

2020-06-30 Thread msebor at gcc dot gnu.org
at gcc dot gnu.org |msebor at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #3 from Martin Sebor --- Let me fix up the analyzer test.

[Bug c++/70075] incorrect initialization of multidimensional VLAs

2020-06-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70075 Martin Sebor changed: What|Removed |Added CC||chengcongxiu at huawei dot com --- Commen

[Bug c++/95993] the error of VLA multi-array init in gcc 10.1

2020-06-30 Thread msebor at gcc dot gnu.org
|RESOLVED CC||msebor at gcc dot gnu.org Keywords||wrong-code --- Comment #2 from Martin Sebor --- This is due to a bug in the initialization of multidimensional VLAs. Either such initialization

[Bug middle-end/95189] [10/11 Regression] memcmp being wrongly stripped like strcmp

2020-06-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #8 from Martin Sebor -

[Bug middle-end/95886] suboptimal memcpy with embedded zero bytes

2020-06-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95886 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #3 from Martin Sebor -

[Bug middle-end/96007] [9/10/11 Regression] -O2 miscompiles memcmp an object with a string literal containing '\0'

2020-07-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96007 Martin Sebor changed: What|Removed |Added Component|tree-optimization |middle-end Resolution|---

[Bug middle-end/95189] [10/11 Regression] memcmp being wrongly stripped like strcmp

2020-07-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 Martin Sebor changed: What|Removed |Added CC||jerryfromearth at gmail dot com --- Comme

[Bug testsuite/96014] [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697

2020-07-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96014 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug c++/96021] New: missing -Wnonnull passing nullptr to a nonnull variadic lambda

2020-07-01 Thread msebor at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- G++ issues -Wnonnull when passing nullptr to ordinary variadic functions but not for the same problem involving variadic lambdas or

[Bug c++/96021] missing -Wnonnull passing nullptr to a nonnull variadic lambda

2020-07-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96021 Martin Sebor changed: What|Removed |Added Version|11.0|8.4.1 Known to fail|

[Bug c++/95984] [11 Regression] Internal compiler error: Error reporting routines re-entered. since r11-1697-g75ff24e1920ea6b1

2020-07-01 Thread msebor at gcc dot gnu.org
at gcc dot gnu.org |msebor at gcc dot gnu.org --- Comment #3 from Martin Sebor --- I'm testing a fix.

[Bug c++/96021] missing -Wnonnull passing nullptr to a nonnull variadic lambda

2020-07-01 Thread msebor at gcc dot gnu.org
|1 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Last reconfirmed||2020-07-01 --- Comment #2 from Martin Sebor --- Fixed in my patch for pr95984.

[Bug c++/96063] [10/11 Regression] mismatched-tags warnings in stdlib headers

2020-07-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug c++/70275] -w disables all -Werror flags

2020-07-06 Thread msebor at gcc dot gnu.org
||2020-07-06 Keywords||diagnostic CC||msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #5 from Martin Sebor --- Let me confirm this bug report, in part because -w

[Bug c++/95984] [11 Regression] Internal compiler error: Error reporting routines re-entered. since r11-1697-g75ff24e1920ea6b1

2020-07-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95984 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/96021] missing -Wnonnull passing nullptr to a nonnull variadic lambda

2020-07-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96021 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug middle-end/95507] [meta-bug] bogus/missing -Wnonnull

2020-07-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95507 Bug 95507 depends on bug 96021, which changed state. Bug 96021 Summary: missing -Wnonnull passing nullptr to a nonnull variadic lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96021 What|Removed |Added

[Bug c++/96063] [10/11 Regression] mismatched-tags warnings in stdlib headers

2020-07-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #11 from Martin Sebor

[Bug c++/96063] [10/11 Regression] mismatched-tags warnings in stdlib headers

2020-07-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 --- Comment #13 from Martin Sebor --- Jon, is there anything else to do here or can we resolve this as fixed?

[Bug tree-optimization/96058] ICE in c_getstr at gcc/fold-const.c:15475

2020-07-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96058 --- Comment #6 from Martin Sebor --- The stack trace in comment #0: during GIMPLE pass: strlen ../../chrome/browser/ui/views/sharing/sharing_icon_view.cc: In member function ‘GetVectorIconBadge’: ../../chrome/browser/ui/views/sharing/sharing_ico

[Bug c/96126] New: conflicting attribute section accepted on redeclaration

2020-07-08 Thread msebor at gcc dot gnu.org
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- GCC rejects conflicting attribute section on same declaration but fails to detect the far more likely and difficult to debug problem where the

[Bug c/96126] conflicting attribute section accepted on redeclaration

2020-07-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96126 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Last

[Bug c/78666] conflicting attribute alloc_size accepted

2020-07-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78666 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #9 from Martin Sebor -

[Bug c/96126] conflicting attribute section accepted on redeclaration

2020-07-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96126 Martin Sebor changed: What|Removed |Added Keywords||patch See Also|

[Bug middle-end/87736] New attributes to mark custom alloc/free function pair

2020-07-08 Thread msebor at gcc dot gnu.org
||a/show_bug.cgi?id=94527 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #4 from Martin Sebor --- See also pr94527 for a related request. I'm working

[Bug tree-optimization/96003] [11 Regression] Maybe a false positive for -Werror=nonnull

2020-07-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96003 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/96003] [11 Regression] Maybe a false positive for -Werror=nonnull

2020-07-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96003 Martin Sebor changed: What|Removed |Added Component|tree-optimization |c++ --- Comment #5 from Martin Sebor ---

[Bug c/96171] New: ICE on invalid VLA argument declaration and attribute access

2020-07-11 Thread msebor at gcc dot gnu.org
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- Specifying attribute access on an invalid function declaration involving a VLA and an only subsequently declared bound parameter triggers an

[Bug c/96171] ICE on invalid VLA argument declaration and attribute access

2020-07-11 Thread msebor at gcc dot gnu.org
dot gnu.org |msebor at gcc dot gnu.org Keywords||error-recovery, ||ice-on-invalid-code Target Milestone|--- |10.2 Known to fail||10.1.0, 11.0

[Bug c++/96063] [10 Regression] mismatched-tags warnings in stdlib headers

2020-07-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 Martin Sebor changed: What|Removed |Added Known to fail|11.0| Resolution|---

[Bug c++/96188] -Wstringop-overflow false positive

2020-07-13 Thread msebor at gcc dot gnu.org
, ||missed-optimization Last reconfirmed||2020-07-13 CC||msebor at gcc dot gnu.org Blocks||88443 Ever confirmed|0 |1 Status

[Bug c++/96188] -Wstringop-overflow false positive on std::vector::push_back with -O3

2020-07-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96188 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/81809] missing -Wuninitialized due to alias analysis limitation

2020-07-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81809 Martin Sebor changed: What|Removed |Added Known to fail||10.1.0, 11.0, 8.2.0, 9.2.0 --- Comment #4

[Bug c++/96214] gcc warn unreached else {}

2020-07-16 Thread msebor at gcc dot gnu.org
|1 Last reconfirmed||2020-07-16 CC||mpolacek at gcc dot gnu.org, ||msebor at gcc dot gnu.org --- Comment #1 from Martin Sebor --- Confirmed. Let me CC Marek who

[Bug c++/96003] [11 Regression] Maybe a false positive for -Werror=nonnull

2020-07-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96003 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

<    1   2   3   4   5   6   7   8   9   10   >