diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-10-27 21:36:32 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-10-27 21:36:32 +0100 |
commit | 6a16e934557199b55b389fd86241297099a0a7ec (patch) | |
tree | ebeb7fd560865467cdcbc8475c88d93d3693497a /gcc/fold-const.c | |
parent | 8f0f2a1dfd96bc496c50a264d2482daa254490aa (diff) | |
download | gcc-6a16e934557199b55b389fd86241297099a0a7ec.zip gcc-6a16e934557199b55b389fd86241297099a0a7ec.tar.gz gcc-6a16e934557199b55b389fd86241297099a0a7ec.tar.bz2 |
re PR tree-optimization/37879 (ICE with "wrong" use of noreturn attribute and optimization)
PR tree-optimization/37879
* predict.c (tree_estimate_probability): Check if last_stmt is
non-NULL before dereferencing it.
* gcc.dg/pr37879.c: New test.
From-SVN: r141390
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions