- 03 Nov, 2004 12 commits
-
-
* stmt.c (expand_case): Speed up code to detect duplicate case label targets and count unique case label targets. From-SVN: r90027
Jeff Law committed -
2004-11-03 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_numeric.h: Trivial formatting fixes. From-SVN: r90024
Paolo Carlini committed -
2004-11-03 Benjamin Kosnik <bkoz@redhat.com> * include/bits/c++config: Spacing. * libsupc++/del_op.cc: Include c++config.h. * libsupc++/del_opnt.cc: Same. * libsupc++/del_opv.cc: Same. * libsupc++/del_opvnt.cc: Same. * libsupc++/new_op.cc: Same. * libsupc++/new_opnt.cc: Same. * libsupc++/new_opv.cc: Same. * libsupc++/new_opvnt.cc: Same. From-SVN: r90021
Benjamin Kosnik committed -
From-SVN: r90020
Kazu Hirata committed -
From-SVN: r90019
Kazu Hirata committed -
(_GLIBCXX_WEAK_DEFINITION): Define. * include/bits/c++config (_GLIBCXX_WEAK_DEFINITION): Define. * libsupc++/del_op.cc (operator delete(void *)): Use _GLIBCXX_WEAK_DEFINITION. * libsupc++/del_opnt.cc (operator delete(void *, const std::nothrow_t&)): Same. * libsupc++/del_opv.cc (operator delete[](void *)): Same. * libsupc++/del_opvnt.cc (operator delete[](void *, const std::nothrow_t&)): Same. * libsupc++/new_op.cc (operator new(std::size_t)): Same. * libsupc++/new_opnt.cc (operator new(std::size_t, const std::nothrow_t&)): Same * libsupc++/new_opv.cc (operator new[](std::size_t)): Same. * libsupc++/new_opvnt.cc (operator new[](std::size_t, const std::nothrow_t&)): Same. From-SVN: r90017
Aaron W. LaFramboise committed -
PR c++/18124 * parser.c (cp_parser_type_parameter): Robustify. PR c++/18155 * parser.c (cp_parser_single_declaration): Disallow template typedefs. PR c++/18177 * typeck.c (build_const_cast): Use error_operand_p. PR c++/18124 * g++.dg/template/crash25.C: New test. PR c++/18155 * g++.dg/template/typedef2.C: New test. * g++.dg/parse/crash13.C: Adjust error markers. PR c++/18177 * g++.dg/conversion/const3.C: New test. From-SVN: r90016
Mark Mitchell committed -
tree-cfg.c (find_taken_edge): Abort if we are given a statement that is neither COND_EXPR nor SWITCH_EXPR. * tree-cfg.c (find_taken_edge): Abort if we are given a statement that is neither COND_EXPR nor SWITCH_EXPR. From-SVN: r90015
Kazu Hirata committed -
locale_facets.tcc (num_get<>::_M_extract_int): Evaluate *__beg the exact strict minimum number of times... 2004-11-02 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (num_get<>::_M_extract_int): Evaluate *__beg the exact strict minimum number of times; likewise for __beg != __end; slightly simplify main parsing loop. From-SVN: r90012
Paolo Carlini committed -
fortran/ PR fortran/17535 PR fortran/17583 PR fortran/17713 * module.c (write_symbol1): Set module_name for dummy arguments. testsuite/ PR fortran/17535 PR fortran/17583 PR fortran/17713 * gfortran.dg/generic_[123].f90: New testcases. From-SVN: r90011
Tobias Schlüter committed -
[[Split portion of a mixed commit.]] From-SVN: r90009.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r90007.2
GCC Administrator committed
-
- 02 Nov, 2004 28 commits
-
-
2004-11-02 Benjamin Kosnik <bkoz@redhat.com> Lothar Werzinger <lothar@xcerla.com> PR libstdc++/17627 * src/debug.cc: Include concurrence, use mutexes. (_Safe_iterator_base::_M_attach): Here. (_Safe_iterator_base::_M_detach): Here. Co-Authored-By: Lothar Werzinger <lothar@xcerla.com> From-SVN: r90004
Benjamin Kosnik committed -
From-SVN: r90002
Joseph Myers committed -
* fold-const.c (fold): Reassociate also (x - mult) + mult and (mult - x) + mult. Cast operands of expression after applying distributive law to the correct types. Apply distributive law to a * c - b * c for all non-float types. From-SVN: r90000
Zdenek Dvorak committed -
* configure.ac: Don't clear STMP_FIXINC or STMP_FIXPROTO just because we don't want to run them now; instead, set them to stmp-install-fixproto or stmp-install-fixinc. * Makefile.in (stmp-install-fixproto): New. (stmp-install-fixinc): New. * configure: Regenerate. From-SVN: r89999
Geoffrey Keating committed -
* flow.c (init_propagate_block_info): Use bitmap_empty_p on result of bitmap_xor. From-SVN: r89998
Nathan Sidwell committed -
[gcc/ChangeLog] 2004-11-02 Ziemowit Laski <zlaski@apple.com> * c-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Remove. (c_types_compatible_p): Move function definition... * c-objc-common.c (c_types_compatible_p): ...here. * c-objc-common.h (LANG_HOOKS_TYPES_COMPATIBLE_P): Moved here from c-lang.c. [gcc/cp/ChangeLog] 2004-11-02 Ziemowit Laski <zlaski@apple.com> * cp-lang.c (cxx_types_compatible_p): Remove prototype and definition. (LANG_HOOKS_TYPES_COMPATIBLE_P): Move to cp-objcp-common.h. * cp-objcp-common.c (cxx_types_compatible_p): Moved definition here from cp-lang.c. * cp-objcp-common.h (cxx_types_compatible_p): Moved prototype here from cp-lang.c. (LANG_HOOKS_TYPES_COMPATIBLE_P): Moved here from cp-lang.c. From-SVN: r89997
Ziemowit Laski committed -
2004-11-02 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/17922 * include/bits/ios_base.h : Add enum values. * testsuite/testsuite_hooks.h (bitmask_operators): Add function. * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: New. * testsuite/27_io/ios_base/types/fmtflags/case_label.cc: New. * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: New. * testsuite/27_io/ios_base/types/iostate/case_label.cc: New. * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: New. * testsuite/27_io/ios_base/types/openmode/case_label.cc: New. * testsuite/27_io/ios_base/types/seekdir/case_label.cc: New. * config/io/c_io_stdio.h (__ios_flags): Mark deprecated. * src/ios.cc: Same. * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers. * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. From-SVN: r89996
Benjamin Kosnik committed -
* cfgloop.h (struct loop): Update comment. * cse.c (cse_main): Remove obsolete comment. * expr.h (gen_cond_trap): Move prototype under functions provided by optabs.c. (canonicalize_condition, get_condition): Move to... * rtl.h (canonicalize_condition, get_condition): ...here. (branch_target_load_optimize): Add comment that this function is in bt-load.c. * loop.c (canonicalize_condition, get_condition): Move to... * rtlanal.c (canonicalize_condition, get_condition): ...here. * sched-deps.c (get_condition): Rename to sched_get_condition. (add_dependence): Update this caller. From-SVN: r89995
Steven Bosscher committed -
2004-11-02 Bryce McKinlay <mckinlay@redhat.com> PR java/17265 * class.c: Reinstate 2004-08-18 patch. (make_local_function_alias): Don't create an alias for extern (native) functions. From-SVN: r89993
Bryce McKinlay committed -
* gcc.dg/uninit-C.c: Remove special-casing for SPARC. * gcc.dg/uninit-H.c: Define to "sp" on SPARC. From-SVN: r89991
Eric Botcazou committed -
2004-11-02 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/16808 * gcc.c-torture/compile/pr16808.c: New test. 2004-11-02 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/16808 * tree-ssa.c (replace_immediate_uses): If we call fold_stmt, make sure that the vops get marked for renaming. From-SVN: r89990
Andrew Pinski committed -
From-SVN: r89989
Andrew Pinski committed -
2004-10-26 Andrew Pinski <pinskia@physics.uc.edu> PR ada/18228 * Makefile.in (darwin): Set soext to .dylib. From-SVN: r89988
Andrew Pinski committed -
2004-11-02 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.md ("movcc"): Set type attribute. From-SVN: r89986
Andreas Krebbel committed -
* tree-phinodes.c (add_phi_arg): Add an assertion that the edge already exists. From-SVN: r89985
Kazu Hirata committed -
* tree-phinodes.c (remove_phi_arg_num): Do not zero the element that's being removed. From-SVN: r89984
Kazu Hirata committed -
* tree-ssa-threadupdate.c (copy_phis_to_block): Install PHI arguments using PENDING_STMT. (thread_block): Call copy_phis_to_block after redirecting an edge. From-SVN: r89983
Kazu Hirata committed -
* bitmap.h (bitmap_and, bitmap_and_into, bitmap_and_compl, bitmap_and_compl_into, bitmap_ior, bitmap_iot_into, bitmap_ior_compl, bitmap_xor, bitmap_xor_into): Produce void. (bitmap_ior_and_compl_into): Produce bool. (bitmap_union_of_diff): Rename to ... (bitmap_ior_and_compl): ... here. Produce bool. * bitmap.c (bitmap_ior_and_compl_into): Return bool. Use bitmap_operation directly. (bitmap_union_of_diff): Rename to ... (bitmap_ior_and_compl): ... here. Return bool, use bitmap_operation directly. * df.c (df_rd_transfer_function): Use bitmap_ior_and_compl. (df_ru_transfer_function, df_lr_transfer_function): Likewise. * global.c (modify_bb_reg_pav): Likewise. From-SVN: r89982
Nathan Sidwell committed -
* bitmap.h (bitmap_equal_p): Return bool. (bitmap_intersect_p, bitmap_intersect_compl_p): Declare. * bitmap.c (bitmap_equal_p): Return bool. Compare directly. (bitmap_intersect_p, bitmap_intersect_compl_p): New. * flow.c (calculate_global_regs_live): Use bitmap_intersect_p and bitmap_intersect_compl_p. * ifcvt (dead_or_predicable): Likewise. From-SVN: r89981
Nathan Sidwell committed -
.: PR rtl-optimization/17104 * config/rs6000/rs6000.c (rs6000_emit_move): Don't wrap small loads in zero_extend. testsuite: PR rtl-optimization/17104 * gcc.dg/ppc-bitfield1.c: New. From-SVN: r89980
Nathan Sidwell committed -
PR debug/18242 * toplev.c (debug_type[_names): Remove "dwarf-1". From-SVN: r89977
Danny Smith committed -
* timevar.h (timevar_get): Remove. * timevar.c (timevar_get): Remove unused function. From-SVN: r89975
Ben Elliston committed -
From-SVN: r89973
Joseph Myers committed -
* cppdefault.h (cpp_SYSROOT): Remove. * cppdefault.c (cpp_SYSROOT): Likewise. From-SVN: r89972
Ben Elliston committed -
* intrinsic.c (check_intrinsic_standard): Include error locus. Remove VLA. (gfc_intrinsic_func_interface, gfc_intrinsic_sub_interface): Pass locus to check_intrinsic_standard. From-SVN: r89971
Paul Brook committed -
2004-11-01 Andrew MacLeod <amacleod@redhat.com> PR tree-optimization/16447 * tree-cfg.c (bsi_commit_one_edge_insert): Rename from bsi_commit_edge_inserts_1, and make funtion external. Return new block. (bsi_commit_edge_inserts): Use renamed bsi_commit_one_edge_insert. * tree-optimize.c (pass_cleanup_cfg_post_optimizing): Enable listing. * tree-flow.h (bsi_commit_one_edge_insert): Extern decl. * tree-outof-ssa.c (rewrite_trees): Don't commit edges here. (same_stmt_list_p): New. Return TRUE if edge is to be forwarded. (identical_copies_p): New. Return true is two copies are the same. (identical_stmt_lists_p): New. Return true if stmt lists are the same. (analyze_edges_for_bb): New. Determine how best to insert edge stmts for a basic block. (perform_edge_inserts): New. Determine what to do with all stmts that have been inserted on edges. (remove_ssa_form): Analyze and commit edges from here. From-SVN: r89970
Andrew MacLeod committed -
[[Split portion of a mixed commit.]] From-SVN: r89968.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r89967.2
GCC Administrator committed
-