[Bug tree-optimization/64823] [5 Regression] false "may be used uninitialized", missed jump threading
law at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 16 20:57:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64823
--- Comment #9 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Mon Feb 16 20:56:55 2015
New Revision: 220743
URL: https://gcc.gnu.org/viewcvs?rev=220743&root=gcc&view=rev
Log:
PR tree-optimization/64823
* tree-vrp.c (identify_jump_threads): Handle blocks with no real
statements.
* tree-ssa-threadedge.c (potentially_threadable_block): Allow
threading through blocks with PHIs, but no statements.
(thread_through_normal_block): Distinguish between blocks where
we did not process all the statements and blocks with no statements.
PR tree-optimization/64823
* gcc.dg/uninit-20.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/uninit-20.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-threadedge.c
trunk/gcc/tree-vrp.c
More information about the Gcc-bugs
mailing list