- 06 Aug, 2000 23 commits
-
-
shared version of libobjc run correctly. From-SVN: r35531
Ovidiu Predescu committed -
* c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and CTI_UNSIGNED_PTRDIFF_TYPE. (signed_size_type_node): Define. (unsigned_ptrdiff_type_node): Define. * c-decl.c (init_decl_processing): Create the signed_size_type_node and unsigned_ptrdiff_type_node types. * c-common.c (T_SC): Define. (T_SST): Define. (T_UPD): Define. (print_char_table): Use T_SST for %zd, %zi, %zn. Use T_UPD for %to, %tu, %tx, %tX. Allow %hhn (T_SC). Add "c" to the flags for %s and %p. (scan_char_table): Use T_SC for %hhd, %hhi, %hhn. Use T_SST for %zd, %zi, %zn. Use T_UPD for %to, %tu, %tx, %tX. Add "c" to the flags for %c, %s and %[. (check_format_info): Only allow leniency for signedness of targets of character pointers (when pedantic) for formats flagged with "c", so for strings but not for %hh formats. When pedantic, don't allow character pointers to substitute for void pointers if a second level of indirection is present. testsuite: * gcc.dg/c99-printf-1.c: New test. From-SVN: r35530
Joseph Myers committed -
* invoke.texi (Options for Debugging Your Program or GCC): Update the names of dump files. From-SVN: r35529
Kazu Hirata committed -
From-SVN: r35528
Joseph Myers committed -
* h8300.c (dosize): Rearrange code for conciseness. (split_adds_subs): Likewise. From-SVN: r35527
Kazu Hirata committed -
From-SVN: r35526
Kazu Hirata committed -
From-SVN: r35525
Kazu Hirata committed -
From-SVN: r35524
Jeff Law committed -
From-SVN: r35523
Kazu Hirata committed -
From-SVN: r35522
Kaveh R. Ghazi committed -
* stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for HAVE_nonlocal_goto as well. * config/i960/i960.md (nonlocal_goto): Don't do it here. * config/pj/pj.md (nonlocal_goto): Likewise. From-SVN: r35521
Richard Henderson committed -
* loop.c (try_swap_copy_prop): New function. (load_mems): Rename copies to load_copies and add new regset store_copies. Check for sets of shadow registers and mark in store_copies. Call try_swap_copy_prop for registers marked in store_copies. From-SVN: r35520
Michael Hayes committed -
Sun Aug 6 00:54:42 2000 Ovidiu Predescu <ovidiu@cup.hp.com> * objc/objc-act.c: New command line option -fconstant-string-class to allow specifying a user defined constant string class, different from NXConstantString. * toplev.c: Moved the Objective-C specific options to objc/lang-options.h. * objc/lang-options.h: Moved the Objective-C specific options from toplev.c. Added -fconstant-string-class. From-SVN: r35519
Ovidiu Predescu committed -
New command line option -fconstant-string-class to allow specifying a user defined constant string class... New command line option -fconstant-string-class to allow specifying a user defined constant string class, different from NXConstantString. From-SVN: r35518
Ovidiu Predescu committed -
From-SVN: r35517
Ovidiu Predescu committed -
Moved the Objective-C specific options from toplev.c. Added -fconstant-string-class to allow specifying a user defined constant string class, different from NXConstantString. From-SVN: r35516
Ovidiu Predescu committed -
lang-options.h: Added a comma after the last element to avoid syntax errors when other languages define additional options. From-SVN: r35515
Ovidiu Predescu committed -
languages define additional options. From-SVN: r35514
Ovidiu Predescu committed -
From-SVN: r35513
Jeff Law committed -
* java/io/PrintWriter.java: Merged comments from Classpath. (printlnUnsynchronized): Removed. (println()): Print the separator. (println): Call println(), not printlnUnsynchronized. (out): Now protected, to match spec. From-SVN: r35512
Tom Tromey committed -
* java/io/StreamTokenizer.java (TT_NONE): Now private. (nextToken): Handle backslashed newline. From Oskar Liljeblad. For PR java.io/301. From-SVN: r35511
Tom Tromey committed -
elf.h (CTOR_LIST_BEGIN, [...]): change type of __CTOR_LIST__ from func_ptr array to just func_ptr... * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN, DTOR_LIST_END): change type of __CTOR_LIST__ from func_ptr array to just func_ptr, to avoid extra alignment imposed on arrays. * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise. From-SVN: r35510
Chris Demetriou committed -
* mips.h: Clean up comments and spacing near MASKs. (TARGET_UNIX_ASM): Delete. (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV, MASK_UNINIT_CONST_IN_RODATA): Change values to make mask values contiguous. From-SVN: r35509
Chris Demetriou committed
-
- 05 Aug, 2000 11 commits
-
-
From-SVN: r35508
Joseph Myers committed -
c-common.c (print_char_table): Add entries for the X/Open ' format flag (print decimals with locale's... * c-common.c (print_char_table): Add entries for the X/Open ' format flag (print decimals with locale's thousands grouping character). Make %C expect wint_t. (check_format_info): If pedantic, warn when the %n$ operand number form is used. Allow for the ' flag; warn about it if pedantic. From-SVN: r35507
Joseph Myers committed -
* i386.h (FUNCTION_OK_FOR_SIBCALL): Not OK if DECL's return type is a float mode, cfun->decl's return type is not, and TARGET_FLOAT_RETURNS_IN_80387. * gcc.c-torture/execute/20000731-1.x: Delete. From-SVN: r35506
Zack Weinberg committed -
From-SVN: r35505
Jason Merrill committed -
From-SVN: r35504
Jeff Law committed -
2000-08-04 Jeffrey D. Oldham <oldham@codesourcery.com> * inc/cxxabi.h (__pbase_type_info): Changed member names to match specifications. (__pointer_to_member_type_info): Likewise. (__base_class_info): Likewise. (__class_type_info): Likewise. (__si_class_type_info): Likewise. (__vmi_class_type_info): Likewise. * tinfo.cc (__si_class_type_info::__do_find_public_src): Changed member names to match specifications. (__vmi_class_type_info::__do_find_public_src): Likewise. (__si_class_type_info::__do_dyncast): Likewise. (__vmi_class_type_info::__do_dyncast): Likewise. (__si_class_type_info::__do_upcast): Likewise. (__vmi_class_type_info::__do_upcast): Likewise. * tinfo2.cc (__pbase_type_info::__do_catch): Likewise. (__pbase_type_info::__pointer_catch): Likewise. (__pointer_type_info::__pointer_catch): Likewise. (__pointer_to_member_type_info::__pointer_catch): Likewise. From-SVN: r35503
Jeffrey Oldham committed -
* aclocal.m4: Replace copy of ../libtool.m4 with sinclude(../libtool.m4). From-SVN: r35502
Zack Weinberg committed -
2000-08-04 Andreas Schwab <schwab@suse.de> * cppmain.c (cb_def_pragma): Skip the first two tokens from the token list, which are always `#' and `pragma'. 2000-08-04 Zack Weinberg <zack@wolery.cumb.org> * tree.c (tree_expr_nonnegative_p): Move to... * fold-const.c: ... here. Also handle BIND_EXPR and RTL_EXPR. (rtl_expr_nonnegative_p): New. * tree.h: Add prototype for rtl_expr_nonnegative_p. * real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM, CONST_DOUBLE_CHAIN: Move to... * rtl.h: ...here. Use XCINT/XCEXP. * Makefile.in: Remove toplev.o from OBJS. Add rule to make libbackend.a; add libbackend.a to STAGESTUFF. Add BACKEND variable. Use BACKEND when linking cc1, not OBJS. Add BACKEND to VOL_FILES. * objc/Make-lang.in (cc1obj): Link with $(BACKEND). ch: * Make-lang.in (cc1chill): Depend on $(BACKEND), not stamp-objlist. * Makefile.in (cc1chill): Link with $(BACKEND). Define BACKEND, eliminate C_OBJS (was commented out), OBJS, OBJDEPS. cp: * Make-lang.in (cc1plus): Depend on $(BACKEND), not stamp-objlist. * Makefile.in: Add C_OBJS, BACKEND; delete OBJS, OBJDEPS. (cc1plus): Link with $(BACKEND) and $(C_OBJS). f: * Make-lang.in (f771): Depend on $(BACKEND), not stamp-objlist. * Makefile.in: Add BACKEND; delete OBJS, OBJDEPS. (f771): Link with $(BACKEND). java: * Make-lang.in (jc1, jv-scan): Depend on $(BACKEND), not stamp-objlist. * Makefile.in: Add BACKEND; delete OBJS, OBJDEPS. (jc1): Link with $(BACKEND). (jv-scan): Depend on version.o, not all of $(OBJS) or $(BACKEND). From-SVN: r35501
Zack Weinberg committed -
* lib/gcc-dg.exp: Set up TORTURE_OPTIONS, torture_with_loops, and torture_without_loops as is done by c-torture.exp. (search_for): Copy from c-torture.exp. (gcc-dg-runtest): New function, drives a directory of tests iterating over the TORTURE_OPTIONS. (scan-assembler, scan-assembler-not): Move here from individual directory drivers. * gcc.dg/dg.exp: scan-assembler, scan-assembler-not now defined by lib/gcc-dg.exp. * gcc.dg/cpp/cpp.exp: Likewise. * gcc.dg/noncompile/noncompile.exp: Likewise. Use gcc-dg-runtest, so we cycle over optimization options. * gcc.dg/cpp/20000625-2.c: Expect warning on line 8, not 9. * gcc.dg/compare2.c: No longer expected to fail. From-SVN: r35500
Zack Weinberg committed -
From-SVN: r35499
Jason Merrill committed -
* pt.c (do_type_instantiation): Add complain parm; don't complain if called recursively. * cp-tree.h, parse.y: Adjust. From-SVN: r35498
Jason Merrill committed
-
- 04 Aug, 2000 6 commits
-
-
2000-08-05 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * config/c4x/c4x.md (return_indirect_internal): New. * config/c4x/c4x.c (c4x_expand_epilogue): Use it. From-SVN: r35497
Herman A.J. ten Brugge committed -
* c-common.c (time_char_table): Mark up formats added in C99 and make other corrections. %D and %g were added in C99. %Og is an extension. %EX is permitted. %R, %T, %n, %r, %t were added in C99. %e was added in C99. %Oj is an extension. %G and %z are in C99 rather than GNU extensions, but %OG and %Oz are extensions. %h was added in C99. %C was added in C99. %OY and %OC are extensions. Add the C99 format %F. (check_format_info): If pedantic and not in C99 mode, warn for C99 formats, %E and %O. From-SVN: r35496
Joseph Myers committed -
* function.c (schedule_fixup_var_refs): New function, broken out of put_reg_into_stack. (put_reg_into_stack): Use it. (put_var_into_stack): In CONCAT case, fixup up references for components only after fixing up references to the whole concat. testsuite: * gcc.c-torture/execute/20000804-1.c: New test. From-SVN: r35495
J"orn Rennecke committed -
* alias.c (mark_constant_function): Use INSN_P. (init_alias_analysis): Likewise. * combine.c (combine_instructions): Use INSN_P. (can_combine_p): Likewise. (try_combine): Likewise. (distribute_notes): Likewise. (distribute_links): Likewise. * cse.c (cse_around_loop): Use INSN_P. (invalidate_skipped_block): Likewise. (cse_set_around_loop): Likewise. (cse_end_of_basic_block): Likewise. (delete_trivially_dead_insns): Likewise. * emit-rtl.c (unshare_all_rtl_again): Use INSN_P. (unshare_all_rtl_1): Likewise. (next_cc0_user): Likewise. (try_split make_insn_raw): Likewise. (remove_unnecessary_notes): Likewise. * final.c (shorten_branches): Use INSN_P. (leaf_renumber_regs): Likewise. (leaf_renumber_regs_insn): Likewise. * flow.c (find_label_refs): Use INSN_P. (verify_wide_reg): Likewise. (notice_stack_pointer_modification): Likewise. (count_or_remove_death_notes): Likewise. (verify_flow_info): Likewise. (clear_log_links): Likewise. * function.c (fixup_var_refs_insns): Use INSN_P. (compute_insns_for_mem): Likewise. * gcse.c (alloc_gcse_mem): Use INSN_P. (compute_sets): Likewise. (compute_hash_table): Likewise. (classic_gcse): Likewise. (cprop): Likewise. (insert_insn_end_bb): Likewise. (delete_null_pointer_checks_1): Likewise. * global.c (expand_preferences): Use INSN_P. (build_insn_chain): Likewise. * graph.c (node_data): Use INSN_P. * haifa-sched.c (priority): Use INSN_P. (rm_line_notes): Likewise. (rm_other_notes): Likewise. (find_insn_reg_weight): Likewise. (init_target_units): Likewise. (schedule_block): Likewise. (compute_block_forward_dependences): Likewise. (debug_dependencies): Likewise. (set_priorities): Likewise. * integrate.c (function_cannot_inline_p): Use INSN_P. (save_parm_insns): Likewise. (copy_insn_list): Likewise. * jump.c (mark_all_labels): Use INSN_P. (never_reached_warning): Likewise. * lcm.c (optimize_mode_switching): Use INSN_P. * local-alloc.c (validate_equiv_mem): Use INSN_P. (memref_used_between_p): Likewise. (update_equiv_regs): Likewise. (block_alloc): Likewise. (no_conflict_p): Likewise. * loop.c (scan_loop): Use INSN_P. (find_and_verify_loops): Likewise. (count_loop_regs_set): Likewise. (loop_reg_used_before_p): Likewise. (strength_reduce): Likewise. (recombine_givs): Likewise. (check_dbra_loop): Likewise. (load_mems): Likewise. (try_copy_prop): Likewise. * print-rtl.c (print_rtx): Use INSN_P. * recog.c (find_single_use): Use INSN_P. * reg-stack.c (stack_regs_mentioned): Use INSN_P. (next_flags_user): Likewise. (swap_rtx_condition): Likewise. * regmove.c (mark_flags_life_zones): Use INSN_P. (optimize_reg_copy_1): Likewise. (optimize_reg_copy_2): Likewise. (optimize_reg_copy_3): Likewise. (reg_is_remote_constant_p): Likewise. (fixup_match_2): Likewise. (regmove_optimize): Likewise. (fixup_match_1): Likewise. * regrename.c (build_def_use): Use INSN_P. (replace_reg_in_block): Likewise. (consider_use): Likewise. * reload.c (find_equiv_reg): Use INSN_P. * reload1.c (reload): Use INSN_P. (maybe_fix_stack_asms): Likewise. (calculate_needs_all_insns): Likewise. (reload_as_needed): Likewise. (emit_output_reload_insns): Likewise. (delete_address_reloads_1): Likewise. (reload_cse_regs_1): Likewise. (reload_combine): Likewise. (reload_cse_move2add): Likewise. * reorg.c (redundant_insn): Use INSN_P. (dbr_schedule): Likewise. * resource.c (find_dead_or_set_registers): Use INSN_P. (mark_target_live_regs): Likewise. * rtlanal.c (reg_used_between_p): Use INSN_P. (reg_referenced_between_p): Likewise. (reg_set_between_p): Likewise. (reg_set_p): Likewise. (single_set): Likewise. (multiple_sets): Likewise. (find_last_value): Likewise. (reg_set_last): Likewise. (find_reg_note): Likewise. (find_regno_note): Likewise. * sibcall.c (sequence_uses_addressof): Use INSN_P. * simplify-rtx.c (cselib_process_insn): Use INSN_P. * ssa.c (find_evaluations): Use INSN_P. (rename_block): Likewise. (rename_equivalent_regs): Likewise. * unroll.c (loop_find_equiv_value): Use INSN_P. (set_dominates_use): Likewise. * varasm.c (mark_constant_pool): Use INSN_P. (mark_constants): Likewise. * config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P. (alphaev4_next_group): Likewise. (alphaev5_next_group): Likewise. * config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P. (c4x_rptb_rpts_p): Likewise. * config/mips/mips.c (mips16_optimize_gp): Use INSN_P. * config/rs6000/rs6000.c (uses_TOC): Use INSN_P. (rs6000_adjust_priority): Likewise. * config/sh/sh.c (sh_loop_align): Use INSN_P. (machine_dependent_reorg): Likewise. (split_branches): Likewise. * config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P. From-SVN: r35494
Rodney Brown committed -
From-SVN: r35493
Mark Mitchell committed -
combine.c (recog_for_combine): Remove the old notes prior to attempting to recognize the new pattern. * combine.c (recog_for_combine): Remove the old notes prior to attempting to recognize the new pattern. (distribute_notes): Ignore REG_NONNEG notes. From-SVN: r35492
John Wehle committed
-