[Bug c++/94905] Bogus warning -Werror=maybe-uninitialized

2020-05-03 Thread bug-apl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94905 --- Comment #5 from Dr. Jürgen Sauermann --- Hi, above is one preprocessed source file for which the warning has occurred. g++ version was 11.0.0 (latest from github). Compiled with: g++ -E -DHAVE_CONFIG_H -I. -I..-Wall -I sql -Werror -I/

[Bug c++/94905] Bogus warning -Werror=maybe-uninitialized

2020-05-03 Thread bug-apl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94905 --- Comment #4 from Dr. Jürgen Sauermann --- Created attachment 48431 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48431&action=edit preprocessed apl-Bif_F12_FORMAT.cc, gzip'ed preprocessed source file apl-Bif_F12_FORMAT.cc

[Bug c++/94905] Bogus warning -Werror=maybe-uninitialized

2020-05-03 Thread bug-apl at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94905 --- Comment #2 from Dr. Jürgen Sauermann --- I checked different g++ versions; the problem occurs in versions 9, 10, and 11 of g++ but not in version 8. I tried to shrink the code to the bare minimum but if I do so then the warning is no longer

[Bug c++/94905] New: Bogus warning -Werror=maybe-uninitialized

2020-05-01 Thread bug-apl at gnu dot org
++ Assignee: unassigned at gcc dot gnu.org Reporter: bug-apl at gnu dot org Target Milestone: --- Hi, as of g++ 9.3.0 when building GNU APL, g++ emits bogus warnings of type -Werror=maybe-uninitialized. Apparently the compiler issues these warnings simply because it is lacking