aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-07-22Gnu.java: Reference all implementation classes by using Class.getName().Mark Wielaard2-9/+22
* gnu/java/security/provider/Gnu.java: Reference all implementation classes by using Class.getName(). From-SVN: r55660
2002-07-22re PR target/6744 (Generates ASM containing reference to pseudo register z)Stephane Carrez2-0/+7
PR target/6744 * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace ASM_OPERANDS instructions. From-SVN: r55659
2002-07-22re PR target/7361 (Internal compiler error in reload_cse_simplify_operands, ↵Stephane Carrez2-1/+7
at reload1.c:8387) PR target/7361 * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept constant addresses only on 68HC12. From-SVN: r55658
2002-07-22cppfiles.c (stack_include_file): Correct test of whether a dependency should ↵Neil Booth2-1/+6
be output. * cppfiles.c (stack_include_file): Correct test of whether a dependency should be output. From-SVN: r55657
2002-07-22* collect2.c (is_ctor_dtor): Add other possible JOINER values.David Edelsohn2-0/+13
From-SVN: r55656
2002-07-22arm.md (movqi): If optimizing and we can create pseudos...Richard Earnshaw2-3/+25
* arm.md (movqi): If optimizing and we can create pseudos, use a ZERO_EXTEND to load from memory, then copy the result into the target. (movhi): Likewise, but only for ARMv4. From-SVN: r55655
2002-07-22* ssa-ccp.c (PHI_PARMS): Remove.Neil Booth2-1/+4
From-SVN: r55654
2002-07-22mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS on big-endian targets.Richard Sandiford2-2/+11
* config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS on big-endian targets. From-SVN: r55653
2002-07-22hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE, [...]): New formatting macros.Kaveh R. Ghazi3-10/+34
* hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE, HOST_WIDE_INT_PRINT_UNSIGNED_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE): New formatting macros. * ra-debug.c (dump_static_insn_cost): Avoid string concatenation. From-SVN: r55652
2002-07-22rtlanal.c (subreg_regno_offset): Return correct offset for big endian ↵J"orn Rennecke2-1/+14
paradoxical subregs. * rtlanal.c (subreg_regno_offset): Return correct offset for big endian paradoxical subregs. From-SVN: r55650
2002-07-22PR c++/7347, c++/7348Kriang Lerdsuwanakij13-32/+121
PR c++/7347, c++/7348 * cp-tree.h (tsubst_flags_t): Add tf_parsing. * decl.c (make_typename_type): Use it. (make_unbound_class_template): Likewise. (lookup_name_real): Don't call type_access_control if scope is template parameter dependent. * parse.y (template_arg): Call make_unbound_class_template with tf_parsing set. (nest_name_specifier): Call make_typename_type with tf_parsing set. (typename_sub0): Likewise. (typename_sub1): Likewise. (instantiate_decl): Push class scope. * pt.c (regenerate_decl_from_template): Call pushclass and popclass for both static variable and member function template. (instantiate_decl) Call pushclass and popclass when tsubst'ing type and arguments. * search.c (type_access_control): Do type access for TEMPLATE_DECL too. * g++.dg/template/access4.C: New test. * g++.dg/template/access5.C: New test. * g++.old-deja/g++.pt/memtemp85.C: Fix access problem. * g++.old-deja/g++.pt/memtemp86.C: Likewise. * g++.old-deja/g++.pt/ttp58.C: Likewise. * g++.old-deja/g++.pt/memtemp89.C: Remove XFAIL. From-SVN: r55649
2002-07-22optabs.c (expand_vector_unop): Don't expand using sub_optab if we got the ↵J"orn Rennecke2-2/+8
wrong mode. * optabs.c (expand_vector_unop): Don't expand using sub_optab if we got the wrong mode. From-SVN: r55648
2002-07-22hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.J"orn Rennecke4-3/+12
* hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define. * genrecog.c (write_switch, write_cond): Use it. * genemit.c (gen_exp): Likewise. From-SVN: r55647
2002-07-22* c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.Jakub Jelinek2-0/+5
From-SVN: r55646
2002-07-22c-decl.c (build_compound_literal): Defer compound literal decls until until ↵Jakub Jelinek4-5/+45
file end to emit them only if... * c-decl.c (build_compound_literal): Defer compound literal decls until until file end to emit them only if they are actually used. * gcc.dg/gnu89-init-2.c: New test. From-SVN: r55645
2002-07-22Daily bump.GCC Administrator7-7/+7
From-SVN: r55643
2002-07-22ra-build.c (check_conflict_numbers): Hide unused function.Kaveh R. Ghazi4-45/+59
* ra-build.c (check_conflict_numbers): Hide unused function. (livethrough_conflicts_bb): Avoid automatic aggregate initialization. (parts_to_webs_1): Avoid `U' integer constant modifier. (conflicts_between_webs): Wrap a variable in the macro controlling its usage. * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE. (dump_igraph, dump_graph_cost): Avoid string concatenation (dump_static_insn_cost): Avoid automatic aggregate initialization. * ra-rewrite.c (insert_stores): Avoid automatic aggregate initialization. (dump_cost): Avoid string concatenation From-SVN: r55637
2002-07-21expr.c (expand_expr): Don't use GOTO_SUBROUTINE_EXPR when finally_block can ↵Richard Henderson4-19/+72
be re-expanded. * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded. * lang.c (java_unsafe_for_reeval): New. (LANG_HOOKS_UNSAFE_FOR_REEVAL): New. From-SVN: r55636
2002-07-21unroll.c (find_splittable_givs): Do not split DEST_ADDR givs that are not ↵Richard Henderson2-99/+8
unrolled completely. * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs that are not unrolled completely. From-SVN: r55635
2002-07-21loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.Richard Henderson4-7/+16
* loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS. * loop.c (strength_reduce): Update. * toplev.c (rest_of_compilation): Do unrolling in the first loop pass, not the second. From-SVN: r55634
2002-07-21emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL when ↵Richard Henderson4-1/+56
flag_argument_noalias == 2. * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL when flag_argument_noalias == 2. * alias.c (nonoverlapping_memrefs_p): Handle that. * print-rtl.c (print_mem_expr): Likewise. From-SVN: r55633
2002-07-21libgcc2.c (__divdi3, __moddi3): Use unary minus operator instead of __negdi2 ↵Hartmut Schirmer2-10/+12
directly. * libgcc2.c (__divdi3, __moddi3): Use unary minus operator instead of __negdi2 directly. From-SVN: r55632
2002-07-21gengenrtl.c (gencode): Don't define obstack_alloc_rtx.Neil Booth8-45/+15
* gengenrtl.c (gencode): Don't define obstack_alloc_rtx. * function.c (SYMBOL__MAIN): Remove definition. * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove. * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove. * profile.c (GCOV_INDEX_TO_BB): Remove. * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove. * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove. From-SVN: r55631
2002-07-21c-lex.c (GET_ENVIRONMENT): Remove.Neil Booth9-41/+36
* c-lex.c (GET_ENVIRONMENT): Remove. * collect2.c (GET_ENV_PATH_LIST): Remove. (prefix_from_env): Use GET_ENVIRONMENT. * cppinit.c (GET_ENV_PATH_LIST): Remove. (init_standard_includes): Use GET_ENVIRONMENT. * defaults.h (GET_ENVIRONMENT): Define here if not already. * gcc.c (GET_ENV_PATH_LIST): Remove. (make_relative_prefix, process_command): Update. * protoize.c (GET_ENV_PATH_LIST): Remove. (do_processing): Update. java: * jcf-path.c (GET_ENV_PATH_LIST): Remove. (jcf_path_init): Use GET_ENVIRONMENT. From-SVN: r55630
2002-07-21c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.Gabriel Dos Reis9-20/+34
2002-07-21 Gabriel Dos Reis <gdr@nerim.net> * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'. (grokdeclarator): Likewise. * c-format.c (C_STD_NAME): Likewise. * c-lex.c (interpret_integer): Likewise. * c-typeck.c (build_array_ref): Likewise. * cpplex.c (_cpp_lex_direct): Likewise. * toplev.c (documented_lang_options): Likewise. testsuite/ 2002-07-21 Gabriel Dos Reis <gdr@nerim.net> * gcc.dg/c90-arraydecl-1.c: Change C89 too C90. From-SVN: r55629
2002-07-21* c-format.c (T99_I, T99_UI): Remove.Neil Booth2-2/+4
From-SVN: r55628
2002-07-21* c-typeck.c (SAVE_SPELLING_DEPTH): Remove.Neil Booth2-9/+4
From-SVN: r55627
2002-07-21gcse.c (do_local_cprop): Do not extend lifetimes of registers set by ↵Jan Hubicka2-1/+15
do_local_cprop. * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by do_local_cprop. From-SVN: r55626
2002-07-21* reload1.c (fixup_abnormal_edges): Remove unused variable.Andreas Jaeger2-1/+4
From-SVN: r55625
2002-07-21Enhancements for the if-conversion passBernd Schmidt4-182/+668
From-SVN: r55624
2002-07-21Daily bump.GCC Administrator7-7/+7
From-SVN: r55622
2002-07-21decl2.c (cxx_decode_option): Simplify -fhandle-exceptions test by using ↵Roger Sayle2-4/+8
positive_option. * decl2.c (cxx_decode_option): Simplify -fhandle-exceptions test by using positive_option. Make whitespace consistent. From-SVN: r55616
2002-07-20gcse.c: Include cselib.hJan Hubicka2-46/+148
* gcse.c: Include cselib.h (constptop_register): Break out from ... (cprop_insn): ... here; kill basic_block argument. (do_local_cprop, local_cprop_pass): New functions. (one_cprop_pass): Call local_cprop_pass. From-SVN: r55615
2002-07-20simplify-rtx.c (simplify_relational_operation): Optimize abs(x) < 0.0 (and ↵Roger Sayle4-0/+67
abs(x) >= 0.0 when using -ffast-math). * simplify-rtx.c (simplify_relational_operation): Optimize abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math). * gcc.c-torture/execute/20020720-1.c: New test case. From-SVN: r55614
2002-07-20* MAINTAINERS: Add myself as ra* maintainer.Michael Matz2-0/+5
From-SVN: r55613
2002-07-20* ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.Michael Matz2-1/+6
From-SVN: r55612
2002-07-20cppexp.c (struct op): Add token pointer.Neil Booth6-28/+104
* cppexp.c (struct op): Add token pointer. (check_promotion, CHECK_PROMOTION): New. (optab): Update. (_cpp_parse_expr): Update, use token pointer of struct op. (reduce): Warn about change of sign owing to promotion. * cppinit.c (cpp_handle_option): New warning if -Wall. * cpplib.h (struct cpp_options): New member. testsuite: * gcc.dg/cpp/Wsignprom.c: New tests. From-SVN: r55611
2002-07-20spew.c (struct uinparsed_test): Replace 'filename' and 'lineno' members with ↵Gabriel Dos Reis2-33/+35
'locus'. * spew.c (struct uinparsed_test): Replace 'filename' and 'lineno' members with 'locus'. Adjust use throughout. (struct feed): Likewise. (alloc_unparsed_test): Change prototype, take a 'const location_t *'. Adjust use. (snarf_defarg): Use error(), not error_with_file_and_line(). From-SVN: r55610
2002-07-20Daily bump.GCC Administrator7-7/+7
From-SVN: r55608
2002-07-20abi.txt: New file.Phil Edwards16-1468/+2686
2002-07-20 Phil Edwards <pme@gcc.gnu.org> * docs/html/abi.txt: New file. * docs/html/23_containers/howto.html: Tweak vector-overhead text. * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html: Import from upstream, R22. * include/bits/char_traits.h, include/bits/stl_iterator.h, include/bits/stl_iterator_base_types.h, libsupc++/exception, libsupc++/new, libsupc++/typeinfo: Use @brief markup. * include/bits/deque.tcc, include/bits/stl_alloc.h, include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal of deprecated functions until 3.4. (Same timeframe, different text.) * include/bits/stl_vector.h: Ditto. Also do the same cleanups that the other sequence classes received. From-SVN: r55602
2002-07-19rs6000.md: Remove ppc630 fpcompare from single fpu list.David Edelsohn3-18/+26
* config/rs6000/rs6000.md: Remove ppc630 fpcompare from single fpu list. Separate Power4 compare and delayed_compare. Correct Power4 fpcompare. (fix_truncdfsi2_internal): Restore FPR preference. * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3, mcpu?power4, mcpu?604e. Remove mpower, mpower2, mpowerpc. From-SVN: r55601
2002-07-19* reload1.c (reload_as_needed): Duplicate oldpat.Momchil Velikov2-1/+5
From-SVN: r55600
2002-07-20New test.Alan Modra2-0/+40
From-SVN: r55599
2002-07-20re PR rtl-optimization/7130 (miscompiled code for gcc-3.1 on ↵Alan Modra4-11/+32
powerpc-unknown-linux-gnu with -funroll-all-loops) PR optimization/7130 * loop.h (struct loop_info): Add "preconditioned". * unroll.c (unroll_loop): Set it. * doloop.c (doloop_modify_runtime): Correct count for unrolled loops. From-SVN: r55598
2002-07-19rtl.def (CODE_LABEL): Remove slot 8.Zack Weinberg11-51/+158
* rtl.def (CODE_LABEL): Remove slot 8. * rtl.h (struct rtx_def): Document new uses of jump and call fields. (LABEL_ALTERNATE_NAME): Delete. (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New. * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME. * final.c (output_alternate_entry_point): New. (final_scan_insn): Use it instead of ASM_OUTPUT_ALTERNATE_LABEL_NAME. Do not consider possibility of a case label being an alternate entry point. * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P. * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL. Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME (field deleted). * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs. * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME. * doc/tm.texi: Delete documentation of ASM_OUTPUT_ALTERNATE_LABEL_NAME. From-SVN: r55597
2002-07-19iris5gas.h (DWARF2_DEBUGGING_INFO): Define.Rainer Orth7-18/+91
* config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define. (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG. (LINK_SPEC): Define. (STARTFILE_SPEC): Define. (ENDFILE_SPEC): Define. * config/mips/iris6-o32.h (LINK_SPEC): Move ... * config/mips/iris6-o32-as.h (LINK_SPEC): ... here. * config/mips/iris6-o32-gas.h: New file. * config.gcc (mips-sgi-irix6*o32): Use it. * config/mips/t-iris5-gas: New file. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it. From-SVN: r55596
2002-07-19cppexp.c (ALWAYS_EVAL): Remove.Neil Booth4-108/+133
* cppexp.c (ALWAYS_EVAL): Remove. (optab, reduce): Always evaluate. (num_unary_op, num_binary_op, num_div_op): Issue diagnostics only if not skipping evaluation. testsuite: * gcc.dg/cpp/expr.c: New tests. From-SVN: r55595
2002-07-19* config/avr/avr.c (debug_hard_reg_set): Remove.Marek Michalkiewicz2-15/+4
From-SVN: r55594
2002-07-19[ ChangeLog ]Chris Demetriou4-4/+16
2002-07-19 Chris Demetriou <cgd@broadcom.com> * gcc.c (cpp_options): Include "%1" (cc1_spec). [ cp/ChangeLog ] 2002-07-19 Chris Demetriou <cgd@broadcom.com> * lang-specs.h (@c++): Include "%2" (cc1plus_spec) wherever cpp_options is included. From-SVN: r55591
2002-07-19* loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.Richard Henderson2-6/+12
From-SVN: r55590