- 21 Jun, 2002 10 commits
-
-
2002-06-21 Richard Henderson <rth@redhat.com> * bb-reorder.c (make_reorder_chain_1): Search harder for the vax casesi fallthru edge. * cfglayout.c (cleanup_unconditional_jumps): Use redirect_edge_succ_nodup. Do not delete ADDR_VEC insns as dead. * cfgrtl.c (force_nonfallthru_and_redirect): Place redirection block after ADDR_VEC. From-SVN: r54885
Richard Henderson committed -
* Object.m (forward, read, write): Fix unused parameter warnings. * encoding.c: Include <stdlib.h>. (target_flags): Mark with attribute unused. (atoi): Delete. * runtime.h (__objc_selector_max_index): Change to unsigned int. (__objc_generate_gc_type_description): Prototype. * selector.c (__objc_selector_max_index): Change to unsigned int. From-SVN: r54884
Kaveh R. Ghazi committed -
* Make-lang.in (treelang/tree1.o, treelang/treetree.o, treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H). From-SVN: r54881
Andreas Jaeger committed -
From-SVN: r54879
Rainer Orth committed -
From-SVN: r54877
GCC Administrator committed -
* java/sql/ParameterMetaData.java, java/sql/SQLPermission.java, java/sql/Savepoint.java: New files. * java/sql/Array.java, java/sql/BatchUpdateException.java, java/sql/Blob.java, java/sql/CallableStatement.java, java/sql/Clob.java, java/sql/Connection.java, java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java, java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java, java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java, java/sql/Ref.java, java/sql/ResultSet.java, java/sql/ResultSetMetaData.java, java/sql/SQLData.java java/sql/SQLException.java, java/sql/SQLInput.java, java/sql/SQLOutput.java, java/sql/SQLWarning.java java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java, java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0 (JDK 1.4) specification. * javax/sql/ConnectionEvent.java, javax/sql/ConnectionEventListener.java, javax/sql/ConnectionPoolDataSource.java, javax/sql/DataSource.java, javax/sql/PooledConnection.java, javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java, javax/sql/RowSet.java, javax/sql/RowSetListener.java, javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java, javax/sql/RowSetWriter.java, javax/sql/XAConnection.java, javax/sql/XADataSource.java: New files. * Makefile.am: Add new files. * Makefile.in: Rebuilt. From-SVN: r54871
Bryce McKinlay committed -
* cpperror.c (cpp_error): For traditional CPP, default to diagnostics on pfile->line. * cpplib.c (prepare_directive_trad): Set line number for diagnostics for #define too. * cpptrad.c (skip_whitespace): Skip comments properly. (_cpp_expansions_different_trad): Initialize quote2. testsuite: * gcc.dg/cpp/trad: New directory with traditional tests copied from parent directory. * gcc.dg/cpp/assert_trad1.c, gcc.dg/cpp/assert_trad2.c, gcc.dg/cpp/assert_trad3.c, gcc.dg/cpp/defined_trad.c, gcc.dg/cpp/hash2.c, gcc.dg/cpp/tr-define.c, gcc.dg/cpp/tr-direct.c, gcc.dg/cpp/tr-sign.c, gcc.dg/cpp/tr-str.c, gcc.dg/cpp/uchar-2.c: Move to trad/ and rename. * gcc.dg/cpp/trad/__STDC__.c, gcc.dg/cpp/trad/comment.c, gcc.dg/cpp/trad/escaped-eof.c, gcc.dg/cpp/trad/redef1.c, gcc.dg/cpp/trad/redef2.c: New tests. * gcc.dg/cpp/trad/trad.exp: New driver. From-SVN: r54870
Neil Booth committed -
* config/mmix/mmix.md: Change GNU CC to GCC in file header comment. * config/mmix/mmix.h: Ditto. * config/mmix/mmix-protos.h: Ditto. * config/mmix/mmix.c: Ditto. Fix typo in comment. * config/mmix/mmix-modes.def: Change GNU CC to GCC in file header comment. Comment extra CC modes. From-SVN: r54869
Hans-Peter Nilsson committed -
* cfglayout.c (scope_to_insns_initialize): Call set_block_levels. (scope_to_insns_finalize): Do not call set_block_levels; handle sequences. (choose_inner_scope): New. * rtl.h (choose_inner_scope): Declare. From-SVN: r54868
Jan Hubicka committed -
* pa-protos.h (pa_asm_output_mi_thunk): Change third argument to HOST_WIDE_INT. * pa.c (pa_asm_output_mi_thunk): Likewise. (n_deferred_plabels): Change type to size_t. (output_deferred_plabels, output_call): Use size_t instead of int. From-SVN: r54867
John David Anglin committed
-
- 20 Jun, 2002 30 commits
-
-
From-SVN: r54866
Richard Henderson committed -
* config/m68k/m68k.md (zero_extendsidi2): Create expander; duplicate pattern and adjust constraints for coldfire. From-SVN: r54865
Richard Henderson committed -
* typeck.c (mark_addressable): Don't test TREE_ADDRESSABLE early. Call put_var_into_stack. * g++.dg/opt/asm1.C: New. From-SVN: r54862
Richard Henderson committed -
From-SVN: r54861
Richard Henderson committed -
2002-06-20 Chris Demetriou <cgd@broadcom.com> * config.gcc (mipsisa64-*-elf*, mipsisa64el-*-elf*): New targets. From-SVN: r54860
Chris Demetriou committed -
2002-06-20 Chris Demetriou <cgd@broadcom.com> * config/mips/mips.h (ISA_HAS_FP4): Fix comment to reflect use. From-SVN: r54859
Chris Demetriou committed -
From-SVN: r54858
Stan Shebs committed -
* cppexp.c (cpp_interpret_integer): Don't force traditional numbers to be unsigned. * cpplib.c (prepare_directive_trad): Set line number for diagnostics. * cpptrad.c (scan_out_logical_line): Continue scanning out at start of buffer. * gcc.c (trad_capable_cpp): Use cc1 always. f: * lang-specs.h: Use cc1 for traditional preprocessing. testsuite: * gcc.dg/cpp/assert_trad1.c, gcc.dg/cpp/assert_trad2.c, gcc.dg/cpp/assert_trad3.c, gcc.dg/cpp/defined_trad.c, gcc.dg/cpp/hash2.c, gcc.dg/cpp/tr-define.c, gcc.dg/cpp/tr-direct.c, gcc.dg/cpp/tr-sign.c, gcc.dg/cpp/tr-str.c, gcc.dg/cpp/uchar-2.c: Remove. From-SVN: r54856
Neil Booth committed -
2002-06-20 Benjamin Kosnik <bkoz@redhat.com> * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add c_sources. From-SVN: r54855
Benjamin Kosnik committed -
2002-06-20 Benjamin Kosnik <bkoz@redhat.com> * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions. Use size_type instead of unsigned long. From-SVN: r54854
Benjamin Kosnik committed -
From-SVN: r54853
Steve Ellcey committed -
* src/ext-inst.cc (_S_fetch): Add explicit templates for char and wchar types. (_S_min_len): Ditto. From-SVN: r54850
Steve Ellcey committed -
2002-06-20 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am: Add rules. * include/Makefile.in: Regenerate. * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY. * aclocal.m4: Regenerate. * configure: Regenerate. * configure.target (c_model, c_compatibility): Add. * libsupc++/Makefile.am (c_sources): New. (libsupc___la_SOURCES): Add c_sources. (LTCOMPILE): Remove INCLUDES. (GCC_INCLUDES): New. (C_COMPILE): New, like COMPILE but without INCLUDES. (cxa_demangle.o): Use C_COMPILE. (dyn-string.o): Use C_COMPILE. * include/c/std_cstdarg.h: Define __need___va_list. * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t, need_NULL, need_offsetof. From-SVN: r54849
Benjamin Kosnik committed -
* i386.h (TARGET_DEFAULT): Do not turn on frame pointer elimination in leaf functions by default yet. From-SVN: r54848
Jeff Law committed -
From-SVN: r54847
Richard Sandiford committed -
From-SVN: r54846
Richard Sandiford committed -
* config/sparc/t-crtfm (crtfastmath.o): Prefix with $(T) for multilibs. * config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o. From-SVN: r54845
Rainer Orth committed -
* basic-block.h: Do not include et-forest.h (dominance_info): Declare as struct dominance-info. * cfglayout.c (cleanup_unconditional_jumps): Remove the edge before deleting block. * dominance.c (struct dominance_info): Define. (BB_NODE, SET_BB_NODE): New macros. (bb_hash_func, bb_eq_func): Kill. (calculate_dominace_info, free_dominacne_info, set_immediate_dominator, nearest_common_dominator, dominated_by_p, recount_dominator, add_to_dominance_info, delete_from_dominance_info): update for new representation. (get_dominated_by, redirect_immediate_dominators): Rewrite using enumerate_sons. * ifcvt.c (process_double_test_block, merge_if_block, find_cond_trap, find_if_case_1, find_if_case_2): Remove killed blocks from dominance structure. * et-forest.h: Update copyright; revamp all function to operate on nodes (et_forest_value): Kill. (et_forest_enumerate_sons, et_forest_node_value): New. * et-forest.c: Update copyright. * et-forest.h: Update copyright; revamp all function to operate on nodes (et_forest_value): Kill. (et_forest_enumerate_sons, et_forest_node_value): New. Thu Jun 6 22:43:43 CEST 2002 Jan Hubicka <jh@suse.cz> * basic-block.h: Inlude et-forest.h (basic_block_def): Kill dominator. (dominance_info): New type. (loops): Use dominace_info. (dominace handling functions): Take dominace_info as argument instead of bitmaps. (create_preheader): Likewise. * cfg.c (entry_exit_blocks): Kill dominator. (dump_flow_info): Do not dump dominators. * cfglayout.c (cleanup_unconditonal_jumps): Delete deleted block from dominators. * cfgloop.c (flow_pre_header_find): Use dominacne_info. (flow_loops_pre_header_scan, make_forwarder_block, canonicale_loop_headers, flow_loops_find): Likewise. * dominance.c: Include error.h (idoms_to_doms): Kill. (bb_hash_func, bb_eq_func): New static functions. (debug_dominace_info): New global function. (calculate_dominance_info): Use new et forest structure. (free_dominace_info, get_immediate_dominator, set_immediate_dominator, get_dominated_by, redirect_immediate_dominators, nearest_common_dominator, dominated_by_p, verify_dominators, recount_dominator, iterate_fix_dominators, add_to_dominace_info, delete_from_dominance_info): New global functions. * gcse.c (domnators): CHange to dominance_info. (alloc_hoist_mem): Do not alloc dominators (free_code_hoist_mem): Use free_dominance_info. (compute_code_hoist_data): Use dominance_info. (hoist_code): Likewise. * ifcvt.c (post_dominators): Likewise. (find_if_case_2, if_convert): Likewise. * predict.c (process_note_predictions, process_note_prediction, estimate-probability): Likewise. * sched-rgn.c (find_rgns, init_regions): Likewise. * ssa-dce.c (find_all_control_dependences, fint_control_depemndence, find_pdom, delete_insn_bb, ssa_eliminate_dead_code): Likewise. * ssa.c (compute_dominance_frontiers_1, rename_block, rename_registers, find_evaluations, convert_to_ssa): Likewise. * ssa.h (compute_dominance_frontiers): Likewise. Thu Jun 6 22:57:34 CEST 2002 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz> * Makefile.in (et-forest.c): Add. * et-forest.c: New file. * at-forest.h: New file. From-SVN: r54844
Jan Hubicka committed -
* basic-block.h: Do not include et-forest.h (dominance_info): Declare as struct dominance-info. * cfglayout.c (cleanup_unconditional_jumps): Remove the edge before deleting block. * dominance.c (struct dominance_info): Define. (BB_NODE, SET_BB_NODE): New macros. (bb_hash_func, bb_eq_func): Kill. (calculate_dominace_info, free_dominacne_info, set_immediate_dominator, nearest_common_dominator, dominated_by_p, recount_dominator, add_to_dominance_info, delete_from_dominance_info): update for new representation. (get_dominated_by, redirect_immediate_dominators): Rewrite using enumerate_sons. * ifcvt.c (process_double_test_block, merge_if_block, find_cond_trap, find_if_case_1, find_if_case_2): Remove killed blocks from dominance structure. * et-forest.h: Update copyright; revamp all function to operate on nodes (et_forest_value): Kill. (et_forest_enumerate_sons, et_forest_node_value): New. * et-forest.c: Update copyright. * et-forest.h: Update copyright; revamp all function to operate on nodes (et_forest_value): Kill. (et_forest_enumerate_sons, et_forest_node_value): New. Thu Jun 6 22:43:43 CEST 2002 Jan Hubicka <jh@suse.cz> * basic-block.h: Inlude et-forest.h (basic_block_def): Kill dominator. (dominance_info): New type. (loops): Use dominace_info. (dominace handling functions): Take dominace_info as argument instead of bitmaps. (create_preheader): Likewise. * cfg.c (entry_exit_blocks): Kill dominator. (dump_flow_info): Do not dump dominators. * cfglayout.c (cleanup_unconditonal_jumps): Delete deleted block from dominators. * cfgloop.c (flow_pre_header_find): Use dominacne_info. (flow_loops_pre_header_scan, make_forwarder_block, canonicale_loop_headers, flow_loops_find): Likewise. * dominance.c: Include error.h (idoms_to_doms): Kill. (bb_hash_func, bb_eq_func): New static functions. (debug_dominace_info): New global function. (calculate_dominance_info): Use new et forest structure. (free_dominace_info, get_immediate_dominator, set_immediate_dominator, get_dominated_by, redirect_immediate_dominators, nearest_common_dominator, dominated_by_p, verify_dominators, recount_dominator, iterate_fix_dominators, add_to_dominace_info, delete_from_dominance_info): New global functions. * gcse.c (domnators): CHange to dominance_info. (alloc_hoist_mem): Do not alloc dominators (free_code_hoist_mem): Use free_dominance_info. (compute_code_hoist_data): Use dominance_info. (hoist_code): Likewise. * ifcvt.c (post_dominators): Likewise. (find_if_case_2, if_convert): Likewise. * predict.c (process_note_predictions, process_note_prediction, estimate-probability): Likewise. * sched-rgn.c (find_rgns, init_regions): Likewise. * ssa-dce.c (find_all_control_dependences, fint_control_depemndence, find_pdom, delete_insn_bb, ssa_eliminate_dead_code): Likewise. * ssa.c (compute_dominance_frontiers_1, rename_block, rename_registers, find_evaluations, convert_to_ssa): Likewise. * ssa.h (compute_dominance_frontiers): Likewise. Thu Jun 6 22:57:34 CEST 2002 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz> * Makefile.in (et-forest.c): Add. * et-forest.c: New file. * at-forest.h: New file. Co-Authored-By: Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz> From-SVN: r54843
Jan Hubicka committed -
ada: * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit array size calculation. gcc: * c-decl.c (c_decode_option): Use ARRAY_SIZE in lieu of explicit array size calculation. * gengtype.c (NUM_BASE_FILES, create_file, write_gc_root): Likewise. cp: * spew.c (remove_last_token): Use ARRAY_SIZE in lieu of explicit array size calculation. From-SVN: r54842
Kaveh R. Ghazi committed -
* diagnostic.c (diagnostic_kind_text): Const-ify. * gengtype.c (lang_names): Likewise. From-SVN: r54840
Kaveh R. Ghazi committed -
From-SVN: r54839
Jan Hubicka committed -
* resolve.cc (_Jv_PrepareClass): Only resolve superclass if it exists. * defineclass.cc (handleClassBegin): Superclass for interface is `null'. From-SVN: r54835
Tom Tromey committed -
PR c++/6892 * pt.c (tsubst_expr): Handle FILE_STMT. From-SVN: r54832
Kriang Lerdsuwanakij committed -
PR c++/6723 * pt.c (lookup_template_class): Don't build complete argument of BOUND_TEMPLATE_TEMPLATE_PARM if appeared as a default template argument. * g++.dg/template/ttp4.C: New test. From-SVN: r54831
Kriang Lerdsuwanakij committed -
* com.c (ffecom_prepare_expr_,ffecom_expr_power_integer_): Remove #ifdefed HAHA sections. From-SVN: r54829
Andreas Jaeger committed -
* config/sol2.h: New file. * config.gcc (i?86-*-solaris2*): Include it before i386/sol2.h. (sparc64-wrs-vxworks*): Include it before sparc/sol2.h. (sparc-*-chorusos*): Likewise. (sparc-*-elf*): Likewise. (sparc-*-rtems*, sparc-*-rtemself*): Likewise. (sparc64-*-solaris2*, sparcv9-*-solaris2*): Likewise. (sparc-hal-solaris2*): Likewise. (sparc-*-solaris2*): Likewise. (sparclite-*-elf*): Likewise. (sparc86x-*-elf*): Likewise. (sparc64-*-elf*): Likewise. * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Moved to config/sol2.h. (ASM_SPEC): Override config/sol2.h version for now. Removed obsolete GAS_REJECTS_MINUS_S variant. (WINT_TYPE, WINT_TYPE_SIZE): Moved to config/sol2.h. (HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise. (TARGET_OS_CPP_BUILTINS): Likewise. Assert system=unix. (CPP_SPEC): Simplified using new CPP_SUBTARGET_SPEC. (LIB_SPEC, ENDFILE_SPEC, STARTFILE_SPEC, LINK_SPEC): Moved to config/sol2.h. (SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise. (ASM_CPU_SPEC): Define. (SUBTARGET_EXTRA_SPECS): Define. * config/sparc/sol2-bi.h (LONG_DOUBLE_TYPE_SIZE): Removed, already in config/sparc/sol2.h. (ASM_SPEC): Moved to config/sol2.h. (CPP_CPU_SPEC): Simplified. (STARTFILE_SPEC32): Likewise, renamed to STARTFILE_ARCH32_SPEC for consistency. (STARTFILE_SPEC64): Renamed to STARTFILE_ARCH64_SPEC. (STARTFILE_ARCH_SPEC): Use new names STARTFILE_ARCH32_SPEC, STARTFILE_ARCH64_SPEC. (STARTFILE_SPEC): Moved to config/sol2.h (SUBTARGET_EXTRA_SPECS): Add startfile_arch. (LINK_ARCH32_SPEC): Moved to config/sol2.h. (LINK_ARCH64_SPEC): Simplified. (LINK_ARCH_SPEC): Redefined config/sol2.h version for 64-bit support. (LINK_SPEC): Moved to config/sol2.h * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Moved to config/sol2.h. Use BITS_PER_WORD for size. (WINT_TYPE, WINT_TYPE_SIZE): Likewise. (HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise. (CPP_PREDEFINES): Removed OS-specific part handled by TARGET_OS_CPP_BUILTINS. (CPP_SUBTARGET_SPEC): Moved to config/sol2.h. (CPLUSPLUS_CPP_SPEC): Removed, handled by TARGET_OS_CPP_BUILTINS. (ASM_SPEC): Moved to config/sol2.h. (PREFERRED_DEBUGGING_TYPE): Likewise. (STARTFILE_SPEC, LIB_SPEC, LINK_SPEC): Likewise. (SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise. (TARGET_DEFAULT): Reordered to match config/sparc/sol2-bi.h version. (TRANSFER_FROM_TRAMPOLINE): Moved to config/sol2.h * config.gcc (i?86-*-solaris2*): Removed obsolete gas support. * config/i386/sol2gas.h: Removed. From-SVN: r54827
Rainer Orth committed -
From-SVN: r54826
Jan Hubicka committed -
2002-06-20 Nathanael Nerode <neroden@twcny.rr.com> * com.c: Remove #ifdef HOHO sections. From-SVN: r54824
Nathanael Nerode committed -
* c-common.c (c_common_get_alias_set): Correctly handle characters. Rearrange order of expressions; don't handle vectors here. * alias.c (get_alias_set): Let vectors match their components. From-SVN: r54821
Richard Henderson committed
-