r236894 - in /trunk/gcc: ChangeLog auto-profile...

ak@gcc.gnu.org ak@gcc.gnu.org
Mon May 30 18:13:00 GMT 2016


Author: ak
Date: Mon May 30 18:13:12 2016
New Revision: 236894

URL: https://gcc.gnu.org/viewcvs?rev=236894&root=gcc&view=rev
Log:
Don't cause ICEs when auto profile file is not found with checking

Currently, on a checking enabled compiler when -fauto-profile does
not find the profile feedback file it errors out with assertation
failures. Add proper errors for this case.

gcc/:

2016-05-30  Andi Kleen  <ak@linux.intel.com>

	* auto-profile.c (read_profile): Replace asserts with errors
	when file does not exist.
	* gcov-io.c (gcov_read_words): Dito.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/auto-profile.c
    trunk/gcc/gcov-io.c



More information about the Gcc-cvs mailing list