https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69833
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69833
--- Comment #7 from Martin Liška ---
Created attachment 37721
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37721&action=edit
Reduced test-case
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69833
--- Comment #6 from Martin Liška ---
(In reply to Jakub Jelinek from comment #5)
> Something like:
> #!/bin/sh
> .../cc1plus -quiet ...opts... -fsanitize=address -Werror=maybe-uninitialized
> pr69833.ii 2>&1 | awk '/may be used uninitialized in t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69833
--- Comment #4 from Martin Liška ---
(In reply to Jakub Jelinek from comment #3)
> Can you delta reduce or creduce tree-vect-patterns.ii with a test that it
> emits
> this warning with -fsanitize=address and does not without it?
I've just done,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69833
--- Comment #5 from Jakub Jelinek ---
Something like:
#!/bin/sh
.../cc1plus -quiet ...opts... -fsanitize=address -Werror=maybe-uninitialized
pr69833.ii 2>&1 | awk '/may be used uninitialized in this
function/{seen=seen+1;next}/error:/{exit 1}END{
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69833
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69833
--- Comment #2 from Richard Biener ---
Erm. How can valid load/store motion do this? Is asan instrumentation /
optimization for TREE_TYPE (lhs) misoptimized?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69833
--- Comment #1 from Martin Liška ---
Created attachment 37700
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37700&action=edit
Candidate patch