[Bug tree-optimization/108402] False positive Wuninitialized with ftrivial-auto-var-init=pattern

2023-07-19 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108402 Arnd Bergmann changed: What|Removed |Added CC||arnd at linaro dot org --- Comment #7 f

[Bug tree-optimization/108402] False positive Wuninitialized with ftrivial-auto-var-init=pattern

2023-01-16 Thread pefoley2 at pefoley dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108402 --- Comment #6 from pefoley2 at pefoley dot com --- The attached file repos the issue for me. I avoided trying to compress it per https://gcc.gnu.org/bugs/ "An attached archive (tar, zip, shar, whatever) containing all (or some) of the above." be

[Bug tree-optimization/108402] False positive Wuninitialized with ftrivial-auto-var-init=pattern

2023-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108402 --- Comment #5 from Andrew Pinski --- (In reply to pefoley2 from comment #4) > Yeah, I had a lot of trouble getting creduce to do something sane with the > testcase that didn't wind up just deleting everything. You could compress it using eithe

[Bug tree-optimization/108402] False positive Wuninitialized with ftrivial-auto-var-init=pattern

2023-01-15 Thread pefoley2 at pefoley dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108402 --- Comment #4 from pefoley2 at pefoley dot com --- Yeah, I had a lot of trouble getting creduce to do something sane with the testcase that didn't wind up just deleting everything. I wound up trying delta, which got me a smaller, but still enorm

[Bug tree-optimization/108402] False positive Wuninitialized with ftrivial-auto-var-init=pattern

2023-01-15 Thread pefoley2 at pefoley dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108402 pefoley2 at pefoley dot com changed: What|Removed |Added Attachment #54271|0 |1 is obsolete|

[Bug tree-optimization/108402] False positive Wuninitialized with ftrivial-auto-var-init=pattern

2023-01-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108402 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug tree-optimization/108402] False positive Wuninitialized with ftrivial-auto-var-init=pattern

2023-01-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108402 --- Comment #1 from Andrew Pinski --- This has nothing to do with ftrivial-auto-var-init=pattern . But rather you are passing an uninitiated struct to a function that takes a pointer to a const type. That causes the warning. Can you attach the