- 27 Jan, 2000 16 commits
-
-
* decl.c (pushdecl): Fix up shadow warnings with respect to implicit for scopes. Fixes for3.C From-SVN: r31655
Mike Stump committed -
* cppinit.c (cpp_handle_option): Recognize C++ comments under -std=gnu89. * cpplib.c (skip_block_comment, skip_line_comment): Split code out of... (skip_comment) ... here. Permit C++ comments in system headers always. Warn about C++ comments in user code under -std=gnu89 -pedantic. (copy_comment): Use skip_comment. (cpp_skip_hspace, cpp_get_token): skip_comment can no longer return EOF. (consider_directive_while_skipping, do_else, do_endif): Call validate_else unconditionally. (validate_else): Check CPP_PEDANTIC here. Accept non-comment text after the conditional in a system header. * cpplib.h (struct cpp_buffer): Add flag warned_cplusplus_comments. From-SVN: r31654
Zack Weinberg committed -
I made them up all by myself. From-SVN: r31653
Zack Weinberg committed -
From-SVN: r31652
Zack Weinberg committed -
* emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too. Use unshare_all_rtl_1. (unshare_all_rtl_again): New function. (unshare_all_rtl_1): New function split out of unshare_all_rtl. * function.c (purge_addressof_1): Use unshare_all_rtl_again rather than resetting the 'used' flags ourself. * toplev.c (rest_of_compilation): Add current_function_decl to the unshare_all_rtl call. * tree.h: Prototype unshare_all_rtl. * rtl.h: Prototype unshare_all_rtl_again here. From-SVN: r31651
Geoff Keating committed -
* genoutput.c (output_prologue): Include ggc.h in generated files. * Makefile.in (insn-output.o): Depends on ggc.h. From-SVN: r31650
Geoff Keating committed -
Co-Authored-By: Hans-Peter Nilsson <hp@bitrange.com> From-SVN: r31648
Ian Dall committed -
2000-01-27 Andrew Haley <aph@cygnus.com> * jcf-write.c (emit_goto): RESERVE 3 bytes for insn. (emit_if): Ditto. (emit_jsr): Ditto. From-SVN: r31647
Andrew Haley committed -
* gthr-posix.h: Fix typo; compatibily -> compatibility. * gthr-single.h: Likewise. * gthr-solaris.h: Likewise. * gthr-vxworks.h: Likewise. * gthr-win32.h: Likewise. * gthr.h: Likewise. From-SVN: r31646
Fred Fish committed -
* cppinit.c: Add " (cpplib)" to end of string printed by -v / --version. From-SVN: r31645
Zack Weinberg committed -
From-SVN: r31644
Joern Rennecke committed -
* alpha.c (alpha_emit_conditional_move): Use VOIDmode when testing for a signed comparison. (alpha_emit_floatuns): New. * alpha-protos.h: Declare it. * alpha.md (floatunsdisf2, floatunsdidf2): New. (extendsfdf2): Tidy. From-SVN: r31643
Richard Henderson committed -
From-SVN: r31642
Jeff Law committed -
* config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but no -g option specifying debugging format, default to -gstabs+. From-SVN: r31641
Jakub Jelinek committed -
* pt.c (unify): Use fold, not maybe_fold_nontype_arg. -------------------------------------------------------------------- From-SVN: r31640
Jason Merrill committed -
From-SVN: r31639
Zack Weinberg committed
-
- 26 Jan, 2000 15 commits
-
-
* calls.c (special_function_p): New argument fork_or_exec. (expand_call): When profile_arc_flag is set and the function is in the fork_or_exec group, call __bb_fork_func first. * libgcc2.c, _bb module (__bb_fork_func): New function. (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock output file. * config/svr4.h (TARGET_HAS_F_SETLKW): Define. * tree.h (special_function_p): Update prototype. From-SVN: r31636
Joern Rennecke committed -
gcc: * calls.c (special_function_p): New argument fork_or_exec. (expand_call): When profile_arc_flag is set and the function is in the fork_or_exec group, call __bb_fork_func first. * libgcc2.c, _bb module (__bb_fork_func): New function. (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock output file. * config/svr4.h (TARGET_HAS_F_SETLKW): Define. * tree.h (special_function_p): Update prototype. gcc/cp: * cp/optimize.c (calls_setjmp_r): Supply new argument to special_function_p. From-SVN: r31635
J"orn Rennecke committed -
* alpha.c (alpha_split_tfmode_pair): New. * alpha-protos.h: Declare it. * alpha.md (abstf2, negtf2): New. (movtf insn): Add input G constraint. (movtf splitter): Use alpha_split_tfmode_pair. From-SVN: r31634
Richard Henderson committed -
From-SVN: r31633
Kaveh R. Ghazi committed -
* call.c: PROTO -> PARAMS. * class.c: Likewise. * cp-tree.h: Likewise. * cvt.c: Likewise. * decl.c: Likewise. * decl.h: Likewise. * decl2.c: Likewise. * dump.c: Likewise. * errfn.c: Likewise. * error.c: Likewise. * except.c: Likewise. * expr.c: Likewise. * init.c: Likewise. * input.c: Likewise. * lex.c: Likewise. * lex.h: Likewise. * method.c: Likewise. * optimize.c: Likewise. * parse.y: Likewise. * pt.c: Likewise. * repo.c: Likewise. * rtti.c: Likewise. * search.c: Likewise. * semantics.c: Likewise. * spew.c: Likewise. * tree.c: Likewise. * typeck.c: Likewise. * typeck2.c: Likewise. * xref.c: Likewise. From-SVN: r31632
Kaveh R. Ghazi committed -
* config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons using _Qp_cmp/_Q_cmp and testing the return value. (print_operand): Call reverse_condition_maybe_unordered if we are handling CCFPmode or CCFPEmode. Handle ORDERED, UN* and LTGT comparisons. * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32 if not TARGET_HARD_QUAD. (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble, bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt): Call sparc_emit_float_lib_cmp even on TARGET_ARCH32. Adjust gen_b* calls so that they reflect return comparison of sparc_emit_float_lib_cmp. From-SVN: r31631
Jakub Jelinek committed -
From-SVN: r31630
Jeff Law committed -
alpha.c (alpha_emit_xfloating_cvt): Do not assume incoming operands array is large enough for one more operand. * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume incoming operands array is large enough for one more operand. (alpha_emit_xfloating_arith): Likewise. From-SVN: r31629
Alexandre Oliva committed -
* fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a file with one line and no trailing newline. Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>. * fixinc/fixtests.c (machine_name_test): Fix fencepost error checking if the match is on the line. * fixinc/gnu-regex.c: Provide regerror not __regerror. From-SVN: r31628
Zack Weinberg committed -
From-SVN: r31627
Alexandre Oliva committed -
From-SVN: r31626
Alexandre Oliva committed -
* sparc.c (output_cbranch): Fix accidental squashing of the fp branch pre-delay nop. From-SVN: r31625
Richard Henderson committed -
* tree.def (UNNE_EXPR): Remove. * c-typeck.c (build_binary_op): Don't handle it. * expr.c (expand_expr, do_jump, do_store_flag): Likewise. * cp/typeck.c (build_binary_op_nodefault): Likewise. * rtl.def (UNNE): Remove. (LTGT): Add. * jump.c (reverse_condition): Update accordingly. (swap_condition): Likewise. (comparison_dominates_p): Handle unordered comparisons. (reverse_condition_maybe_unordered): New. * rtl.h (reverse_condition_maybe_unordered): Declare. * sparc.c (select_cc_mode): Update for UNNE/LTGT. (output_cbranch): Use reverse_condition_maybe_unordered and LTGT. * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs. * sparc.md (bltgt): New. From-SVN: r31624
Richard Henderson committed -
From-SVN: r31623
Nick Clifton committed -
* Makefile.in (flow.o): Depend on $(EXPR_H). * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e. duplicate the structure of diddle_return_value for keeping regs live. From-SVN: r31620
Richard Henderson committed
-
- 25 Jan, 2000 9 commits
-
-
* cp-tree.h (vcall_offset_in_vtable_p): New macro. * class.c (build_vbase_offset_vtbl_entries): Fix typo in commment. (struct vcall_offset_data_s): New type. (dfs_vcall_offset_queue_p): New function. (dfs_build_vcall_offset_vtbl_entries): Likewise. (build_vcall_offset_vtbl_entries): Likewise. (layout_vtable_decl): Likewise. (num_vfun_entries): Likewise. (num_extra_vtbl_entries): Add the entries for vcall offsets. (build_vtbl_initializer): Likewise. (dfs_finish_vtabls): Use layout_vtable_decl. (modify_one_vtables): Always duplicate vtables under the new ABI. (finish_struct_1): Use layout_vtable_decl. From-SVN: r31619
Mark Mitchell committed -
2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * loop.c (current_loop_info): Delete. (consec_sets_invariant_p): Add loop argument, update callers. (get_condition_for_loop): Likewise. (count_nonfixed_reads, update_giv_derive): Likewise. (simplify_giv_expr, general_induction_var): Likewise. (consec_sets_giv, recombine_givs): Likewise. (move_movables): Delete loop_start and loop_end arguments, add loop argument, and update callers. (find_mem_givs, check_final_value): Likewise. (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise. (loop_invariant_p): Rename from invariant_p, add loop argument, and update callers. (basic_induction_var): Add loop argument, delete loop_level argument, and update callers. * unroll.c (iteration_info): Delete loop_start and loop_end arguments, add loop argument, and update callers. (find_splittable_regs, find_splittable_givs): Likewise. (reg_dead_after_loop, loop_find_equiv_value): Likewise. (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise. (biv_total_increment): Delete loop_start and loop_end arguments; update callers. (precondition_loop_p): Delete loop_start and loop_info arguments; update callers. * loop.h (get_condition_for_loop): Add loop argument. (biv_total_increment): Delete loop_start and loop_end arguments. (precondition_loop_p): Delete loop_start and loop_info arguments; add loop argument. (final_biv_value): Delete loop_start and loop_end arguments; add loop argument. (final_giv_value, back_branch_in_range_p): Likewise. From-SVN: r31618
Michael Hayes committed -
From-SVN: r31617
Gavin Romig-Koch committed -
2000-01-25 Gavin Romig-Koch <gavin@cygnus.com> * Makefile.in (c-gperf.h) : Change the "See" pointer to point to the new "generated_files" doc. From-SVN: r31616
Gavin Romig-Koch committed -
decl.c (member_function_or_else): Change third arg from a format specifier to an `enum overload_flags'. * decl.c (member_function_or_else): Change third arg from a format specifier to an `enum overload_flags'. Callers changed. From-SVN: r31615
Kaveh R. Ghazi committed -
* parse.h (OBSOLETE_MODIFIER_WARNING): Don't use ANSI string concatenation. (OBSOLETE_MODIFIER_WARNING2): New macro allowing two args. * parse.y (register_fields): Don't pass a format specifier to OBSOLETE_MODIFIER_WARNING. (check_abstract_method_header): Use OBSOLETE_MODIFIER_WARNING2 instead of OBSOLETE_MODIFIER_WARNING, and don't pass a format specifier. (check_modifiers): Change function into a macro. (check_class_interface_creation): Pass a literal format string. From-SVN: r31614
Kaveh R. Ghazi committed -
From-SVN: r31613
Clinton Popetz committed -
From-SVN: r31612
Jason Merrill committed -
* c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c, c-typeck.c, objc/objc-act.c: Remove all references to obstack functions obsoleted by GC, such as push_obstacks_nochange, end_temporary_allocation, savealloc, saveable_tree_cons, etc. and code which existed only to decide whether or not to call them. Remove now-unused NESTED argument from start_function; all callers changed. Do not change behavior based on ggc_p. The use of the ixp_obstack in c-iterate.c and the util_obstack in objc/objc-act.c remain; these are not obsoleted by garbage collection. * c-tree.h: Update prototype for start_function. * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild. From-SVN: r31611
Zack Weinberg committed
-