- 29 Aug, 2006 12 commits
-
-
From-SVN: r116562
Joern Rennecke committed -
cp: PR c++/28139 * except.c (expand_start_catch_block): Use correct types for bitwise copy. testsuite: PR c++/28139 * g++.dg/eh/alias1.C: New test. From-SVN: r116561
J"orn Rennecke committed -
2006-08-29 Paolo Carlini <pcarlini@suse.de> * include/tr1/random (subtract_with_carry_01<>::_M_initialize_npows): New. (subtract_with_carry_01<>::subtract_with_carry_01(), subtract_with_carry_01<>::subtract_with_carry_01(unsigned long), subtract_with_carry_01<>::subtract_with_carry_01(_Gen&)): Use it. * include/tr1/random.tcc: Define. * include/tr1/random (xor_combine<>::_M_initialize_max()): New. (xor_combine<>::xor_combine(), xor_combine<>::xor_combine(const base1_type&, const base2_type&), xor_combine<>::xor_combine(unsigned long), xor_combine<>::xor_combine(_Gen&)): Use it. (xor_combine<>::min, xor_combine<>::max): Adjust. * include/tr1/random.tcc: Define. From-SVN: r116559
Paolo Carlini committed -
2006-08-29 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4(glibcxx_PCHFLAGS): Set to stdtr1c++.h. * configure: Regenerate. * scripts/check_compile: Output current compile line. From-SVN: r116558
Benjamin Kosnik committed -
* java/net/SocketPermission.java (maybeBracketIPv6Address): New method. (<init>): Pass the hostport argument through the above. * java/net/NetworkInterface.java (getInetAddresses): Revert the previous change. From-SVN: r116557
Gary Benson committed -
PR c++/26670 * class.c (check_field_decls): Unset TYPE_PACKED (t) if one of the fields can't be packed. From-SVN: r116556
Jason Merrill committed -
PR c++/26670 * class.c (check_field_decls): Unset TYPE_PACKED (t) if one of the fields can't be packed. From-SVN: r116555
Jason Merrill committed -
PR c++/26577 * cvt.c (convert_to_void): Don't automatically load from volatiles of TREE_ADDRESSABLE type. From-SVN: r116554
Jason Merrill committed -
2006-08-29 Paul Thomas <pault@gcc.gnu.org> PR fortran/28788 REGRESSION FIX * symbol.c (gfc_use_derived): Never eliminate the symbol, following reassociation of use associated derived types. 2006-08-29 Paul Thomas <pault@gcc.gnu.org> PR fortran/28788 * gfortran.dg/used_types_5.f90: New test. * gfortran.dg/used_types_6.f90: New test. From-SVN: r116552
Paul Thomas committed -
PR c++/27714 * pt.c (push_template_decl_real): A friend template with class scope isn't primary. From-SVN: r116551
Jason Merrill committed -
From-SVN: r116550
Andrew Pinski committed -
From-SVN: r116548
GCC Administrator committed
-
- 28 Aug, 2006 11 commits
-
-
PR c++/28860 * cp-tree.h (maybe_process_partial_specialization): Return tree instead of void. * parser.c (cp_parser_class_head): Use return value of maybe_process_partial_specialization. * pt.c (maybe_process_partial_specialization): Return error_mark_node for broken specializations, TYPE otherwise. Check for template template parameters. * g++.dg/template/ttp22.C: New test. From-SVN: r116541
Volker Reichelt committed -
PR tree-optimization/28411 * double-int.c (double_int_div): Use double_int_divmod. (double_int_divmod, double_int_sdivmod, double_int_udivmod, double_int_mod, double_int_smod, double_int_umod): New functions. * double-int.h (double_int_divmod, double_int_sdivmod, double_int_udivmod, double_int_mod, double_int_smod, double_int_umod): Declare. * tree-ssa-loop-ivopts.c (constant_multiple_of): Returns the result in double_int. (get_computation_aff, get_computation_cost_at): Handle double_int return type of constant_multiple_of. From-SVN: r116529
Zdenek Dvorak committed -
2006-08-28 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/23773 partial * docs/html/abi.html: Update. From-SVN: r116527
Benjamin Kosnik committed -
2006-08-28 Roger Sayle <roger@eyesopen.com> Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algo.h (__heap_select, __introselect): New. (nth_element): New implementation. (partial_copy): Use __heap_select. * testsuite/performance/25_algorithms/nth_element_worst_case.cc: New. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r116520
Roger Sayle committed -
gcc/ PR middle-end/26632 * convert.c (convert_to_integer): Set TREE_NO_WARNING to 1 on an implicit conversion. gcc/testsuite/ PR middle-end/26632 * gcc.dg/pr26632.c: New. From-SVN: r116510
Kazu Hirata committed -
From-SVN: r116509
Prafulla Thakare committed -
2006-08-28 Paolo Carlini <pcarlini@suse.de> Roger Sayle <roger@eyesopen.com> * testsuite/25_algorithms/nth_element/2.cc: New. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r116508
Paolo Carlini committed -
2006-08-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/28354 * gfortran.dg/fmt_zero_precision.f90: New test. From-SVN: r116503
Jerry DeLisle committed -
2006-08-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/28354 * io/write.c: Check for special case of zero precision in format and pre-round the real value. From-SVN: r116502
Jerry DeLisle committed -
* ifcvt.c (cheap_bb_rtx_cost_p): Don't speculatively execute x87 instructions. From-SVN: r116501
Roger Sayle committed -
From-SVN: r116499
GCC Administrator committed
-
- 27 Aug, 2006 7 commits
-
-
PR driver/27622 * pex-common.h (struct pex_funcs): Add toclose parameter to exec_child field. * pex-common.c (pex_run_in_environment): Pass toclose to exec_child. * pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter. * pex-unix.c (pex_unix_exec_child): Likewise. * pex-msdos.c (pex_msdos_exec_child): Likewise. * pex-win32.c (pex_win32_exec_child): Likewise. From-SVN: r116494
Ian Lance Taylor committed -
PR other/28797 * cp-demangle.c (d_pointer_to_member_type): Do add a substitution for a qualified member which is not a function. * testsuite/demangle-expected: Add test case. From-SVN: r116493
Ian Lance Taylor committed -
PR c++/28058 * pt.c (register_specialization): Return error_mark_node for specialization-after-instantiation. * decl2.c (mark_used): Mark the main function used when one of its clones is used. PR c++/28058 * g++.dg/template/spec31.C: New test. From-SVN: r116491
Mark Mitchell committed -
PR c++/26573 * class.c (check_field_decls): Don't issue error about local classes containing static data members. * g++.dg/other/static2.C: New test. From-SVN: r116490
Lee Millward committed -
re PR libstdc++/28830 (FAIL: tr1/2_general_utilities/memory/shared_ptr/thread/lockfree_weaktoshared.cc) 2006-08-27 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28830 * testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/ lockfree_weaktoshared.cc: Rename to... * testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/ default_weaktoshared.cc: ... this; test the default base class. * testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/ mutex_weaktoshared.cc: Run like the other thread tests. From-SVN: r116489
Paolo Carlini committed -
From-SVN: r116487
Kazu Hirata committed -
From-SVN: r116485
GCC Administrator committed
-
- 26 Aug, 2006 10 commits
-
-
tree.h (CASE_LOW_SEEN, [...]): New macros for manipulating temporary visit flags on CASE_LABEL_EXPRs. * tree.h (CASE_LOW_SEEN, CASE_HIGH_SEEN): New macros for manipulating temporary visit flags on CASE_LABEL_EXPRs. * c-common.c (match_case_to_enum): Add function comment. Avoid O(N) loop, by looking up both CASE_LOW_SEEN and CASE_HIGH_SEEN. (c_do_switch_warnings): Reorganize to record CASE_LOW_SEEN and CASE_HIGH_SEEN for enumerated types. If the switch expression is a constant, only warn if that constant value isn't handled. * gcc.dg/Wswitch-enum-2.c: New test case. * gcc.dg/Wswitch-enum-3.c: Likewise. From-SVN: r116481
Roger Sayle committed -
2006-08-26 Steven G. Kargl <kargls@comcast.net> * arith.h: Update Copyright dates. Fix whitespace. * arith.c: Update Copyright dates. Fix whitespace. Fix comments. (gfc_arith_done_1): Clean up pedantic_min_int and subnormal. From-SVN: r116480
Steven G. Kargl committed -
PR c++/24009 * input.h (restore_input_file_stack): Declare. (INPUT_FILE_STACK_BITS): Define. * toplev.c (fs_p, input_file_stack_history, input_file_stack_restored, restore_input_file_stack): New. (push_srcloc, pop_srcloc): Check for input_file_stack_tick overflowing INPUT_FILE_STACK_BITS bits. Save new state of stack. (pop_srcloc): Don't free old state of stack. cp: * parser.c (struct cp_token): Add input_file_stack_index. (eof_token): Update. (cp_lexer_get_preprocessor_token): Save input_file_stack_tick. (cp_lexer_set_source_position_from_token): Restore input file stack. From-SVN: r116479
Joseph Myers committed -
PR target/27544 * doc/extend.texi (PowerPC Variable Attributes): Mention altivec. (PowerPC Type Attributes): New. From-SVN: r116478
David Edelsohn committed -
2006-08-26 Richard Guenther <rguenther@suse.de> * gcc.c-torture/compile/20060826-1.c: New testcase. From-SVN: r116477
Richard Guenther committed -
PR libgomp/25938 * Makefile.am (libsubincludedir): New. (nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS. * Makefile.in: Regenerate. From-SVN: r116475
Joseph Myers committed -
PR c++/28736 PR c++/28737 PR c++/28738 * pt.c (process_template_parm): Store invalid template parameters as a TREE_LIST with a TREE_VALUE of error_mark_node. (push_inline_template_parms_recursive): Check for template parameters having a TREE_VALUE of error_mark_node rather than check the parameter itself. (mangle_class_name_for_template): Likewise. (comp_template_parms): When comparing the individual template parameters, return 1 if either is error_mark_node. (current_template_args): Robustify. (redeclare_class_template): Likewise. * g++.dg/template/void10.C: New test. * g++.dg/template/void8.C: New test. * g++.dg/template/void9.C: New test. * g++.dg/template/void3.C: Adjust error markers. * g++.dg/template/void4.C: Likewise. * g++.dg/template/crash55.C: Likewise. * g++.dg/template/void7.C: Likewise. From-SVN: r116473
Lee Millward committed -
2006-08-26 Tobias Burnus <burnus@net-b.de> * gfortran.texi: Note variable initialization causes SAVE attribute. * intrinsic.texi: Clarify support for KIND=16 and KIND=10. Mention -std=f2003. Cross reference INQUIRE from ACCESS intrinsic. Add missing ) in ACOS. From-SVN: r116472
Steven G. Kargl committed -
2006-08-26 Daniel Franke <franke.daniel@gmail.com> * intrinsic.texi: Update Copyright date. Added documentation for ACOSH, AND, ASINH, ATANH, CHDIR, FGET, FGETC, FPUT, FPUTC, GETCWD, OR and XOR intrinsics, removed inadvertently introduced doc-stubs for EQV and NEQV, corrected some typographical errors. From-SVN: r116470
Daniel Franke committed -
* config/xtensa/xtensa.c (function_arg_boundary): New. (function_arg, xtensa_gimplify_va_arg_expr): Limit alignment to STACK_BOUNDARY. * config/xtensa/xtensa.h (FUNCTION_ARG_BOUNDARY): Move code to new function_arg_boundary function that limits alignment to STACK_BOUNDARY. From-SVN: r116469
Bob Wilson committed
-