This is an automated email from the git hooks/post-receive script.
unknown user pushed a commit to branch aoliva/libcp1
in repository gcc.
commit 31613034a3f7f6c82e118c3dccb6b76fdc399b27
Author: Alexandre Oliva <aoliva(a)redhat.com>
Date: Fri Jun 12 02:28:57 2015 -0300
Backport to C some of the C++ VLA changes
As in the C++ plugin, removed the modification of VLA types when
replacing them with the GDB-supplied addresses, and make them
DECL_EXTERNAL instead.
---
libcc1/libcc1plugin.cc | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/libcc1/libcc1plugin.cc b/libcc1/libcc1plugin.cc
index 2fdbeea..39aac4a 100644
--- a/libcc1/libcc1plugin.cc
+++ b/libcc1/libcc1plugin.cc
@@ -299,18 +299,7 @@ address_rewriter (tree *in, int *walk_subtrees, void *arg)
value.decl = *in;
decl_addr_value *found_value = ctx->address_map.find (&value);
if (found_value != NULL)
- {
- // At this point we don't need VLA sizes for gdb-supplied
- // variables, and having them here confuses later passes, so we
- // drop them.
- if (C_TYPE_VARIABLE_SIZE (TREE_TYPE (*in)))
- {
- TREE_TYPE (*in)
- = build_array_type_nelts (TREE_TYPE (TREE_TYPE (*in)), 1);
- DECL_SIZE (*in) = TYPE_SIZE (TREE_TYPE (*in));
- DECL_SIZE_UNIT (*in) = TYPE_SIZE_UNIT (TREE_TYPE (*in));
- }
- }
+ ;
else if (DECL_IS_BUILTIN (*in))
{
gcc_address address;
@@ -418,6 +407,7 @@ plugin_build_decl (cc1_plugin::connection *self,
{
decl_addr_value value;
+ DECL_EXTERNAL (decl) = 1;
value.decl = decl;
if (substitution_name != NULL)
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a commit to branch aoliva/libcp1
in repository gcc.
commit cc292630db8e36c5d7d73ffae5addd5dbf9d9355
Author: Alexandre Oliva <aoliva(a)redhat.com>
Date: Fri May 22 06:07:17 2015 -0300
Fix function overloads. Simplify plugin_bind.
_gdb_expr is extern C, which makes C the current language, which causes
decls created within to be regarded as extern C as well, so overloading
is not possible. I'm overriding the lang setting for now, but if my
plan goes through, the oracle will run get a different context that will
make C++ the current language.
While looking into this, I have simplified decl binding, so that changes
to the C++ front-end can be reverted, since no internal functions are
used any more.
---
libcc1/libcp1plugin.cc | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/libcc1/libcp1plugin.cc b/libcc1/libcp1plugin.cc
index d888b0a..543dc4c 100644
--- a/libcc1/libcp1plugin.cc
+++ b/libcc1/libcp1plugin.cc
@@ -433,6 +433,7 @@ plugin_build_decl (cc1_plugin::connection *self,
{
decl = build_lang_decl (code, identifier, sym_type);
DECL_SOURCE_LOCATION (decl) = loc;
+ SET_DECL_LANGUAGE (decl, lang_cplusplus); // FIXME: current_lang_name is lan [...]
}
else
decl = build_decl (loc, code, identifier, sym_type);
@@ -471,7 +472,15 @@ plugin_bind (cc1_plugin::connection *,
gcc_decl decl_in, int is_global)
{
tree decl = convert_in (decl_in);
- cp_bind (DECL_SOURCE_LOCATION (decl), decl, is_global);
+
+ if (is_global)
+ push_nested_namespace (global_namespace);
+
+ pushdecl_maybe_friend (decl, false);
+
+ if (is_global)
+ pop_nested_namespace (global_namespace);
+
rest_of_decl_compilation (decl, is_global, 0);
return 1;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a commit to branch aoliva/libcp1
in repository gcc.
commit c607fafcc2aaef81b399b7dfc20f22623be4ba1f
Author: Alexandre Oliva <aoliva(a)redhat.com>
Date: Thu May 21 13:04:54 2015 -0300
Update copyright notices.
---
include/gcc-cp-fe.def | 4 ++--
include/gcc-cp-interface.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/gcc-cp-fe.def b/include/gcc-cp-fe.def
index e52fef7..63b5378 100644
--- a/include/gcc-cp-fe.def
+++ b/include/gcc-cp-fe.def
@@ -1,6 +1,6 @@
-/* Interface between GCC C FE and GDB -*- c -*-
+/* Interface between GCC C++ FE and GDB -*- c -*-
- Copyright (C) 2014 Free Software Foundation, Inc.
+ Copyright (C) 2014-2015 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/include/gcc-cp-interface.h b/include/gcc-cp-interface.h
index 73238a9..264a56c 100644
--- a/include/gcc-cp-interface.h
+++ b/include/gcc-cp-interface.h
@@ -1,6 +1,6 @@
/* Interface between GCC C++ FE and GDB
- Copyright (C) 2014 Free Software Foundation, Inc.
+ Copyright (C) 2014-2015 Free Software Foundation, Inc.
This file is part of GCC.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch trunk
in repository gcc.
from aa0bf07 2015-07-28 Richard Biener <rguenther(a)suse.de>
new 63593ac 2015-07-28 Eric Gallager <egall(a)gwmail.gwu.edu>
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
fixincludes/ChangeLog | 4 ++++
fixincludes/check.tpl | 5 ++---
2 files changed, 6 insertions(+), 3 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a change to branch bernie/benchmarking
in repository toolchain/abe.
discards 475708b Benchmark.job removes files from targets unless BENCH_DEBUG is given
new c11a5c6 Benchmark.job removes files from targets unless BENCH_DEBUG is given
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (475708b)
\
N -- N -- N refs/heads/bernie/benchmarking (c11a5c6)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omits" are not gone; other references still
refer to them. Any revisions marked "discards" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
scripts/Benchmark.job | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.