- 26 Jan, 2003 2 commits
-
-
From-SVN: r61817
Michael Hayes committed -
From-SVN: r61814
GCC Administrator committed
-
- 25 Jan, 2003 33 commits
-
-
gcc/ * reload.c (maybe_memory_address_p): New function. (find_reloads_address): Use it instead of memory_address_p. gcc/testsuite/ * gcc.dg/20030123-1.c: New test. From-SVN: r61805
Ulrich Weigand committed -
final.c (shorten_branches): Align the address of code label when computing initial lengths and addresses. * final.c (shorten_branches): Align the address of code label when computing initial lengths and addresses. From-SVN: r61803
Kaz Kojima committed -
From-SVN: r61802
Kazu Hirata committed -
* config/i386/i386.c (x86_output_mi_thunk): Correct test for TARGET_MACHO. From-SVN: r61801
Andreas Jaeger committed -
* gcse.c (bypass_last_basic_block): New global variable. (bypass_block): Use redirect_edge_and_branch_force to redirect fall-through edges. Use bypass_last_basic_block to determine which blocks have valid PRE information. (bypass_conditional_jumps): Initialize bypass_last_basic_block. From-SVN: r61800
Roger Sayle committed -
From-SVN: r61799
Jan Hubicka committed -
PR opt/8492 * gcse.c (one_cprop_pass): Delete unreachable blocks. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r61798
Jan Hubicka committed -
* config/ia64/ia64.c (ia64_rwreloc_select_rtx_section): Rename from ia64_aix_select_rtx_section. (ia64_rwreloc_select_section): Simlarly; use default*_1 function instead of saving and restoring flag_pic. (ia64_rwreloc_unique_section): Similarly. * config/ia64/aix.h (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Update. * config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): New. From-SVN: r61797
Richard Henderson committed -
* config/h8300/h8300.c (h8300_shift_needs_scratch_p): Update a comment. From-SVN: r61796
Kazu Hirata committed -
From-SVN: r61795
Richard Henderson committed -
From-SVN: r61794
Kelley Cook committed -
* bitmap.h (BITMAP_WORD): New typedef: fundamental storage type for bitmaps. Use unsigned long. (nBITMAP_WORD_BITS): New macro. (BITMAP_WORD_BITS): New macro. (rest of file): Use it. * bitmap.c: Use it. From-SVN: r61793
Segher Boessenkool committed -
cp: PR c++/9403 * parser.c (cp_parser_class_or_namespace_name): Reject duplicate template keyword. (cp_parser_base_specifier): Look for and consume a TEMPLATE keyword. Replace switch with array index. PR c++/795 * semantics.c (finish_non_static_data_member): Remember the field's type even in a template. PR c++/9415 * pt.c (tsubst_copy_and_build, CALL_EXPR): BASELINK exprs are already scoped. PR c++/8545 * parser.c (cp_parser_cast_expression): Be more tentative. testsuite: PR c++/9403 * g++.dg/parse/template3.C: New test. * g++.old-deja/g++.pt/memclass5.C: Add needed template keyword. PR c++/795 * g++.dg/parse/template4.C: New test. PR c++/9415 * g++.dg/template/qual2.C: New test. PR c++/8545 * g++.old-deja/g++.brendan/parse3.C: Remove XFAIL. * g++.old-deja/g++.ns/bogus1.C: Change expected error. From-SVN: r61791
Nathan Sidwell committed -
2002-02-19 Robert Lipe <robertlipe@usa.net> * config/i386/t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff. From-SVN: r61790
Richard Henderson committed -
* builtins.c (purge_builtin_constant_p): Scan insn stream sequentially rather than by basic block. * function.c (purge_addressof): Simplify test with INSN_P. From-SVN: r61789
Roger Sayle committed -
* combine.c (simplify_comparison, case AND): Remove a redundant test. From-SVN: r61787
Kazu Hirata committed -
* function.h (struct function): New field calls_constant_p. (current_function_calls_constant_p): New macro for above. * function.c (prepare_function_start): Initialize calls_eh_return and calls_constant_p. * builtins.c (expand_builtin_constant_p): Set calls_constant_p. * toplev.c (rest_of_compilation): Only call purge_builtin_constant_p when the current_function_calls_constant_p. * integrate.c (expand_inline_function): Set calls_constant_p if the function being inlined has calls_constant_p set. From-SVN: r61786
Roger Sayle committed -
* cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not optimizing, even if flag_gcse is true. * toplev.c (rest_of_compilation): purge_builtin_constant_p only needs to be called when "optimize > 0 && flag_gcse". From-SVN: r61785
Roger Sayle committed -
stmt.c (emit_case_bit_tests): New routine to implement suitable switch statements using the equivalent of "if... * stmt.c (emit_case_bit_tests): New routine to implement suitable switch statements using the equivalent of "if ((1<<x) & cst) ... ". (case_bit_test_cmp): New comparison function for "qsort" to order case_bit_tests by decreasing number of destination nodes. (lshift_cheap_p): New function to determine if "1 << x" is cheap. (expand_end_case_type): Use emit_case_bit_tests to implement suitable switch statments. (CASE_USE_BIT_TESTS): New target macro to disable the above. * Makefile.in (stmt.o): Add dependency on optab.h. * doc/tm.texi (CASE_USE_BIT_TESTS): Document new target macro. * gcc.c-torture/execute/switch-1.c: New test case. From-SVN: r61784
Roger Sayle committed -
* config/ia64/crtend.asm [HAVE_INITFINI_ARRAY]: Make __do_global_ctors_aux hidden global and don't put it in .init_array. * config/ia64/crtbegin.asm [HAVE_INITFINI_ARRAY]: Put it here instead so that it comes first. From-SVN: r61782
Andreas Schwab committed -
* cp-tree.h (flagged_type_tree_s): Remove. (check_for_new_type): Likewise. * typeck2.c (check_for_new_type): Likewise. From-SVN: r61779
Kriang Lerdsuwanakij committed -
* df.c (read_modify_subreg_p): When osize == UNITS_PER_WORD, subreg is read/modify. From-SVN: r61773
Jan Hubicka committed -
* i386.c (ix86_expand_movstr, ix86_expand_clrstr): Consistently do libcall for large blocks. * i386.md (comi patterns): Set type to ssecomi. (sse2_unpck?pd): Fix mode of vec_select. * cse.c: Include except.h (cse_set_around_loop): Do not create new basic blocks. * Makefile.in (cse.o): Add dependnecy on except.h From-SVN: r61772
Jan Hubicka committed -
From-SVN: r61771
Jan Hubicka committed -
2003-01-25 Paolo Carlini <pcarlini@unitus.it> Tweaks for Bison-1.875. From the NEWS file: "- `parse error' -> `syntax error' Bison now uniformly uses the term `syntax error'" * gcc.dg/cpp/19990413-1.c: Test for "(parse|syntax) error". * gcc.dg/cpp/digraph2.c: Likewise. * gcc.dg/cpp/direct2.c: Likewise. * gcc.dg/cpp/paste4.c: Likewise. * gcc.dg/c90-restrict-1.c: Likewise. * gcc.dg/c99-func-2.c: Likewise. * gcc.dg/noncompile/920721-2.c: Likewise. * gcc.dg/noncompile/930622-2.c: Likewise. * gcc.dg/noncompile/940112-1.c: Likewise. * gcc.dg/noncompile/950921-1.c: Likewise. * gcc.dg/noncompile/951123-1.c: Likewise. * gcc.dg/noncompile/971104-1.c: Likewise. * gcc.dg/noncompile/990416-1.c: Likewise. From-SVN: r61768
Paolo Carlini committed -
* builtins.c (fold_trunc_transparent_mathfn): New function. (fold_builtin): Use it. * convert.c (convert_to_real): Re-enable code to convert math functions; add support for floor familly functions. From-SVN: r61764
Jan Hubicka committed -
* Makefile.in (cfgloop.o, cfgloopanal.o, cfgloopmanip.o): Add dependencies on coretypes.h and $(TM_H). From-SVN: r61762
Zdenek Dvorak committed -
From-SVN: r61761
Jan Hubicka committed -
From-SVN: r61759
Kazu Hirata committed -
From-SVN: r61756
Tom Tromey committed -
From-SVN: r61755
Stuart Hastings committed -
* config/c4x/c4x.md (UNSPEC_BU): New constants. (UNSPEC_RPTS, UNSPEC_LSH, UNSPEC_CMPHI, UNSPEC_RCPF): Likewise. (UNSPEC_RND, UNSPEC_RPTB_FILL, UNSPEC_LOADHF_INT): Likewise. (UNSPEC_STOREHF_INT, UNSPEC_RSQRF, UNSPEC_LOADQF_INT): Likewise. (UNSPEC_STOREQF_INT, UNSPEC_LDIV, UNSPEC_PUSH_ST): Likewise. (UNSPEC_POP_ST, UNSPEC_PUSH_DP, UNSPEC_POP_DP): Likewise. (UNSPEC_POPQI, UNSPEC_POPQF, UNSPEC_ANDN_ST): Likewise. (UNSPEC_RPTB_INIT, UNSPEC_TOIEEE, UNSPEC_FRIEEE): Likewise. From-SVN: r61754
Michael Hayes committed -
From-SVN: r61753
GCC Administrator committed
-
- 24 Jan, 2003 5 commits
-
-
* MAINTAINERS: Remove incorrect entry for Paul Eggert. Fix entry of HJ Lu. From-SVN: r61746
Gerald Pfeifer committed -
* configure.in: Remove special pex-cygwin consideration. * configure: Regenerate. * pex-cygwin.c: Remove. * Makefile.in: Remove pex-cygwin.[co] lines. From-SVN: r61744
Christopher Faylor committed -
2003-01-24 Paolo Carlini <pcarlini@unitus.it> * g++.dg/parse/undefined1.C: Add error message. From-SVN: r61742
Paolo Carlini committed -
* emit-rtl.c (reg_attrs_htab): New static variable. (reg_attrs_htab_hash, reg_attrs_htab_eq, get_reg_attrs): New static functions. (reg_rtx): Do not maintain regno_decl. (gen_rtx_REG_offset, set_reg_attrs_from_mem, set_delc_rtx, set_mem_attrs_from_reg): New global function. (init_emit): Do not initialize regno_decl. (init_emit_once): initialize reg_attrs_htab. * final.c (alter_subreg): Do not replace REG by SUBREG. (gen_mem_expr_from_op): Improve output. (output_asm_operands): Likewise. * function.c (assign_params): Do not set REGNO_DECL. * function.h (struct function): Kill regno_decl. (REGNO_DECL): Kill. * gengtype.c (adjust_field_rtx_def): Handle new field of reg. * print_rtl.c (print_rtx): Output REG information. * regclass.c (reg_scan_mark_refs): Update attrs. * reload1.c (alter_reg): Likewise. * simplify_rtx.c (simplify_subreg): Likewise. * stmt.c (expand_decl): Likewise. * rtl.def (REG): Add new field. * rtl.h (struct reg_attrs): New. (rtunion_def): At rtreg. (X0MEMATTR): Add checking. (X0REGATTR, REG_ATTRS, REG_EXPR, REG_OFFSET): New macro. (set_reg_attrs_from_mem, set_mem_attrs_from_reg, gen_rtx_REG_offset): Declare. * tree.h (SET_DECL_RTL): Call set_decl_rtl. From-SVN: r61741
Jan Hubicka committed -
* config/xtensa/xtensa.c: Remove unused include of machmode.h. (xtensa_emit_call, print_operand): Fix printf format strings to avoid compile warnings. (xtensa_function_prologue, xtensa_function_epilogue): Change type of "size" argument to HOST_WIDE_INT to fix compile warnings. * config/xtensa/xtensa-protos.h (xtensa_function_prologue, xtensa_function_epilogue): Ditto. From-SVN: r61739
Bob Wilson committed
-