public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/98378] New: new valgrind error for ./gcc.c-torture/execute/pr60960.c
@ 2020-12-18 17:26 dcb314 at hotmail dot com
2020-12-18 17:35 ` [Bug c/98378] " dcb314 at hotmail dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2020-12-18 17:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98378
Bug ID: 98378
Summary: new valgrind error for
./gcc.c-torture/execute/pr60960.c
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Last week's valgrind build of trunk gcc, hash 97b56dece7413839,
compiled ./gcc.c-torture/execute/pr60960.c fine.
This week's valgrind build of trunk gcc, hash dc00689332f023d9
doesn't. This is what it does:
==471616== Conditional jump or move depends on uninitialised value(s)
==471616== at 0x15CF3B5: (anonymous
namespace)::find_bswap_or_nop_finalize((anonymous namespace)::symbolic_number*,
unsigned long*, unsigned long*) (gimple-ssa-store-merging.c:807)
Source code gimple-ssa-store-merging.c:807 is
if (n->base_addr)
Flag -O2 used on source code file gcc.c-torture/execute/pr60960.c
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/98378] new valgrind error for ./gcc.c-torture/execute/pr60960.c
2020-12-18 17:26 [Bug c/98378] New: new valgrind error for ./gcc.c-torture/execute/pr60960.c dcb314 at hotmail dot com
@ 2020-12-18 17:35 ` dcb314 at hotmail dot com
2020-12-18 17:58 ` dcb314 at hotmail dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2020-12-18 17:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98378
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
git bisect in progress. Trying hash f23753c710d54fdf.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/98378] new valgrind error for ./gcc.c-torture/execute/pr60960.c
2020-12-18 17:26 [Bug c/98378] New: new valgrind error for ./gcc.c-torture/execute/pr60960.c dcb314 at hotmail dot com
2020-12-18 17:35 ` [Bug c/98378] " dcb314 at hotmail dot com
@ 2020-12-18 17:58 ` dcb314 at hotmail dot com
2020-12-18 18:28 ` dcb314 at hotmail dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2020-12-18 17:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98378
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
Looks good. Trying 0dd48296433763ba
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/98378] new valgrind error for ./gcc.c-torture/execute/pr60960.c
2020-12-18 17:26 [Bug c/98378] New: new valgrind error for ./gcc.c-torture/execute/pr60960.c dcb314 at hotmail dot com
2020-12-18 17:35 ` [Bug c/98378] " dcb314 at hotmail dot com
2020-12-18 17:58 ` dcb314 at hotmail dot com
@ 2020-12-18 18:28 ` dcb314 at hotmail dot com
2020-12-18 18:51 ` dcb314 at hotmail dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2020-12-18 18:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98378
--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
Looks bad. Trying 571d3fb1f40fa85c
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/98378] new valgrind error for ./gcc.c-torture/execute/pr60960.c
2020-12-18 17:26 [Bug c/98378] New: new valgrind error for ./gcc.c-torture/execute/pr60960.c dcb314 at hotmail dot com
` (2 preceding siblings ...)
2020-12-18 18:28 ` dcb314 at hotmail dot com
@ 2020-12-18 18:51 ` dcb314 at hotmail dot com
2020-12-18 19:04 ` dcb314 at hotmail dot com
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2020-12-18 18:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98378
--- Comment #4 from David Binderman <dcb314 at hotmail dot com> ---
Looks bad. Trying 5137d1ae6a1fe4a3
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/98378] new valgrind error for ./gcc.c-torture/execute/pr60960.c
2020-12-18 17:26 [Bug c/98378] New: new valgrind error for ./gcc.c-torture/execute/pr60960.c dcb314 at hotmail dot com
` (3 preceding siblings ...)
2020-12-18 18:51 ` dcb314 at hotmail dot com
@ 2020-12-18 19:04 ` dcb314 at hotmail dot com
2020-12-18 19:09 ` dcb314 at hotmail dot com
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2020-12-18 19:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98378
David Binderman <dcb314 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at redhat dot com
--- Comment #5 from David Binderman <dcb314 at hotmail dot com> ---
I am struggling to make further progress with this one.
Commit cd676dfa57e643a4f7d8445e6ebad0f21cf3fd84 looks suspicious,
since it is the only one that changes anything in compiler source code
file gimple-ssa-store-merging.c in the good .. bad range.
Jakub, your best advice sought, please.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/98378] new valgrind error for ./gcc.c-torture/execute/pr60960.c
2020-12-18 17:26 [Bug c/98378] New: new valgrind error for ./gcc.c-torture/execute/pr60960.c dcb314 at hotmail dot com
` (4 preceding siblings ...)
2020-12-18 19:04 ` dcb314 at hotmail dot com
@ 2020-12-18 19:09 ` dcb314 at hotmail dot com
2020-12-19 11:48 ` [Bug tree-optimization/98378] " cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2020-12-18 19:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98378
--- Comment #6 from David Binderman <dcb314 at hotmail dot com> ---
Testsuite file ./gcc.c-torture/execute/simd-6.c, with flag -O2,
has similar problems with a valgrind version of gcc trunk.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/98378] new valgrind error for ./gcc.c-torture/execute/pr60960.c
2020-12-18 17:26 [Bug c/98378] New: new valgrind error for ./gcc.c-torture/execute/pr60960.c dcb314 at hotmail dot com
` (5 preceding siblings ...)
2020-12-18 19:09 ` dcb314 at hotmail dot com
@ 2020-12-19 11:48 ` cvs-commit at gcc dot gnu.org
2020-12-19 12:47 ` dcb314 at hotmail dot com
2020-12-19 13:19 ` jakub at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-12-19 11:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98378
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:9032d2b2414ed22e53a9980a51b835d3caf83c48
commit r11-6269-g9032d2b2414ed22e53a9980a51b835d3caf83c48
Author: Jakub Jelinek <jakub@redhat.com>
Date: Sat Dec 19 12:46:40 2020 +0100
bswap: Fix up a thinko with empty CONSTRUCTORs [PR98378]
The code I've added recently in find_bswap_or_nop for VECTOR CONSTRUCTORs
is missing punt on an important case - namely empty CONSTRUCTORs, because
in that
case the loop will not initialize *n and the code after the loop will then
use the uninitialized structure.
2020-12-19 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/98378
* gimple-ssa-store-merging.c (find_bswap_or_nop): Punt if
CONSTRUCTOR
has no elements.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/98378] new valgrind error for ./gcc.c-torture/execute/pr60960.c
2020-12-18 17:26 [Bug c/98378] New: new valgrind error for ./gcc.c-torture/execute/pr60960.c dcb314 at hotmail dot com
` (6 preceding siblings ...)
2020-12-19 11:48 ` [Bug tree-optimization/98378] " cvs-commit at gcc dot gnu.org
@ 2020-12-19 12:47 ` dcb314 at hotmail dot com
2020-12-19 13:19 ` jakub at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2020-12-19 12:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98378
--- Comment #8 from David Binderman <dcb314 at hotmail dot com> ---
I can provide, if requested, a list of other testsuite files
that fail in the same way.
This might be a good sanity check for Jakub's fix.
Otherwise, I suggest that this bug could be marked as fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/98378] new valgrind error for ./gcc.c-torture/execute/pr60960.c
2020-12-18 17:26 [Bug c/98378] New: new valgrind error for ./gcc.c-torture/execute/pr60960.c dcb314 at hotmail dot com
` (7 preceding siblings ...)
2020-12-19 12:47 ` dcb314 at hotmail dot com
@ 2020-12-19 13:19 ` jakub at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-12-19 13:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98378
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2020-12-19 13:19 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-18 17:26 [Bug c/98378] New: new valgrind error for ./gcc.c-torture/execute/pr60960.c dcb314 at hotmail dot com
2020-12-18 17:35 ` [Bug c/98378] " dcb314 at hotmail dot com
2020-12-18 17:58 ` dcb314 at hotmail dot com
2020-12-18 18:28 ` dcb314 at hotmail dot com
2020-12-18 18:51 ` dcb314 at hotmail dot com
2020-12-18 19:04 ` dcb314 at hotmail dot com
2020-12-18 19:09 ` dcb314 at hotmail dot com
2020-12-19 11:48 ` [Bug tree-optimization/98378] " cvs-commit at gcc dot gnu.org
2020-12-19 12:47 ` dcb314 at hotmail dot com
2020-12-19 13:19 ` jakub 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).