This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r231231 - in /trunk/gcc: ChangeLog loop-init.c ...


Author: law
Date: Thu Dec  3 15:40:08 2015
New Revision: 231231

URL: https://gcc.gnu.org/viewcvs?rev=231231&root=gcc&view=rev
Log:
[PR tree-optimization/68599] Avoid over-zealous optimization with -funsafe-loop-optimizations

	PR tree-optimization/68599
	* loop-init.c (rtl_loop_init): Set LOOPS_HAVE_RECORDED_EXITS
	in call to loop_optimizer_init.
	* loop-iv.c (get_simple_loop_desc): Only allow unsafe loop
	optimization to drop the assumptions/infinite notations if
	the loop has a single exit.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/loop-init.c
    trunk/gcc/loop-iv.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]