- 02 Oct, 2006 8 commits
-
-
2006-10-02 Benjamin Kosnik <bkoz@redhat.com> * include/ext/pb_ds/detail/basic_types.hpp (comp_hash_): Remove, format. * include/ext/pb_ds/detail/types_traits.hpp (types_traits::comp_hash): Use pair typedef. * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same. * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same. From-SVN: r117371
Benjamin Kosnik committed -
* java/net/InetAddress.java (checkConnect): Reinstated. (loopbackAddress): Ensure initialized from non-null object. From-SVN: r117370
Gary Benson committed -
PR fortran/29210 * primary.c (match_sym_complex_part): Named constants as real or imaginary part of complex a named constant are only allowed in Fortran 2003. * gfortran.dg/complex_parameter_1.f90: New test. From-SVN: r117368
Francois-Xavier Coudert committed -
PR c/29154 * gimplify.c (gimplify_self_mod_expr): Run inner expression's post side effects after the outer expression's post side effects. * gcc.c-torture/execute/20060929-1.c: New test. From-SVN: r117366
Jakub Jelinek committed -
re PR c++/29105 (segfault in add_candidates with a non template base class and a template member function) PR c++/29105 * pt.c (tsubst_baselink): Substituteinto the qualifying scope. * semantics.c (baselink_for_fns): Build a baselink, even when processing a template. PR c++/29105 * g++.dg/template/member6.C: New test. * g++.dg/parse/typename7.C: Adjust error markers. From-SVN: r117361
Mark Mitchell committed -
re PR c++/29080 (Multiple-inheritance with template method function code triggers "internal compiler error: in build_base_path, at cp/class.c:273") PR c++/29080 * parser.c (cp_parser_postfix_dot_deref_expression): Use BASELINK_ACCESS_BINFO as the qualifying scope when calling adjust_result_of_qualified_name_lookup. PR c++/29080 * g++.dg/template/member7.C: New test. From-SVN: r117360
Mark Mitchell committed -
From-SVN: r117357
GCC Administrator committed -
2006-10-01 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (xor_combine<>::_M_initialize_max_aux): New. (xor_combine<>::operator()()): Tweak per N2079. * include/tr1/random.tcc (xor_combine<>::_M_initialize_max_aux): Define. (xor_combine<>::_M_initialize_max): Use it. * testsuite/tr1/5_numerical_facilities/random/xor_combine/ cons/default.cc: Adjust. * docs/html/ext/tr1.html: Adjust. From-SVN: r117353
Paolo Carlini committed
-
- 01 Oct, 2006 9 commits
-
-
tree.h (DECL_FIELD_OFFSET, [...]): Fix comments to reflect actual behavior and relationship between... 2006-10-01 Sandra Loosemore <sandra@codesourcery.com> * gcc/tree.h (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): Fix comments to reflect actual behavior and relationship between DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET, and DECL_OFFSET_ALIGN. * gcc/doc/c-tree.texi (Working with declarations): Fix documentation of FIELD_DECL likewise. From-SVN: r117352
Sandra Loosemore committed -
2006-10-01 Brooks Moses <bmoses@stanford.edu> * gfortran.texi: Corrected references to MALLOC intrinsic. * invoke.texi: Minor cleanup and clarification to the Dialect Options section. From-SVN: r117350
Brooks Moses committed -
2006-10-01 Ryan Mansfield <rmansfield@qnx.com> PR c/20533 * doc/extend.texi: Add used variable attribute description. From-SVN: r117349
Ryan Mansfield committed -
2006-10-01 Paolo Carlini <pcarlini@suse.de> * include/ext/type_traits.h: Avoid _T, badname for some targets; also avoid plain T. From-SVN: r117347
Paolo Carlini committed -
2006-10-01 Paolo Carlini <pcarlini@suse.de> * config/io/basic_file_stdio.cc: As an extension, and consistently with C facilities, allow for in|out|app and in|out|app|binary openmodes. * testsuite/27_io/basic_filebuf/open/char/4.cc: New. From-SVN: r117346
Paolo Carlini committed -
From-SVN: r117345
Francois-Xavier Coudert committed -
* inclhack.def (pthread_mutex_init): New fix. * tests/base/pthread.h: Update. * fixincl.x: Regenerate. From-SVN: r117343
Uros Bizjak committed -
2006-09-30 Brooks Moses <bmoses@stanford.edu> * invoke.texi: Add mention of BOZ constants and integer overflow to -fno-range-check. * fortran.texi: Add mention of -fno-range-check to section on BOZ contants. From-SVN: r117342
Brooks Moses committed -
From-SVN: r117340
GCC Administrator committed
-
- 30 Sep, 2006 8 commits
-
-
* intrinsics/f2c_specifics.F90: Special-case conjg functions so that their suffices are _4 and _8 instead of _c4 and _c8. From-SVN: r117335
Francois-Xavier Coudert committed -
PR c/24010 * c.opt (Woverride-init): New. * c-opts.c (c_common_post_options): Default warn_override_init to extra_warnings. * c-typeck.c (add_pending_init, output_init_element): Warn for overriding initializers without side effects. * doc/invoke.texi (-Woverride-init): Document. (-Wextra): Update. testsuite: * gcc.dg/Woverride-init-1.c, gcc.dg/Woverride-init-2.c, gcc.dg/Woverride-init-3.c: New tests. From-SVN: r117334
Joseph Myers committed -
* include/java-interp.h (prepared): Change type to pc_t. (insn_index): Define for both DIRECT_THREADED and bytecode interpreters. * interpret.cc [!DIRECT_THREADED] (POKEI): Fix typo. (insn_index): Implement for bytecode interpreter. * interpret-run.cc [!DIRECT_THREADED] (AVAL1U): Add _Jv_Linker class qualifier to resolve_pool_entry. [!DIRECT_THREADED] (AVAL2U): Likewise. [!DIRECT_THREADED] bytecode() cannot be called without an object. Changed all typos. [!DIRECT_THREADED] Likewise for defining_class. From-SVN: r117333
Keith Seitz committed -
2006-09-30 Bernhard Fischer <aldot@gcc.gnu.org> * resolve.c: Fix commentary typo. Fix whitespace. From-SVN: r117332
Bernhard Fischer committed -
PR rtl-optimization/28096 * ifcvt.c (check_cond_move_block): Return FALSE if the source of an assignment has already been used as a destination earlier in the block. From-SVN: r117331
Eric Botcazou committed -
2006-09-30 Benjamin Kosnik <bkoz@redhat.com> * include/ext/pb_ds/detail/types_traits.hpp (store_extra_false_type): To false_type. (store_extra_true_type): To true_type. (no_throw_copies_true_type): To true_type. (no_throw_copies_false_type): To false_type. * include/ext/pb_ds/detail/cc_hash_table_map_/ insert_no_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/cc_hash_table_map_/ resize_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/cc_hash_table_map_/ insert_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/cc_hash_table_map_/ entry_list_fn_imps.hpp: Same. * include/ext/pb_ds/detail/cc_hash_table_map_/ debug_no_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same. * include/ext/pb_ds/detail/cc_hash_table_map_/ debug_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/cc_hash_table_map_/ resize_no_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/ insert_no_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/ resize_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/ insert_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/ find_no_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/ debug_no_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/ debug_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/ resize_no_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same. From-SVN: r117329
Benjamin Kosnik committed -
2006-09-29 Benjamin Kosnik <bkoz@redhat.com> * include/ext/pb_ds/detail/cc_hash_table_map_/ constructor_destructor_no_store_hash_fn_imps.hpp: Formating fixes. * include/ext/pb_ds/detail/basic_tree_policy/ null_node_metadata.hpp: Same. * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Same. * include/ext/pb_ds/detail/basic_types.hpp: Same. * include/ext/pb_ds/detail/list_update_policy/ mtf_lu_policy_imp.hpp: Same. * include/ext/pb_ds/detail/list_update_policy/ counter_lu_metadata.hpp: Same. * include/ext/pb_ds/detail/list_update_policy/ sample_update_policy.hpp: Same. * include/ext/pb_ds/detail/list_update_policy/ counter_lu_policy_imp.hpp: Same. * include/ext/pb_ds/list_update_policy.hpp: Same. From-SVN: r117328
Benjamin Kosnik committed -
From-SVN: r117326
GCC Administrator committed
-
- 29 Sep, 2006 14 commits
-
-
2006-09-29 Steven G. Kargl <kargl@gcc.gnu.org> * intrinsics/cpu_time.c: Add cpu_time_10 and cpu_time_16 routines. From-SVN: r117320
Steven G. Kargl committed -
PR other/25035 * configure.ac (AC_EXEEXT): Remove. (GCC_NO_EXECUTABLES): Call. (ssp_use_symver): Default to no if unable to link. (AC_CHECK_FUNCS): Hardwire results if unable to link. * aclocal.m4, configure, Makefile.in: Regenerate. From-SVN: r117318
Joseph Myers committed -
PR fortran/18791 * gfortran.dg/specifics_1.f90: New test. * gfortran.fortran-torture/execute/specifics.f90: Add tests for complex specifics. * m4/specific.m4: Special-case cabs so that its return type is real. Special-case conjg so that their suffices are _4, _8, _10 and _16 instead of _c4, _c8, _c10 and _c16. * intrinsics/f2c_specifics.F90: Special-case conjg functions so that their suffices are _4 and _8 instead of _c4 and _c8. * generated/_conjg_c4.F90: Regenerate. * generated/_conjg_c8.F90: Regenerate. * generated/_conjg_c10.F90: Regenerate. * generated/_conjg_c16.F90: Regenerate. * generated/_abs_c4.F90: Regenerate. * generated/_abs_c8.F90: Regenerate. * generated/_abs_c10.F90: Regenerate. * generated/_abs_c16.F90: Regenerate. From-SVN: r117317
Francois-Xavier Coudert committed -
* gcc.dg/pthread-init-1.c, pthread-init-2.c, pthread-init-common.h: New. From-SVN: r117314
Kaveh R. Ghazi committed -
* inclhack.def (solaris_mutex_init_2): Update for Solaris9. Prevent it from running on solaris10 or later. (solaris_once_init_2): Fix comment. * tests/base/pthread.h: Update. * fixincl.x: Regenerate. From-SVN: r117310
Kaveh R. Ghazi committed -
2006-09-29 Steven G. Kargl <kargl@gcc.gnu.org> * gfortran.dg/nearest_1.f90: Add -ffloat-store to defeat extra precision on some archs. From-SVN: r117309
Steven G. Kargl committed -
2006-09-29 Benjamin Kosnik <bkoz@redhat.com> Howard Hinnant <hhinnant@apple.com> Paolo Carlini <pcarlini@suse.de> * include/ext/type_traits.h (__remove_unsigned): Fix up for signed char, bool, wchar_t, and floating point types. (__add_unsigned): Same. * testsuite/ext/type_traits: New. * testsuite/ext/type_traits.cc: Move... * testsuite/ext/type_traits/numeric_traits.cc: ...here. * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: New. * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: New. * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: New. * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: New. * testsuite/ext/type_traits/add_unsigned.cc: New. * testsuite/ext/type_traits/remove_unsigned.cc: New. Co-Authored-By: Howard Hinnant <hhinnant@apple.com> Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r117303
Benjamin Kosnik committed -
* acinclude.m4 (enable_symvers): Default to no if unable to link. * configure: Regenerate. From-SVN: r117301
Joseph Myers committed -
From-SVN: r117300
Eric Botcazou committed -
decl.c (gnat_to_gnu_entity): Do not set "const" flag on "pure" Ada subprograms if SJLJ exceptions are used. * decl.c (gnat_to_gnu_entity) <E_Procedure>: Do not set "const" flag on "pure" Ada subprograms if SJLJ exceptions are used. * trans.c (Handled_Sequence_Of_Statements_to_gnu): Set TREE_NO_WARNING on the declaration node of JMPBUF_SAVE. * utils.c (init_gigi_decls): Set DECL_IS_PURE on the declaration nodes of Get_Jmpbuf_Address_Soft and Get_GNAT_Exception. * utils2.c (build_call_0_expr): Do not set TREE_SIDE_EFFECTS. From-SVN: r117299
Eric Botcazou committed -
* builtins.c (expand_builtin_setjmp): Delete. (expand_builtin) <BUILT_IN_SETJMP>: Mark as unreachable. <BUILT_IN_SETJMP_SETUP>: New case. <BUILT_IN_SETJMP_DISPATCHER>: Likewise. <BUILT_IN_SETJMP_RECEIVER>: Likewise. * builtins.def (BUILT_IN_SETJMP_SETUP): New built-in stub. (BUILT_IN_SETJMP_DISPATCHER): Likewise. (BUILT_IN_SETJMP_RECEIVER): Likewise. * gimple-low.c (struct lower_data): New field calls_builtin_setjmp. (lower_function_body): Initialize it to false. If it is set to true at the end of the processing, emit the setjmp dispatcher. (lower_stmt) <CALL_EXPR>: Invoke lower_builtin_setjmp if the callee is __builtin_setjmp and set calls_builtin_setjmp to true as well. <MODIFY_EXPR>: Fall through to above case if there is a CALL_EXPR on the rhs of the assignment. (lower_builtin_setjmp): New function. * tree.c (build_common_builtin_nodes): Build BUILT_IN_SETJMP_SETUP, BUILT_IN_SETJMP_DISPATCHER and BUILT_IN_SETJMP_RECEIVER nodes. * tree-cfg.c (make_exit_edges) <CALL_EXPR>: Use specific predicate to detect calls that can go to non-local labels. Use specific helper to create the abnormal edges associated with them. <MODIFY_EXPR>: Likewise. (make_abnormal_goto_edges): New function extracted from... (make_goto_expr_edges): ...here. Call it for computed gotos. (simple_goto_p): Minor tweak. (tree_can_make_abnormal_goto): New predicate. (tree_redirect_edge_and_branch): Return zero on all abnormal edges. (tree_purge_dead_abnormal_call_edges): New function. * tree-flow.h (tree_can_make_abnormal_goto): Declare. (tree_purge_dead_abnormal_call_edges): Likewise. (make_abnormal_goto_edges): Likewise. * tree-inline.c (expand_call_inline): Simplify statement frobbing. Purge all dead abnormal edges if the call was in the last statement. * tree-optimize.c (has_abnormal_outgoing_edge_p): New predicate. (execute_fixup_cfg): If there are non-local labels in the function, scan the basic blocks and split them at calls that can go to non-local labels or add missing abnormal call edges. Write down the CFG in the dump file. (pass_fixup_cfg): Remove TODO_dump_func flag. * unwind-sjlj.c: Poison setjmp. * doc/install.texi (enable-sjlj-exceptions): Use more general wording. * doc/tm.texi (DWARF2_UNWIND_INFO): Likewise. (TARGET_UNWIND_TABLES_DEFAULT): Fix typo. (DONT_USE_BUILTIN_SETJMP): Document it. From-SVN: r117298
Eric Botcazou committed -
2006-09-28 Steven G. Kargl <kargl@gcc.gnu.org> fortran/29147 * arith.c (gfc_check_integer_range): Disable range checking via -fno-range-check. From-SVN: r117297
Steven G. Kargl committed -
PR target/28617 * config/rs6000/rs6000.h [IN_LIBGCC2] (TARGET_POWERPC64): Define to 1 when __ppc64__ is defined. * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Add ppc64-fp.c and darwin-64.c. * config/rs6000/ppc64-fp.c: Also compile when __ppc64__ is defined. From-SVN: r117296
Geoffrey Keating committed -
From-SVN: r117294
GCC Administrator committed
-
- 28 Sep, 2006 1 commit
-
-
* config/ia64/t-hpux (LIB2FUNCS_EXTRA): Remove unwind-hpux.c. * config/ia64/unwind-hpux.c: Delete. From-SVN: r117290
Steve Ellcey committed
-