This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][TUPLES] libstdc++-v3 bug fixes in cp/decl2.c and tree-eh.c


On 4/29/08 5:03 AM, Doug Kwan (???) wrote:

2008-04-29 Doug Kwan <dougkwan@google.com>

        * cp/decl2 (File): Include "gimple.h"
        (cp_write_global_declarations): Use gimple_body instead of
        DECL_SAVED_TREE.
        * tree-eh.c (lower_catch): Fix bug of accessing sub-statements
        uinsg gimple_catch_handler.  Fix bug of mixing up GIMPLE_GOTO and
        GIMPLE_LABEL in statement building.
        (lower_cleanup): Fix bug of mixing up gimple_try_clean and
        gimple_try_eval.
        (lower_cleanup): Use gimple codes instead of tree codes in switch
        statement.
        (tree-cfg.c): Add code to generate EH edges of GIMPLE_ASSIGN.

OK with


--- gcc/gcc/cp/decl2.c (revision 134766)
+++ gcc/gcc/cp/decl2.c (working copy)
@@ -50,6 +50,7 @@ along with GCC; see the file COPYING3. #include "c-pragma.h"
#include "tree-dump.h"
#include "intl.h"
+#include "gimple.h"

You also need to update the include list for cp/decl2.c in cp/Make-lang.in.



Diego.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]