- 21 Sep, 1999 29 commits
-
-
* decl2.c (lang_decode_option): Adjust, in the wake of recent changes to option processing. From-SVN: r29562
Mark Mitchell committed -
From-SVN: r29561
Martin v. Löwis committed -
OutputStreamWriter.java (OutputStreamWriter): Don't refer to `this' before calling superclass constructor. * java/io/OutputStreamWriter.java (OutputStreamWriter): Don't refer to `this' before calling superclass constructor. * java/io/PrintStream.java (PrintStream): Don't refer to `this' before calling superclass constructor. From-SVN: r29560
Tom Tromey committed -
typeck.c (get_member_function_from_ptrfunc): Allow extraction of function pointer from pmfs with no object given. * typeck.c (get_member_function_from_ptrfunc): Allow extraction of function pointer from pmfs with no object given. (convert_for_assignment): Do not return error when converting pmfs. From-SVN: r29559
Martin v. Löwis committed -
* extend.texi (Bound member functions): Document unbound pmf conversion. From-SVN: r29558
Martin v. Löwis committed -
* extend.texi (Bound member functions): Document unbound pmf conversion. From-SVN: r29557
Martin v. Löwis committed -
Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com> * flow.c (split_edge): Handle insertion on a fallthrough edge which has the EXIT_BLOCK as a dest. From-SVN: r29556
Andrew MacLeod committed -
Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com> * flow.c (remove_edge): New function to remove an edge from the flow graph. (remove_fake_successors): New function to remove fake successor edges. (remove_fake_edges): New function to remove all fake edges from the flow graph. (add_fake_exit_edges): New function to add fake edges from all blocks with no successors to the exit block. * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add prototypes for new functions. From-SVN: r29555
Andrew MacLeod committed -
Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com> * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Use Pmode to determine whether to output .dword or .word. From-SVN: r29554
Andrew MacLeod committed -
* lex.c (internal_filename): New variable. (INTERNAL_FILENAME): New macro. (init_parse): Allocate internal_filename and mark as root. Use it instead of a string constant. From-SVN: r29553
Alex Samuel committed -
* tree.c (built_in_filename): New variable. (BUILT_IN_FILENAME): New macro. (init_tree_codes): Allocate built_in_filename. (make_node): Use built_in_filename instead of string constant. From-SVN: r29552
Alex Samuel committed -
From-SVN: r29551
Nick Clifton committed -
Thu Sep 16 15:42:39 1999 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (java_method_add_stmt): Test against GET_CURRENT_BLOCK instead of fndecl. (This patch fixes the net Java PR #46: http://sourceware.cygnus.com/ml/java-prs/1999-q3/msg00092.html) From-SVN: r29550
Alexandre Petit-Bianco committed -
From-SVN: r29549
Nick Clifton committed -
From-SVN: r29548
Nick Clifton committed -
From-SVN: r29547
Toon Moene committed -
* g++.old-deja/g++.other/dyncast1.C: New test. * g++.old-deja/g++.other/dyncast2.C: New test. * g++.old-deja/g++.other/dyncast3.C: New test. * g++.old-deja/g++.other/dyncast4.C: New test. * g++.old-deja/g++.other/dyncast5.C: New test. * g++.old-deja/g++.eh/catch3.C: New test. * g++.old-deja/g++.eh/catch3p.C: New test. * g++.old-deja/g++.eh/catch4.C: New test. * g++.old-deja/g++.eh/catch4p.C: New test. * g++.old-deja/g++.eh/catch5.C: New test. * g++.old-deja/g++.eh/catch5p.C: New test. * g++.old-deja/g++.eh/catch6.C: New test. * g++.old-deja/g++.eh/catch6p.C: New test. * g++.old-deja/g++.eh/catch7.C: New test. * g++.old-deja/g++.eh/catch7p.C: New test. * g++.old-deja/g++.eh/catch8.C: New test. * g++.old-deja/g++.eh/catch8p.C: New test. * g++.old-deja/g++.eh/catch9.C: New test. * g++.old-deja/g++.eh/catch9p.C: New test. From-SVN: r29546
Nathan Sidwell committed -
* flow.c (merge_blocks_move_successor_nojumps): Delete the BARRIER at the end of the successor, not the BARRIER before the successor. From-SVN: r29545
Jeffrey A Law committed -
* cp-tree.h (get_dynamic_cast_base_type): Prototype new function * search.c (dynamic_cast_base_recurse): New function. (get_dynamic_cast_base_type): New function for dynamic cast. * rtti.c (build_dynamic_cast_1): Determine source and target class relationship. Call __dynamic_cast_2. * tinfo.h (__user_type_info::upcast): New catch dispatcher. (__user_type_info::dyncast): New dynamic cast dispatcher. (__user_type_info::sub_kind): New nested enumeration. (__user_type_info::contained_p): sub_kind predicate. (__user_type_info::contained_public_p): Likewise. (__user_type_info::contained_nonpublic_p): Likewise. (__user_type_info::contained_nonvirtual_p: Likewise. (__user_type_info::upcast_result): New nested struct. (__user_type_info::dyncast_result): New nested struct. (*::do_upcast): New catch function. (*::do_dyncast): New dynamic cast function. (__user_type_info::find_public_subobj): New dynamic cast helper dispatcher. (*::do_find_public_subobj): New dynamic cast helper function. * tinfo.cc (__user_type_info::upcast): Define catch dispatcher. (__user_type_info::dyncast): Define dynamic cast dispatcher. (*::do_upcast): Define catch function. (*::do_dyncast): Define dynamic cast function. (*::do_find_public_subobj): Define dynamic cast helper function. * tinfo2.cc (__throw_type_match_rtti_2): Use upcast. (__dynamic_cast): Backwards compatibility wrapper. Use dyncast. (__dynamic_cast_2): New dynamic cast runtime. From-SVN: r29544
Nathan Sidwell committed -
* Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to the compiler when building C code. From-SVN: r29543
Jeffrey A Law committed -
From-SVN: r29542
Jeffrey A Law committed -
* stmt.c (any_pending_cleanups): Don't crash when current_function->stmt is unset. From-SVN: r29541
Richard Earnshaw committed -
From-SVN: r29540
Alex Samuel committed -
From-SVN: r29539
Mark Mitchell committed -
From-SVN: r29538
Jeff Law committed -
* cp-tree.h (finish_stmt_expr): Change prototype. * expr.c (cplus_expand_expr): Adjust call accordingly. * init.c (finish_init_stmts): Likewise. * parse.y (primary): Likewise. * pt.c (tsubst_copy): Likewise. * semantics.c (finish_stmt_expr): Don't take two parameters. Don't remove generated BLOCKs from the block-tree. From-SVN: r29537
Mark Mitchell committed -
* cp-tree.h (finish_stmt_expr): Change prototype. * expr.c (cplus_expand_expr): Adjust call accordingly. * init.c (finish_init_stmts): Likewise. * parse.y (primary): Likewise. * pt.c (tsubst_copy): Likewise. * semantics.c (finish_stmt_expr): Don't take two parameters. Don't remove generated BLOCKs from the block-tree. From-SVN: r29536
Alexandre Oliva committed -
emit-rtl.c (init_emit_once): Initialize const_int_rtx before other initializations that may use it for... * emit-rtl.c (init_emit_once): Initialize const_int_rtx before other initializations that may use it for relative offsets. From-SVN: r29535
Alexandre Oliva committed -
* config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs. (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas. * config/i386/sol2dbg.h: Removed. * config/i386/sol2gas.h: New file, to enable gas work-around. * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas. Don't use sol2dbg.h. * configure: Rebuilt. From-SVN: r29534
Alexandre Oliva committed
-
- 20 Sep, 1999 11 commits
-
-
* cp-tree.h (finish_stmt_expr): Change prototype. * expr.c (cplus_expand_expr): Adjust call accordingly. * init.c (finish_init_stmts): Likewise. * parse.y (primary): Likewise. * pt.c (tsubst_copy): Likewise. * semantics.c (finish_stmt_expr): Don't take two parameters. Don't remove generated BLOCKs from the block-tree. From-SVN: r29533
Mark Mitchell committed -
From-SVN: r29532
Mark Mitchell committed -
* NEWS: Note that fact. * class.c (build_vbase_path): Don't check flag_this_is_variable. * cp-tree.h (EXPR_STMT_ASSIGNS_THIS): Remove. (language_function): Remove assigns_this, just_assigned_this, and x_base_init_expr. Add x_vcalls_possible_p. Add vtbls_set_up_p. (base_init_expr): Remove. (current_vcalls_possible_p): New macro. (vtbls_set_up_p): Likewise. (emit_base_init): Change prototype. * decl.c (finish_destructor_body): New function, split out from finish_function. (current_function_assigns_this): Remove. (current_function_just_assigned_this): Likewise. (start_function): Don't set them. (finish_function): Don't check them. Don't emit base-initialization code here. Generate code for destructors when doing semantic analysis. (finish_stmt): Don't check current_function_just_assigned_this. * decl2.c (lang_f_options): Remove this-is-variable. (lang_decode_option): Likewise. (grokclassfn): Don't check flag_this_is_variable. * init.c (emit_base_init): Return the expression generated. (construct_virtual_bases): Don't push/pop obstacks. Fix typo. (build_new_1): Don't check flag_this_is_variable. (get_temp_regvar): Don't set DECL_REGISTER. (build_vec_init): Don't call use_variable. * lang-options.h: Remove "-fthis-is-variable" and "-fno-this-is-variable". * pt.c (tsubst_expr): Don't check EXPR_STMT_ASSIGNS_THIS. * search.c (expand_upcast_fixups): Use finish_expr_stmt, not expand_expr_stmt. * semantics.c (finish_expr_stmt_real): Rename to ... (finish_expr_stmt): This. Remove assigned_this parameter. (begin_if_stmt): Call do_pushlevel before starting the statement. (begin_compound_stmt): Don't declare __FUNCTION__ in scope-less blocks. (setup_vtbl_ptr): Emit initialization code for bases and members at semantic-analysis time. Emit code to initialize vtables in destructors here. (expand_stmt): Use finish_expr_stmt, not finish_expr_stmt_real. Don't handle CTOR_INITIALIZER any more. * typeck.c (build_modify_expr): Don't check for assignments to this. (c_expand_return): Don't suggest assigning to `this'. * Makefile.in (decl.o): Depend on RTL_H. (decl2.o): Likewise. (class.o): Likewise. (call.o): Likewise. (method.o): Likewise. (search.o): Likewise. (tree.o): Likewise. (pt.o): Likewise. * decl.c (duplicate_decls): When a builtin function is redeclared as static, make sure it is mangled correctly. * ir.texi (CTOR_INITIALIZER): Remove mention. Fix typo. Add detail about the statement-tree. From-SVN: r29531
Mark Mitchell committed -
* basic-block.h (compute_bb_for_insn): Declare. * flow.c (compute_bb_for_insn): Export. Don't accept the varray to use; set size of basic_block_for_insn directly. (find_basic_blocks): Update. From-SVN: r29530
Richard Henderson committed -
* configure: Rebuilt. * configure.in: Send output of `-fuse-divide-subroutine' test compilation to /dev/null. From-SVN: r29529
Tom Tromey committed -
From-SVN: r29528
Kaveh R. Ghazi committed -
* crtstuff.c (ON_EXIT): Delete empty macro definition. (__do_global_ctors_aux): Call atexit(), not ON_EXIT(). From-SVN: r29527
Kaveh R. Ghazi committed -
* fold-const.c (fold_range_test): Do not try to fold the range test if the rhs or lhs has side effects. From-SVN: r29526
Jeffrey A Law committed -
1999-09-15 Andreas Schwab <schwab@suse.de> * Makefile.in (parse.o): Depend on $(JAVA_TREE_H). From-SVN: r29525
Andreas Schwab committed -
From-SVN: r29524
Nathan Sidwell committed -
* basic-block.h (compute_flow_dominators): Declare. * gcse.c (alloc_code_hoist_mem): New function. (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise. (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise. (hoist_code, one_code_hoisting_pass): Likewise. (gcse_main): If optimizing for size, then hoist expressions computed in multiple dominated basic blocks. From-SVN: r29523
Jeffrey A Law committed
-