aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-01-26* doc/gccint.texi: Update the copyright.Kazu Hirata2-1/+5
From-SVN: r61860
2003-01-26cpp.texi: Fix typos.Kazu Hirata8-12/+22
* doc/cpp.texi: Fix typos. * doc/extend.texi: Likewise. * doc/gty.texi: Likewise. * doc/install.texi: Likewise. * doc/passes.texi: Likewise. * doc/rtl.texi: Likewise. * doc/tm.texi: Likewise. From-SVN: r61858
2003-01-26fde-glibc.c: Fix comment typos.Kazu Hirata6-14/+22
* config/ia64/fde-glibc.c: Fix comment typos. * config/ia64/hpux.h: Likewise. * config/ia64/ia64.c: Likewise. * config/ia64/ia64.h: Likewise. * config/ia64/unwind-ia64.c: Likewise. From-SVN: r61857
2003-01-26i386-modes.def: Fix comment typos.Kazu Hirata4-5/+11
* config/i386/i386-modes.def: Fix comment typos. * config/i386/i386.c: Likewise. * config/i386/i386.md: Likewise. From-SVN: r61855
2003-01-26lang-specs.h: Revoke change to (incorrectly) prohibit passing -f options to ↵Toon Moene3-6/+9
cc1 when... 2003-01-26 Toon Moene <toon@moene.indiv.nluug.nl> * lang-specs.h: Revoke change to (incorrectly) prohibit passing -f options to cc1 when preprocessing. * news.texi: Document this. From-SVN: r61854
2003-01-26avr.h, [...]: Undefine ASM_FINISH_DECLARE_OBJECT before defining it.Steven Bosscher7-60/+71
2003-01-26 Steven Bosscher <s.bosscher@student.tudelft.nl> * config/avr/avr.h, config/cris/aout.h, config/elfos.h, config/i386/freebsd-aout.h, config/mips/iris6.h: Undefine ASM_FINISH_DECLARE_OBJECT before defining it. * toplev.c (rest_of_decl_compilation): Don't define ASM_FINISH_DECLARE_OBJECT. Only use it if it is defined. (rest_of_type_compilation): Don't ATTRIBUTE_UNUSED function parameters for DWARF2 targets because they _are_ used. From-SVN: r61851
2003-01-26Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.Michael Matz2-12/+18
2003-01-26 Michael Matz <matz@suse.de> * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error. From-SVN: r61838
2003-01-26fp-bit.h: Define macros for TFmode floating-point constants in IBM-extended ↵Alexandre Oliva3-1/+110
TFmode types. * fp-bit.h: Define macros for TFmode floating-point constants in IBM-extended TFmode types. (TMODES): Define if __LDBL_MANT_DIG__ has the newly-supported widths. * config/fp-bit.c (pack_d, unpack_d): Support IBM-extended TFmode type. From-SVN: r61837
2003-01-26fp-bit.h: Define macros for TFmode floating-point constants in IEEE quad ↵Alexandre Oliva3-59/+300
TFmode type. * config/fp-bit.h: Define macros for TFmode floating-point constants in IEEE quad TFmode type. Declare functions according to L_ macros. (TMODES): Define if __LDBL_MANT_DIG__ is 113. (TFtype, TItype, UTItype): Define if TMODES is defined. (MAX_UDI_INT, MAX_DI_INT, BITS_PER_DI): Likewise. (F_T_BITOFF, D_T_BITOFF): Define. (IMPLICIT_1, IMPLICIT_2): Cast constants to types that are guaranteed to be wide enough. * config/fp-bit.c: Check for L_ macros for tf functions. (__thenan_tf): New. (nan): Adjust. (pack_d, unpack_d): Support IEEE 854 quad type. (_fpmul_parts): Support TFmode. Compute exponent adjustment from FRAC_NBITS, FRAC_BITS and NGARDS. (usi_to_float): Cast constants to be shifted to fractype instead of assuming long long is wide enough. (sf_to_tf, df_to_tf, __make_tp, tf_to_df, tf_to_sf): New. From-SVN: r61835
2003-01-26* df.c: Remove prototype of unused function df_regno_rtl_debug.Andreas Jaeger2-5/+8
From-SVN: r61833
2003-01-26Makefile.in (FPBIT_FUNCS): Added _sf_to_tf.Alexandre Oliva3-4/+36
* Makefile.in (FPBIT_FUNCS): Added _sf_to_tf. (DBBIT_FUNCS): Added _df_to_tf. (TPBIT_FUNCS): New. (libgcc.mk): Pass TPBIT and TPBIT_FUNCS down. (LIBGCC_DEPS): Added TPBIT. * mklibgcc.in: Support TPBIT and TPBIT_FUNCS. From-SVN: r61832
2003-01-26optabs.c (expand_binop): Return xtarget if we haven't been able to move the ↵Alexandre Oliva2-2/+5
result to target. * optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't been able to move the result to target. From-SVN: r61829
2003-01-26expr.c (emit_group_store): Initialize dst with CONST0_RTX for the ↵Alexandre Oliva2-1/+6
appropriate mode. * expr.c (emit_group_store): Initialize dst with CONST0_RTX for the appropriate mode. From-SVN: r61828
2003-01-26calls.c (emit_library_call_value_1): Handle return values in a PARALLEL.Alexandre Oliva2-2/+20
* calls.c (emit_library_call_value_1): Handle return values in a PARALLEL. From-SVN: r61826
2003-01-26rtl.c (get_mode_alignment): Moved to...Alexandre Oliva3-25/+28
* rtl.c (get_mode_alignment): Moved to... * stor-layout.c: ... here. From-SVN: r61824
2003-01-26print-rtl.c (print_rtx): Don't print MEM details in GENERATOR_FILEs.Alexandre Oliva2-2/+7
* print-rtl.c (print_rtx): Don't print MEM details in GENERATOR_FILEs. From-SVN: r61822
2003-01-26hashtab.h (htab_alloc_with_arg, [...]): Add new types.Daniel Jacobowitz4-4/+106
include/ * hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types. (struct htab): Add alloc_arg, alloc_with_arg_f, free_with_arg_f. (htab_create_alloc_ex): New prototype. (htab_set_functions_ex): New prototype. libiberty/ * hashtab.c (htab_create_alloc_ex): New function. (hatab_set_functions_ex): New function. (htab_delete, htab_expand): Support alternate allocation functions. From-SVN: r61820
2003-01-26df.h: Update comments, tidy formatting.Michael Hayes3-136/+161
* df.h: Update comments, tidy formatting. (DF_FORWARD, DF_REVERSE, DF_UNION, DF_INTERSECTION): Rename from FORWARD, REVERSE, UNION, INTERSECTION. All uses updated. (OLD_DF_INTERFACE): Remove. (struct insn_info): Remove commented out insn field. * df.c: Update comments, tidy formatting. (df_def_table_realloc): Remove. From-SVN: r61819
2003-01-26calls.c (save_fixed_argument_area): Tidy.Alan Modra2-148/+79
* calls.c (save_fixed_argument_area): Tidy. (restore_fixed_argument_area): Tidy. Set alignment of stack_area. (expand_call): Comment typo fixes. Don't init low_to_save. Start call chain loop at 1 if !try_tail_call. Formatting. (emit_library_call_value_1): Don't init low_to_save or high_to_save. Use save_fixed_argument_area and restore_fixed_argument_area. From-SVN: r61818
2003-01-26* df.c (df_uses_record): Handle CC0.Michael Hayes2-2/+8
From-SVN: r61817
2003-01-26Daily bump.GCC Administrator2-2/+2
From-SVN: r61814
2003-01-25reload.c (maybe_memory_address_p): New function.Ulrich Weigand4-2/+50
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
2003-01-25final.c (shorten_branches): Align the address of code label when computing ↵Kaz Kojima2-1/+6
initial lengths and addresses. * final.c (shorten_branches): Align the address of code label when computing initial lengths and addresses. From-SVN: r61803
2003-01-25* config/m68hc11/m68hc11.md: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r61802
2003-01-25i386.c (x86_output_mi_thunk): Correct test for TARGET_MACHO.Andreas Jaeger2-6/+11
* config/i386/i386.c (x86_output_mi_thunk): Correct test for TARGET_MACHO. From-SVN: r61801
2003-01-25gcse.c (bypass_last_basic_block): New global variable.Roger Sayle2-5/+30
* 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
2003-01-25* gcse.c (local_cprop_pass): Update reg_sets table when needed.Jan Hubicka2-1/+10
From-SVN: r61799
2003-01-25re PR rtl-optimization/8492 (GCC spins forever compiling loop)Jan Hubicka4-2/+46
PR opt/8492 * gcse.c (one_cprop_pass): Delete unreachable blocks. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r61798
2003-01-25ia64.c (ia64_rwreloc_select_rtx_section): Rename from ↵Richard Henderson4-20/+37
ia64_aix_select_rtx_section. * 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
2003-01-25h8300.c (h8300_shift_needs_scratch_p): Update a comment.Kazu Hirata2-1/+6
* config/h8300/h8300.c (h8300_shift_needs_scratch_p): Update a comment. From-SVN: r61796
2003-01-25* config/m68k/m68k-none.h (ASM_SPEC): Adjust inter-option spacing.Richard Henderson2-1/+5
From-SVN: r61795
2003-01-25* ggc-simple.c (debug_ggc_tree): Add PTR cast.Kelley Cook2-1/+5
From-SVN: r61794
2003-01-25bitmap.h (BITMAP_WORD): New typedef: fundamental storage type for bitmaps.Segher Boessenkool3-57/+66
* 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
2003-01-25re PR c++/9403 (parse error on template keyword used for disambiguation)Nathan Sidwell11-74/+150
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
2003-01-25t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff.Richard Henderson2-5/+9
2002-02-19 Robert Lipe <robertlipe@usa.net> * config/i386/t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff. From-SVN: r61790
2003-01-25builtins.c (purge_builtin_constant_p): Scan insn stream sequentially rather ↵Roger Sayle3-21/+20
than by basic block. * 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
2003-01-25combine.c (simplify_comparison, case AND): Remove a redundant test.Kazu Hirata2-10/+11
* combine.c (simplify_comparison, case AND): Remove a redundant test. From-SVN: r61787
2003-01-25function.h (struct function): New field calls_constant_p.Roger Sayle6-1/+26
* 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
2003-01-25cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not optimizing, even ↵Roger Sayle3-2/+10
if flag_gcse is true. * 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
2003-01-25stmt.c (emit_case_bit_tests): New routine to implement suitable switch ↵Roger Sayle6-4/+277
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
2003-01-25crtend.asm [...]: Make __do_global_ctors_aux hidden global and don't put it ↵Andreas Schwab3-8/+18
in .init_array. * 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
2003-01-25cp-tree.h (flagged_type_tree_s): Remove.Kriang Lerdsuwanakij3-20/+6
* cp-tree.h (flagged_type_tree_s): Remove. (check_for_new_type): Likewise. * typeck2.c (check_for_new_type): Likewise. From-SVN: r61779
2003-01-25df.c (read_modify_subreg_p): When osize == UNITS_PER_WORD, subreg is ↵Jan Hubicka2-1/+6
read/modify. * df.c (read_modify_subreg_p): When osize == UNITS_PER_WORD, subreg is read/modify. From-SVN: r61773
2003-01-25i386.c (ix86_expand_movstr, [...]): Consistently do libcall for large blocks.Jan Hubicka5-20/+43
* 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
2003-01-25* gcc.c-torture/execute/20030125-1.[cx]: New test.Jan Hubicka3-0/+68
From-SVN: r61771
2003-01-25Tweaks for Bison-1.875.Paolo Carlini14-14/+33
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
2003-01-25builtins.c (fold_trunc_transparent_mathfn): New function.Jan Hubicka3-55/+88
* 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
2003-01-25Makefile.in (cfgloop.o, [...]): Add dependencies on coretypes.h and $(TM_H).Zdenek Dvorak2-3/+8
* Makefile.in (cfgloop.o, cfgloopanal.o, cfgloopmanip.o): Add dependencies on coretypes.h and $(TM_H). From-SVN: r61762
2003-01-25* builtins.c (fold_trunc_transparent_mathfn): Undo accidental commit.Jan Hubicka2-1/+4
From-SVN: r61761
2003-01-25Fix a small breakage.Kazu Hirata1-2/+2
From-SVN: r61759