David Daney [Mon, 11 Sep 2006 18:15:27 +0000 (18:15 +0000)]
re PR classpath/28580 (HTTP HEAD fails on chuncked encoding)
PR classpath/28580
* gnu/java/net/protocol/http/Request.java (readResponse): Call
createResponseBodyStream in more cases and with new parameter.
(createResponseBodyStream): Added new parameter mayHaveBody. Handle
HEAD and !mayHaveBody responses specially.
From-SVN: r116853
Guenter Roeck [Mon, 11 Sep 2006 17:05:15 +0000 (17:05 +0000)]
re PR target/27287 (returning constant double)
2006-09-11 Guenter Roeck <guenter@roeck-us.net>
David Edelsohn <edelsohn@gnu.org>
PR target/27287
* config/rs6000/spe.md (frob_df_di): Remove %H.
(frob_di_df): Remove %H. Change evmergelo to mr.
(frob_di_df_2): Remove %H. Change evldd to two loads.
Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r116850
Hideki Iwamoto [Mon, 11 Sep 2006 08:33:49 +0000 (17:33 +0900)]
cpp.texi: Fix names of charset options.
gcc/
2006-09-11 Hideki Iwamoto <h-iwamoto@kit.hi-ho.ne.jp>
* doc/cpp.texi: Fix names of charset options.
From-SVN: r116841
Paul Thomas [Mon, 11 Sep 2006 05:02:58 +0000 (05:02 +0000)]
re PR fortran/28890 (ICE on write)
2006-09-11 Paul Thomas <pault@gcc.gnu.org>
PR fortran/28890
trans-expr.c (gfc_conv_function_call): Obtain the string length
of a dummy character(*) function from the symbol if it is not
already translated. For a call to a character(*) function, use
the passed, hidden string length argument, which is available
from the backend_decl of the formal argument.
resolve.c (resolve_function): It is an error if a function call
to a character(*) function is other than a dummy procedure or
an intrinsic.
2006-09-11 Paul Thomas <pault@gcc.gnu.org>
PR libfortran/28890
gfortran.dg/assumed_charlen_function_5.f90: New test.
From-SVN: r116839
Mark Mitchell [Mon, 11 Sep 2006 00:40:15 +0000 (00:40 +0000)]
re PR c++/28991 (Static constructor emitted instead of initialized variable)
PR c++/28991
* cp-objcp-common.c (cxx_staticp): New function.
* cp-objcp-common.h (LANG_HOOOKS_STATICP): Use it.
* cp-tree.h (cxx_staticp): New function.
PR c++/289991
* g++.dg/init/static3.C: New test.
From-SVN: r116838
GCC Administrator [Mon, 11 Sep 2006 00:17:28 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r116836
Andrew Pinski [Sun, 10 Sep 2006 23:15:31 +0000 (23:15 +0000)]
re PR testsuite/29007 (FAIL: gcc.dg/long-long-cst1.c execution test)
2006-09-10 Andrew Pinski <pinskia@physics.uc.edu>
PR testsuite/29007
* gcc.dg/long-long-cst1.c (t): Add cast to
__SIZE_TYPE__ before casting to int.
(main): Return 0 on success.
From-SVN: r116832
Andrew Pinski [Sun, 10 Sep 2006 23:05:00 +0000 (23:05 +0000)]
re PR target/29009 (ice in kernel build)
2006-09-10 Andrew Pinski <pinskia@physics.uc.edu>
PR target/29009
* config/i386/i386.c (override_options): Use 128-bit
stack boundary always for 64bits.
From-SVN: r116831
Eric Botcazou [Sun, 10 Sep 2006 21:27:36 +0000 (23:27 +0200)]
re PR rtl-optimization/28636 (Miscompiled loop)
PR rtl-optimization/28636
* combine.c (force_to_mode): Test for side-effects before
substituting by zero.
(simplify_shift_const): Likewise for zero or other constants.
From-SVN: r116827
Steven Bosscher [Sun, 10 Sep 2006 20:08:58 +0000 (20:08 +0000)]
re PR middle-end/26983 (Missing label with builtin_setjmp/longjmp)
PR middle-end/26983
gcc/
* builtins.c (expand_builtin_setjmp): Force next_lab to be
preserved.
testsuite/
* gcc.dg/pr26983.c: New test.
From-SVN: r116826
Richard Sandiford [Sun, 10 Sep 2006 19:28:48 +0000 (19:28 +0000)]
re PR target/29006 (Incorrect zeroing of unaligned 64-bit fields on MIPS targets)
gcc/
PR target/29006
* config/mips/mips-protos.h (mips_mem_fits_mode_p): Declare.
* config/mips/mips.c (mips_expand_unaligned_store): Use the mode
returned by mode_for_size, rather than the mode of src itself,
to choose between 32-bit and 64-bit patterns.
(mips_mem_fits_mode_p): New function.
* config/mips/mips.md (mov_<load>l, mov_<load>r): Use it to check
that the size of the source matches the size of the destination.
(mov_<store>l, mov_<store>r): Likewise.
gcc/testsuite/
PR target/29006
* gcc.c-torture/execute/pr29006.c: New test.
From-SVN: r116822
Eric Christopher [Sun, 10 Sep 2006 19:28:17 +0000 (19:28 +0000)]
darwin.c (machopic_select_rtx_section): Add CONST_VECTOR for literal16.
2006-09-10 Eric Christopher <echristo@apple.com>
* config/darwin.c (machopic_select_rtx_section): Add CONST_VECTOR
for literal16.
From-SVN: r116821
H.J. Lu [Sun, 10 Sep 2006 17:33:17 +0000 (10:33 -0700)]
Add missing ChangeLog entry.
From-SVN: r116820
Paul Thomas [Sun, 10 Sep 2006 17:21:44 +0000 (17:21 +0000)]
re PR fortran/28947 (Double MATMUL() uses wrong array elements)
2006-09-10 Paul Thomas <pault@gcc.gnu.org>
PR libfortran/28947
* m4/matmul.m4: For the case where the second input argument is
transposed, ensure that the case with rank (a) == 1 is
correctly calculated.
* generated/matmul_r4.c: Regenerate.
* generated/matmul_r8.c: Regenerate.
* generated/matmul_r10.c: Regenerate.
* generated/matmul_r16.c: Regenerate.
* generated/matmul_c4.c: Regenerate.
* generated/matmul_c8.c: Regenerate.
* generated/matmul_c10.c: Regenerate.
* generated/matmul_c16.c: Regenerate.
* generated/matmul_i4.c: Regenerate.
* generated/matmul_i8.c: Regenerate.
* generated/matmul_i16.c: Regenerate.
2006-09-10 Paul Thomas <pault@gcc.gnu.org>
PR libfortran/28947
gfortran.dg/matmul_4.f90: New test.
From-SVN: r116817
Paul Thomas [Sun, 10 Sep 2006 17:17:57 +0000 (17:17 +0000)]
re PR fortran/28959 (ICE on derived type with host association)
2006-09-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/28959
trans-types.c (gfc_get_derived_type): Use the parent namespace of
the procedure if the type's own namespace does not have a parent.
2006-09-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/28959
gfortran.dg/used_types_10: New test.
From-SVN: r116816
Paul Thomas [Sun, 10 Sep 2006 17:13:29 +0000 (17:13 +0000)]
re PR fortran/28923 (Bad triplet interpretation in initialization)
2006-09-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/28923
expr.c (find_array_section): Only use the array lower and upper
bounds for the start and end of the sections, where the expr is
NULL.
2006-09-10 Paul Thomas <pault@gcc.gnu.org>
PR libfortran/28923
gfortran.dg/array_initializer_2.f90: Fill in missing index start value.
gfortran.dg/array_initializer_3.f90: New test.
From-SVN: r116815
Joseph Myers [Sun, 10 Sep 2006 10:51:11 +0000 (11:51 +0100)]
* MAINTAINERS: Add self as soft-fp maintainer.
From-SVN: r116813
Paolo Carlini [Sun, 10 Sep 2006 09:23:59 +0000 (09:23 +0000)]
stl_heap.h (sort_heap): Iterator post-decrement is only required to be convertible to the iterator type.
2006-09-10 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_heap.h (sort_heap): Iterator post-decrement is
only required to be convertible to the iterator type.
From-SVN: r116812
Eric Christopher [Sun, 10 Sep 2006 07:09:38 +0000 (07:09 +0000)]
re PR target/28995 (libgfortran build now fails on Darwin PPC)
2006-09-09 Eric Christopher <echristo@apple.com>
PR target/28995
* config/darwin.c (machopic_select_rtx_section): Add TARGET_64BIT
for literal16.
From-SVN: r116810
Jerry DeLisle [Sun, 10 Sep 2006 04:58:29 +0000 (04:58 +0000)]
re PR fortran/28914 (Code inside loop hangs; outside loop runs normally; runs OK on other compilers)
2006-09-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/28914
* gfortran.dg/actual_array_constructor_3.f90: New test.
From-SVN: r116809
Paul Thomas [Sun, 10 Sep 2006 04:53:18 +0000 (04:53 +0000)]
re PR fortran/28914 (Code inside loop hangs; outside loop runs normally; runs OK on other compilers)
2006-09-09 Paul Thomas <pault@gcc.gnu.org>
PR fortran/28914
* trans-array.c (gfc_trans_array_constructor_value): Create a temporary
loop variable to hold the current loop variable in case it is modified
by the array constructor.
From-SVN: r116808
Roger Sayle [Sun, 10 Sep 2006 00:28:05 +0000 (00:28 +0000)]
dwarf2out.c (convert_cfa_to_fb_loc_list): Handle DW_CFA_set_loc.
* dwarf2out.c (convert_cfa_to_fb_loc_list): Handle DW_CFA_set_loc.
Co-Authored-By: Nicolas Setton <setton@adacore.com>
From-SVN: r116807
GCC Administrator [Sun, 10 Sep 2006 00:17:35 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r116805
Andreas Schwab [Sat, 9 Sep 2006 22:59:53 +0000 (22:59 +0000)]
* config/m68k/m68k.md (bungt_rev): New pattern.
From-SVN: r116801
Jason Merrill [Sat, 9 Sep 2006 22:26:53 +0000 (18:26 -0400)]
re PR c++/28996 (ICE with statement forming unused static member function reference)
PR c++/28996
* cvt.c (convert_to_void): Strip COMPONENT_REF to functions.
From-SVN: r116800
Paolo Bonzini [Sat, 9 Sep 2006 12:43:32 +0000 (12:43 +0000)]
re PR target/26778 (GCC4 moves the result of a conditional block through inadequate registers)
gcc:
2006-09-09 Paolo Bonzini <bonzini@gnu.org>
Dale Johannesen <dalej@apple.com>
PR target/26778
* regclass.c (struct reg_pref): Update documentation.
(regclass): Set prefclass to NO_REGS if memory is the best option.
(record_reg_classes): Cope with a prefclass set to NO_REGS.
gcc/testsuite:
2006-09-09 Eric Christopher <echristo@apple.com>
PR target/26778
* gcc.target/i386/pr26778.c: New testcase.
Co-Authored-By: Dale Johannesen <dalej@apple.com>
From-SVN: r116798
Anatoly Sokolov [Sat, 9 Sep 2006 12:25:57 +0000 (16:25 +0400)]
MAINTAINERS: Add myself as avr maintainer.
* MAINTAINERS: Add myself as avr maintainer.
Remove Marek Michalkiewicz as avr maintainer.
From-SVN: r116797
Eric Christopher [Sat, 9 Sep 2006 00:27:47 +0000 (00:27 +0000)]
config.gcc (i?86-*-darwin): Add 64-bit HWI support.
2006-09-08 Eric Christopher <echristo@apple.com>
* config.gcc (i?86-*-darwin): Add 64-bit HWI support.
* config/t-slibgcc-darwin: Support x86_64 multilib.
* config/i386/i386.h (JUMP_TABLES_IN_TEXT_SECTION):
Return 1 for x86_64-darwin.
* config/i386/t-darwin: Add m64 multilib.
(LIB2_SIDITI_CONV_FUNCS): Use.
(LIB2FUNCS_EXTRA): Ditto.
* config/i386/darwin.h: Support x86_64.
* config/i386/i386.c (override_options): Turn on flag_pic
for x86_64-darwin. Disable flag_omit_pointer.
(get_pc_thunk_name): Assert !TARGET_64BIT.
(legitimate_address_p): Disable machopic addressing for
x86_64.
(legitimize_pic_address): Ditto.
(ix86_expand_move): Ditto.
(ix86_expand_call): Ditto.
(machopic_output_stub): Ditto.
* config/darwin.c (machopic_select_section): Support literal16.
(machopic_select_rtx_section): Ditto.
* config/darwin-sections.def: Ditto.
* config/darwin-64.c: New.
2006-09-08 Eric Christopher <echristo@apple.com>
* gcc.target/i386/
20060512-3.c: Run test on ilp32 only.
* gcc.target/i386/memcpy-1.c: Ditto.
* gcc.target/i386/asm-1.c: Ditto.
* gcc.target/i386/
20060512-4.c: Ditto.
* gcc.target/i386/compress-float-387.c: Ditto.
* gcc.target/i386/
20060512-1.c: Ditto.
* gcc.target/i386/compress-float-sse.c: Ditto.
* gcc.target/i386/
20060512-2.c: Ditto.
* gcc.target/i386/compress-float-sse-pic.c: Ditto.
* gcc.target/i386/stack-prot-kernel.c: Ditto.
* gcc.target/i386/compress-float-387-pic.c: Ditto.
* gcc.dg/pr26449.c: Ditto.
* gcc.dg/attr-ms_struct-2.c: Ditto.
* gcc.dg/attr-ms_struct-1.c: Ditto.
* gcc.misc-tests/linkage.exp: Fix 64-bit darwin support.
2006-09-08 Eric Christopher <echristo@apple.com>
* configure.ac: Add 64-bit HWI support for i?86-darwin.
From-SVN: r116795
GCC Administrator [Sat, 9 Sep 2006 00:17:25 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r116793
Joseph Myers [Fri, 8 Sep 2006 23:41:21 +0000 (00:41 +0100)]
re PR c/28504 (ICE with variable sized array)
PR c/28504
* c-tree.h (struct c_arg_info): Add pending_sizes.
* c-parser.c (c_parser_parms_declarator,
c_parser_parms_list_declarator): Initialize pending_sizes.
* c-decl.c (get_parm_info): Initialize pending_sizes.
(get_parm_info): Set pending_sizes.
(grokdeclarator): Call put_pending_sizes for parameters for
function definition only.
testsuite:
* gcc.dg/vla-10.c: New test.
From-SVN: r116789
Volker Reichelt [Fri, 8 Sep 2006 22:56:44 +0000 (22:56 +0000)]
re PR c++/28858 (Algorithm to find the end of a template parameter list is flawed)
PR c++/28858
* parser.c (cp_parser_skip_until_found): Rename to
cp_parser_skip_to_end_of_template_parameter_list. Remove last two
parameters. Track levels of '< ... >'. Stop at '{', '}', or ';'.
Reorganize. Adjust comment.
(cp_parser_template_declaration_after_export): Adjust call.
(cp_parser_enclosed_template_argument_list): Likewise.
* g++.dg/parse/template20.C: New test.
* g++.dg/template/operator8.C: Remove obsolete part.
* g++.dg/parse/def-tmpl-arg1.C: Adjust error-markers.
* g++.old-deja/g++.pt/crash65.C: Likewise.
From-SVN: r116788
Steven G. Kargl [Fri, 8 Sep 2006 20:57:55 +0000 (20:57 +0000)]
reduction3.f90: Change -
2147483648 to -huge(i)-1 to avoid overflow.
2006-09-08 Steven G. Kargl <kargl@gcc.gnu.org>
* testsuite/libgomp.fortran/reduction3.f90: Change
-
2147483648 to -huge(i)-1 to avoid overflow.
* testsuite/libgomp.fortran/reduction4.f90: Change
Z'
ffffffff' to not(0) to avoid overflow.
From-SVN: r116786
Paolo Carlini [Fri, 8 Sep 2006 14:40:47 +0000 (14:40 +0000)]
random.tcc (poisson_distribution<>::operator()): Avoid potential warnings when _IntType is unsigned.
2006-09-08 Paolo Carlini <pcarlini@suse.de>
* include/tr1/random.tcc (poisson_distribution<>::operator()):
Avoid potential warnings when _IntType is unsigned.
From-SVN: r116779
Jason Merrill [Fri, 8 Sep 2006 05:11:40 +0000 (01:11 -0400)]
re PR middle-end/27724 (internal compiler error: no-op convert from 4 to 8 bytes in initializer)
PR middle-end/27724
* varasm.c (output_constant): Only strip actual no-op conversions.
From-SVN: r116777
Andrew Pinski [Fri, 8 Sep 2006 02:49:11 +0000 (19:49 -0700)]
006-09-07 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/28906
* init.c (build_new_1): Build a distinct type copy
for the array type that was returned from
build_cplus_array_type.
2006-09-07 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/28906
* g++.dg/other/array3.C: New test.
* g++.dg/other/array4.C: New test.
* g++.dg/other/array5.C: New test.
From-SVN: r116776
Jason Merrill [Fri, 8 Sep 2006 00:28:30 +0000 (20:28 -0400)]
re PR target/13685 (Building simple test application with -march=pentium3 -Os gives SIGSEGV (unaligned sse instruction))
PR target/13685
* config/i386/i386.c (override_options): Use 128-bit
stack boundary if -msse.
From-SVN: r116775
Eric Christopher [Fri, 8 Sep 2006 00:22:49 +0000 (00:22 +0000)]
darwin.h (MACHO_SYMBOL_FLAG_VARIABLE): Update comment.
2006-09-07 Eric Christopher <echristo@apple.com>
* config/darwin.h (MACHO_SYMBOL_FLAG_VARIABLE): Update
comment.
* config/i386/darwin.h (MACHO_SYMBOL_FLAG_VARIABLE):
Redefine.
From-SVN: r116774
GCC Administrator [Fri, 8 Sep 2006 00:17:33 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r116772
Geoffrey Keating [Thu, 7 Sep 2006 23:11:40 +0000 (23:11 +0000)]
dwarf2out.c: Remove strange characters from comment above dwarf2out_frame_debug_expr.
* dwarf2out.c: Remove strange characters from comment above
dwarf2out_frame_debug_expr.
From-SVN: r116767
Benjamin Kosnik [Thu, 7 Sep 2006 22:48:50 +0000 (22:48 +0000)]
debug.h (_GLIBCXX_DEBUG_ONLY): New.
2006-09-08 Benjamin Kosnik <bkoz@redhat.com>
* include/debug/debug.h (_GLIBCXX_DEBUG_ONLY): New.
* include/ext/bitmap_allocator.h (_BALLOC_SANITY_CHECK,
_BALLOC_ASSERT): Remove. Use _GLIBCXX_DEBUG,
_GLIBCXX_DEBUG_ASSERT.
* include/ext/pb_ds/hash_policy.hpp (PB_DS_DBG_ASSERT): Convert to
_GLIBCXX_DEBUG_ASSERT. Formatting corrections.
(PB_DS_DBG_VERIFY): Remove, unused.
(PB_DS_DBG_ONLY): Convert to _GLIBCXX_DEBUG blocks.
* include/ext/pb_ds/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_base_/
insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_base_/
binomial_heap_base_.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_base_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_base_/
split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
erase_store_hash_fn_imps.hpp: Same.
* 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_/cmp_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_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_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/erase_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_/resize_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_fn_imps.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_/
erase_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
* include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
* include/ext/pb_ds/detail/unordered_iterator/
const_point_iterator.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/head.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/
split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
erase_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_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_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_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/erase_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_/resize_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_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_/
erase_no_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/types_traits.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pairing_heap_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
* include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
* include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
left_child_next_sibling_heap_.hpp: Same.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
const_iterator.hpp: Same.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
const_point_iterator.hpp: Same.
* include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
* include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/thin_heap_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/map_debug_base.hpp: Same.
* include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
* include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
* include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/
iterators_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rc_binomial_heap_/
rc_binomial_heap_.hpp: Same.
* include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rc_binomial_heap_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
* include/ext/pb_ds/detail/rc_binomial_heap_/
split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
* testsuite/util/regression/res_mng/forced_exception.hpp: Same.
* testsuite/util/regression/res_mng/dbg_ex_allocator_base.hpp: Same.
* testsuite/util/regression/res_mng/dbg_ex_allocator.hpp: Same.
* testsuite/util/rng/twister_rand_gen.cc
* testsuite/util/native_type/assoc/native_multimap.hpp: Same.
* testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
From-SVN: r116766
Jason Merrill [Thu, 7 Sep 2006 22:47:34 +0000 (18:47 -0400)]
re PR c++/27371 (Does not warn about unused function result (__attribute__((warn_unused_result))))
PR c++/27371
* cvt.c (convert_to_void): Enable previous change.
From-SVN: r116765
Eric Christopher [Thu, 7 Sep 2006 21:07:24 +0000 (21:07 +0000)]
darwin.h (HANDLE_SYSV_PRAGMA): Move from here...
2006-09-07 Eric Christopher <echristo@apple.com>
* config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Move from here...
* config/darwin.h: ... to here.
From-SVN: r116762
H.J. Lu [Thu, 7 Sep 2006 21:07:17 +0000 (14:07 -0700)]
Add the entry for g++.dg/warn/unused-result1.C.
From-SVN: r116761
Jason Merrill [Thu, 7 Sep 2006 21:06:28 +0000 (17:06 -0400)]
re PR c++/26957 (ICE in make_decl_rtl, at varasm.c:871)
PR c++/26957
* method.c (use_thunk): Clear DECL_HAS_VALUE_EXPR_P on copied
parms.
From-SVN: r116760
H.J. Lu [Thu, 7 Sep 2006 18:07:25 +0000 (18:07 +0000)]
pr28946.c (dg-options): Use -Os instead -O.
2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/i386/pr28946.c (dg-options): Use -Os instead -O.
From-SVN: r116758
H.J. Lu [Thu, 7 Sep 2006 17:53:18 +0000 (17:53 +0000)]
i386.c (x86_partial_flag_reg_stall): New.
2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (x86_partial_flag_reg_stall): New.
* config/i386/i386.h (x86_partial_flag_reg_stall): New.
(TARGET_PARTIAL_FLAG_REG_STALL): New.
* config/i386/i386.md (*ashldi3_cmp_rex64): Disabled for
TARGET_PARTIAL_FLAG_REG_STALL.
(*ashldi3_cconly_rex64): Likewise.
(*ashlsi3_cmp): Likewise.
(*ashlsi3_cconly): Likewise.
(*ashlsi3_cmp_zext): Likewise.
(*ashlhi3_cmp): Likewise.
(*ashlhi3_cconly): Likewise.
(*ashlqi3_cmp): Likewise.
(*ashlqi3_cconly): Likewise.
(*ashrdi3_cmp_rex64): Likewise.
(*ashrdi3_cconly_rex64): Likewise.
(*ashrsi3_cmp): Likewise.
(*ashrsi3_cconly): Likewise.
(*ashrsi3_cmp_zext): Likewise.
(*ashrhi3_cmp): Likewise.
(*ashrhi3_cconly): Likewise.
(*ashrqi3_cmp): Likewise.
(*ashrqi3_cconly): Likewise.
(*lshrdi3_cmp_rex64): Likewise.
(*lshrdi3_cconly_rex64): Likewise.
(*lshrsi3_cmp): Likewise.
(*lshrsi3_cconly): Likewise.
(*lshrsi3_cmp_zext): Likewise.
(*lshrhi3_cmp): Likewise.
(*lshrhi3_cconly): Likewise.
(*lshrqi2_cmp): Likewise.
(*lshrqi2_cconly): Likewise.
From-SVN: r116757
Uros Bizjak [Thu, 7 Sep 2006 17:45:48 +0000 (19:45 +0200)]
re PR target/28946 (assembler shifts set the flag ZF, no need to re-test to zero)
PR target/28946
* config/i386/i386.md ("*ashldi3_cconly_rex64", "*ashlsi3_cconly",
"*ashlhi3_cconly", "*ashlqi3_cconly", "*ashrdi3_one_bit_cconly_rex64",
"*ashrdi3_cconly_rex64", "*ashrsi3_one_bit_cconly", "*ashrsi3_cconly",
"*ashrhi3_one_bit_cconly", "*ashrhi3_cconly",
"*ashrqi3_one_bit_cconly", "*ashrqi3_cconly",
"*lshrdi3_cconly_one_bit_rex64", "*lshrdi3_cconly_rex64",
"*lshrsi3_one_bit_cconly", "*lshrsi3_cconly",
"*lshrhi3_one_bit_cconly", "*lshrhi3_cconly",
"*lshrqi2_one_bit_cconly", "*lshrqi2_cconly": New patterns to
implement only CC setting effects of shift instructions.
testsuite/ChangeLog:
PR target/28946
* gcc.target/i386/pr28946.c: New test.
From-SVN: r116756
Simon Martin [Thu, 7 Sep 2006 17:25:05 +0000 (17:25 +0000)]
re PR c++/28284 (ICE with invalid static const variable)
PR c++/28284
* pt.c (fold_non_dependent_expr): Make sure expr is not dereferenced if it
is NULL.
From-SVN: r116755
Martin Michlmayr [Thu, 7 Sep 2006 16:55:17 +0000 (16:55 +0000)]
Add myself to doc/contrib.texi
From-SVN: r116754
Steven G. Kargl [Thu, 7 Sep 2006 16:48:18 +0000 (16:48 +0000)]
data_1.f90: Fix integer oveflow in integer literal constant.
2006-09-07 Steven G. Kargl <kargls@comcast.net>
* gfortran.fortran-torture/compile/data_1.f90: Fix integer oveflow
in integer literal constant.
* gfortran.dg/enum_8.f90: Ditto.
* gfortran.dg/g77/
20030326-1.f: Ditto.
2006-09-07 Steven G. Kargl <kargls@comcast.net>
* gfortran.h (gfc_integer_info): Eliminate max_int.
* arith.c (gfc_arith_init_1): Remove initialization of max_int.
(gfc_arith_done_1): Remove clearing of max_int.
(gfc_check_integer_range): Fix range chekcing of overflow.
* simplify.c (gfc_simplify_not): Construct mask that was max_int.
From-SVN: r116753
Feng Wang [Thu, 7 Sep 2006 16:32:36 +0000 (16:32 +0000)]
intrinsic_set_exponent.f90: Fix nonconformance usage.
2006-09-07 Feng Wang <fengwang@nudt.edu.cn>
* gfortran.fortran-torture/execute/intrinsic_set_exponent.f90: Fix
nonconformance usage.
From-SVN: r116752
Andrew Pinski [Thu, 7 Sep 2006 15:36:50 +0000 (15:36 +0000)]
re PR middle-end/28862 (attribute ((aligned)) ignored on vector variables)
2006-09-07 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/28862
* stor-layout.c (relayout_decl): Don't zero the alignment if it
was set by the user.
2006-09-07 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/28862
* gcc.c-torture/compile/vector-align-1.c: New test.
From-SVN: r116751
Matthias Klose [Thu, 7 Sep 2006 14:28:04 +0000 (14:28 +0000)]
Makefile.am (AM_CXXFLAGS): Remove duplicate define.
2006-09-07 Matthias Klose <doko@debian.org>
* Makefile.am (AM_CXXFLAGS): Remove duplicate define.
* Makefile.in: Regenerate.
From-SVN: r116750
Paolo Bonzini [Thu, 7 Sep 2006 08:19:32 +0000 (08:19 +0000)]
re PR target/27117 (SH backend cheats to reload -- disables indexed addressing but uses it internally)
2006-09-07 Paolo Bonzini <bonzini@gnu.org>
PR target/27117
* config/sh/sh.md (divsi_inv_qitable, divsi_inv_hitable): New patterns.
(divsi_inv_m1): Use them.
(UNSPEC_DIV_INV_TABLE): New constant.
From-SVN: r116746
Roberto Costa [Thu, 7 Sep 2006 07:14:34 +0000 (07:14 +0000)]
Added Roberto Costa to MAINTAINERS list
From-SVN: r116741
Zak Kipling [Thu, 7 Sep 2006 06:53:21 +0000 (06:53 +0000)]
re PR c++/26195 (pragma interface no longer handles explicit names)
PR c++/26195
* decl.c (make_rtl_for_nonlocal_decl),
(start_preparsed_function): Don't use lbasename on
input_filename when calling get_fileinfo.
* semantics.c (begin_class_definition): Likewise.
* lex.c (cxx_make_type): Likewise.
(handle_pragma_interface): Call get_fileinfo on input_filename,
not on the parameter to the directive.
From-SVN: r116740
Andrew Pinski [Thu, 7 Sep 2006 04:24:24 +0000 (21:24 -0700)]
[multiple changes]
2006-09-06 James E Wilson <wilson@specifix.com>
PR rtl-opt/27883
* flow.c (update_life_info): If UPDATE_LIFE_LOCAL and PROP_DEATH_NOTES
then call count_or_remove_death_notes.
2006-09-06 Andrew Pinski <pinskia@physics.uc.edu>
PR rtl-opt/27883
* g++.dg/opt/copysign-1.C: New test.
From-SVN: r116739
Kaveh R. Ghazi [Thu, 7 Sep 2006 04:17:01 +0000 (04:17 +0000)]
configure.ac (ACX_PROG_CC_WARNING_OPTS): Add -Wcast-qual.
* configure.ac (ACX_PROG_CC_WARNING_OPTS): Add -Wcast-qual.
* configure, config.in: Regenerate.
* decContext.c (decContextStatusToString): Constify.
* decContext.h (decContextStatusToString): Likewise.
* decNumber.c (decNumberToString, decNumberToEngString,
decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
decNumberDivideInteger, decNumberMax, decNumberMin,
decNumberMinus, decNumberPlus, decNumberMultiply,
decNumberNormalize, decNumberQuantize, decNumberRescale,
decNumberRemainder, decNumberRemainderNear,
decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
decNumberToIntegralValue, decNumberCopy, decToString, decAddOp,
decDivideOp, decMultiplyOp, decQuantizeOp, decCompareOp,
decCompare, decUnitCompare, decUnitAddSub, decRoundOperand,
decCopyFit, decSetCoeff, decGetInt, decNaNs, decGetDigits,
decNumberShow, decDumpAr, decCheckOperands, decCheckNumber):
Likewise.
* decNumber.h (decNumberToString, decNumberToEngString,
decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
decNumberDivideInteger, decNumberMax, decNumberMin,
decNumberMinus, decNumberMultiply, decNumberNormalize,
decNumberPlus, decNumberQuantize, decNumberRemainder,
decNumberRemainderNear, decNumberRescale,
decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
decNumberToIntegralValue, decNumberCopy): Likewise.
* decUtility.c (decDensePackCoeff, decDenseUnpackCoeff):
Likewise.
* decUtility.h (decDensePackCoeff, decDenseUnpackCoeff):
Likewise.
* decimal128.c (decimal128FromNumber, decimal128ToNumber,
decimal128ToString, decimal128ToEngString, decimal128Show):
Likewise.
* decimal128.h (decimal128ToString, decimal128ToEngString,
decimal128FromNumber, decimal128ToNumber): Likewise.
* decimal32.c (decimal32FromNumber, decimal32ToNumber,
decimal32ToString, decimal32ToEngString, decimal32Show):
Likewise.
* decimal32.h (decimal32ToString, decimal32ToEngString,
decimal32FromNumber, decimal32ToNumber): Likewise.
* decimal64.c (decimal64FromNumber, decimal64ToNumber,
decimal64ToString, decimal64ToEngString, decimal64Show):
Likewise.
* decimal64.h (decimal64ToString, decimal64ToEngString,
decimal64FromNumber, decimal64ToNumber): Likewise.
From-SVN: r116738
Jason Merrill [Thu, 7 Sep 2006 01:12:00 +0000 (21:12 -0400)]
re PR c++/27371 (Does not warn about unused function result (__attribute__((warn_unused_result))))
PR c++/27371
* tree-inline.c (copy_result_decl_to_var): New fn.
(declare_return_variable): Use it. Call declare_inline_vars here.
(expand_call_inline): Not here.
* cp/cvt.c (convert_to_void): Strip useless TARGET_EXPR.
* cp/cp-tree.h (TARGET_EXPR_IMPLICIT_P): New macro.
* cp/tree.c (build_cplus_new): Set it.
From-SVN: r116737
Mark Mitchell [Thu, 7 Sep 2006 01:04:07 +0000 (01:04 +0000)]
re PR c++/28903 (Rejects VLA in template class's member with using)
PR c++/28903
* pt.c (tsubst): Use fold_non_dependent_expr to fold array
dimensions.
PR c++/28886
* pt.c (unify): Avoid unnecessary calls to fold_build2 for array
dimensions.
From-SVN: r116736
GCC Administrator [Thu, 7 Sep 2006 00:17:16 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r116734
Keith Seitz [Wed, 6 Sep 2006 22:16:59 +0000 (22:16 +0000)]
Class.h (_Jv_FindInterpreterMethod): Change return type to _Jv_MethodBase instead of _Jv_InterpMethod.
* java/lang/Class.h (_Jv_FindInterpreterMethod): Change return type
to _Jv_MethodBase instead of _Jv_InterpMethod.
* java/lang/natClass.cc (_Jv_FindInterpreterMethod): Likewise.
Do not check access flags.
Fix some minor style anomalies.
From-SVN: r116730
Diego Novillo [Wed, 6 Sep 2006 21:04:21 +0000 (21:04 +0000)]
contrib.texi: Update my entry.
* doc/contrib.texi: Update my entry.
From-SVN: r116727
Jason Merrill [Wed, 6 Sep 2006 17:06:00 +0000 (13:06 -0400)]
re PR c++/26696 (ICE with statement forming unused static member function reference)
PR c++/26696
* cvt.c (convert_to_void): Replace a subexpression with no side
effects with void_zero_node.
* tree.c (is_overloaded_fn): Look through COMPONENT_REF.
(get_first_fn): Ditto.
* decl.c (grokdeclarator): No need to look through COMPONENT_REF.
From-SVN: r116724
Richard Guenther [Wed, 6 Sep 2006 13:47:42 +0000 (13:47 +0000)]
pr27226.c: Remove testcase again.
2006-09-06 Richard Guenther <rguenther@suse.de>
* gcc.dg/pr27226.c: Remove testcase again.
From-SVN: r116722
Nick Clifton [Wed, 6 Sep 2006 06:58:41 +0000 (06:58 +0000)]
* config/frv/frv.h (EXTRA_MEMORY_CONSTRAINT): Define.
From-SVN: r116719
Andrew Pinski [Wed, 6 Sep 2006 06:37:06 +0000 (23:37 -0700)]
Remove extra blank line.
From-SVN: r116718
Andrew Pinski [Wed, 6 Sep 2006 06:13:22 +0000 (06:13 +0000)]
re PR tree-optimization/28937 (ICE in add_virtual_operand, at tree-ssa-operands.c:1309)
2006-09-05 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/28937
* tree-flow.h (tree_ssa_unswitch_loops): Return unsigned int.
(canonicalize_induction_variables): Likewise.
(tree_unroll_loops_completely): Likewise.
(tree_ssa_prefetch_arrays): Likewise.
(remove_empty_loops): Likewise.
* tree-ssa-loop-unswitch.c (tree_ssa_unswitch_loops): Return
TODO_cleanup_cfg instead of directly calling
cleanup_tree_cfg_loop.
* tree-ssa-loop-ivcanon.c (canonicalize_induction_variables):
Likewise.
(tree_unroll_loops_completely): Likewise.
(remove_empty_loops): Likewise.
* tree-ssa-loop-prefetch.c (tree_ssa_prefetch_arrays): Likewise.
* tree-ssa-loop.c (tree_ssa_loop_unswitch): Use the return value
of tree_ssa_unswitch_loops.
(tree_ssa_loop_ivcanon): Use the return value of
canonicalize_induction_variables.
(tree_ssa_empty_loop): Use the return value of
remove_empty_loops.
(tree_complete_unroll): Use the return value of
tree_unroll_loops_completely.
(tree_ssa_loop_prefetch): Use the return value of
tree_ssa_prefetch_arrays.
* passes.c (execute_todo): Before Cleanup CFG, set
updating_used_alone and after cleanup CFG, call
recalculate_used_alone.
2006-09-05 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/28937
* g++.dg/opt/unroll2.C: New test.
From-SVN: r116717
Andrew Pinski [Wed, 6 Sep 2006 06:06:55 +0000 (23:06 -0700)]
re PR tree-optimization/28952 (tree check: expected class 'expression', have 'exceptional' (ssa_name) in vectorizable_condition, at tree-vect-transform.c:2122)
2006-09-05 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/28952
* tree-vect-transform.c (vectorizable_condition): Move the check
for the type after the check for simple condition.
2006-09-05 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/28952
* gcc.dg/vect/pr28952.c: New test.
From-SVN: r116716
Jason Merrill [Wed, 6 Sep 2006 05:28:08 +0000 (01:28 -0400)]
re PR c++/26571 (Bad diagnostic using type modifier with struct)
PR c++/26571
* parser.c (cp_parser_diagnose_invalid_type_name): Handle the case
where the name is a type used incorrectly.
From-SVN: r116715
Jason Merrill [Wed, 6 Sep 2006 05:25:29 +0000 (01:25 -0400)]
re PR c++/26671 (Missing "warning: reference to local variable returned")
PR c++/26671
* typeck.c (maybe_warn_about_returning_address_of_local): Look
through COMPONENT_REF and ARRAY_REF.
From-SVN: r116714
Paul Thomas [Wed, 6 Sep 2006 04:12:09 +0000 (04:12 +0000)]
2006-09-06 Paul Thomas <pault@gcc.gnu.org>
Remove non-standard format from ChangeLog.
From-SVN: r116711
Jason Merrill [Wed, 6 Sep 2006 01:15:39 +0000 (21:15 -0400)]
re PR c++/26102 ("using Base::member" nonsense)
PR c++/26102
* name-lookup.c (do_class_using_decl): Try to find the base even
if bases_dependent_p.
* pt.c (type_dependent_expression_p): A USING_DECL is dependent.
PR c++/19809
* pt.c (tsubst_friend_function): Set DECL_INITIAL before pushdecl.
From-SVN: r116710
Jason Merrill [Wed, 6 Sep 2006 01:15:09 +0000 (21:15 -0400)]
re PR c++/26102 ("using Base::member" nonsense)
PR c++/26102
* name-lookup.c (do_class_using_decl): Try to find the base even
if bases_dependent_p.
* pt.c (type_dependent_expression_p): A USING_DECL is dependent.
PR c++/19809
* pt.c (tsubst_friend_function): Set DECL_INITIAL before pushdecl.
From-SVN: r116709
GCC Administrator [Wed, 6 Sep 2006 00:17:36 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r116707
J"orn Rennecke [Tue, 5 Sep 2006 21:41:23 +0000 (21:41 +0000)]
re PR target/28764 (libjava build failure on sh4)
PR target/28764
* mode-switching.c (optimize_mode_switching): Make the destination
block of an abnormal edge have no anticipatable mode. Don't
insert mode switching code at the end of the source block of
an abnormal edge.
Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org>
From-SVN: r116703
Geoffrey Keating [Tue, 5 Sep 2006 18:11:49 +0000 (18:11 +0000)]
* btest-gcc.sh: .bad_compare has moved to toplevel from gcc/.
From-SVN: r116702
Paolo Bonzini [Tue, 5 Sep 2006 17:41:22 +0000 (17:41 +0000)]
re PR rtl-optimization/26847 (Missed optimization in simplify_plus_minus)
2006-09-05 Paolo Bonzini <bonzini@gnu.org>
PR rtl-optimization/26847
* simplify-rtx.c (struct simplify_plus_minus_op_data): Remove ix.
(simplify_plus_minus_op_data_cmp): For REGs, break ties on the regno.
(simplify_plus_minus): Count n_constants while filling ops. Replace
qsort with insertion sort. Before going through the array to simplify
pairs, sort it. Delay early exit until after the first sort, exiting
only if no swaps occurred. Simplify pairs in reversed order, without
special-casing the first iteration. Pack ops after simplifying pairs.
From-SVN: r116701
Paolo Carlini [Tue, 5 Sep 2006 17:38:44 +0000 (17:38 +0000)]
basic_string.tcc (find(const _CharT*, size_type, size_type)): Robustify.
2006-09-05 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (find(const _CharT*, size_type,
size_type)): Robustify.
* include/ext/vstring.tcc (find(const _CharT*, size_type,
size_type)): Likewise.
From-SVN: r116700
Anatoly Sokolov [Tue, 5 Sep 2006 17:23:08 +0000 (21:23 +0400)]
avr.c (avr_mcu_types): Add support for at90pwm1 device.
* config/avr/avr.c (avr_mcu_types): Add support for at90pwm1 device.
* config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
(avr_rtx_costs): Mark 'outer_code' argument with ATTRIBUTE_UNUSED.
From-SVN: r116699
Paolo Carlini [Tue, 5 Sep 2006 15:43:47 +0000 (15:43 +0000)]
basic_string.tcc (find(const _CharT*, size_type, size_type)): Reimplement in terms of traits::eq and traits::compare.
2006-09-05 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (find(const _CharT*, size_type,
size_type)): Reimplement in terms of traits::eq and traits::compare.
* include/ext/vstring.tcc (find(const _CharT*, size_type,
size_type)): Likewise.
* src/string-inst.cc: Remove unneded std::search instantiation.
From-SVN: r116698
Richard Guenther [Tue, 5 Sep 2006 08:39:42 +0000 (08:39 +0000)]
re PR tree-optimization/28900 (ICE verify_stmts failed (invalid operand to unary operator))
2006-09-05 Richard Guenther <rguenther@suse.de>
PR tree-optimization/28900
* tree-if-conv.c (find_phi_replacement_condition): Gimplify
compound conditional before creating COND_EXPR condition.
* gcc.dg/torture/pr28900.c: New testcase
From-SVN: r116697
Richard Guenther [Tue, 5 Sep 2006 08:36:39 +0000 (08:36 +0000)]
re PR tree-optimization/28905 (ICE in compare_name_with_value, at tree-vrp.c:3557)
2006-09-05 Richard Guenther <rguenther@suse.de>
PR tree-optimization/28905
* tree-vrp.c (fix_equivalence_set): Manually implement
!value_ranges_intersect_p to also handle symbolic ranges.
* gcc.c-torture/compile/pr28905.c: New testcase.
From-SVN: r116696
Richard Guenther [Tue, 5 Sep 2006 08:34:00 +0000 (08:34 +0000)]
re PR tree-optimization/28935 (Segfault in operand_equal_p with -ftree-vectorize -O3)
2006-09-05 Richard Guenther <rguenther@suse.de>
PR middle-end/28935
* tree-ssa-ccp.c (fold_stmt_r): Make sure to fold the condition
of a COND_EXPR.
* gcc.dg/pr28935.c: New testcase.
From-SVN: r116695
Gary Benson [Tue, 5 Sep 2006 07:49:08 +0000 (07:49 +0000)]
2006-09-05 Gary Benson <gbenson@redhat.com>
* java/net/SocketPermission.java
(maybeBracketIPv6Address): Renamed to processHostport.
(processHostport): Also translate "" to "localhost".
(setHostPort): Remove special cases for empty hostport and for
extra colons in hostport (processHostport handles these now).
From-SVN: r116694
Eric Botcazou [Tue, 5 Sep 2006 07:05:08 +0000 (09:05 +0200)]
20060905-1.c: New test.
* gcc.c-torture/execute/
20060905-1.c: New test.
From-SVN: r116692
Paul Thomas [Tue, 5 Sep 2006 04:26:10 +0000 (04:26 +0000)]
re PR fortran/28908 (fold_convert fails for Fortran operator)
2006-09-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/28908
REGRESSION FIX
* gfortran.h : Restore the gfc_dt_list structure and reference
to it in gfc_namespace.
* resolve.c (resolve_fl_derived): Restore the building of the
list of derived types for the current namespace. Modify the
restored code so that a check is made to see if the symbol is
already in the list.
(resolve_fntype): Make sure that the specification block
version of the derived type is used for a module function that
returns that type.
* symbol.c (gfc_free_dt_list): Restore.
(gfc_free_namespace): Restore call to previous.
* trans-types.c (copy_dt_decls_ifequal): Restore.
(gfc_get_derived_type): Restore all the paraphenalia for
association of derived types, including calls to previous.
Modify the restored code such that all derived types are built
if their symbols are found in the parent namespace; not just
non-module types. Add backend_decls to like derived types in
sibling namespaces, as well as that of the derived type.
2006-09-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/28908
* gfortran.dg/used_types_7.f90: New test.
* gfortran.dg/used_types_8.f90: New test.
* gfortran.dg/used_types_9.f90: New test.
From-SVN: r116690
GCC Administrator [Tue, 5 Sep 2006 00:17:19 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r116688
Eric Botcazou [Mon, 4 Sep 2006 19:33:24 +0000 (21:33 +0200)]
re PR rtl-optimization/27616 (Infinite loop at -O1 and above in RTL CSE)
PR rtl-optimization/27616
* cse.c (table_size): New static variable.
(new_basic_block): Initialize it to 0.
(remove_from_table): Decrement it.
(insert): Increment it.
(fold_rtx_mem_1): New function, renamed from fold_rtx_mem.
(fold_rtx_mem): Enforce a cap on the recursion depth. Call
fold_rtx_mem_1 if under the cap.
(fold_rtx) <RTX_COMM_ARITH>: In the associative case, delay a little
the lookup of the equivalent expression and test for equality of the
first operand of the equivalent expression before in turn looking up
an equivalent constant for the second operand.
From-SVN: r116683
Eric Botcazou [Mon, 4 Sep 2006 16:29:51 +0000 (16:29 +0000)]
Remove leading TAB.
From-SVN: r116681
Benjamin Kosnik [Mon, 4 Sep 2006 15:41:18 +0000 (15:41 +0000)]
re PR c++/28871 (massive C++ compile time slowdown)
2006-09-04 Benjamin Kosnik <bkoz@redhat.com>
PR c++/28871
* include/ext/bitmap_allocator.h: Add comment for end of anonymous
namespace.
* include/ext/rope: Same.
* include/bits/cpp_type_traits.h: Same.
* include/tr1/tuple: Same.
* include/tr1/functional_iterate.h: Same.
* include/bits/cpp_type_traits.h: Revert anonymous namespace
change, use nested detail instead.
* testsuite/lib/libstdc++.exp (libstdc++_init): PCHFLAGS revert to
stdc++.h.
From-SVN: r116680
Nathan Sidwell [Mon, 4 Sep 2006 15:21:50 +0000 (15:21 +0000)]
PR 23287 Revert my 2006-09-01 patch.
cp/
PR 23287 Revert my 2006-09-01 patch.
* parser.c: Reverted.
* pt.c: Reverted.
testsuite/
PR c++/23287 Revert my 2006-09-01 patch
* g++.dg/parse/dtor12.C: Remove.
From-SVN: r116679
Paolo Carlini [Mon, 4 Sep 2006 08:00:35 +0000 (08:00 +0000)]
mt_allocator.cc (__pool<true>::_M_reclaim_block): Do not name a variable __used, badname on BSD.
2006-09-04 Paolo Carlini <pcarlini@suse.de>
* src/mt_allocator.cc (__pool<true>::_M_reclaim_block): Do
not name a variable __used, badname on BSD.
From-SVN: r116678
GCC Administrator [Mon, 4 Sep 2006 00:17:08 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r116675
Joseph Myers [Sun, 3 Sep 2006 11:54:34 +0000 (12:54 +0100)]
* vi.po: Update.
From-SVN: r116670
Joseph Myers [Sun, 3 Sep 2006 11:52:48 +0000 (12:52 +0100)]
* sv.po: Update.
From-SVN: r116668
GCC Administrator [Sun, 3 Sep 2006 00:17:34 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r116666
Lee Millward [Sat, 2 Sep 2006 14:15:37 +0000 (14:15 +0000)]
re PR c++/27670 (ICE on invalid template parameter)
2006-09-02 Lee Millward <lee.millward@codesourcery.com>
PR c++/27670
PR c++/27493
PR c++/27494
PR c++/27397
* parser.c (cp_parser_template_parameter_list): Add
invalid template parameters to the parameter list as
error_mark_node.
* g++.dg/template/operator9.C: New test.
* g++.dg/template/operator7.C: New test.
* g++.dg/template/operator8.C: New test.
* g++.dg/template/crash57.C: New test.
* g++.dg/template/typedef4.C: Adjust error markers.
* g++.dg/template/typedef5.C: Likewise.
From-SVN: r116661
Paolo Carlini [Sat, 2 Sep 2006 08:31:45 +0000 (08:31 +0000)]
re PR libstdc++/24469 (Possible race condition in mt_allocator causing SIGSEGV)
2006-09-02 Paolo Carlini <pcarlini@suse.de>
Richard Guenther <rguenther@suse.de>
PR libstdc++/24469
* src/mt_allocator.cc (__pool<true>::_M_reserve_block,
__pool<true>::_M_reclaim_block): Fix the logic to avoid
races, exploit atomic counters stored in second part of
the memory pointed by _M_used.
(__pool<true>::_M_initialize): Adjust _M_used allocation.
* include/ext/mt_allocator.h (__pool<true>::_Bin_record):
Update comment.
Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r116660
Geoffrey Keating [Sat, 2 Sep 2006 07:26:21 +0000 (07:26 +0000)]
Revert this change:
2006-03-17 Alexandre Oliva <aoliva@redhat.com>
* dwarf2out.c (dwarf2out_stack_adjust): Always track the stack
pointer, instead of assuming it is possible to derive the
correct args size from a call insn.
From-SVN: r116659