aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.cc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2023-11-05 18:24:40 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2023-11-05 18:24:40 +0000
commit5bd1d548472c4c8e55c40fb3342217ace1a8e78d (patch)
tree0e638af398579b34f2d5b609696a678755d1ffaa /gcc/function.cc
parent5648446cdaaa808b00c1a975373031016049ad85 (diff)
downloadgcc-5bd1d548472c4c8e55c40fb3342217ace1a8e78d.zip
gcc-5bd1d548472c4c8e55c40fb3342217ace1a8e78d.tar.gz
gcc-5bd1d548472c4c8e55c40fb3342217ace1a8e78d.tar.bz2
read-rtl: Fix infinite loop while parsing [...]
read_rtx_operand would spin endlessly for: (unspec [(...))] UNSPEC_FOO) because read_nested_rtx does nothing if the next character is not '('. gcc/ * read-rtl.cc (read_rtx_operand): Avoid spinning endlessly for invalid [...] operands.
Diffstat (limited to 'gcc/function.cc')
0 files changed, 0 insertions, 0 deletions