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


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 
     The above incremented error_count, but isn't an error that we want to
     count, so reset it here.  
void _fatal_insn_not_found ( const_rtx  ,
const char *  ,
int  ,
const char *   
static void diagnostic_for_asm ( const_rtx  insn,
const char *  msg,
va_list *  args_ptr,
diagnostic_t  kind 

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.  

Find the (or one of the) ASM_OPERANDS in the insn.

References input_location, and SET.

void error_for_asm ( )
static location_t location_for_asm ( const_rtx  )

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 ( )