diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2016-03-15 01:42:43 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2016-03-15 01:42:43 +0100 |
commit | 26a8813fa33bf0812690f848e0ef5d432587a82f (patch) | |
tree | 6b196c9a8b3779b7c85edb7eb2feee8c64dada80 /gcc/cgraph.c | |
parent | 26a7773c2f46845e5c94a98f6ee5c96081fa511d (diff) | |
download | gcc-26a8813fa33bf0812690f848e0ef5d432587a82f.zip gcc-26a8813fa33bf0812690f848e0ef5d432587a82f.tar.gz gcc-26a8813fa33bf0812690f848e0ef5d432587a82f.tar.bz2 |
genrecog: Fix crash on invalid input
If your machine description refers to a non-existent predicate genrecog
crashes. This fixes it.
* genrecog.c (match_pattern_2): If pred is NULL don't call
safe_predicate_mode on it.
From-SVN: r234206
Diffstat (limited to 'gcc/cgraph.c')
0 files changed, 0 insertions, 0 deletions