Add some insn names for (neg (abs)) code
[official-gcc.git] / gcc / c-pragma.h
blob49c39fa591e9503f42fc22e2f3a9aac29a44bc34
1 /* Pragma related interfaces.
2 Copyright (C) 1995 Free Software Foundation, Inc.
4 This file is part of GNU CC.
6 GNU CC 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 GNU CC 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 GNU CC; 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 /* Support #pragma weak iff ASM_WEAKEN_LABEL and ASM_OUTPUT_DEF are
22 defined. */
23 #if defined (ASM_WEAKEN_LABEL) && defined (ASM_OUTPUT_DEF)
24 #define HANDLE_PRAGMA_WEAK SUPPORTS_WEAK
25 #endif
27 enum pragma_state
29 ps_start,
30 ps_done,
31 ps_bad,
32 ps_weak,
33 ps_name,
34 ps_equals,
35 ps_value,
36 ps_pack,
37 ps_left,
38 ps_align,
39 ps_right
42 /* Output asm to handle ``#pragma weak'' */
43 extern void handle_pragma_weak PROTO((enum pragma_state, char *, char *));
45 /* Handle a C style pragma */
46 extern void handle_pragma_token PROTO((char *, tree));