[Bug middle-end/85872] False positive for -Wmaybe-unitialized (compile-time limit)

2021-04-05 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85872

Martin Sebor  changed:

   What|Removed |Added

 CC||msebor at gcc dot gnu.org
  Known to fail|7.2.1, 8.1.0|10.2.0, 11.0, 5.5.0, 7.2.0,
   ||8.3.0, 9.1.0
   Last reconfirmed|2018-09-10 00:00:00 |2021-4-5

--- Comment #4 from Martin Sebor  ---
Confirmed with GCC 11 and that bumping up the conservative MAX_CHAIN_LEN limit
avoids the false positive.

[Bug middle-end/85872] False positive for -Wmaybe-unitialized (compile-time limit)

2018-09-10 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85872

Manuel López-Ibáñez  changed:

   What|Removed |Added

   Last reconfirmed|2018-05-22 00:00:00 |2018-9-10
Summary|False positive for  |False positive for
   |-Wmaybe-unitialized |-Wmaybe-unitialized
   ||(compile-time limit)

--- Comment #3 from Manuel López-Ibáñez  ---
Possibly worth playing with: 

#define MAX_NUM_CHAINS 8
#define MAX_CHAIN_LEN 5
#define MAX_POSTDOM_CHECK 8
#define MAX_SWITCH_CASES 40

in gcc/tree-ssa-uninit.c