aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2017-09-22 17:24:46 +0100
committerVidya Praveen <vp@gcc.gnu.org>2017-09-22 17:24:46 +0100
commitdce04e57faaa33c1da286effc97943f5c9924691 (patch)
tree356dd9a89abfa49f2d6042c8008419f11576ef6b /gcc/tree-vectorizer.h
parentbdb0828f2d93221b2d54ec965f20e1cf1182d18d (diff)
downloadgcc-dce04e57faaa33c1da286effc97943f5c9924691.zip
gcc-dce04e57faaa33c1da286effc97943f5c9924691.tar.gz
gcc-dce04e57faaa33c1da286effc97943f5c9924691.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. 2017-09-22 Richard Earnshaw <richard.earnshaw@arm.com> * 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: r253098
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions