public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/110670] New: tree-vect-stmts.cc:9733:11: warning: variable 'offvar' is sometimes initialised
@ 2023-07-14 17:38 dcb314 at hotmail dot com
0 siblings, 0 replies; only message in thread
From: dcb314 at hotmail dot com @ 2023-07-14 17:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110670
Bug ID: 110670
Summary: tree-vect-stmts.cc:9733:11: warning: variable 'offvar'
is sometimes initialised
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: ---
From today's build of gcc trunk, clang says:
tree-vect-stmts.cc:9733:11: warning: variable 'offvar' is used uninitialized
whenever 'if' condition is false [-Wsometimes-uninitialized]
$ grep -n offvar ../trunk.year/gcc/tree-vect-stmts.cc
8377: tree offvar;
8495: &offvar, NULL);
8504: running_off = offvar;
9692: tree offvar;
9767: &offvar, NULL);
9772: running_off = offvar;
$
It might be worthwhile initialising offvar to something sensible
for both its declarations.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-14 17:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-14 17:38 [Bug c/110670] New: tree-vect-stmts.cc:9733:11: warning: variable 'offvar' is sometimes initialised dcb314 at hotmail dot com
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).