https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116735
--- Comment #3 from qinzhao at gcc dot gnu.org ---
This is a bug when handling the counted_by attribute when the corresponding
field doesn't exist.
under such situation, in addition to issue error, we also need to remove the
added "counted_by" a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88771
qinzhao at gcc dot gnu.org changed:
What|Removed |Added
CC||qinzhao at gcc dot gnu.org
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116585
--- Comment #5 from qinzhao at gcc dot gnu.org ---
(In reply to Richard Biener from comment #4)
> Fixed on trunk sofar.
thanks a lot for fixing this so quick.
Will this patch be backported to older releases?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116519
--- Comment #3 from qinzhao at gcc dot gnu.org ---
The warning disappears after adding -fno-thread-jumps.
looks like similar issue as PR109071
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108770
qinzhao at gcc dot gnu.org changed:
What|Removed |Added
CC||qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106762
qinzhao at gcc dot gnu.org changed:
What|Removed |Added
CC||qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85788
qinzhao at gcc dot gnu.org changed:
What|Removed |Added
CC||qinzhao at gcc dot gnu.org
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016
qinzhao at gcc dot gnu.org changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UN
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119001
qinzhao at gcc dot gnu.org changed:
What|Removed |Added
Assignee|qinzhao at gcc dot gnu.org |unassigned at gcc dot
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119716
--- Comment #5 from qinzhao at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #4)
> If the compiler compiles it and it misbehaves at runtime, that is valid
> behavior for undefined behavior. ICE (as in the other PR) is something we
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119716
qinzhao at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119716
Bug ID: 119716
Summary: segmentation fault when Passing NULL pointer to _bdos
with counted_by attribute
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119716
qinzhao at gcc dot gnu.org changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |qinzhao at gcc dot
g
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119717
Bug ID: 119717
Summary: ICE in gimplify_expr, at gimplify.cc:20339 due to
counted_by attribute
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119717
--- Comment #1 from qinzhao at gcc dot gnu.org ---
the reason for the ICE is:
in C FE, there is a C_MAYBE_CONST_EXPR that is generated for converting the
parameter "x" to integer type before comparing with integer constant 0 as:
arg
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119717
--- Comment #3 from qinzhao at gcc dot gnu.org ---
(In reply to uecker from comment #2)
> I guess you need to use c_fully_fold
Yes. thanks for the hints.
in c_fully_fold, it assumes:
/* Operands of variable-length expressions (function calls
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119717
qinzhao at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119716
--- Comment #3 from qinzhao at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #2)
> This is invalid testcase.
> E.g. replace return __builtin_dynamic_object_size (p, 1); with return 0;
> and try both gcc -fsanitize=undefined -g -O0 o
301 - 318 of 318 matches
Mail list logo