Mark ChangeLog
[official-gcc.git] / gcc / dummy-conditions.c
blob95db257bd0971d7084ee80b2ac3935ac1651d650
1 /* Support for calculating constant conditions.
2 Copyright (C) 2002, 2004 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 GCC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING. If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 #include <stddef.h> /* for size_t */
23 /* MD generators that are run before insn-conditions.c exists should
24 link against this file instead. Currently that is genconditions
25 and genconstants. */
27 /* In order to avoid dragging in all the headers that are needed to
28 declare things that gensupport.h uses, we duplicate the declaration
29 of struct c_test here. (In particular we do not want to have to
30 include tm.h nor rtl.h in this file.) */
31 struct c_test
33 const char *expr;
34 int value;
37 /* Empty conditions table to prevent link errors. */
38 const struct c_test insn_conditions[1] = { { 0, 0 } };
39 const size_t n_insn_conditions = 0;
41 /* Disable insn elision, since it is currently impossible. */
42 const int insn_elision_unavailable = 1;