rtl-error.h 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. /* RTL specific diagnostic subroutines for GCC
  2. Copyright (C) 2010-2015 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 3, or (at your option)
  7. any later version.
  8. GCC is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GCC; see the file COPYING3. If not see
  14. <http://www.gnu.org/licenses/>. */
  15. #ifndef GCC_RTL_ERROR_H
  16. #define GCC_RTL_ERROR_H
  17. #include "rtl.h"
  18. #include "diagnostic-core.h"
  19. extern void error_for_asm (const rtx_insn *, const char *,
  20. ...) ATTRIBUTE_GCC_DIAG(2,3);
  21. extern void warning_for_asm (const rtx_insn *, const char *,
  22. ...) ATTRIBUTE_GCC_DIAG(2,3);
  23. #endif /* GCC_RTL_ERROR_H */