jakub [Wed, 4 Jan 2006 08:17:15 +0000 (08:17 +0000)]
* config/i386/pmm_malloc.h (posix_memalign): If __cplusplus,
make the prototype extern "C" and add throw ().
* g++.dg/other/i386-2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109318
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 4 Jan 2006 08:15:06 +0000 (08:15 +0000)]
PR target/25554
* config/i386/i386.md (testqi_ext_3): Ensure len is positive
and pos non-negative and pos + len <= 32.
(testqi_ext_3_rex64): Ensure len is positive and pos non-negative,
drop pos + len < HOST_BITS_PER_WIDE_INT test.
(testqi_ext_3* splitter): Handle pos + len == HOST_BITS_PER_WIDE_INT.
* gcc.c-torture/compile/
20051228-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109317
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 4 Jan 2006 08:07:09 +0000 (08:07 +0000)]
PR c/25559
* c-common.c (handle_vector_size_attribute): Reject zero vector size
as well as sizes not multiple of component size.
* gcc.dg/pr25559.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109316
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 4 Jan 2006 08:05:29 +0000 (08:05 +0000)]
PR debug/25562
* function.c (instantiate_expr): New function.
(instantiate_decls_1, instantiate_decls): If DECL_HAS_VALUE_EXPR_P,
walk its DECL_VALUE_EXPR with instantiate_expr.
* dwarf2out.c (loc_descriptor_from_tree_1): Don't add
DW_OP_deref{,_size} if address isn't going to be added.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109315
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Wed, 4 Jan 2006 03:42:02 +0000 (03:42 +0000)]
* config/fp-bit.h: Use top-of-file comment from libgcc2.c.
* config/fp-bit.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109309
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Wed, 4 Jan 2006 02:03:19 +0000 (02:03 +0000)]
2006-01-03 Daniel Berlin <dberlin@dberlin.org>
* dominance.c: Add comment about why we use DFS numbering
of dominance tree.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109308
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 4 Jan 2006 01:04:51 +0000 (01:04 +0000)]
PR c++/25492
* name-lookup.c (push_class_level_binding): When a derived class
provides a type binding, eliminate any type binding from a base
class.
PR c++/25625
* repo.c (repo_emit_p): Always instantiate static data members
initialized by constant expressions, so that there values are
available.
PR c++/25492
* g++.dg/lookup/friend9.C: New test.
PR c++/25625
* g++.dg/template/repo5.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109307
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 4 Jan 2006 00:17:23 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109301
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 3 Jan 2006 22:58:31 +0000 (22:58 +0000)]
PR libgcj/9715, PR libgcj/19132:
* java/nio/charset/Charset.java (charsetForName): Try default
provider first.
(availableCharsets): Re-merged.
(providers2): Likewise.
(defaultCharset): Likewise.
* sources.am, Makefile.in: Rebuilt.
* gnu/java/nio/charset/Provider.java: Removed.
* java/io/OutputStreamWriter.java
(OutputStreamWriter(OutputStream,Charset)): New constructor.
(OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
* java/io/InputStreamReader.java
(InputStreamReader(InputStream,CharsetDecoder)): New constructor.
(InputStreamReader(InputStream,Charset)): Likewise.
* gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
BytesToCharsetAdaptor.
* gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
CharsetToBytesAdaptor.
* gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
* gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
* mauve-libgcj: Remove getEncoding exclusion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109294
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Tue, 3 Jan 2006 22:52:08 +0000 (22:52 +0000)]
* MAINTAINERS (libdecnumber): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109293
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Tue, 3 Jan 2006 22:01:10 +0000 (22:01 +0000)]
2006-01-03 Steven G. Kargl <kargls@comcast.net>
PR fortran/25101
* resolve.c (resolve_forall_iterators): Check for scalar variables;
Check stride is nonzero.
* gfortran.dg/forall_2.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109288
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Tue, 3 Jan 2006 20:42:55 +0000 (20:42 +0000)]
Correct last commit
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109287
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Tue, 3 Jan 2006 20:24:53 +0000 (20:24 +0000)]
* g++.dg/abi/thunk3.C, g++.dg/abi/thunk4.C: Gate on
dg-require-weak. Adjust regexp to handle leading-underscore
targets, NO_DOT_IN_LABEL targets and space as well as TAB after
.weak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109286
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 3 Jan 2006 16:19:21 +0000 (16:19 +0000)]
* varasm.c (assemble_variable): Handle thread-local COMMON data.
* defaults.h (ASM_OUTPUT_TLS_COMMON): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109282
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Tue, 3 Jan 2006 14:58:05 +0000 (14:58 +0000)]
gcc:
2006-01-03 Paolo Bonzini <bonzini@gnu.org>
PR rtl-optimization/25578
* combine.c (combine_simplify_rtx, force_to_mode): Don't
pass a parameter to simplify_shift_const if changing ASHIFTRT
to LSHIFTRT.
gcc/testsuite:
2006-01-03 Paolo Bonzini <bonzini@gnu.org>
PR rtl-optimization/25578
* gcc.c-torture/execute/
20060102-1.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109281
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 3 Jan 2006 13:19:23 +0000 (13:19 +0000)]
2006-01-03 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_list.h (_List_base<>::_M_get_Node_allocator): Add.
(_M_get_Tp_allocator, get_allocator): Tidy.
(list<>::list(const list&), insert(iterator, size_type, const
value_type&), insert(iterator, _InputIterator, _InputIterator)):
Use _M_get_Node_allocator.
* include/bits/stl_tree.h (_Rb_tree<>::_M_get_Node_allocator()): Add.
(_Rb_tree(const _Rb_tree<>&): Use it.
* include/bits/stl_deque.h (_Deque_base<>::_M_get_map_allocator,
get_allocator): Tidy.
* include/bits/stl_vector.h (_Vector_base<>::get_allocator): Tidy.
* testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
line numbers.
* testsuite/23_containers/set/operators/1_neg.cc: Likewise.
* testsuite/testsuite_allocator.h (uneq_allocator<>::swap): Fix.
* testsuite/testsuite_allocator.h (class uneq_allocator): A simple
non-empty testing allocator which can be endowed of a "personality"
at construction time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109280
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Tue, 3 Jan 2006 11:52:29 +0000 (11:52 +0000)]
2006-01-03 Adrian Straetling <straetling@de.ibm.com>
* gcc/builtins.c (get_builtin_sync_mem): New function.
(expand_builtin_sync_operation, expand_builtin_compare_and_swap,
expand_builtin_lock_test_and_set, expand_builtin_lock_release):
Call get_builtin_sync_mem to generate mem rtx.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109279
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 3 Jan 2006 10:29:25 +0000 (10:29 +0000)]
2006-01-03 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_stringstream/str/char/1.cc: Initialize vars.
* testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise, tidy.
* testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109275
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 3 Jan 2006 09:15:08 +0000 (09:15 +0000)]
2006-01-03 Richard Guenther <rguenther@suse.de>
PR c/25183
* stmt.c (add_case_node): Make sure to clear overflow flags
from ranges.
* gcc.dg/torture/pr25183.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109272
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 3 Jan 2006 09:06:36 +0000 (09:06 +0000)]
Merge from gomp-branch.
* config/sparc/sync.md: New file.
* config/sparc/sparc.md (UNSPECV_MEMBAR, UNSPECV_CAS, UNSPECV_SWAP,
UNSPECV_LDSTUB): New constants.
* config/sparc/sparc.c (sparc_expand_compare_and_swap_12): New function.
* config/sparc/predicates.md (memory_reg_operand): New predicate.
* config/sparc/sparc-protos.h (sparc_expand_compare_and_swap_12): New
prototype.
* gcc.dg/ia64-sync-1.c: On sparc*-*-*, pass -mcpu=v9.
* gcc.dg/ia64-sync-2.c: Likewise.
* gcc.dg/ia64-sync-3.c: Likewise.
* gcc.dg/ia64-sync-4.c: Likewise.
* gcc.dg/sync-2.c: Likewise.
* lib/target-supports.exp (sync_char_short, sync_int_long): Indicate
that sparc64-*-* and sparcv9-*-* supports sync builtins.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109271
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 3 Jan 2006 08:41:21 +0000 (08:41 +0000)]
PR c++/25635
* class.c (add_method): Set TYPE_HAS_CONVERSION for classes with a
conversion operator.
* decl.c (grokdeclarator): Do not set TYPE_HAS_CONVERSION here.
PR c++/25638
* class.c (add_method): Never associate more than one destructor
with a single class.
PR c++/25637
* cp-tree.h (do_friend): Adjust prototype.
* decl.c (grokfndecl): Make funcdef_flag a bool, not an int.
(grokdeclarator): Likewise. Refine check for invalid
declarations/definitions of member functions outside of their own
class.
* friend.c (do_friend): Make funcdef_flag a bool, not an int.
PR c++/25633
* parser.c (cp_parser_mem_initializer_list): Check result of
cp_parser_mem_initializer against error_mark_node, not NULL_TREE.
(cp_parser_mem_initializer): Return error_mark_node for failure.
PR c++/25634
* parser.c (cp_parser_template_parameter_list): Call
begin_template_parm_list and end_template_parm_list here.
(cp_parser_type_parameter): Not here.
(cp_parser_template_declaration_after_export): Or here.
(cp_parser_elaborated_type_specifier): Call
cp_parser_check_template_parameters.
* tree.c (build_target_expr_with_type): Use force_target_expr.
PR c++/25635
* g++.dg/parse/operator6.C: New test.
PR c++/25637
* g++.dg/parse/error29.C: New test.
PR c++/25638
* g++.dg/parse/dtor6.C: New test.
PR c++/25633
* g++.dg/parse/ctor3.C: New test.
PR c++/25634
* g++.dg/template/class3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109270
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 3 Jan 2006 07:18:48 +0000 (07:18 +0000)]
* combine.c (reg_subword_p): New predicate to test whether the
destination of a set refers to a subword/piece of a register.
(try_combine): Generalize the code to merge the setting of a
pseudo to a constant followed by a set of a subword of that
register to a constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109267
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 3 Jan 2006 06:30:13 +0000 (06:30 +0000)]
* tree-ssa-propagate.c (cfg_blocks): Change the type to
VEC(basic_block,heap) *.
(cfg_blocks_add, cfg_blocks_get, ssa_prop_init,
ssa_prop_fini): Adjust the uses of cfg_blocks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109266
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 3 Jan 2006 06:29:07 +0000 (06:29 +0000)]
* basic-block.h (control_flow_graph): Change the type of
x_label_to_block_map to VEC(basic_block,gc) *.
* tree-cfg.c (init_empty_tree_cfg, label_to_block_fn,
set_bb_for_stmt): Adjust the uses of x_label_to_block_map.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109265
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Tue, 3 Jan 2006 06:20:21 +0000 (06:20 +0000)]
* fold-const.c (operand_equal_p): Accept a NULL operand 0 for
COMPONENT_REFs.
* emit-rtl.c (mem_attrs_htab_eq): Use iterative_hash_expr for
hashing trees instead of a pointer hash.
(mem_attrs_htab_eq): Do a deep compare instead of a pointer
compare for MEM_EXPR.
PR rtl-optimization/25130
* cse.c (exp_equiv_p): Compare MEM_ATTRS instead of MEM_ALIAS_SET
when comparing MEMs for GCSE
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109264
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Tue, 3 Jan 2006 05:08:19 +0000 (05:08 +0000)]
* targhooks.h (default_decimal_float_supported_p): Declare.
* targhooks.c (default_decimal_float_supported_p): Define.
* target-def.h (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Redefine to
`default_decimal_float_supported_p'.
* doc/tm.texi (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109262
138bc75d-0d04-0410-961f-
82ee72b054a4
nemet [Tue, 3 Jan 2006 05:05:06 +0000 (05:05 +0000)]
* combine.c (apply_distributive_law <SUBREG>): Check
TRULY_NOOP_TRUNCATION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109261
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 3 Jan 2006 04:57:10 +0000 (04:57 +0000)]
Index: gcc/ChangeLog
2006-01-02 Geoffrey Keating <geoffk@apple.com>
* dwarf2out.c (have_switched_text_section): Delete.
(have_multiple_function_sections): New.
(have_location_lists): Make 'bool'.
(add_AT_loc_list): Use 'true' not '1'.
(dwarf2out_switch_text_section): Set have_multiple_function_sections.
(output_loc_list): Use have_multiple_function_sections.
(output_ranges): Likewise.
(dwarf2out_begin_function): Set have_multiple_function_sections if
necessary.
(dwarf2out_source_line): Don't fake separate_line_info_table_in_use.
Check function_section rather than DECL_SECTION_NAME.
(dwarf2out_finish): Use have_multiple_function_sections.
Don't clear have_location_lists.
Index: gcc/testsuite/ChangeLog
2006-01-02 Geoffrey Keating <geoffk@apple.com>
* g++.dg/debug/debug9.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109260
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 3 Jan 2006 02:08:49 +0000 (02:08 +0000)]
* zh_CN.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109258
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 3 Jan 2006 00:30:27 +0000 (00:30 +0000)]
* libtool-ldflags: New script.
* src/Makefile.am (LTLDFLAGS): New variable.
(CXXLINK): Use LTLDFLAGS.
* src/Makefile.in: Regenerated.
* libsupc++/Makefile.am (LTLDFLAGS): New variable.
(CXXLINK): Use LTLDFLAGS.
* libsupc++/Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109256
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 3 Jan 2006 00:17:30 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109253
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 2 Jan 2006 22:47:50 +0000 (22:47 +0000)]
* cfglayout.c (fixup_reorder_chain): Remove kludge for the
case of conditional jump jumping to the next instruction.
* cfgrtl.c (force_nonfallthru_and_redirect): Accept all
cases of conditional jump jumping to the next instruction.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109247
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Mon, 2 Jan 2006 22:23:35 +0000 (22:23 +0000)]
PR fortran/24640
* parse.c (next_free): Check for whitespace after the label.
* match.c (gfc_match_small_literal_int): Initialize cnt variable.
* gfortran.dg/label_2.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109246
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 2 Jan 2006 19:19:22 +0000 (19:19 +0000)]
* i386.c (*_cost): Add COSTS_N_INSNS.
(ix86_rtx_costs): Do not use COSTS_N_INSNS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109242
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Mon, 2 Jan 2006 18:53:27 +0000 (18:53 +0000)]
config:
2006-01-02 Paolo Bonzini <bonzini@gnu.org>
PR target/25259
* stdint.m4: New.
gcc:
2006-01-02 Paolo Bonzini <bonzini@gnu.org>
PR target/25259
* Makefile.in (DECNUMINC): Include libdecnumber's build directory.
libgfortran:
2006-01-02 Paolo Bonzini <bonzini@gnu.org>
PR target/25259
* configure.ac: Use GCC_HEADER_STDINT.
* libgfortran.h: Include gstdint.h.
* aclocal.m4: Regenerate.
* configure: Regenerate.
libdecnumber:
2006-01-02 Paolo Bonzini <bonzini@gnu.org>
PR target/25259
* configure.ac: Use GCC_HEADER_STDINT.
* decContext.h: Include gstdint.h.
* aclocal.m4: Regenerate.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109241
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Mon, 2 Jan 2006 18:34:24 +0000 (18:34 +0000)]
* configure.in: When reconfiguring remove Makefile in
all stage directories.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109240
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 2 Jan 2006 17:53:44 +0000 (17:53 +0000)]
* decl2.c (mark_used): Fix typo in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109239
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Mon, 2 Jan 2006 17:28:54 +0000 (17:28 +0000)]
* config/arm/arm.c (all_fpus): Fix comment typo.
* config/darwin.c: Likewise.
* config/frv/frv.h (FRV_STRUCT_VALUE_REGNUM): Likewise.
* config/h8300/h8300.md (extendqisi2_h8300hs): Likewise.
* config/m68hc11/m68hc11.c (m68hc11_reload_operands): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109238
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Mon, 2 Jan 2006 16:19:26 +0000 (16:19 +0000)]
* parser.c (cp_parser_using_declaration): Skip name-lookup on
invalid scope.
* g++.dg/lookup/using12.C: Tighten error marker.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109237
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 2 Jan 2006 09:57:49 +0000 (09:57 +0000)]
2006-01-02 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/24645
* include/std/std_istream.h (basic_istream<>::_M_extract): New.
(operator>>(bool&), operator>>(short&), operator>>(unsigned short&),
operator>>(int&), operator>>(unsigned int&), operator>>(long&),
operator>>(unsigned long&), operator>>(long long&), operator>>
(unsigned long long&), operator>>(float&), operator>>(double&),
operator>>(long double&), operator>>(void*&)): Use it.
* include/bits/istream.tcc (basic_istream<>::_M_extract): Define.
* include/std/std_ostream.h (basic_ostream<>::_M_insert): New.
(operator<<(long), operator<<(unsigned long), operator<<(bool),
operator<<(short), operator<<(unsigned short), operator<<(int),
operator<<(unsigned int), operator<<(long long), operator<<
(unsigned long long), operator<<(double), operator<<(float),
operator<<(long double), operator<<(const void*): Use it.
* include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define.
* src/istream-inst.cc: Add _M_insert instantiations.
* src/ostream-inst.cc: Add _M_extract instantiations.
* config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7;
detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put,
money_put, etc., symbols to avoid exporting _M_insert symbols
@GLIBCXX_3.4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109236
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Mon, 2 Jan 2006 09:02:58 +0000 (09:02 +0000)]
changelog rotated for gcc
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109235
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 2 Jan 2006 00:17:22 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109232
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sun, 1 Jan 2006 22:00:46 +0000 (22:00 +0000)]
* config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): New.
(rs6000_split_compare_and_swapqhi): New.
* config/rs6000/sync.md (sync_compare_and_swap{hi,qi}): New.
(sync_compare_and_swapqhi_internal): New.
* config/rs6000/rs6000-protos.h: Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109226
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Sun, 1 Jan 2006 17:14:35 +0000 (17:14 +0000)]
* Split the ChangeLog into years.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109225
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Sun, 1 Jan 2006 17:04:47 +0000 (17:04 +0000)]
* Split the ChangeLog into years.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109224
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Sun, 1 Jan 2006 16:36:56 +0000 (16:36 +0000)]
2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
Andrew Pinski <pinskia@physics.uc.edu>
* gcc.target/powerpc/darwin-abi-3.c: New file.
* gcc.target/powerpc/darwin-abi-4.c: Likewise.
* gcc.target/powerpc/darwin-abi-5.c: Likewise.
* gcc.target/powerpc/darwin-abi-6.c: Likewise.
* gcc.target/powerpc/darwin-abi-7.c: Likewise.
* gcc.target/powerpc/darwin-abi-8.c: Likewise.
* gcc.target/powerpc/darwin-abi-9.c: Likewise.
* gcc.target/powerpc/darwin-abi-10.c: Likewise.
* gcc.target/powerpc/darwin-abi-11.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109223
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Sun, 1 Jan 2006 15:06:13 +0000 (15:06 +0000)]
It's 2006, i think
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109222
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Sun, 1 Jan 2006 14:40:38 +0000 (14:40 +0000)]
2005-01-01 Daniel Berlin <dberlin@dberlin.org>
* gcc.dg/tree-ssa/loadpre1.c: New;
* gcc.dg/tree-ssa/loadpre2.c: New;
* gcc.dg/tree-ssa/loadpre3.c: New;
* gcc.dg/tree-ssa/loadpre4.c: New;
* gcc.dg/tree-ssa/loadpre5.c: New;
* gcc.dg/tree-ssa/loadpre6.c: New;
* gcc.dg/tree-ssa/loadpre7.c: New;
* gcc.dg/tree-ssa/loadpre8.c: New;
* gcc.dg/tree-ssa/loadpre9.c: New;
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109221
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Sun, 1 Jan 2006 13:29:46 +0000 (13:29 +0000)]
* g++.dg/abi/thunk3.C: Adjust regexp to be 64bit safe.
* g++.dg/abi/thunk4.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109220
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 1 Jan 2006 12:39:51 +0000 (12:39 +0000)]
* gcc.dg/tree-ssa/loadpre6.c: Fix prototype of malloc to be
portable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109219
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Sun, 1 Jan 2006 02:45:22 +0000 (02:45 +0000)]
2005-12-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/25594
PR libgfortran/25419
* io/list_read.c (list_formatted_read_scalar): Test for comma to return
a null value (default). Revert patch of 25419 on 2005-12-28.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109211
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 1 Jan 2006 00:17:41 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109208
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 31 Dec 2005 23:45:58 +0000 (23:45 +0000)]
PR c++/25294
* directives.c (do_pragma): If pragma line ends with multi-line
block comment, end the saved deferred pragma string before that
comment. Handle embedded '\0' chars on the pragma line.
* gcc.dg/pragma-pack-3.c: New test.
* g++.dg/parse/pragma3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109201
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Sat, 31 Dec 2005 19:38:05 +0000 (19:38 +0000)]
2005-12-31 Andrew Pinski <pinskia@ohysics.uc.edu>
PR tree-opt/25612
* tree-ssa-pre.c (compute_avail): Treat the static chain decl as a
parameter and pretend that it is defined in the entry basic block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109200
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 31 Dec 2005 02:12:34 +0000 (02:12 +0000)]
PR middle-end/24827
* gcc.dg/attr-weakref-1.c: Skip test on hppa*-*-hpux*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109197
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 31 Dec 2005 00:46:05 +0000 (00:46 +0000)]
PR testsuite/25214
* gcc.target/i386/local2.c: Skip if ilp32 and -fpic/-fpic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109193
138bc75d-0d04-0410-961f-
82ee72b054a4
bwilson [Sat, 31 Dec 2005 00:29:42 +0000 (00:29 +0000)]
include/
* xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109191
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 31 Dec 2005 00:17:32 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109188
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 30 Dec 2005 23:57:30 +0000 (23:57 +0000)]
* tree-outof-ssa.c (_elim_graph): Change the type of STACK to
VEC(int,heap).
(new_elim_graph, delete_elim_graph, elim_forward,
eliminate_phi): Use the VEC API on STACK.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109182
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Fri, 30 Dec 2005 18:43:00 +0000 (18:43 +0000)]
2005-12-29 Daniel Berlin <dberlin@dberlin.org>
* tree.h (VALUE_HANDLE_VUSES): New.
(struct tree_value_handle): Add vuses.
* tree-vn.c (struct val_expr_pair_d): Remove stmt, add vuses.
(vn_compute): Remove stmt argument.
Don't use vuses in hash value computation.
(val_expr_pair_eq): Compare vuse lists.
(copy_vuses_from_stmt): New function.
(shared_vuses_from_stmt): Ditto.
(vn_add): Rewrite in terms of vn_add_with_vuses.
(vn_add_with_vuses): New function.
(vn_lookup): Rewrite in terms of vn_lookup_with_vuses.
(vn_lookup_with_vuses): New function.
(vuses_compare): New function.
(print_creation_to_file): Ditto.
(vn_lookup_or_add): Rewrite to handle vuses.
(sort_vuses): New function.
(vn_lookup_or_add_with_vuses): Ditto.
(vn_init): Initialize shared_lookup_vuses.
(vn_delete): Free shared_lookup_vuses.
* tree-ssa-pre.c: Update todo list.
(bb_value_sets_t): Add rvuse_in, rvuse_out, rvuse_gen, and
rvuse_kill.
(RVUSE_IN): New macro.
(RVUSE_GEN): Ditto.
(RVUSE_KILL): Ditto.
(RVUSE_OUT): Ditto.
(modify_expr_node_pool): New function.
(pretemp): New.
(storetemp): Ditto.
(mergephitemp): Ditto.
(prephitemp): Ditto.
(struct expr_pred_trans_d): Add vuses member.
(expr_pred_trans_eq): Compare vuses.
(phi_trans_lookup): Add vuses argument.
(phi_trans_add): Ditto.
(translate_vuses_through_block): New function.
(phi_translate): Use vuses to ask about those expressions that can
have vuses.
Properly translate virtual uses through phis, and use
vn_lookup_or_add_with vuses. Handle tcc_reference.
(phi_translate_set): Don't add pointless translations to the
cache.
(get_representative): New function.
(vuses_dies_in_block_x): Ditto.
(valid_in_set): Add block argument. Check virtual use validity.
(clean): Add block argument. Update call to valid_in_set
(compute_antic_aux): Update call to clean.
(dump_bitmap_of_names): New function.
(compute_vuse_representatives): Ditto.
(compute_rvuse): Ditto.
(can_value_number_call): Modified to accept calls with vuses.
(can_value_number_operation): New function.
(can_PRE_operation): Ditto.
(need_creation): New vector of stores that may need creation.
(find_or_generate_expression): use can_PRE_operation.
(create_expression_by_pieces): Handle INDIRECT_REF.
Only create one temp until we have to change types.
Mark new vars for renaming.
(insert_into_preds_of_block): Ignore loopiness of loads.
Use can_PRE_operation.
Only create one temp until we have to chnge types.
(insert_aux): Use can_PRE_operation.
Don't pass name to insert_into_preds_of_block.
(insert_extra_phis): Only use one temp until we have to change
types.
(poolify_tree): New function.
(modify_expr_template): New var.
(poolify_modify_expr): New function.
(insert_fake_stores): Ditto.
(realify_fake_stores): Ditto.
(compute_avail): Use can_value_number_operation.
(mark_operand_necessary): Return NULL for non-SSA names.
(remove_dead_inserted_code): Update comment.
(init_pre): Initialize pretemp, need_creation, storetemp,
mergephitemp, prephitemp.
Create modify_expr_node_pool.
(fini_pre): Free modify_expr_node_pool and need_creation array.
(execute_pre): Call insert_fake_stores, compute_rvuse, and
realify_fake_stores.
* tree-flow.h (vn_compute): Fix prototype.
(vn_add): Ditto.
(vn_lookup): Ditto.
(sort_vuses): New.
(vn_lookup_or_add_with_vuses): Ditto.
(vn_add_with_vuses): Ditto.
(vn_lookup_with_vuses): Ditto.
* passes.c (pass_may_alias): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109180
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Fri, 30 Dec 2005 17:27:28 +0000 (17:27 +0000)]
2005-12-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
* c-pretty-print.h (struct c_pretty_print_info): Add new
member
"constant".
(pp_constant): New macro.
* c-pretty-print.c (pp_c_pretty_printer_init): Set
pp->constant.
cp/
2005-12-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
* cxx-pretty-print.c (pp_cxx_constant): New. Print
string-literal in parens if input program says so.
(pp_cxx_primary_expression): Hand off constant printing to
pp_cxx_constant.
(pp_cxx_pretty_printer_init): Set pp->c_base.constant.
(pp_cxx_expression): Use pp_cxx_constant for literals.
* error.c (dump_expr): Use pp_constant for literals.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109176
138bc75d-0d04-0410-961f-
82ee72b054a4
eedelman [Fri, 30 Dec 2005 15:02:44 +0000 (15:02 +0000)]
fortran/
2005-12-30 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/22607
* trans-decl.c(gfc_get_extern_function_decl): Don't set
DECL_IS_PURE (fndecl) = 1 for return-by-reference
functions.
fortran/PR 25396
* interface.c (gfc_extend_expr): Initialize
e->value.function.name to NULL.
testsuite/
2005-12-30 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/22607
* gfortran-dg/pure_byref_3.f90: New.
fortran/PR 25396
* gfortran.dg/userdef_operator_1.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109171
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 30 Dec 2005 05:44:16 +0000 (05:44 +0000)]
PR fortran/25586
* pa.md: Remove REG_POINTER check from REG+REG peephole2 floating-point
store patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109166
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 30 Dec 2005 00:17:40 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109160
138bc75d-0d04-0410-961f-
82ee72b054a4
zadeck [Thu, 29 Dec 2005 19:41:21 +0000 (19:41 +0000)]
2005-12-29 Kenneth Zadeck <zadeck@naturalbridge.com>
* bitmap.c (bitmap_element_free, bitmap_element_link,
bitmap_elt_insert_after, bitmap_and, bitmap_and_compl,
bitmap_and_compl, bitmap_ior, bitmap_ior_into, bitmap_xor,
bitmap_xor_into): Added code to properly maintain the variants
associated with the CURRENT and HEAD fields.
(bitmap_popcount, bitmap_clear_range, bitmap_compl_and_into): New
functions. * bitmap.h: Added defs for bitmap_popcount,
bitmap_clear_range, and bitmap_compl_and_into.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109153
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Thu, 29 Dec 2005 19:39:29 +0000 (19:39 +0000)]
* doc/invoke.texi (Objective-C and Objective-C++ Dialect Options
-fobjc-exceptions): Don't imply this doesn't work with the GNU
runtime.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109151
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Thu, 29 Dec 2005 19:37:51 +0000 (19:37 +0000)]
* s-osinte-linux-hppa.ads: Correct alignment of atomic_lock_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109150
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 29 Dec 2005 16:38:26 +0000 (16:38 +0000)]
* varasm.c (get_section): Use gcc_assert.
cp:
* method.c (make_thunk): Don't set comdat_linkage here.
(use_thunk): Make thunk one only here, if thunk target is
DECL_ONE_ONLY.
testsuite:
* g++.dg/abi/thunk3.C: New.
* g++.dg/abi/thunk4.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109149
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Thu, 29 Dec 2005 15:23:23 +0000 (15:23 +0000)]
2005-12-29 Paul Brook <paul@codesourcery.com>
* config/m68k/m68k.h (RETURN_ADDR_RTX): Define.
* config/m68k/m68k.c (m68k_initial_elimination_offset): Remove FIXME.
Include offset due to FIRST_PARM_OFFSET.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109147
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Thu, 29 Dec 2005 15:16:50 +0000 (15:16 +0000)]
2005-12-29 Paul Brook <paul@codesourcery.com>
* config/m68k/lb1sf68.asm (__cmpdf2): Fix typo in immediate mask.
Create wrapper and rename body...
(__cmpdf2_internal): ... to this. Return correct value for unordered
result.
(__cmpsf2): Create wrapper and rename body...
(__cmpsf2_internal): ... to this. Return corerct value for unordered
result.
(__eqdf2, __nedf2, __gtdf2, __gedf2, __ltdf2, __ledf2): Use
__cmpdf2_internal.
(__eqsf2, __nesf2, __gtsf2, __gesf2, __ltsf2, __lesf2): Use
__cmpsf2_internal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109145
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Thu, 29 Dec 2005 15:14:12 +0000 (15:14 +0000)]
2005-12-29 Paul Brook <paul@codesourcery.com>
* config/m68k/fpgnulib.c (__extendsfdf2): Handle negative zero.
(__truncdfsf2): Ditto.
(__extenddfxf2): Ditto.
(__truncxfdf2): Ditto.
* config/m68k/lb1sf68.asm (__addsf3): Return -0.0 for -0.0 + -0.0.
(__adddf3): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109143
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Thu, 29 Dec 2005 15:08:43 +0000 (15:08 +0000)]
2005-12-29 Daniel Jacobowitz <dan@codesourcery.com>
Paul Brook <paul@codesourcery.com>
* config/m68k/m68k.c (m68k_output_pic_call): Don't use bsr.l for
!TARGET_68020.
* config/m68k/t-m68kelf (EXTRA_PARTS): Remove.
(EXTRA_MULTILIB_PARTS): Set.
* config/m68k/t-uclinux (EXTRA_PARTS): Remove.
(EXTRA_MULTILIB_PARTS): Set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109141
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Thu, 29 Dec 2005 06:11:21 +0000 (06:11 +0000)]
2005-12-29 Paul Thomas <pault@gcc.gnu.org>
PR fortran/25532
* trans-types.c (copy_dt_decls_ifequal): Copy declarations for
components of derived type components by recursing into
gfc_get_derived_type.
2005-12-29 Paul Thomas <pault@gcc.gnu.org>
PR fortran/25532
*gfortran.dg/host_used_types_1.f90: Check that host associated
derived type components of derived types are properly declared
in contained procedures.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109138
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Thu, 29 Dec 2005 01:10:05 +0000 (01:10 +0000)]
PR target/25572
* config/rs6000/rs6000.c (create_TOC_reference): Set regs_ever_live.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109133
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 29 Dec 2005 00:17:43 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109130
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 28 Dec 2005 22:37:42 +0000 (22:37 +0000)]
* config.gcc (mt-*-*): Add --with-arch support.
(--with): Print accepted options on error.
* config/mt/mt.h (OPTION_DEFAULT_SPECS): Define.
* config/mt/mt.c (DEF_VEC_P(basic_block),
DEF_VEC_ALLOC_P(basic_bloc,heap)): Remove from here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109124
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Wed, 28 Dec 2005 21:12:52 +0000 (21:12 +0000)]
2005-12-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/25139
* gfortran.dg/backspace_2.f: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109123
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Wed, 28 Dec 2005 20:58:08 +0000 (20:58 +0000)]
2005-12-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/25139
* io/unix.c (fd_truncate): Set s->active to zero.
PR libgfortran/25510
* libgfortran.h: Add ERROR_INTERNAL and ERROR_INTERNAL_UNIT.
* runtime/error.c (translate_error): Add messages for new errors.
* io/list_read.c (next_char): Use new errors.
* io/transfer.c (next_record_r) (next_record_w): Use new errors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109122
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Wed, 28 Dec 2005 19:21:55 +0000 (19:21 +0000)]
2005-12-28 Andrew Pinski <pinskia@physics.uc.edu>
PR fortran/25587
* trans-io.c (gfc_build_st_parameter): Correct off by one error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109120
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Wed, 28 Dec 2005 18:47:18 +0000 (18:47 +0000)]
2005-12-28 Anthony Green <green@redhat.com>
* gnu/java/net/natPlainSocketImplWin32.cc (connect): Same
as previous patch, but for win32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109119
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Wed, 28 Dec 2005 18:29:10 +0000 (18:29 +0000)]
2005-12-28 Anthony Green <green@redhat.com>
* gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
address and port before attempting anything.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109116
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Wed, 28 Dec 2005 17:46:21 +0000 (17:46 +0000)]
2005-12-27 Tom Tromey <tromey@redhat.com>
* gnu/java/nio/SelectorImpl.java: Added import.
2005-12-26 Anthony Green <green@redhat.com>
* java/net/Socket.java (connect): Don't close the socket on
exceptions.
* gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
of data to read (dst.remaining()).
* gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
* gnu/java/nio/SelectorImpl.java (select): Handle OP_CONNECT
properly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109114
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Wed, 28 Dec 2005 17:13:56 +0000 (17:13 +0000)]
* sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
operation atomic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109110
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Wed, 28 Dec 2005 14:09:28 +0000 (14:09 +0000)]
2005-12-28 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/25394
* fold-const.c (fold_checksum_tree): Guard
portions of checksumming with correct structure checks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109109
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 28 Dec 2005 14:08:07 +0000 (14:08 +0000)]
2005-12-28 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 40.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109108
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 28 Dec 2005 13:25:46 +0000 (13:25 +0000)]
2005-12-28 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
* Make-lang.in: Remove distdir from comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109107
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 28 Dec 2005 13:25:26 +0000 (13:25 +0000)]
2005-12-28 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
* Make-lang.in (treelang.distdir): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109106
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 28 Dec 2005 11:47:56 +0000 (11:47 +0000)]
2005-12-28 Chris Jefferson <chris@bubblescope.net>
* testsuite/testsuite_allocator.h (check_deallocate_null): Return true.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109104
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 28 Dec 2005 09:57:57 +0000 (09:57 +0000)]
2005-12-28 Paolo Carlini <pcarlini@suse.de>
* include/std/std_bitset.h (bitset<>::_M_copy_from_string,
bitset<>::_M_copy_to_string, bitset<>::operator>>): Reverse loop.
* testsuite/25_algorithms/heap/heap.cc (test01): Always enable
complexity checks.
* testsuite/18_support/numeric_limits/specialization.cc: Avoid
unused parameter warning.
* testsuite/18_support/numeric_limits/traps.cc: Acoid unused variable
warning.
* testsuite/ext/malloc_allocator/deallocate_global.cc: Fix format
string.
* testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
* testsuite/ext/array_allocator/2.cc: Remove unused variable.
* testsuite/tr1/3_function_objects/mem_fn.cc: Avoid unused variable
warnings.
* testsuite/tr1/6_containers/unordered/instantiate/set.cc: Just
instantiate.
* testsuite/tr1/6_containers/unordered/instantiate/map.cc: Likewise.
* testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Likewise.
* testsuite/tr1/6_containers/unordered/instantiate/multiset.cc:
Likewise.
* testsuite/tr1/6_containers/unordered/instantiate/multimap.cc:
Likewise.
* testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
Avoid unused variable warnings.
* testsuite/tr1/6_containers/array/requirements/zero_sized_arrays.cc:
Likewise.
* testsuite/thread/18185.cc: Likewise.
* testsuite/27_io/ios_base/storage/11584.cc: Likewise; avoid comparison
between signed and unsigned warning.
* testsuite/27_io/types/1.cc: Avoid unused variable warnings.
* testsuite/testsuite_allocator.h (check_new): Likewise.
(check_deallocate_null): Adjust return type.
* testsuite/testsuite_hooks.h (bitmask_operators): Avoid unused
variable warnings.
* testsuite/21_strings/c_strings/wchar_t/24559.cc: Avoid unused
variable warning.
2005-12-28 Chris Jefferson <chris@bubblescope.net>
* include/std/std_bitset.h (bitset<0>::set, bitset<0>::reset,
bitset<0>::flip, bitset<0>::test): Add inline specializations for
bitset<0>.
* testsuite/tr1/6_containers/unordered/insert/multiset_range.cc
(test01): Add static cast.
* testsuite/tr1/6_containers/unordered/insert/set_range.cc
(test01): Likewise.
* testsuite/testsuite_hooks.h (operator==(NonDefaultConstructible,
NonDefaultConstructible), operator<(NonDefaultConstructible,
NonDefaultConstrictible)): Avoid unused parameter warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109103
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Wed, 28 Dec 2005 07:21:20 +0000 (07:21 +0000)]
2005-12-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/25550
* gfortran.dg/endfile.f: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109102
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Wed, 28 Dec 2005 07:20:19 +0000 (07:20 +0000)]
2005-12-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/25550
* io/file_pos.c (st_rewind): Reset bytes left so no error occurs in
next_record_r.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109101
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Wed, 28 Dec 2005 07:00:47 +0000 (07:00 +0000)]
2005-12-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/25419
* gfortran.dg/comma.f: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109100
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Wed, 28 Dec 2005 06:59:35 +0000 (06:59 +0000)]
2005-12-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/25419
* io/list_read.c (list_formatted_read_scalar): Allow comma to return a
null value (default).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109099
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 28 Dec 2005 01:28:35 +0000 (01:28 +0000)]
* lib/gfortran-dg.exp: Remove trailing whitespace. ChangeLog lib/gfortran-dg.exp lib/fortran-torture.exp
* lib/fortran-torture.exp: Test with -fbounds-check instead of
-funroll-all-loops.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109098
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 28 Dec 2005 01:13:19 +0000 (01:13 +0000)]
* global.c, tree-ssa-pre.c: Move DEF_VEC_P(basic_block) and
DEF_VEC_ALLOC_P(basic_block,{gc,heap}) to ...
* basic-block.h: ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109097
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 28 Dec 2005 00:17:38 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109094
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 27 Dec 2005 23:27:34 +0000 (23:27 +0000)]
* fold-const.c (int_const_binop): Return NULL_TREE when an expression
can't be evaluated at compile-time (instead of calling abort).
Return NULL_TREE for division (and modulus) by zero.
(const_binop): Return NULL_TREE for floating point operators that
aren't handled by real_arithmetic.
(fold_binary): Eliminate "wins" variable, and "binary" label, by
folding operators with constant operands early. Assert that
operands are non-NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109088
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Tue, 27 Dec 2005 22:50:06 +0000 (22:50 +0000)]
* gcc.dg/torture/fp-int-convert-timode.c: Don't test IBM
Extended Double long doubles or repeat tests when long double is
the same size as double.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109087
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 27 Dec 2005 19:58:28 +0000 (19:58 +0000)]
* g++.dg/rtti/tinfo1.C: Scan for ".global" also.
PR testsuite/25442
* gcc.dg/ipa/ipa-1.c, gcc.dg/ipa/ipa-2.c, gcc.dg/ipa/ipa-3.c,
gcc.dg/ipa/ipa-4.c, gcc.dg/ipa/ipa-5.c: Skip if -fpic/-fPIC.
PR testsuite/25441
* gcc.dg/pr23911.c: Make test variable static.
PR testsuite/25444
* gcc.dg/tree-ssa/pr14841.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109083
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 27 Dec 2005 09:05:17 +0000 (09:05 +0000)]
PR c++/25439
* decl.c (grokdeclarator): Remove dead code.
* ptree.c (cxx_print_xnode): Handle BASELINK.
* parser.c (make_id_declarator): Add sfk parameter.
(cp_parser_direct_declarator): Do not pass TYPE_DECLs to
make_id_declarator.
(cp_parser_declarator_id): Simplify BASELINKs here.
(cp_parser_member_declaration): Adjust calls to
make_id_declarator.
PR c++/25439
* g++.dg/parse/crash17.C: Adjust error markers.
* g++.dg/template/error20.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109079
138bc75d-0d04-0410-961f-
82ee72b054a4