]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++ frontend: initialize ivdep value
authorTamar Christina <tamar.christina@arm.com>
Wed, 10 Jan 2024 13:46:22 +0000 (13:46 +0000)
committerTamar Christina <tamar.christina@arm.com>
Wed, 10 Jan 2024 13:46:40 +0000 (13:46 +0000)
commitf8a70fb21767883f6d3c13e22be8d307dd98f342
treedc627ba99b6f4366706fe2b70fe7fbfc90e18b5b
parentbe2bf5dc93ca1ec148c605a5f25b3f7a3028bf3d
c++ frontend: initialize ivdep value

Should control enter the switch from one of the cases other than
the IVDEP one then the variable remains uninitialized.

This fixes it by initializing it to false.

gcc/cp/ChangeLog:

* parser.cc (cp_parser_pragma): Initialize to false.
gcc/cp/parser.cc