summaryrefslogtreecommitdiff
path: root/gcc/params-options.h
diff options
context:
space:
mode:
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-07-12 15:03:07 +0000
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-07-12 15:03:07 +0000
commit94ee1e9c3d96cf04dc6a8105bdb4aec6f49af549 (patch)
treeed5bbb73c5f6dd48aa4855bdb8068a991f80f701 /gcc/params-options.h
parentcd32d7475b83c730185d0a266838a60999515632 (diff)
downloadgcc-94ee1e9c3d96cf04dc6a8105bdb4aec6f49af549.tar.gz
Add tests that test boundary values of params
* Makefile.in: Append rule for params-options.h. * params-options.h: New file. * gcc.dg/params/blocksort-part.c: New test. * gcc.dg/params/params.exp: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238249 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params-options.h')
-rw-r--r--gcc/params-options.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/gcc/params-options.h b/gcc/params-options.h
new file mode 100644
index 00000000000..44bb3c2d36e
--- /dev/null
+++ b/gcc/params-options.h
@@ -0,0 +1,27 @@
+/* File used to generate params.list
+ Copyright (C) 2015-2016 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3, or (at your option) any later
+version.
+
+GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING3. If not see
+<http://www.gnu.org/licenses/>. */
+
+#define DEFPARAM(enumerator, option, nocmsgid, default, min, max) \
+ option=default,min,max
+#define DEFPARAMENUM5(enumerator, option, nocmsgid, default, \
+ v0, v1, v2, v3, v4) \
+ option=v0,v1,v2,v3,v4
+#include "params.def"
+#undef DEFPARAM
+#undef DEFPARAMENUM5