diff options
author | Marc Poulhiès <dkm@kataplop.net> | 2022-10-07 18:48:36 +0200 |
---|---|---|
committer | Marc Poulhiès <dkm@kataplop.net> | 2022-10-08 10:08:20 +0200 |
commit | d4c07a9b47c7063a4e79b6b45edccd0e79249605 (patch) | |
tree | 945d1ce4d8a45e0ec32912c8b23883cc02ebb578 /gcc/fold-const-call.cc | |
parent | 06fe912b70bc21dd11e7279e29200431a5b50aa2 (diff) | |
download | gcc-d4c07a9b47c7063a4e79b6b45edccd0e79249605.zip gcc-d4c07a9b47c7063a4e79b6b45edccd0e79249605.tar.gz gcc-d4c07a9b47c7063a4e79b6b45edccd0e79249605.tar.bz2 |
fix ICE on missing closing paren
Fix crash (segfault) on a missing closing parenthesis when parsing the
expressions in a block. The returned `expr` was missing a check before being
used.
Add corresponding test.
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Diffstat (limited to 'gcc/fold-const-call.cc')
0 files changed, 0 insertions, 0 deletions