aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/v850/v850.c
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@integrable-solutions.net>2003-07-26 11:27:40 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2003-07-26 11:27:40 +0000
commitba9cfcb5e7cc98281b490dc88f80324483db5d6b (patch)
tree03fcd20ae4f252cbb467240085098ff6cf784954 /gcc/config/v850/v850.c
parentd2908a507bd3f7e8bab80ec28e74a90e36481b9e (diff)
downloadgcc-ba9cfcb5e7cc98281b490dc88f80324483db5d6b.zip
gcc-ba9cfcb5e7cc98281b490dc88f80324483db5d6b.tar.gz
gcc-ba9cfcb5e7cc98281b490dc88f80324483db5d6b.tar.bz2
pe.c (arm_mark_dllimport): Don't use xxx_with_decl.
* config/arm/pe.c (arm_mark_dllimport): Don't use xxx_with_decl. * config/mcore/mcore.c (mcore_mark_dllimport): Likewise. * config/v850/v850.c (v850_handle_data_area_attribute): Likewise. (v850_handle_data_area_attribute): Likewise. From-SVN: r69812
Diffstat (limited to 'gcc/config/v850/v850.c')
-rw-r--r--gcc/config/v850/v850.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c
index 4db79a9..8da1669 100644
--- a/gcc/config/v850/v850.c
+++ b/gcc/config/v850/v850.c
@@ -2257,8 +2257,8 @@ v850_handle_data_area_attribute (node, name, args, flags, no_add_attrs)
case VAR_DECL:
if (current_function_decl != NULL_TREE)
{
- error_with_decl (decl, "\
-a data area attribute cannot be specified for local variables");
+ error ("%Ha data area attribute cannot be specified for "
+ "local variables", &DECL_SOURCE_LOCATION (decl), decl);
*no_add_attrs = true;
}
@@ -2268,8 +2268,8 @@ a data area attribute cannot be specified for local variables");
area = v850_get_data_area (decl);
if (area != DATA_AREA_NORMAL && data_area != area)
{
- error_with_decl (decl, "\
-data area of '%s' conflicts with previous declaration");
+ error ("%Hdata area of '%D' conflicts with previous declaration",
+ &DECL_SOURCE_LOCATION (decl), decl);
*no_add_attrs = true;
}
break;