]> git.ipfire.org Git - thirdparty/gcc.git/commit
OpenMP: Silence uninitialized variable warning in C++ front end.
authorSandra Loosemore <sloosemore@baylibre.com>
Sat, 22 Feb 2025 16:54:50 +0000 (16:54 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Sat, 22 Feb 2025 17:08:35 +0000 (17:08 +0000)
commitc978965b445079abbb88c22ba74de1e26e9f5b81
treea8cadb452bb2bcec1a32f74fd4e43b3d80081d15
parenta2f60c1ff5a85497f84dc307301bcbc4bd77082e
OpenMP: Silence uninitialized variable warning in C++ front end.

There's no actual problem with the code here, just a false-positive
warning emitted by some older GCC versions.

gcc/cp/ChangeLog
* parser.cc (cp_finish_omp_declare_variant): Initialize
append_args_last.
gcc/cp/parser.cc