aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-ifcombine.c
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2017-09-06 13:42:54 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2017-09-06 13:42:54 +0000
commit181613096914e3791c7ae68ad53a2fae571b9c5f (patch)
tree14f9661c90ce0721001692b4d546102ee9f178aa /gcc/tree-ssa-ifcombine.c
parent92f6433e853a69316dd0fbec743d4fa3eb33a106 (diff)
downloadgcc-181613096914e3791c7ae68ad53a2fae571b9c5f.zip
gcc-181613096914e3791c7ae68ad53a2fae571b9c5f.tar.gz
gcc-181613096914e3791c7ae68ad53a2fae571b9c5f.tar.bz2
[arm] Improve error checking in parsecpu.awk
This patch adds a bit more error checking to parsecpu.awk to ensure that statements are not missing arguments or have excess arguments beyond those permitted. It also slightly improves the handling of errors so that we terminate properly if parsing fails and be as helpful as we can while in the parsing phase. * config/arm/parsecpu.awk (fatal): Note that we've encountered an error. Only quit immediately if parsing is complete. (BEGIN): Initialize fatal_err and parse_done. (begin fpu, end fpu): Check number of arguments. (begin arch, end arch): Likewise. (begin cpu, end cpu): Likewise. (cname, tune for, tune flags, architecture, fpu, option): Likewise. (optalias): Likewise. From-SVN: r251800
Diffstat (limited to 'gcc/tree-ssa-ifcombine.c')
0 files changed, 0 insertions, 0 deletions