re PR tree-optimization/89296 (tree copy-header masking uninitialized warning)
authorRichard Biener <rguenther@suse.de>
Mon, 18 Feb 2019 12:56:15 +0000 (12:56 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 18 Feb 2019 12:56:15 +0000 (12:56 +0000)
commitc41491973b05547236fe0bb82ae2419607c6f3ef
tree3628650112627d97bfe1a979978983c6ac2c71fe
parent022049403b80be13a495d8411aac2d0aacdf1a27
re PR tree-optimization/89296 (tree copy-header masking uninitialized warning)

2019-02-18  Richard Biener  <rguenther@suse.de>

PR tree-optimization/89296
* tree-ssa-loop-ch.c (ch_base::copy_headers): Restrict setting
of no-warning flag to cases that might emit the bogus warning.

* gcc.dg/uninit-pr89296.c: New testcase.

From-SVN: r268986
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/uninit-pr89296.c [new file with mode: 0644]
gcc/tree-ssa-loop-ch.c