summaryrefslogtreecommitdiff
path: root/gcc/cp/tree.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-21 10:43:55 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-21 10:43:55 +0000
commitbd11046c067c9b3bbae45b2723d7bae0ccc99da2 (patch)
tree651676cbef1c8e70dd0202c2989b2ef58678fcd8 /gcc/cp/tree.c
parent0d8c07f78603884b20cb9fd6a07879d382565449 (diff)
downloadgcc-bd11046c067c9b3bbae45b2723d7bae0ccc99da2.tar.gz
2012-05-21 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 187704 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187706 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r--gcc/cp/tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index ad8f82db1d5..7c59105b9ce 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -2025,7 +2025,7 @@ break_out_target_exprs (tree t)
expressions */
tree
-build_min_nt (enum tree_code code, ...)
+build_min_nt_loc (location_t loc, enum tree_code code, ...)
{
tree t;
int length;
@@ -2037,6 +2037,7 @@ build_min_nt (enum tree_code code, ...)
va_start (p, code);
t = make_node (code);
+ SET_EXPR_LOCATION (t, loc);
length = TREE_CODE_LENGTH (code);
for (i = 0; i < length; i++)