* loop-iv.c (get_simple_loop_desc): Use XCNEW.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144628
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-03-04 J"orn Rennecke <joern.rennecke@arc.com>
+
+ PR39235:
+ * loop-iv.c (get_simple_loop_desc): Use XCNEW.
+
2009-03-04 Zdenek Dvorak <ook@ucw.cz>
* graphite.c (nb_reductions_in_loop): Update simple_iv arguments.
if (desc)
return desc;
- desc = XNEW (struct niter_desc);
+ /* At least desc->infinite is not always initialized by
+ find_simple_loop_exit. */
+ desc = XCNEW (struct niter_desc);
iv_analysis_loop_init (loop);
find_simple_exit (loop, desc);
loop->aux = desc;