diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2010-06-30 17:12:36 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2010-06-30 17:12:36 +0000 |
commit | 0cbd999369498655f6832bbf9e0c8001a5226411 (patch) | |
tree | 6809eeec78ac6bc094b49d7b9412573e5f8f762c /gcc/rtl-error.h | |
parent | b1570cac5432acd5b92b2c258675842966653d22 (diff) | |
download | gcc-0cbd999369498655f6832bbf9e0c8001a5226411.zip gcc-0cbd999369498655f6832bbf9e0c8001a5226411.tar.gz gcc-0cbd999369498655f6832bbf9e0c8001a5226411.tar.bz2 |
toplev.h (_fatal_insn_not_found, [...]): Move declarations to rtl.h.
2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
* toplev.h (_fatal_insn_not_found, _fatal_insn): Move declarations
to rtl.h.
(error_for_asm, warning_for_asm): Move declarations to rtl-error.h.
* rtl.h (_fatal_insn_not_found, _fatal_insn): Move declarations
here.
* rtl-error.h: New.
* regrename.c: Do not include toplev.h. Include rtl-error.h.
* rtl-error.c: Likewise.
* reload.c: Likewise.
* recog.c: Likewise.
* sel-sched.c: Likewise.
* function.c: Likewise.
* reg-stack.c: Likewise.
* cfgrtl.c: Likewise.
* reload1.c: Likewise.
* final.c: Include rtl-error.
* Makefile.in: Adjust dependencies.
From-SVN: r161617
Diffstat (limited to 'gcc/rtl-error.h')
-rw-r--r-- | gcc/rtl-error.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gcc/rtl-error.h b/gcc/rtl-error.h new file mode 100644 index 0000000..1ff5825 --- /dev/null +++ b/gcc/rtl-error.h @@ -0,0 +1,24 @@ +/* RTL specific diagnostic subroutines for GCC + Copyright (C) 2010 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/>. */ + +#include "rtl.h" +#include "diagnostic-core.h" + +extern void error_for_asm (const_rtx, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3); +extern void warning_for_asm (const_rtx, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3); |