[Bug tree-optimization/102196] -Wmaybe-uninitialized: Maybe generate helpful hints?

2021-09-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102196 Martin Sebor changed: What|Removed |Added Status|WAITING |NEW Blocks|

[Bug middle-end/102337] bogus -Wformat-truncation due to incomplete sprintf/strlen integration

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102337 Martin Sebor changed: What|Removed |Added Blocks||85741 Summary|possibly wrong

[Bug tree-optimization/102329] pointer "maybe uninitialized" right after assignment

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102329 --- Comment #4 from Martin Sebor --- The text of the warning should be adjusted to make it clear that it's the object the pointer points to that may be used uninitialized by the function. For functions like pthread_getspecific() and pthread_set

[Bug c++/55203] No unused warning for variables of non-trivial types

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55203 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/102243] [12 Regression] ICE in get_range_query since r12-3300-gece28da924dd

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102243 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug tree-optimization/102238] alias_offset in gimple-ssa-sprintf.c is broken

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102238 Martin Sebor changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug tree-optimization/102216] [12 Regression] missed optimization causing Warray-bounds

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102216 Bug 102216 depends on bug 102238, which changed state. Bug 102238 Summary: alias_offset in gimple-ssa-sprintf.c is broken https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102238 What|Removed |Added

[Bug tree-optimization/102200] [12 Regression] ice in put_ref, at pointer-query.cc:1351 since r12-3300-gece28da924ddda8b

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102200 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug tree-optimization/102346] Missing -Warray-bounds due to constant folding

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102346 Martin Sebor changed: What|Removed |Added Summary|Missing warning for array |Missing -Warray-bounds due

[Bug middle-end/35587] -Warray-bounds does not work at all or does not find all trivial cases, and :works only with -O2 or -O3

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35587 Martin Sebor changed: What|Removed |Added CC||fredrik.hederstierna@securi

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

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 102346, which changed state. Bug 102346 Summary: Missing -Warray-bounds due to constant folding https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102346 What|Removed |Added --

[Bug other/92435] % format codes for diagnostics are not documented in the GCC internals manual

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92435 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Ever confir

[Bug middle-end/94312] missing -Wreturn-local-addr on returning local address via memchr or memset

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94312 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Assignee|unassigned at gc

[Bug tree-optimization/90556] [meta-bug] bogus/missing -Wreturn-local-addr

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90556 Bug 90556 depends on bug 94312, which changed state. Bug 94312 Summary: missing -Wreturn-local-addr on returning local address via memchr or memset https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94312 What|Removed

[Bug middle-end/102263] Requesting enhanced warning on returning pointer/reference to local

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102263 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Resolu

[Bug c/82520] Missing warning when stack addresses escape the current scope

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82520 Martin Sebor changed: What|Removed |Added CC||barry.revzin at gmail dot com --- Comment

[Bug tree-optimization/90556] [meta-bug] bogus/missing -Wreturn-local-addr

2021-09-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90556 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/102238] alias_offset in gimple-ssa-sprintf.c is broken

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102238 Martin Sebor changed: What|Removed |Added Blocks|102216 |84774 Last reconfirmed|

[Bug tree-optimization/102238] alias_offset in gimple-ssa-sprintf.c is broken

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102238 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/102378] New: missing -Waddress in template code

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378 Bug ID: 102378 Summary: missing -Waddress in template code Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/102379] New: missing -Wnarrowing even in instantiated template

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102379 Bug ID: 102379 Summary: missing -Wnarrowing even in instantiated template Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/102378] missing -Waddress in template code at definition time rather than instantiation

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378 --- Comment #3 from Martin Sebor --- With the correct explicit instantiation directive things look much better: $ cat pr102378.C && gcc -S -Wall pr102378.C int f () { int a[2]; return &a == 0; // -Waddress (good) } template int g ()

[Bug c++/102378] missing -Waddress in template code at definition time rather than instantiation

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/102238] alias_offset in gimple-ssa-sprintf.c is broken

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102238 Martin Sebor changed: What|Removed |Added Blocks|102216 | --- Comment #8 from Martin Sebor --- (

[Bug middle-end/102200] [12 Regression] ice in put_ref, at pointer-query.cc:1351 since r12-3300-gece28da924ddda8b

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102200 Martin Sebor changed: What|Removed |Added Blocks||88443 Keywords|

[Bug middle-end/102200] [12 Regression] ICE on a min of a decl and pointer in a loop

2021-09-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102200 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2021-09-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 102200, which changed state. Bug 102200 Summary: [12 Regression] ICE on a min of a decl and pointer in a loop https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102200 What|Removed |Added

[Bug middle-end/102403] New: [12 Regression] ICE in in init_from_control_deps, at gimple-predicate-analysis.cc:2364

2021-09-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102403 Bug ID: 102403 Summary: [12 Regression] ICE in in init_from_control_deps, at gimple-predicate-analysis.cc:2364 Product: gcc Version: 12.0 Status: UNCONFIRMED S

[Bug middle-end/102403] [12 Regression] ICE in in init_from_control_deps, at gimple-predicate-analysis.cc:2364

2021-09-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102403 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-09-18 Status|UNCONFIRME

[Bug middle-end/102386] [12 regression] bogus -Wrestrict for unreachable memcpy()

2021-09-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102386 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/84774] [meta-bug] bogus/missing -Wrestrict

2021-09-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84774 Bug 84774 depends on bug 102386, which changed state. Bug 102386 Summary: [12 regression] bogus -Wrestrict for unreachable memcpy() https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102386 What|Removed |Added ---

[Bug tree-optimization/102405] Loop index limited by a function return value considered to result in too big array subscript

2021-09-19 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102405 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/102243] [12 Regression] ICE in get_range_query since r12-3300-gece28da924dd

2021-09-19 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102243 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/102403] [12 Regression] ICE in in init_from_control_deps, at gimple-predicate-analysis.cc:2364

2021-09-19 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102403 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2021-09-19 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 102403, which changed state. Bug 102403 Summary: [12 Regression] ICE in in init_from_control_deps, at gimple-predicate-analysis.cc:2364 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102403 What|Removed

[Bug tree-optimization/102329] pointer "maybe uninitialized" right after assignment

2021-09-20 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102329 --- Comment #6 from Martin Sebor --- In general a program can add an attribute to a system function by redeclaring it with it. This of course needs to be done conditionally on the GCC version that supports the attribute. This in turn can be te

[Bug middle-end/102427] -Woverflow only works in constant expressions

2021-09-21 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102427 Martin Sebor changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug middle-end/102453] New: buffer overflow by atomic built-ins not diagnosed

2021-09-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102453 Bug ID: 102453 Summary: buffer overflow by atomic built-ins not diagnosed Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug middle-end/102453] buffer overflow by atomic built-ins not diagnosed

2021-09-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102453 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug tree-optimization/102462] vectorization breaks diagnostic for array out of bound detect.

2021-09-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102462 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-09-23 Ever confirmed|0

[Bug tree-optimization/102466] -O3 -fsanitize=undefined causes warnings (writing 2 bytes into a region of size 0)

2021-09-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102466 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug tree-optimization/102539] [11/12 regression] -Wmaybe-uninitialized false positive, invalid location

2021-09-30 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102539 Martin Sebor changed: What|Removed |Added Resolution|--- |INVALID CC|

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

2021-09-30 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 102539, which changed state. Bug 102539 Summary: [11/12 regression] -Wmaybe-uninitialized false positive, invalid location https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102539 What|Removed

[Bug c/102555] New: missing -Waddress comparing &p[0] to zero

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102555 Bug ID: 102555 Summary: missing -Waddress comparing &p[0] to zero Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/102556] New: equality comparison of a [static N] parameter to null not folded

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102556 Bug ID: 102556 Summary: equality comparison of a [static N] parameter to null not folded Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c/102558] New: missing warning comparing T[static N] to null

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102558 Bug ID: 102558 Summary: missing warning comparing T[static N] to null Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/102559] New: missing warning comparing result of a nonnull function to null

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102559 Bug ID: 102559 Summary: missing warning comparing result of a nonnull function to null Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c/102103] missing warning comparing array address to null

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102103 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/33925] gcc -Waddress lost some useful warnings

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33925 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug c++/33925] [10/11/12 Regression] gcc -Waddress lost some useful warnings

2021-10-04 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33925 Martin Sebor changed: What|Removed |Added Keywords||patch Known to fail|

[Bug middle-end/93644] [10/11/12 Regression] spurious -Wreturn-local-addr with PHI of PHI

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644 --- Comment #19 from Martin Sebor --- GCC 12 has changed to point the warning at the closing curly as suggested in pr90735 so its output now looks like this: pr93644.c: In function ‘careadlinkat’: pr93644.c:30:1: warning: function may return add

[Bug middle-end/90735] missing location in -Wreturn-local-addr on a function with two return statements

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90735 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Last

[Bug tree-optimization/90556] [meta-bug] bogus/missing -Wreturn-local-addr

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90556 Bug 90556 depends on bug 90735, which changed state. Bug 90735 Summary: missing location in -Wreturn-local-addr on a function with two return statements https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90735 What|Removed

[Bug tree-optimization/102192] Curious '-O2'-only '-Wmaybe-uninitialized' diagnostics for 'libgomp.oacc-fortran/routine-10.f90'

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102192 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug middle-end/102630] [12 Regression] Spurious -Warray-bounds with named address space

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Blocks|

[Bug middle-end/102630] [12 Regression] Spurious -Warray-bounds with named address space

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630 --- Comment #3 from Martin Sebor --- If the warning is keeping Glibc from building with GCC 12 then applying the patch until this is resolved (hopefully still in stage 1, or in stage 3) seems like a reasonable workaround. It wouldn't be the fir

[Bug middle-end/102633] New: warning for self-initialization despite -Wno-init-self

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102633 Bug ID: 102633 Summary: warning for self-initialization despite -Wno-init-self Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug middle-end/102633] [11/12 Regression] warning for self-initialization despite -Wno-init-self

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102633 Martin Sebor changed: What|Removed |Added Summary|warning for |[11/12 Regression] warning

[Bug middle-end/102633] [11/12 Regression] warning for self-initialization despite -Wno-init-self

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102633 Martin Sebor changed: What|Removed |Added CC||muecker at gwdg dot de --- Comment #2 fr

[Bug middle-end/102630] [12 Regression] Spurious -Warray-bounds with named address space

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630 Martin Sebor changed: What|Removed |Added Target Milestone|--- |12.0 Status|NEW

[Bug middle-end/102630] [12 Regression] Spurious -Warray-bounds with named address space

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630 --- Comment #4 from Martin Sebor --- A test case is below. Warnings for accesses at address zero are intentionally suppressed (to avoid false positives for unreachable code) but they are issued for accesses at nonzero offsets from null because

[Bug middle-end/102630] [12 Regression] Spurious -Warray-bounds with named address space

2021-10-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630 --- Comment #5 from Martin Sebor --- Section 25.8. Using FS and GS segments in user space applications in https://www.kernel.org/doc/html/latest/x86/x86_64/fsgs.html makes it sound like null might be a valid address in a named address space. I

[Bug middle-end/102669] New: [12 Regression] FAIL: gnat.dg/unroll1.adb scan-rtl-dump-times loop2_unroll

2021-10-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102669 Bug ID: 102669 Summary: [12 Regression] FAIL: gnat.dg/unroll1.adb scan-rtl-dump-times loop2_unroll Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: nor

[Bug middle-end/102630] [12 Regression] Spurious -Warray-bounds with named address space

2021-10-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #6 from Martin Sebor

[Bug testsuite/102658] [12 regression] Many test case failures after r12-4240

2021-10-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102658 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #5

[Bug bootstrap/102681] [12 Regression] AArch64 bootstrap failure

2021-10-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102681 --- Comment #3 from Martin Sebor --- Simply initializing the variable as in the patch below avoids the warning. The control flow in the code is sufficiently opaque to make it worthwhile from a readability point irrespective of whether or not th

[Bug middle-end/102687] New: [12 Regression] bootstrap ICE in insert_access, at ipa-modref-tree.h:582

2021-10-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102687 Bug ID: 102687 Summary: [12 Regression] bootstrap ICE in insert_access, at ipa-modref-tree.h:582 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norma

[Bug middle-end/102687] [12 Regression] bootstrap ICE in insert_access, at ipa-modref-tree.h:582

2021-10-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102687 --- Comment #2 from Martin Sebor --- The patch gets rid of the ICE and I don't see any unexpected failures in the test suite, thanks!

[Bug middle-end/102453] buffer overflow by atomic built-ins not diagnosed

2021-10-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102453 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #1 from Martin Sebor

[Bug analyzer/102695] New: missing -Wanalyzer-write-to-const for writing to string, function, label, or const member

2021-10-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102695 Bug ID: 102695 Summary: missing -Wanalyzer-write-to-const for writing to string, function, label, or const member Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug middle-end/102697] [12 Regression] overflow warning missing after -O2 vectorization

2021-10-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102697 Martin Sebor changed: What|Removed |Added Summary|[Diagnostics] overflow |[12 Regression] overflow

[Bug tree-optimization/102706] [12 regression] -O2 vectorization causes regression in Warray-bounds-48.c on many targets

2021-10-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102706 Martin Sebor changed: What|Removed |Added CC||crazylht at gmail dot com Keyw

[Bug middle-end/102700] [12 Regression] wrong location in -Wuninitialized after -O2 vectorization

2021-10-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102700 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-10-12 CC|

[Bug other/102718] New: gtype-desc.c function redefinition error for gt_ggc_xxx (int_hash

2021-10-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102718 Bug ID: 102718 Summary: gtype-desc.c function redefinition error for gt_ggc_xxx (int_hash&) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c/101836] __builtin_object_size(P->M, 1) where M is an array and the last member of a struct fails

2021-10-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-10-13 Ever confirmed|0

[Bug middle-end/101836] __builtin_object_size(P->M, 1) where M is an array and the last member of a struct fails

2021-10-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 Martin Sebor changed: What|Removed |Added Severity|normal |enhancement Component|c

[Bug testsuite/102720] [12 regression] gcc.dg/tree-ssa/ldist-strlen-1.c and ldist-strlen-2.c fail after r12-4234

2021-10-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102720 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-10-13 Ever confirmed|0

[Bug c++/102726] Does not warn for enum constant in boolean context

2021-10-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102726 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-10-13 Status|UNCONFIRME

[Bug tree-optimization/99580] False positive -Warray-bounds with nested loops

2021-10-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99580 Martin Sebor changed: What|Removed |Added Last reconfirmed|2021-03-14 00:00:00 |2021-10-13 Summary|False posit

[Bug middle-end/102731] New: inconsistent handling of dereferncing a null pointer

2021-10-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102731 Bug ID: 102731 Summary: inconsistent handling of dereferncing a null pointer Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug middle-end/102731] inconsistent handling of dereferncing a null pointer

2021-10-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102731 Martin Sebor changed: What|Removed |Added Blocks||56456, 88443 Keywords|

[Bug target/102733] New: missing fs:0 store when followed by one to gs:0

2021-10-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102733 Bug ID: 102733 Summary: missing fs:0 store when followed by one to gs:0 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/102630] [12 Regression] Spurious -Warray-bounds with named address space

2021-10-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2021-10-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 102630, which changed state. Bug 102630 Summary: [12 Regression] Spurious -Warray-bounds with named address space https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102630 What|Removed |Added

[Bug rtl-optimization/102733] missing fs:0 store when followed by one to gs:0

2021-10-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102733 --- Comment #3 from Martin Sebor --- A couple of data points: I see the same behavior for any constant address (not just null). Clang 12 behaves the same as GCC, but Clang 13 emits both stores, suggesting they fixed it as a bug: https://godb

[Bug tree-optimization/102744] [12 regression] -O2 vectorization causes Wzero-length-array-bounds-2.c to fail on arc-elf

2021-10-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102744 Martin Sebor changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org Last recon

[Bug tree-optimization/102759] [12 Regression] ICE: Segmentation fault in maybe_check_access_sizes since r12-2976-gb48d4e6818674898

2021-10-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102759 Martin Sebor changed: What|Removed |Added Keywords|diagnostic |ice-on-valid-code Status|NEW

[Bug middle-end/102810] [11/12 Regression] Bogus Wstringop-overread passing a smaller array to an array parameter without a bound

2021-10-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102810 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Ever confi

[Bug bootstrap/102828] [12 Regression] ODR violation in gimple-predicate-analysis.h since g:94c12ffac234

2021-10-19 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102828 Martin Sebor changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #

[Bug c/102848] New: missing warning for bitfield overflow in C

2021-10-19 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102848 Bug ID: 102848 Summary: missing warning for bitfield overflow in C Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/102849] New: missing warning for unsigned bitfield tests for negativity

2021-10-19 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102849 Bug ID: 102849 Summary: missing warning for unsigned bitfield tests for negativity Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c/102867] [12 Regression] Waddress complaint in readelf.c

2021-10-21 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102867 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug middle-end/102887] New: wrong warning location with macro expansion

2021-10-21 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102887 Bug ID: 102887 Summary: wrong warning location with macro expansion Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: midd

[Bug middle-end/102887] wrong warning location with macro expansion

2021-10-21 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102887 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Last reconfirmed|

[Bug sanitizer/81981] [8 Regression] -fsanitize=undefined makes a -Wmaybe-uninitialized warning disappear

2021-10-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81981 Martin Sebor changed: What|Removed |Added Known to fail||12.0 Known to work|

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

2021-10-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 81981, which changed state. Bug 81981 Summary: [8 Regression] -fsanitize=undefined makes a -Wmaybe-uninitialized warning disappear https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81981 What|Removed

[Bug c/102867] [12 Regression] -Waddress from macro expansion in readelf.c

2021-10-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102867 Martin Sebor changed: What|Removed |Added Summary|[12 Regression] Waddress|[12 Regression] -Waddress

[Bug tree-optimization/102919] New: spurious -Wrestrict warning for sprintf into the same member array as argument plus offset

2021-10-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102919 Bug ID: 102919 Summary: spurious -Wrestrict warning for sprintf into the same member array as argument plus offset Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/102919] spurious -Wrestrict warning for sprintf into the same member array as argument plus offset

2021-10-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102919 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/102919] spurious -Wrestrict warning for sprintf into the same member array as argument plus offset

2021-10-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102919 Martin Sebor changed: What|Removed |Added Keywords||patch Target Milestone|---

<    10   11   12   13   14   15   16   17   18   >