amylaar [Tue, 29 Aug 2006 14:34:36 +0000 (14:34 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116561
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 29 Aug 2006 11:46:54 +0000 (11:46 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116559
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 29 Aug 2006 10:53:04 +0000 (10:53 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116558
138bc75d-0d04-0410-961f-
82ee72b054a4
gary [Tue, 29 Aug 2006 08:15:29 +0000 (08:15 +0000)]
2006-08-29 Gary Benson <gbenson@redhat.com>
* java/net/SocketPermission.java
(maybeBracketIPv6Address): New method.
(<init>): Pass the hostport argument through the above.
* java/net/NetworkInterface.java (getInetAddresses):
Revert the previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116557
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 29 Aug 2006 07:10:38 +0000 (07:10 +0000)]
PR c++/26670
* class.c (check_field_decls): Unset TYPE_PACKED (t) if one of the
fields can't be packed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116556
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 29 Aug 2006 06:55:35 +0000 (06:55 +0000)]
PR c++/26670
* class.c (check_field_decls): Unset TYPE_PACKED (t) if one of the
fields can't be packed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116555
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 29 Aug 2006 06:55:03 +0000 (06:55 +0000)]
PR c++/26577
* cvt.c (convert_to_void): Don't automatically load from volatiles
of TREE_ADDRESSABLE type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116554
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Tue, 29 Aug 2006 04:51:32 +0000 (04:51 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116552
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 29 Aug 2006 04:42:46 +0000 (04:42 +0000)]
PR c++/27714
* pt.c (push_template_decl_real): A friend template with class
scope isn't primary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116551
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Tue, 29 Aug 2006 03:23:04 +0000 (03:23 +0000)]
Fix white spaces.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116550
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 29 Aug 2006 00:17:28 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116548
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Mon, 28 Aug 2006 22:34:55 +0000 (22:34 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116541
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Mon, 28 Aug 2006 21:15:19 +0000 (21:15 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116529
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 28 Aug 2006 20:18:22 +0000 (20:18 +0000)]
2006-08-28 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/23773 partial
* docs/html/abi.html: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116527
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 28 Aug 2006 18:32:35 +0000 (18:32 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116520
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 28 Aug 2006 17:18:29 +0000 (17:18 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116510
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 28 Aug 2006 13:51:04 +0000 (13:51 +0000)]
* config/h8300/h8300.c (TARGET_DEFAULT_TARGET_FLAGS): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116509
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 28 Aug 2006 13:26:22 +0000 (13:26 +0000)]
2006-08-28 Paolo Carlini <pcarlini@suse.de>
Roger Sayle <roger@eyesopen.com>
* testsuite/25_algorithms/nth_element/2.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116508
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Mon, 28 Aug 2006 05:17:09 +0000 (05:17 +0000)]
2006-08-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/28354
* gfortran.dg/fmt_zero_precision.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116503
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Mon, 28 Aug 2006 05:14:05 +0000 (05:14 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116502
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Mon, 28 Aug 2006 00:58:47 +0000 (00:58 +0000)]
* ifcvt.c (cheap_bb_rtx_cost_p): Don't speculatively execute
x87 instructions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116501
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 28 Aug 2006 00:17:25 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116499
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sun, 27 Aug 2006 23:50:30 +0000 (23:50 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116494
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sun, 27 Aug 2006 21:42:55 +0000 (21:42 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116493
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 27 Aug 2006 17:45:25 +0000 (17:45 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116491
138bc75d-0d04-0410-961f-
82ee72b054a4
lmillward [Sun, 27 Aug 2006 15:22:05 +0000 (15:22 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116490
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 27 Aug 2006 15:19:23 +0000 (15:19 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116489
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 27 Aug 2006 06:46:38 +0000 (06:46 +0000)]
* config/i386/crtfastmath.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116487
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 27 Aug 2006 00:17:22 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116485
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 26 Aug 2006 23:51:14 +0000 (23:51 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116481
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Sat, 26 Aug 2006 21:55:28 +0000 (21:55 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116480
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 26 Aug 2006 21:38:46 +0000 (21:38 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116479
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sat, 26 Aug 2006 21:36:39 +0000 (21:36 +0000)]
PR target/27544
* doc/extend.texi (PowerPC Variable Attributes): Mention altivec.
(PowerPC Type Attributes): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116478
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Sat, 26 Aug 2006 19:27:17 +0000 (19:27 +0000)]
2006-08-26 Richard Guenther <rguenther@suse.de>
* gcc.c-torture/compile/
20060826-1.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116477
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 26 Aug 2006 18:30:44 +0000 (18:30 +0000)]
PR libgomp/25938
* Makefile.am (libsubincludedir): New.
(nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116475
138bc75d-0d04-0410-961f-
82ee72b054a4
lmillward [Sat, 26 Aug 2006 17:41:18 +0000 (17:41 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116473
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Sat, 26 Aug 2006 17:28:09 +0000 (17:28 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116472
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Sat, 26 Aug 2006 17:13:42 +0000 (17:13 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116470
138bc75d-0d04-0410-961f-
82ee72b054a4
bwilson [Sat, 26 Aug 2006 17:03:22 +0000 (17:03 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116469
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 26 Aug 2006 16:23:33 +0000 (16:23 +0000)]
PR c++/28588
* class.c (resolve_address_of_overloaded_function): Add
access_path parameter. Perform access checks.
(instantiate_type): Adjust call to
resolve_address_of_overloaded_function. Remove unnecessary code.
* tree.c (is_overloaded_fn): Document. Return 2 when there are
acutally multiple functions.
(really_overloaded_fn): Use is_overloaded_fn.
* mangle.c (write_expression): Handle BASELINKs.
* cp-tree.h (really_overloaded_fn): Return bool.
(baselink_for_fns): Declare.
* search.c (lookup_member): Check access for single static
functions here.
* pt.c (convert_nontype_argument_function): Handle BASELINKs.
(tsubst_copy_and_build): Generate BASELINKs for template-ids.
* semantics.c (finish_call_expr): Use baselink_for_fns.
(baselink_for_fns): New function.
(finish_id_expression): Use it.
* parser.c (cp_parser_template_argument): Don't strip BASELINKs.
PR c++/28595
* pt.c (tsubst): Issue errors about attempts to create VLAs at
template-instantiation time.
PR c++/28588
* g++.dg/inherit/access6.C: New test.
* g++.dg/inherit/access7.C: Likewise.
PR c++/28595
* g++.dg/template/array15.C: New test.
* g++.dg/template/crash2.C: Tweak error markers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116468
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 26 Aug 2006 07:31:30 +0000 (07:31 +0000)]
PR middle-end/28683
* cfgexpand.c (add_reg_br_prob_note): Check if last has exactly
3 following insns.
* gcc.c-torture/compile/
20060823-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116467
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Sat, 26 Aug 2006 00:37:48 +0000 (00:37 +0000)]
PR c++/28853
* typeck2.c (cxx_incomplete_type_diagnostic): Handle template
template parameters. Improve error message for template type
parameters.
* g++.dg/template/ttp21.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116464
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Sat, 26 Aug 2006 00:25:59 +0000 (00:25 +0000)]
PR c++/28852
* cp-tree.h (grok_op_properties): Return bool instead of void.
* decl.c (grokfndecl): Discard invalid operator declarations.
(copy_fn_p): Revert change for PR 27547.
(grok_op_properties): Return error status (true on success).
* pt.c (tsubst_decl): Discard invalid operator declarations.
* g++.dg/other/operator1.C: Add error-marker.
* g++.dg/other/operator2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116463
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 26 Aug 2006 00:23:22 +0000 (00:23 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116460
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Sat, 26 Aug 2006 00:17:10 +0000 (00:17 +0000)]
* flow.c (verify_wide_reg): Use internal_error for consistency failure.
(verify_local_live_at_start): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116455
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 25 Aug 2006 23:01:16 +0000 (23:01 +0000)]
PR c/27893
* gimplify.c (gimplify_decl_expr, gimplify_init_ctor_preeval,
omp_add_variable): Treat sizes as variable whenever not
INTEGER_CST.
testsuite:
* gcc.c-torture/compile/vla-const-1.c,
gcc.c-torture/compile/vla-const-2.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116450
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 25 Aug 2006 22:01:28 +0000 (22:01 +0000)]
2006-08-26 Richard Guenther <rguenther@suse.de>
PR middle-end/28814
* fold-const.c (fold_binary): Fold temporary to correct
type before constructing new comparison.
* gcc.dg/torture/pr28814.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116439
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 25 Aug 2006 21:14:24 +0000 (21:14 +0000)]
2006-08-25 Fariborz Jahanian <fjahanian@apple.com>
PR c/28418
* c-gimplify.c (gimplify_compound_literal_expr): Don't add
variable again if DECL_SEEN_IN_BIND_EXPR_P.
2006-08-25 Joseph S. Myers <joseph@codesourcery.com>
* gcc.c-torture/compile/compound-literal-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116436
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 25 Aug 2006 21:11:46 +0000 (21:11 +0000)]
PR c/28299
* c-decl.c (start_function): Don't try to process prototype
information from old declaration that isn't a function.
testsuite:
* gcc.dg/funcdef-var-1.c, gcc.dg/funcdef-var-2.c: New tests.
* gcc.dg/pr20368-1.c, gcc.dg/pr20368-2.c, gcc.dg/pr20368-3.c:
Expect extra diagnostics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116435
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Fri, 25 Aug 2006 20:39:48 +0000 (20:39 +0000)]
2006-08-25 Jan Hubicka <jh@suse.cz>
PR target/28621
* config/i386/crtfastmath.c (set_fast_math): Force stack alignment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116431
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 25 Aug 2006 18:56:08 +0000 (18:56 +0000)]
PR target/27075
* config/rs6000/rs6000.c (print_operand): Only use e500 %y syntax
for 8 byte objects.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116425
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 25 Aug 2006 18:51:57 +0000 (18:51 +0000)]
gcc:
PR tree-optimization/16876
* c-typeck.c (c_convert_parm_for_inlining): Don't take early
exit if PARM doesn't match VALUE.
testsuite:
gcc.dg/noncompile/pr16876.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116424
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 25 Aug 2006 17:11:10 +0000 (17:11 +0000)]
2006-08-25 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/tr1.html: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116415
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 Aug 2006 17:04:35 +0000 (17:04 +0000)]
PR c++/28056
* g++.dg/parse/local1.C: New test.
* g++.dg/other/qual1.C: Tweak error marker.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116411
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 Aug 2006 17:03:50 +0000 (17:03 +0000)]
PR c++/28056
* decl.c (grokdeclarator): Disallow declarations with qualified
names in local scopes.
PR c++/28056
* g++.dg/parse/local1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116410
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Fri, 25 Aug 2006 16:56:07 +0000 (16:56 +0000)]
cp/
PR c++/27787
* decl.c (make_typename_type): Only try and resolve it when
context is not dependent. Refactor.
* decl2.c (check_classfn): Push to class scope before looking for
the function.
testsuite/
PR c++/27787
* g++.dg/template/typename10.C: New.
* g++.dg/template/lookup4.C: Remove bogus error marker.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116409
138bc75d-0d04-0410-961f-
82ee72b054a4
bwilson [Fri, 25 Aug 2006 16:13:54 +0000 (16:13 +0000)]
* config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Do not emit a
literal_prefix directive.
(XTENSA_DECLARE_FUNCTION_SIZE): Delete.
* config/xtensa/linux.h (ASM_DECLARE_FUNCTION_SIZE): Delete.
* config/xtensa/elf.h (ASM_DECLARE_FUNCTION_SIZE): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116403
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 25 Aug 2006 16:02:23 +0000 (16:02 +0000)]
2006-08-25 Paolo Carlini <pcarlini@suse.de>
* include/tr1/random (bernoulli_distribution::operator()): Fix
wrt generators returning integers.
(uniform_int<>::_M_call): Add.
(uniform_int<>::operator()): Use it.
* include/tr1/random (_Adaptor<>::min, _Adaptor<>::max): Add.
(_Adaptor<>::operator()): Allow for nonzero _M_g.min().
* include/tr1/random.tcc (linear_congruential<>::min, max):
Move inline...
(__mod): Move ...
* include/tr1/random: ... here.
(struct _Mod): Declare.
* include/tr1/random (struct _To_Unsigned_Type): Only declare,
move...
* include/tr1/random.tcc: ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116402
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 25 Aug 2006 13:53:39 +0000 (13:53 +0000)]
PR target/28753
* config/rs6000/rs6000.md (movcc_internal1): Change operand 1
predicate to general_operand. Add 0->y and I->r alternatives.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116400
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 25 Aug 2006 13:39:02 +0000 (13:39 +0000)]
* doc/tm.texi: Fix a typo.
* predict.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116399
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 25 Aug 2006 10:32:03 +0000 (10:32 +0000)]
2006-08-25 Richard Guenther <rguenther@suse.de>
PR testsuite/28829
* gcc.dg/pr26570.c: Fix testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116395
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 25 Aug 2006 07:21:47 +0000 (07:21 +0000)]
* config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Add assertions of "cpu" and "machine".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116394
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 25 Aug 2006 07:13:48 +0000 (07:13 +0000)]
2006-08-24 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/28807
* tree-ssa-operands.c (access_can_touch_variable): Don't say
the access through a base which has an alias set of 0 cannot
touch the variable.
2006-08-24 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/28807
* gcc.c-torture/execute/mayalias-2.c: New test.
* gcc.dg/tree-ssa/alias-13.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116393
138bc75d-0d04-0410-961f-
82ee72b054a4
dannysmith [Fri, 25 Aug 2006 00:24:10 +0000 (00:24 +0000)]
PR driver/28528
* g++spec.c (lang_specific_driver): Always check if we need to
swallow a space-separated arg to '-x'.
* lang-specs.h: Don't create ouput files for '-xc++-header'
if -fsyntax-only.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116392
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 25 Aug 2006 00:17:19 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116390
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Thu, 24 Aug 2006 19:45:30 +0000 (19:45 +0000)]
* doc/tm.texi (TARGET_DEFAULT_PACK_STRUCT): Fixed English.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116385
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 24 Aug 2006 19:43:43 +0000 (19:43 +0000)]
* reload1.c (emit_reload_insns): Fix yet another typo in my patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116384
138bc75d-0d04-0410-961f-
82ee72b054a4
kseitz [Thu, 24 Aug 2006 18:55:53 +0000 (18:55 +0000)]
* prims.cc (remoteDebug): New global.
(jdwpOptions): New global.
(parse_x_arg): Add processing for "X" options "debug" and
"runjdwp:"
(_Jv_RunMain): If debugging, start up JDWP backend.
Send VM_INIT and VM_DEATH when appropriate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116383
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 24 Aug 2006 15:54:39 +0000 (15:54 +0000)]
PR c++/27714
* pt.c (push_template_decl_real): A friend template with class
scope isn't primary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116379
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Thu, 24 Aug 2006 14:43:42 +0000 (14:43 +0000)]
2006-08-24 Daniel Franke <franke.daniel@gmail.com>,
Brooks Moses <bmoses@stanford.edu>
* intrinsic.texi: Added doc-stubs for undocumented intrinsics,
added a "See Also" section, renamed the "Options" section to
"Standard", improved the index, and made numerous minor
typo corrections and grammatical fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116376
138bc75d-0d04-0410-961f-
82ee72b054a4
gary [Thu, 24 Aug 2006 14:28:49 +0000 (14:28 +0000)]
2006-08-24 Gary Benson <gbenson@redhat.com>
* java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
addresses.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116375
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 24 Aug 2006 13:30:45 +0000 (13:30 +0000)]
PR debug/26881
* cgraph.c: Fix comments.
(cgraph_varpool_mark_needed_node): Mark only variables not already
output to file.
* cgraphunit.c: Update comments; include gt-cgraphunit.h
(cgraph_varpool_assembled_nodes_queue): New static variable.
(cgraph_varpool_assemble_decl): Record output decls for debug out code.
(cgraph_varpool_output_debug_info): New function.
(cgraph_finalize_compilation_unit, cgraph_optimize): Call it.
* Makefile.in: Add gt-cgraphunit.h
* gcc.dg/debug/pr26881.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116374
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Thu, 24 Aug 2006 04:47:28 +0000 (04:47 +0000)]
2006-08-23 Paul Thomas <pault@gcc.gnu.org>
PR fortran/28788
* gfortran.dg/used_types_4.f90: New test.
* gfortran.dg/derived_init_2.f90: Modify to check sibling
association of derived types.
* gfortran.dg/used_types_2.f90: Add module cleanup.
* gfortran.dg/used_types_3.f90: The same.
PR fortran/28771
* gfortran.dg/assumed_charlen_in_main.f90: Modify to check
fix of regression.
2006-08-23 Paul Thomas <pault@gcc.gnu.org>
PR fortran/28788
* gfortran.dg/used_types_4.f90: New test.
* gfortran.dg/derived_init_2.f90: Modify to check sibling
association of derived types.
* gfortran.dg/used_types_2.f90: Add module cleanup.
* gfortran.dg/used_types_3.f90: The same.
PR fortran/28771
* gfortran.dg/assumed_charlen_in_main.f90: Modify to check
fix of regression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116369
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Thu, 24 Aug 2006 01:10:55 +0000 (01:10 +0000)]
2006-08-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR 28813
* gfortran.dg/direct_io_6.f90: Remove test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116368
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 24 Aug 2006 00:17:30 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116366
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Wed, 23 Aug 2006 23:41:19 +0000 (23:41 +0000)]
2006-08-23 Steven G. Kargl <kargls@comcast.net>
* gfortran.texi: Fix last commit where a "no" was deleted and
a grammatical error was introduced.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116362
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Wed, 23 Aug 2006 23:10:39 +0000 (23:10 +0000)]
2006-08-23 Steven G. Kargl <kargls@comcast.net>
* gfortran.texi: Spell check. Add a few contributors to
Chapter 9. Expand the description of BOZ constant handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116361
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 23 Aug 2006 22:29:14 +0000 (22:29 +0000)]
* predict.c (probability_reliable_p): New predicate.
(edge_probability_reliable_p, br_prob_note_reliable_p): Likewise.
(predict_loops): Do not predict loop exit with less than 2%
probability.
* basic-block.h (edge_probability_reliable_p,
br_prob_note_reliable_p): Declare.
* ia64.h (ia64_print_operand): Do not disable on-chip branch
prediction when static predictor is not reliable.
* rs6000.c (output_cbranch): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116358
138bc75d-0d04-0410-961f-
82ee72b054a4
kseitz [Wed, 23 Aug 2006 22:18:08 +0000 (22:18 +0000)]
* gnu/classpath/jdwp/VMVirtualMachine.java
(initialize): Declare.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(initialize): Get and save JVMTI environment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116357
138bc75d-0d04-0410-961f-
82ee72b054a4
stuart [Wed, 23 Aug 2006 21:41:35 +0000 (21:41 +0000)]
PR 28825
* gcc/config/i386/i386.c (ix86_expand_vector_init_duplicate,
ix86_expand_vector_init_one_nonzero): Remove TARGET_SSE test.
* gcc.target/i386/
20060821-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116356
138bc75d-0d04-0410-961f-
82ee72b054a4
dannysmith [Wed, 23 Aug 2006 18:30:57 +0000 (18:30 +0000)]
gcc.dg/attr-invalid.c: Insert an " |directive" substitution into
dg-warning strings for dllimport.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116355
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 23 Aug 2006 14:04:24 +0000 (14:04 +0000)]
PR c++/28687
* rtti.c (build_dynamic_cast, build_dynamic_cast_1):
Move -fno-rtti check to be more specific.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116350
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 23 Aug 2006 10:16:31 +0000 (10:16 +0000)]
2006-08-22 Phillip Jordan <phillip.m.jordan@gmail.com>
*include/tr1/boost_shared_ptr.h: Added locking policy to
tr1::shared_ptr<> and related classes.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/thread: New.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
lockfree_weaktoshared.cc: New.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/thread/
mutex_weaktoshared.cc: New.
*testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
shared_ptr_neg.cc: Modify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116345
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 23 Aug 2006 04:27:43 +0000 (04:27 +0000)]
PR c++/23372
* call.c (build_over_call): Don't make a copy here if build_call
will make one too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116342
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Wed, 23 Aug 2006 02:56:43 +0000 (02:56 +0000)]
2006-08-21 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/28450
* cp/init.c (build_zero_init): Handle VECTOR_TYPE and
COMPLEX_TYPEs.
2006-08-21 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/28450
* g++.dg/ext/vector4.C: New test.
* g++.dg/ext/complex1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116341
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 23 Aug 2006 00:18:08 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116339
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 22 Aug 2006 22:57:53 +0000 (22:57 +0000)]
2006-08-22 Paolo Carlini <pcarlini@suse.de>
* include/tr1/random.tcc (subtract_with_carry_01<>::
seed(_Gen&, false_type)): Fix _M_carry initialization.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/default.cc: Qualify 1 as 1UL.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/gen1.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116334
138bc75d-0d04-0410-961f-
82ee72b054a4
pmj [Tue, 22 Aug 2006 22:34:45 +0000 (22:34 +0000)]
added locking policy to tr1::shared_ptr<> and related classes
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116333
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Tue, 22 Aug 2006 20:37:36 +0000 (20:37 +0000)]
2006-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/27890
* gnu/classpath/natSystemProperties.cc (insertSystemProperties):
Set gnu.classpath.home.url to TOOLEXECLIBDIR.
* configure.ac: Do not add --with-native-libdir to
ac_configure_args.
* java/security/libgcj.security: Remove file.
* java/util/logging/logging.properties: Likewise.
* classpath/m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro.
* classpath/resource/Makefile.am (loggingdir): Define to
toolexeclibdir.
(securitydir): Likewise.
* classpath/configure.ac: Call CLASSPATH_TOOLEXECLIBDIR.
Set default nativeexeclibdir using toolexeclibdir.
* HACKING: Fix classpath aclocal arguments.
* Makefile.am (secdir): Remove variable.
(propdir): Likewise.
(AM_CXXFLAGS): Replace LIBDIR definition with TOOLEXECLIBDIR
definition.
(all_property_files): Remove variable.
(install-data-local): Do not install libgcj.security or
logging.properties.
* configure, Makefile.in, classpath/configure,
classpath/Makefile.in, classpath/native/jni/java-lang/Makefile.in,
classpath/native/jni/midi-alsa/Makefile.in,
classpath/native/jni/classpath/Makefile.in,
classpath/native/jni/midi-dssi/Makefile.in,
classpath/native/jni/Makefile.in,
classpath/native/jni/java-nio/Makefile.in,
classpath/native/jni/java-net/Makefile.in,
classpath/native/jni/gconf-peer/Makefile.in,
classpath/native/jni/java-io/Makefile.in,
classpath/native/jni/xmlj/Makefile.in,
classpath/native/jni/java-util/Makefile.in,
classpath/native/jni/qt-peer/Makefile.in,
classpath/native/jni/gtk-peer/Makefile.in,
classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
classpath/native/target/Linux/Makefile.in,
classpath/native/target/Makefile.in,
classpath/native/target/generic/Makefile.in,
classpath/native/fdlibm/Makefile.in,
classpath/native/plugin/Makefile.in,
classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
classpath/tools/Makefile.in, classpath/doc/Makefile.in,
classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
classpath/external/Makefile.in,
classpath/external/sax/Makefile.in,
classpath/external/w3c_dom/Makefile.in,
classpath/external/relaxngDatatype/Makefile.in,
classpath/include/Makefile.in, classpath/aclocal.m4,
classpath/examples/Makefile.in, aclocal.m4: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116332
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 22 Aug 2006 19:16:03 +0000 (19:16 +0000)]
Index: gcc/ChangeLog
2006-08-21 Geoffrey Keating <geoffk@apple.com>
PR debug/28692
* dwarf2out.c (rtl_for_decl_init): Don't try to create RTL for
complex values, nor for generic vector values.
Index: gcc/testsuite/ChangeLog
2006-08-21 Geoffrey Keating <geoffk@apple.com>
PR debug/28692
* gcc.dg/debug/const-1.c: New.
* gcc.dg/debug/const-2.c: New.
* gcc.dg/debug/dwarf2/const-1.c: New.
* gcc.dg/debug/dwarf2/const-2.c: New.
* gcc.dg/debug/dwarf2/const-2b.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116331
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 22 Aug 2006 18:51:40 +0000 (18:51 +0000)]
PR c++/28420
* parser.c (cp_parser_postfix_expression): Make sure that the
saved value for parser->type_definition_forbidden_message is
restored before returning to avoid an invalid free().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116330
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 22 Aug 2006 18:27:26 +0000 (18:27 +0000)]
PR c++/28659
* typeck.c (merge_types): If either of the types have the right
attributes, return that one.
* tree.c (cp_build_type_attribute_variant): Make sure we aren't
doing this to class types.
* typeck.c (original_type): Deal with type quals properly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116329
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 22 Aug 2006 18:15:22 +0000 (18:15 +0000)]
2006-08-22 Paolo Carlini <pcarlini@suse.de>
* Fix/complete last ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116328
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 22 Aug 2006 18:07:55 +0000 (18:07 +0000)]
2006-08-22 Paolo Carlini <pcarlini@suse.de>
* include/tr1/random (class subtract_with_carry_01): Add.
* include/tr1/random.tcc (subtract_with_carry_01<>::
seed(unsigned long), subtract_with_carry_01<>::
seed(_Gen&, false_type), subtract_with_carry_01<>::
operator(), operator<<(std::basic_ostream<>&, const
subtract_with_carry_01<>&), operator>>(std::basic_istream<>&,
subtract_with_carry_01<>&)): Define.
* testsuite/tr1/5_numerical_facilities/random/ranlux3_01.cc:
New.
* testsuite/tr1/5_numerical_facilities/random/ranlux4_01.cc:
Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/cons/seed1.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/cons/seed2.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/cons/default.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/cons/gen1.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/requirements/typedefs.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/operators/equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/operators/not_equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry_01/operators/serialize.cc: Likewise.
* docs/html/ext/howto.html: Add two implemented TR1 issues.
* include/tr1/random.tcc (struct _To_Unsigned_Type): Move...
* include/tr1/random: ... here.
(class subtract_with_carry): Use it everywhere.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/seed1.cc: Qualify 1 as 1UL.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/seed2.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/default.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/cons/gen1.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/requirements/typedefs.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/operators/equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/operators/not_equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
subtract_with_carry/operators/serialize.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116327
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 22 Aug 2006 16:26:32 +0000 (16:26 +0000)]
2006-08-22 Richard Guenther <rguenther@suse.de>
PR middle-end/28776
* tree-scalar-evolution.c (fold_used_pointer): Add at_stmt
parameter. Convert arguments to arithmetic expression to the
chrecs type.
(analyze_scalar_evolution_1): Adjust caller.
* gcc.c-torture/compile/pr28776-1.c: New testcase.
* gcc.c-torture/compile/pr28776-2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116326
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 22 Aug 2006 15:44:56 +0000 (15:44 +0000)]
Patch by Paolo Bonzini
* reload1.c (emit_reload_insns): Fix incorrect bracketing introduced by
my previous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116325
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Tue, 22 Aug 2006 15:00:37 +0000 (15:00 +0000)]
2006-08-22 Andrew Haley <aph@redhat.com>
* decl.c (java_add_stmt): Give the statement list a type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116324
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Tue, 22 Aug 2006 14:04:16 +0000 (14:04 +0000)]
2006-08-22 Daniel Berlin <dberlin@dberlin.org>
PR tree-optimization/28003
* tree-ssa-alias.c (compute_may_aliases): Compute call clobbered
before grouping aliases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116323
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 22 Aug 2006 12:42:41 +0000 (12:42 +0000)]
* config/i386/i386.c (ix86_value_regno): Don't return FIRST_MMX_REG
if !TARGET_MMX, and don't return FIRST_SSE_REG if !TARGET_SSE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116321
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 22 Aug 2006 00:18:26 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116317
138bc75d-0d04-0410-961f-
82ee72b054a4