diff options
| author | Andi Kleen <ak@linux.intel.com> | 2016-05-30 18:13:12 +0000 |
|---|---|---|
| committer | Andi Kleen <ak@gcc.gnu.org> | 2016-05-30 18:13:12 +0000 |
| commit | 1bba63a77e3ed0a3420eaa905f753614d5ec99d5 (patch) | |
| tree | 1985bc8a06c27e925e000ac5e9c9b1bc6053499a /libcpp/errors.c | |
| parent | 53803093d096611166267de1390d0318592944e2 (diff) | |
| download | gcc-1bba63a77e3ed0a3420eaa905f753614d5ec99d5.zip gcc-1bba63a77e3ed0a3420eaa905f753614d5ec99d5.tar.gz gcc-1bba63a77e3ed0a3420eaa905f753614d5ec99d5.tar.bz2 | |
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.
From-SVN: r236894
Diffstat (limited to 'libcpp/errors.c')
0 files changed, 0 insertions, 0 deletions
