https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96988
Martin Sebor changed:
What|Removed |Added
Component|c++ |middle-end
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63272
Martin Sebor changed:
What|Removed |Added
CC||oleg.pekar.2017 at gmail dot
com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98901
Martin Sebor changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103104
Martin Sebor changed:
What|Removed |Added
Last reconfirmed||2021-12-16
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101751
Martin Sebor changed:
What|Removed |Added
Component|testsuite |middle-end
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101604
Bug 101604 depends on bug 101289, which changed state.
Bug 101289 Summary: [11 Regression] bogus -Wvla-paramater warning when using
const for vla param
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101289
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101289
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103703
Martin Sebor changed:
What|Removed |Added
Target Milestone|--- |11.3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103703
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102697
--- Comment #4 from Martin Sebor ---
The warning for the test in comment #0 fails to trigger because of the hack
below in pointer-query.cc:
/* A helper of compute_objsize_r() to determine the size from MEM_REF
MREF. Return true on success
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101475
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103751
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103751
Martin Sebor changed:
What|Removed |Added
Blocks|56456 |
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443
Bug 88443 depends on bug 102722, which changed state.
Bug 102722 Summary: [Disgnostic]Xpass for gcc.dg/Wstringop-overflow-68.c after
O2 vectorization.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102722
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101475
Martin Sebor changed:
What|Removed |Added
CC||crazylht at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102722
Martin Sebor changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Target|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102944
Martin Sebor changed:
What|Removed |Added
Ever confirmed|0 |1
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103751
Bug ID: 103751
Summary: FAIL: gcc.dg/Warray-bounds-48.c (test for excess
errors)
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91707
--- Comment #12 from Martin Sebor ---
Here's a slightly simplified test case for GCC 12:
$ cat z.c && gcc -O2 -S -Wall -fsanitize=undefined z.c
extern void f (unsigned n, long[n], const long[n]);
void g (unsigned n, const long a[n])
{
long
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91707
Martin Sebor changed:
What|Removed |Added
Last reconfirmed|2021-01-21 00:00:00 |2021-12-15
Known to fail|11.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40635
Martin Sebor changed:
What|Removed |Added
CC||pinskia at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40635
Martin Sebor changed:
What|Removed |Added
Summary|bogus name and location in |[12 Regression] bogus name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40635
--- Comment #16 from Martin Sebor ---
With the patch in comment #13 committed in
g:9695e1c23be5b5c55d572ced152897313ddb96ae GCC 12 prints the following for the
test case in comment #0:
pr40635.c: In function ‘server_init’:
pr40635.c:14:9:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54924
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90906
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #3 from Martin Sebor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80532
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #8 from Martin Sebor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 85651, which changed state.
Bug 85651 Summary: Invalid -Warray-bounds warning with -O3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85651
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85651
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103736
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 91457, which changed state.
Bug 91457 Summary: FAIL: g++.dg/warn/Warray-bounds-4.C -std=gnu++98 (test for
warnings, line 25)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91457
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91457
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98166
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81592
Bug 81592 depends on bug 78969, which changed state.
Bug 78969 Summary: bogus snprintf truncation warning due to missing range info
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78969
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78969
Martin Sebor changed:
What|Removed |Added
Known to fail|8.0 |10.3.0, 11.2.0, 8.3.0,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103703
Martin Sebor changed:
What|Removed |Added
Known to fail||11.2.0, 12.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102036
Martin Sebor changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103372
Martin Sebor changed:
What|Removed |Added
Depends on||99612
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103483
--- Comment #13 from Martin Sebor ---
The warning for the test case in comment #12 isn't directly related to ranges:
it's issued simply because the invalid statement is in the IL and not
eliminated by DCE (the secret functions don't let it).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103658
--- Comment #1 from Martin Sebor ---
Actually, what I was really after is trying to see if the analyzer would print
the conditionals involved in the subscript expressions. But in the simple test
case in comment #0 there are no conditionals.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103658
Bug ID: 103658
Summary: missing -Wanalyzer-use-of-uninitialized-value at -O1
and below for an array access
Product: gcc
Version: 12.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103534
--- Comment #8 from Martin Sebor ---
We discussed before (e.g., in PR 93971) the idea of annotating std::string with
some attribute telling the optimizer the internal pointer doesn't alias with
anything except for the this->_M_local_buf or the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 103215, which changed state.
Bug 103215 Summary: [12 regression] gcc generates unexpected warnings on
libx11-1.7.2: error: array subscript -2 is outside array bounds of since
r12-3124-g820f0940d7ace130
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103215
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103637
Bug ID: 103637
Summary: [12 Regression] missing warning writing past the end
of one of multiple elements of the same array
Product: gcc
Version: 12.0
Status:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101397
Bug 101397 depends on bug 103143, which changed state.
Bug 103143 Summary: [12 Regression] ICE due to infinite recursion in
pointer-query.cc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103143
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103143
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103332
Martin Sebor changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96658
Martin Sebor changed:
What|Removed |Added
Ever confirmed|0 |1
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99612
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #4 from Martin Sebor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103542
Martin Sebor changed:
What|Removed |Added
Keywords||missed-optimization
Blocks|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103534
--- Comment #4 from Martin Sebor ---
Yes, the warning does disappear when malloc() and free() are used instead of
operator new and delete. foo() also ends up much better optimized, even at
-O1:
__attribute__((abi_tag ("cxx11")))
struct string
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103483
Martin Sebor changed:
What|Removed |Added
Keywords|missed-optimization |
--- Comment #10 from Martin Sebor ---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96188
Martin Sebor changed:
What|Removed |Added
Known to work||12.0
--- Comment #9 from Martin Sebor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100366
Martin Sebor changed:
What|Removed |Added
Known to fail||11.2.0, 12.0
Last
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103534
Martin Sebor changed:
What|Removed |Added
Keywords||diagnostic
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443
Bug 88443 depends on bug 103483, which changed state.
Bug 103483 Summary: context-sensitive ranges change triggers stringop-overread
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103483
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103483
Martin Sebor changed:
What|Removed |Added
Resolution|--- |WONTFIX
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103483
Martin Sebor changed:
What|Removed |Added
Component|c++ |middle-end
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103469
Martin Sebor changed:
What|Removed |Added
Keywords||diagnostic
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403
Bug 87403 depends on bug 88232, which changed state.
Bug 88232 Summary: Please implement -Winfinite-recursion
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88232
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88232
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103360
Bug 103360 depends on bug 96507, which changed state.
Bug 96507 Summary: missing -Waddress for member references
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96507
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96507
Martin Sebor changed:
What|Removed |Added
Target Milestone|--- |12.0
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79074
Martin Sebor changed:
What|Removed |Added
Known to fail||10.2.0, 11.2.0, 12.0,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96507
Martin Sebor changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103215
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #7 from Martin Sebor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103369
Bug ID: 103369
Summary: [12 Regression] gfortran.dg/vector_subscript_1.f90
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103363
Martin Sebor changed:
What|Removed |Added
Known to fail||10.3.0, 11.2.0, 12.0,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103363
Bug ID: 103363
Summary: confusing -Wnonnull-compare testing a reference
argument for equality to null
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96507
Martin Sebor changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103343
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103360
Martin Sebor changed:
What|Removed |Added
Last reconfirmed||2021-11-22
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103360
Bug ID: 103360
Summary: [meta-bug] bogus/missing -Waddress
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78989
--- Comment #9 from Martin Sebor ---
GCC 12 (and prior, down to 10) warns for the test case:
$ cat pr78989.ii && gcc -S -Wall pr78989.ii
int
asan_poison_variables ()
{
return (asan_poison_variables &&
# 6 "gimplify.cpp" 3 4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102867
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33925
Martin Sebor changed:
What|Removed |Added
Known to work||12.0
Summary|[10/11/12
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103334
Bug ID: 103334
Summary: missing -Wc++-compat for a function redeclared with
different qualifiers
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103332
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
See
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103310
Martin Sebor changed:
What|Removed |Added
Component|middle-end |c
--- Comment #1 from Martin Sebor ---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
Martin Sebor changed:
What|Removed |Added
CC||slyfox at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103292
Martin Sebor changed:
What|Removed |Added
Resolution|INVALID |DUPLICATE
Component|c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102759
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103310
Bug ID: 103310
Summary: null comparison with a weak symbol eliminated
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101702
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103292
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101702
--- Comment #5 from Martin Sebor ---
(In reply to Jakub Jelinek from comment #4)
> Martin clearly prefers some other fix, so I'll let him fix it himself.
I think I just misread your change. It doesn't cause the problem I was
concerned about.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102960
Martin Sebor changed:
What|Removed |Added
Known to fail|12.0|
Known to work|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223
--- Comment #9 from Martin Sebor ---
Outside of code comments only the user-visible attribute access interface is
documented in the manual.
The main difference is probably that attribute access can be added by the user
for any pair of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103176
--- Comment #7 from Martin Sebor ---
You're welcome and no need to apologize. We want to improve the warnings (and
the rest of the compiler) and these reports help us understand both the
limitations and opportunities for improvements, or at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102759
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #4 from Martin Sebor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223
--- Comment #7 from Martin Sebor ---
For an attribute access that's explicitly specified on the declaration of a
function I think these steps should work:
1) Call init_attr_rdwr_indices() to initialize the mapping for the original
function
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103215
Martin Sebor changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103215
Martin Sebor changed:
What|Removed |Added
Blocks||56456
--- Comment #6 from Martin Sebor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101702
Martin Sebor changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102009
--- Comment #3 from Martin Sebor ---
gimple_builtin_call_types_compatible_p() returns false even for calls with
trivial mismatches like an int where a size_t is expected. I would prefer a
less restrictive test that doesn't prevent detecting
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103223
--- Comment #5 from Martin Sebor ---
(In reply to Martin Jambor from comment #4)
> (In reply to Jan Hubicka from comment #0)
...
> > Martin, I wonder if if you would be OK with simply dropping the access when
> > function signature changes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443
Bug 88443 depends on bug 103176, which changed state.
Bug 103176 Summary: -foptimize-strlen causes stringop-overflow warning
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103176
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103176
Martin Sebor changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97048
Bug 97048 depends on bug 98465, which changed state.
Bug 98465 Summary: Bogus -Wstringop-overread with -std=gnu++20 -O2 and
std::string::insert
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465
Martin Sebor changed:
What|Removed |Added
Known to fail|11.0|
Resolution|---
301 - 400 of 1726 matches
Mail list logo