https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97188
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=97175
--- Comment #8 from Martin Sebor ---
*** Bug 97190 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97190
Martin Sebor changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97188
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #1 from Martin Sebor -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97201
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=97201
--- Comment #2 from Martin Sebor ---
Just a correction to the comment:
+ /* Zero-length arrays have a null upper bound in C++ and
+SIZE_MAX in C. */
It's actually the other way around.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97201
--- Comment #3 from Martin Sebor ---
The decision to use null for the upper bound can be traced to this message:
https://gcc.gnu.org/pipermail/gcc-patches/2015-December/437361.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97206
Martin Sebor changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97201
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #4 from Martin Sebor -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97206
--- Comment #4 from Martin Sebor ---
A different/simpler test case that doesn't involve a call to
handle_access_attribute():
$ cat pr97206.c && gcc -O2 -S -Wall pr97206.c
void a (char *);
void a (char [restrict]);
extern const char b[];
extern
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94195
--- Comment #4 from Martin Sebor ---
(In reply to Dmitry G. Dyachenko from comment #3)
The warning is expected. The access to pS->s1.x implies that there must be an
object at pS that's at least sizeof *pS large, even though only the leading 4
b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94195
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 94195, which changed state.
Bug 94195 Summary: missing warning reading a smaller object via an lvalue of a
larger type
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94195
What|Removed |A
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97206
Martin Sebor changed:
What|Removed |Added
CC||jsm28 at gcc dot gnu.org
--- Comment #5 f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97206
--- Comment #6 from Martin Sebor ---
Testing this fix:
diff --git a/gcc/attribs.c b/gcc/attribs.c
index abc75368e6c..262e4b8f7b9 100644
--- a/gcc/attribs.c
+++ b/gcc/attribs.c
@@ -2278,7 +2278,7 @@ attr_access::array_as_string (tree type) const
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97206
Martin Sebor changed:
What|Removed |Added
Keywords||ice-on-valid-code, patch
--- Comment #7 f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97188
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97189
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=95673
Martin Sebor changed:
What|Removed |Added
Blocks||83819
--- Comment #6 from Martin Sebor -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97206
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97189
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97260
Bug ID: 97260
Summary: memcmp of constant string and local constant array not
folded
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
P
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97260
Martin Sebor changed:
What|Removed |Added
Known to work||4.8.5
Known to fail|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97260
--- Comment #2 from Martin Sebor ---
Bisection points to r200211 as the first commit after which the call wasn't
folded:
commit 6a6dac5293ee21d9aed0d394a0cb23948bb1efad
Author: Jan Hubicka
Date: Wed Jun 19 20:06:12 2013 +0200
cgraph.h (c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97261
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97133
Martin Sebor changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97172
--- Comment #4 from Martin Sebor ---
*** Bug 97133 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97172
--- Comment #5 from Martin Sebor ---
I'm not at all familiar with this part of GCC so I'm not sure what needs to be
done here. It seems to me that the streamer is missing support for certain
trees under some conditions. It knows how to stream S
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97260
--- Comment #4 from Martin Sebor ---
It should be possible to handle in the strlen pass.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95673
Martin Sebor changed:
What|Removed |Added
Target Milestone|--- |11.0
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97298
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97172
Martin Sebor changed:
What|Removed |Added
CC||seurer at gcc dot gnu.org
--- Comment #6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97336
Martin Sebor changed:
What|Removed |Added
Resolution|--- |INVALID
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189
Martin Sebor changed:
What|Removed |Added
Known to fail|10.1.0 |
--- Comment #23 from Martin Sebor ---
B
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97342
Bug ID: 97342
Summary: bogus -Wstringop-overflow with nonzero signed and
unsigned offsets
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98281
Martin Sebor changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94021
--- Comment #8 from Martin Sebor ---
*** Bug 98281 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98355
Martin Sebor changed:
What|Removed |Added
Ever confirmed|0 |1
See Also|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98373
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97172
Martin Sebor changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85997
Martin Sebor changed:
What|Removed |Added
Last reconfirmed||2020-12-18
See Also|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98217
Martin Sebor changed:
What|Removed |Added
Status|WAITING |ASSIGNED
Assignee|unassigned at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83174
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Known to work|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98379
Bug ID: 98379
Summary: Unknown tree: c_maybe_const_expr in a warning
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98373
Martin Sebor changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97172
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #22 from Martin Sebor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98405
Bug ID: 98405
Summary: missing -Wmaybe-uninitialized passing a member by
reference in a ctor initializer list
Product: gcc
Version: unknown
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98405
Martin Sebor changed:
What|Removed |Added
Blocks||24639
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98406
Bug ID: 98406
Summary: missing -Wmaybe-uninitialized passing a member by
reference
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Pri
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98413
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=98160
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|REOPENED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163
Bug 26163 depends on bug 98160, which changed state.
Bug 98160 Summary: [11 Regression] ICE in default_tree_printer at
gcc/tree-diagnostic.c:270 since r11-5732-gdce6c58db87ebf7f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98160
What
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98413
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Summary|[11 Regressio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98444
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
Last reconfir
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
Keywo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465
--- Comment #4 from Martin Sebor ---
(In reply to Romain Geissler from comment #2)
> There seems to be a strange interaction between -Wsystem-headers and -g in
> gcc 11 which I don't understand.
Thanks for the -g hint; with it I can see it on my
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98483
Bug ID: 98483
Summary: missing -Warray-bounds for out of bounds accesses in
system headers
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98484
Bug ID: 98484
Summary: missing -Wstringop-overflow on a multiply inlined
calls from system header
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: norma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98484
Martin Sebor changed:
What|Removed |Added
Summary|missing -Wstringop-overflow |missing -Wstringop-overflow
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98492
Bug ID: 98492
Summary: C++ pp_gimple_stmt_1 doesn't output function call
arguments
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Pri
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95768
--- Comment #8 from Martin Sebor ---
Updated patch:
https://gcc.gnu.org/pipermail/gcc-patches/2021-January/562665.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
Martin Sebor changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 98503, which changed state.
Bug 98503 Summary: [11 regression] -Warray-bounds false positive with global
variables at -O2 since r11-3306-g3f9a497d1b0dd9da
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
Wha
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
Martin Sebor changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 98503, which changed state.
Bug 98503 Summary: [11 regression] -Warray-bounds false positive with global
variables at -O2 since r11-3306-g3f9a497d1b0dd9da
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
Wha
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98512
Martin Sebor changed:
What|Removed |Added
Known to fail||11.0
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98512
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=98503
--- Comment #10 from Martin Sebor ---
The main purpose of the "partly outside" warning is to detect reads/writes that
cross the trailing array boundary. Those typically come up when a "typeless"
buffer (either char array or one allocated by a fu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98539
Martin Sebor changed:
What|Removed |Added
Keywords||diagnostic
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98539
--- Comment #2 from Martin Sebor ---
*** Bug 98091 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98091
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98536
Martin Sebor changed:
What|Removed |Added
Keywords||diagnostic
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98508
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98508
--- Comment #5 from Martin Sebor ---
There's no need to change the fn spec. The simple (and safe) solution to this
request is to check calls to see if they're to IFN_ASAN_MARK, like this:
diff --git a/gcc/tree-ssa-uninit.c b/gcc/tree-ssa-uninit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98548
Bug ID: 98548
Summary: missing warning on strcmp with a nonstring member
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98553
Bug ID: 98553
Summary: missing warning on strncmp reading past the end of a
zero size member array
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: norm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98561
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95353
Martin Sebor changed:
What|Removed |Added
CC||alexander.grund@tu-dresden.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443
Bug 88443 depends on bug 98561, which changed state.
Bug 98561 Summary: -Wstringop-overflow triggered when memcpy to single char and
writing to differently sized array members
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98561
What
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98566
--- Comment #3 from Martin Sebor ---
I suspect I meant for the test to only be compiled in C++ 14 and up, but it has
{ dg-do compile { target c++11 } } at the top so that seems wrong. But the
test log shows that it is only compiled in c++14 mode
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98571
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98541
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98541
--- Comment #2 from Martin Sebor ---
(In reply to Martin Sebor from comment #1)
> and necessary to prevent this use case.
I mean: ...to prevent invalidating it.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98305
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95768
Martin Sebor changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465
--- Comment #5 from Martin Sebor ---
Comparing the code emitted by GCC 10 and the current trunk shows that the
former doesn't inline std::string::replace() regardless of the inlining limit.
The translation unit obtained with the former shows dec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465
--- Comment #6 from Martin Sebor ---
Different -std= settings also affect the warning, again as a result of inlining
and the explicit instantiation declarations. The basic_string.tcc file has the
following block toward the end which explains whe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465
--- Comment #7 from Martin Sebor ---
Adding #pragma GCC diagnostic ignore "-Wstringop-overread" to
string::_M_replace(size_type, size_type, const _CharT*, const size_type)
doesn't suppress the warning, either on trunk, or (with "-Wstringop-overfl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98583
Bug ID: 98583
Summary: missing -Wuninitialized reading from a second VLA in
its own block
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98587
Bug ID: 98587
Summary: incorrect format of VLAs and pointer to array for
MEM_REF
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Prior
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98587
Martin Sebor changed:
What|Removed |Added
Severity|normal |trivial
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98588
Bug ID: 98588
Summary: VLA index formatted as when it could be
expanded into an expression
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: trivial
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98588
Martin Sebor changed:
What|Removed |Added
Keywords||diagnostic
See Also|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98578
Martin Sebor changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465
Martin Sebor changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98578
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98589
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=98592
Bug ID: 98592
Summary: ICE in gimple_canonical_types_compatible_p while
formatting a MEM_REF
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98097
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #4 from Martin Sebor -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98592
--- Comment #2 from Martin Sebor ---
The idea is to print the cast indicating the MEM_REF type only when the size of
the accessed type is different from the size of the element type of the
underlying array or pointer. Structural equivalence seem
501 - 600 of 1726 matches
Mail list logo