diff options
author | Martin Liska <mliska@suse.cz> | 2016-07-12 17:03:07 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2016-07-12 15:03:07 +0000 |
commit | f507d20235bb7c05ce24c92f65b8aead2594e797 (patch) | |
tree | ed5bbb73c5f6dd48aa4855bdb8068a991f80f701 /gcc/params-options.h | |
parent | d6f7c125d85f7b2fb5f8625d4992fbe48f4547d4 (diff) | |
download | gcc-f507d20235bb7c05ce24c92f65b8aead2594e797.zip gcc-f507d20235bb7c05ce24c92f65b8aead2594e797.tar.gz gcc-f507d20235bb7c05ce24c92f65b8aead2594e797.tar.bz2 |
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.
From-SVN: r238249
Diffstat (limited to 'gcc/params-options.h')
-rw-r--r-- | gcc/params-options.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gcc/params-options.h b/gcc/params-options.h new file mode 100644 index 0000000..44bb3c2 --- /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 |