public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/103759] New: [12 Regression] memcpy-chk failure for 32 bits
@ 2021-12-17 19:24 dje at gcc dot gnu.org
2021-12-17 19:24 ` [Bug tree-optimization/103759] " dje at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: dje at gcc dot gnu.org @ 2021-12-17 19:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103759
Bug ID: 103759
Summary: [12 Regression] memcpy-chk failure for 32 bits
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: dje at gcc dot gnu.org
Target Milestone: ---
Target: powerpc-*-* i386-*-*
memcpy-chk, memmove-chk, mempcpy-chk, memset-chk, stpcpy-chk test cases now all
fail in 32 bit mode.
https://gcc.gnu.org/pipermail/gcc-testresults/2021-December/742567.html
https://gcc.gnu.org/pipermail/gcc-testresults/2021-December/742553.html
https://gcc.gnu.org/pipermail/gcc-testresults/2021-December/742564.html
https://gcc.gnu.org/pipermail/gcc-testresults/2021-December/742535.html
between r12-6029 and r12-6031
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/103759] [12 Regression] memcpy-chk failure for 32 bits
2021-12-17 19:24 [Bug tree-optimization/103759] New: [12 Regression] memcpy-chk failure for 32 bits dje at gcc dot gnu.org
@ 2021-12-17 19:24 ` dje at gcc dot gnu.org
2021-12-17 19:33 ` siddhesh at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dje at gcc dot gnu.org @ 2021-12-17 19:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103759
David Edelsohn <dje at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2021-12-17
Status|UNCONFIRMED |NEW
--- Comment #1 from David Edelsohn <dje at gcc dot gnu.org> ---
Confirmed
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/103759] [12 Regression] memcpy-chk failure for 32 bits
2021-12-17 19:24 [Bug tree-optimization/103759] New: [12 Regression] memcpy-chk failure for 32 bits dje at gcc dot gnu.org
2021-12-17 19:24 ` [Bug tree-optimization/103759] " dje at gcc dot gnu.org
@ 2021-12-17 19:33 ` siddhesh at gcc dot gnu.org
2021-12-17 21:25 ` siddhesh at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: siddhesh at gcc dot gnu.org @ 2021-12-17 19:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103759
Siddhesh Poyarekar <siddhesh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |siddhesh at gcc dot gnu.org
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/103759] [12 Regression] memcpy-chk failure for 32 bits
2021-12-17 19:24 [Bug tree-optimization/103759] New: [12 Regression] memcpy-chk failure for 32 bits dje at gcc dot gnu.org
2021-12-17 19:24 ` [Bug tree-optimization/103759] " dje at gcc dot gnu.org
2021-12-17 19:33 ` siddhesh at gcc dot gnu.org
@ 2021-12-17 21:25 ` siddhesh at gcc dot gnu.org
2021-12-18 11:17 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: siddhesh at gcc dot gnu.org @ 2021-12-17 21:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103759
--- Comment #2 from Siddhesh Poyarekar <siddhesh at gcc dot gnu.org> ---
I've posted a candidate fix:
https://patchwork.sourceware.org/project/gcc/patch/20211217212347.72617-1-siddhesh@gotplt.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/103759] [12 Regression] memcpy-chk failure for 32 bits
2021-12-17 19:24 [Bug tree-optimization/103759] New: [12 Regression] memcpy-chk failure for 32 bits dje at gcc dot gnu.org
` (2 preceding siblings ...)
2021-12-17 21:25 ` siddhesh at gcc dot gnu.org
@ 2021-12-18 11:17 ` cvs-commit at gcc dot gnu.org
2021-12-20 9:03 ` marxin at gcc dot gnu.org
2021-12-20 14:09 ` dje at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-12-18 11:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103759
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Siddhesh Poyarekar
<siddhesh@gcc.gnu.org>:
https://gcc.gnu.org/g:cc032ec1ecb34b006f42e170ccb9d76aa42fd8eb
commit r12-6056-gcc032ec1ecb34b006f42e170ccb9d76aa42fd8eb
Author: Siddhesh Poyarekar <siddhesh@gotplt.org>
Date: Sat Dec 18 16:46:43 2021 +0530
tree-optimization/103759: Use sizetype everywhere for object sizes
Since all computations in tree-object-size are now done in sizetype and
not HOST_WIDE_INT, comparisons with HOST_WIDE_INT based unknown and
initval would be incorrect. Instead, use the sizetype trees directly to
generate and evaluate initval and unknown size values.
gcc/ChangeLog:
PR tree-optimization/103759
* tree-object-size.c (unknown, initval): Remove functions.
(size_unknown, size_initval, size_unknown_p): Operate directly
on trees.
Signed-off-by: Siddhesh Poyarekar <siddhesh@gotplt.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/103759] [12 Regression] memcpy-chk failure for 32 bits
2021-12-17 19:24 [Bug tree-optimization/103759] New: [12 Regression] memcpy-chk failure for 32 bits dje at gcc dot gnu.org
` (3 preceding siblings ...)
2021-12-18 11:17 ` cvs-commit at gcc dot gnu.org
@ 2021-12-20 9:03 ` marxin at gcc dot gnu.org
2021-12-20 14:09 ` dje at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-12-20 9:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103759
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marxin at gcc dot gnu.org
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Can we close it as fixed?
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/103759] [12 Regression] memcpy-chk failure for 32 bits
2021-12-17 19:24 [Bug tree-optimization/103759] New: [12 Regression] memcpy-chk failure for 32 bits dje at gcc dot gnu.org
` (4 preceding siblings ...)
2021-12-20 9:03 ` marxin at gcc dot gnu.org
@ 2021-12-20 14:09 ` dje at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: dje at gcc dot gnu.org @ 2021-12-20 14:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103759
David Edelsohn <dje at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from David Edelsohn <dje at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-12-20 14:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-17 19:24 [Bug tree-optimization/103759] New: [12 Regression] memcpy-chk failure for 32 bits dje at gcc dot gnu.org
2021-12-17 19:24 ` [Bug tree-optimization/103759] " dje at gcc dot gnu.org
2021-12-17 19:33 ` siddhesh at gcc dot gnu.org
2021-12-17 21:25 ` siddhesh at gcc dot gnu.org
2021-12-18 11:17 ` cvs-commit at gcc dot gnu.org
2021-12-20 9:03 ` marxin at gcc dot gnu.org
2021-12-20 14:09 ` dje at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).