GCC Middle and Back End API Reference
rtl-error.c File Reference

Functions

static location_t location_for_asm (const_rtx)
static void diagnostic_for_asm (const_rtx, const char *, va_list *, diagnostic_t)
void error_for_asm ()
void warning_for_asm ()
void _fatal_insn (const char *msgid, const_rtx insn, const char *file, int line, const char *function)
void _fatal_insn_not_found (const_rtx insn, const char *file, int line, const char *function)

Function Documentation

void _fatal_insn ( const char *  msgid,
const_rtx  insn,
const char *  file,
int  line,
const char *  function 
)

References debug_rtx(), error(), and fancy_abort().

Referenced by _fatal_insn_not_found().

void _fatal_insn_not_found ( const_rtx  ,
const char *  ,
int  ,
const char *   
)
rtl-error.c  

References _fatal_insn().

static void diagnostic_for_asm ( const_rtx  insn,
const char *  msg,
va_list *  args_ptr,
diagnostic_t  kind 
)
static
Figure the location of the given INSN.   
Report a diagnostic MESSAGE (an error or a WARNING) at the line number
   of the insn INSN.  This is used only when INSN is an `asm' with operands,
   and each ASM_OPERANDS records its own source file and line.   

References input_location, and SET.

Referenced by error_for_asm(), and warning_for_asm().

static location_t location_for_asm ( const_rtx  )
static
@verbatim RTL specific diagnostic subroutines for GCC

Copyright (C) 2001-2013 Free Software Foundation, Inc. Contributed by Gabriel Dos Reis gdr@c.nosp@m.odes.nosp@m.ource.nosp@m.ry.c.nosp@m.om

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/.

void warning_for_asm ( )

References diagnostic_for_asm().