platform/upstream/linaro-gcc.git
18 years ago2005-12-18 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 19 Dec 2005 00:56:05 +0000 (00:56 +0000)]
2005-12-18  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/c++config: Add in revised namespace associations.
_GLIBCXX_BEGIN_NAMESPACE: New macro.
_GLIBCXX_END_NAMESPACE: Same.
_GLIBCXX_BEGIN_NESTED_NAMESPACE: Same.
_GLIBCXX_END_NESTED_NAMESPACE: Same.
* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS]): Add gnu-versioned-namespace.
* configure: Regenerated.
* config.h.in: Same.
* config/abi/pre/gnu-versioned-namespace.ver: New.
* config/abi/pre/gnu.ver (GLIBCXX_3.4.7): Add exports for nested
debug mode items.
* include/Makefile.am (${host_builddir}/c++config.h): Fill in
values for __GLIBCXX__ and _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION.
* include/Makefile.in: Regnerate.
* src/compatibility.cc: Alias new, nested definitions to exported
symbols from non-nested __gnu_debug.
* src/Makefile.am:  Add in ENABLE_SYMVERS_GNU_NAMESPACE.
* src/Makefile.in: Regenerate.

* docs/html/debug_mode.html: Revise for nested design.
* docs/html/debug.html: Use debug qualifications instead of
__gnu_debug.
* docs/html/configopts.html: Revise documentation for
--enable-symvers.

* include/debug/formatter: Simplify namespace qualifications for
current, nested-only reality. Add top-level namespace alias,
namespace debug, for debug-mode containers.
* include/debug/safe_iterator.h: Same.
* include/debug/set.h: Same.
* include/debug/hash_multimap.h: Same.
* include/debug/hash_set.h: Same.
* include/debug/bitset
* include/debug/safe_sequence.h: Same.
* include/debug/multiset.h: Same.
* include/debug/safe_base.h: Same.
* include/debug/functions.h: Same.
* include/debug/safe_iterator.tcc
* include/debug/hash_multiset.h: Same.
* include/debug/vector
* include/debug/map.h: Same.
* include/debug/deque
* include/debug/hash_map.h: Same.
* include/debug/string
* include/debug/macros.h: Same.
* include/debug/list
* include/debug/debug.h: Same.
* include/debug/multimap.h: Same.
* src/debug.cc: Same.
* testsuite/23_containers/vector/invalidation/1.cc: Cleanups.
* testsuite/23_containers/vector/invalidation/2.cc: Same.
* testsuite/23_containers/vector/invalidation/3.cc: Same.
* testsuite/23_containers/vector/invalidation/4.cc: Same.
* testsuite/23_containers/deque/invalidation/1.cc: Same.
* testsuite/23_containers/deque/invalidation/2.cc: Same.
* testsuite/23_containers/deque/invalidation/3.cc: Same.
* testsuite/23_containers/deque/invalidation/4.cc: Same.
* testsuite/23_containers/multiset/invalidation/1.cc: Same.
* testsuite/23_containers/multiset/invalidation/2.cc: Same.
* testsuite/23_containers/multimap/invalidation/1.cc: Same.
* testsuite/23_containers/multimap/invalidation/2.cc: Same.
* testsuite/23_containers/bitset/invalidation/1.cc: Same.
* testsuite/23_containers/bitset/cons/16020.cc: Same.
* testsuite/23_containers/bitset/operations/13838.cc: Same.
* testsuite/23_containers/list/invalidation/1.cc: Same.
* testsuite/23_containers/list/invalidation/2.cc: Same.
* testsuite/23_containers/list/invalidation/3.cc: Same.
* testsuite/23_containers/list/invalidation/4.cc: Same.
* testsuite/23_containers/set/invalidation/1.cc: Same.
* testsuite/23_containers/set/invalidation/2.cc: Same.
* testsuite/23_containers/map/invalidation/1.cc: Same.
* testsuite/23_containers/map/invalidation/2.cc: Same.
* testsuite/23_containers/map/insert/16813.cc: Same.

* include/bits/basic_ios.h: Use _GLIBCXX_BEGIN_NAMESPACE(std) and
friends.
* include/bits/stl_list.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_algobase.h: Same.
* include/bits/localefwd.h: Same.
* include/bits/valarray_array.tcc: Same.
* include/bits/valarray_after.h: Same.
* include/bits/gslice_array.h: Same.
* include/bits/stl_queue.h: Same.
* include/bits/gslice.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/bits/locale_classes.h: Same.
* include/bits/stl_set.h: Same.
* include/bits/locale_facets.h: Same.
* include/bits/stl_stack.h: Same.
* include/bits/stl_iterator_base_types.h: Same.
* include/bits/stl_heap.h: Same.
* include/bits/indirect_array.h: Same.
* include/bits/atomicity.h: Same.
* include/bits/stream_iterator.h: Same.
* include/bits/concurrence.h: Same.
* include/bits/basic_string.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/stl_pair.h: Same.
* include/bits/basic_ios.tcc: Same.
* include/bits/stl_raw_storage_iter.h: Same.
* include/bits/stl_vector.h: Same.
* include/bits/stl_numeric.h: Same.
* include/bits/ios_base.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/istream.tcc: Same.
* include/bits/postypes.h: Same.
* include/bits/stl_multiset.h: Same.
* include/bits/mask_array.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/ostream.tcc: Same.
* include/bits/slice_array.h: Same.
* include/bits/boost_concept_check.h: Same.
* include/bits/sstream.tcc: Same.
* include/bits/stl_iterator_base_funcs.h: Same.
* include/bits/char_traits.h: Same.
* include/bits/stl_algo.h: Same.
* include/bits/stringfwd.h: Same.
* include/bits/c++config
* include/bits/stl_iterator.h: Same.
* include/bits/valarray_array.h: Same.
* include/bits/stl_tempbuf.h: Same.
* include/bits/vector.tcc: Same.
* include/bits/deque.tcc: Same.
* include/bits/stl_bvector.h: Same.
* include/bits/basic_string.tcc: Same.
* include/bits/list.tcc: Same.
* include/bits/streambuf_iterator.h: Same.
* include/bits/valarray_before.h: Same.
* include/bits/stl_construct.h: Same.
* include/bits/stl_function.h: Same.
* include/bits/cpp_type_traits.h: Same.
* include/bits/streambuf.tcc: Same.
* include/bits/allocator.h: Same.
* include/bits/stl_tree.h: Same.
* include/bits/fstream.tcc: Same.
* include/bits/stl_relops.h: Same.
* include/bits/functexcept.h: Same.
* include/std/std_valarray.h: Same.
* include/std/std_iostream.h: Same.
* include/std/std_streambuf.h: Same.
* include/std/std_bitset.h: Same.
* include/std/std_iosfwd.h: Same.
* include/std/std_iomanip.h: Same.
* include/std/std_fstream.h: Same.
* include/std/std_limits.h: Same.
* include/std/std_stdexcept.h: Same.
* include/std/std_istream.h: Same.
* include/std/std_complex.h: Same.
* include/std/std_memory.h: Same.
* include/std/std_ostream.h: Same.
* include/std/std_sstream.h: Same.
* include/c_std/std_csignal.h: Same.
* include/c_std/std_cstdlib.h: Same.
* include/c_std/std_cstdio.h: Same.
* include/c_std/std_cstdarg.h: Same.
* include/c_std/std_cctype.h: Same.
* include/c_std/std_cmath.h: Same.
* include/c_std/std_ctime.h: Same.
* include/c_std/std_clocale.h: Same.
* include/c_std/std_csetjmp.h: Same.
* include/c_std/std_cwchar.h: Same.
* include/c_std/std_cstring.h: Same.
* include/c_std/std_cstddef.h: Same.
* include/c_std/std_cwctype.h: Same.
* include/backward/iterator.h: Same.
* include/backward/set.h: Same.
* include/backward/hashtable.h: Same.
* include/backward/fstream.h: Same.
* include/backward/tempbuf.h: Same.
* include/backward/istream.h: Same.
* include/backward/bvector.h: Same.
* include/backward/stack.h: Same.
* include/backward/rope.h: Same.
* include/backward/complex.h: Same.
* include/backward/ostream.h: Same.
* include/backward/heap.h: Same.
* include/backward/iostream.h: Same.
* include/backward/function.h: Same.
* include/backward/multimap.h: Same.
* include/backward/pair.h: Same.
* include/backward/stream.h: Same.
* include/backward/iomanip.h: Same.
* include/backward/strstream
* include/backward/slist.h: Same.
* include/backward/tree.h: Same.
* include/backward/vector.h: Same.
* include/backward/deque.h: Same.
* include/backward/multiset.h: Same.
* include/backward/list.h: Same.
* include/backward/map.h: Same.
* include/backward/algobase.h: Same.
* include/backward/hash_map.h: Same.
* include/backward/algo.h: Same.
* include/backward/queue.h: Same.
* include/backward/streambuf.h: Same.
* src/allocator-inst.cc: Same.
* src/complex_io.cc: Same.
* src/localename.cc: Same.
* src/limits.cc: Same.
* src/ios_failure.cc: Same.
* src/locale-misc-inst.cc: Same.
* src/streambuf-inst.cc: Same.
* src/misc-inst.cc: Same.
* src/concept-inst.cc: Same.
* src/ios_locale.cc: Same.
* src/pool_allocator.cc: Same.
* src/fstream-inst.cc: Same.
* src/istream-inst.cc: Same.
* src/string-inst.cc: Same.
* src/locale_init.cc: Same.
* src/ctype.cc: Same.
* src/strstream.cc: Same.
* src/ostream-inst.cc: Same.
* src/functexcept.cc: Same.
* src/streambuf.cc: Same.
* src/sstream-inst.cc: Same.
* src/ios.cc: Same.
* src/valarray-inst.cc: Same.
* src/locale.cc: Same.
* src/tree.cc: Same.
* src/stdexcept.cc: Same.
* src/istream.cc: Same.
* src/compatibility.cc: Same.
* src/locale-inst.cc: Same.
* src/globals_io.cc: Same.
* src/list.cc: Same.
* src/ios_init.cc: Same.
* src/locale_facets.cc: Same.
* src/codecvt.cc: Same.

* include/tr1/unordered_map: Use _GLIBCXX_BEGIN_NAMESPACE(tr1).
* include/tr1/boost_shared_ptr.h: Same.
* include/tr1/tuple
* include/tr1/hashtable
* include/tr1/type_traits_fwd.h: Same.
* include/tr1/unordered_set
* include/tr1/functional
* include/tr1/ref_fwd.h: Same.
* include/tr1/utility
* include/tr1/type_traits
* include/tr1/array

* include/ext/hashtable.h: Use _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx).
* include/ext/typelist.h: Same.
* include/ext/hash_map: Same.
* include/ext/rc_string_base.h: Same.
* include/ext/pool_allocator.h: Same.
* include/ext/iterator: Same.
* include/ext/rb_tree: Same.
* include/ext/numeric: Same.
* include/ext/vstring.tcc: Same.
* include/ext/sso_string_base.h: Same.
* include/ext/stdio_filebuf.h: Same.
* include/ext/algorithm: Same.
* include/ext/codecvt_specializations.h: Same.
* include/ext/new_allocator.h: Same.
* include/ext/array_allocator.h: Same.
* include/ext/vstring_util.h: Same.
* include/ext/vstring_fwd.h: Same.
* include/ext/mt_allocator.h: Same.
* include/ext/debug_allocator.h: Same.
* include/ext/slist: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/ext/hash_fun.h: Same.
* include/ext/malloc_allocator.h: Same.
* include/ext/functional: Same.
* include/ext/bitmap_allocator.h: Same.
* include/ext/pod_char_traits.h: Same.
* include/ext/vstring.h: Same.
* include/ext/ropeimpl.h: Same.
* include/ext/hash_set: Same.
* include/ext/memory: Same.
* include/ext/rope: Same.
* include/bits/boost_concept_check.h: Same.
* include/bits/stl_iterator.h: Same.
* include/bits/char_traits.h: Same.
* include/bits/cpp_type_traits.h: Same.
* include/bits/concurrence.h: Same.
* include/bits/atomicity.h: Same.
* config/locale/gnu/numeric_members.cc: Same.
* config/locale/gnu/collate_members.cc: Same.
* config/locale/gnu/ctype_members.cc: Same.
* config/locale/gnu/c_locale.cc: Same.
* config/locale/gnu/codecvt_members.cc: Same.
* config/locale/gnu/messages_members.cc: Same.
* config/locale/gnu/c_locale.h: Same.
* config/locale/gnu/monetary_members.cc: Same.
* config/locale/gnu/time_members.cc: Same.
* config/locale/ieee_1003.1-2001/c_locale.h: Same.
* config/locale/generic/numeric_members.cc: Same.
* config/locale/generic/collate_members.cc: Same.
* config/locale/generic/ctype_members.cc: Same.
* config/locale/generic/c_locale.cc: Same.
* config/locale/generic/codecvt_members.cc: Same.
* config/locale/generic/messages_members.cc: Same.
* config/locale/generic/c_locale.h: Same.
* config/locale/generic/monetary_members.cc: Same.
* config/locale/generic/time_members.cc: Same.
* config/os/aix/atomicity.h: Same.
* config/os/irix/atomicity.h: Same.
* config/cpu/powerpc/atomicity.h: Same.
* config/cpu/cris/atomicity.h: Same.
* config/cpu/ia64/atomicity.h: Same.
* config/cpu/alpha/atomicity.h: Same.
* config/cpu/m68k/atomicity.h: Same.
* config/cpu/hppa/atomicity.h: Same.
* config/cpu/mips/atomicity.h: Same.
* config/cpu/sparc/atomicity.h: Same.
* config/cpu/i386/atomicity.h: Same.
* config/cpu/i486/atomicity.h: Same.
* config/cpu/sh/atomicity.h: Same.
* config/cpu/generic/atomicity.h: Same.
* config/cpu/s390/atomicity.h: Same.
* config/io/c_io_stdio.h: Same.
* config/io/basic_file_stdio.cc: Same.
* config/io/basic_file_stdio.h: Same.
* src/misc-inst.cc: Same.
* src/concept-inst.cc: Same.
* src/ext-inst.cc: Same.
* src/string-inst.cc: Same.
* src/pool_allocator.cc: Same.
* src/bitmap_allocator.cc: Same.
* src/mt_allocator.cc: Same.
* libsupc++/exception: Same.
* libsupc++/vterminate.cc: Same.
* testsuite/ext/hash_map/1.cc: Explicitly qualify __gnu_cxx::hash_map.
* testsuite/ext/hash_map/14648.cc: Same.

* libsupc++/eh_alloc.cc: Correct comment line spacing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108775 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Mon, 19 Dec 2005 00:17:49 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108772 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-flow.h (struct stmt_ann_d): Remove
rakdver [Mon, 19 Dec 2005 00:12:14 +0000 (00:12 +0000)]
* tree-flow.h (struct stmt_ann_d): Remove
makes_aliased_loads and makes_aliased_stores fields.
* tree-ssa-ccp.c (likely_value): Do not use makes_aliased_stores
and makes_aliased_loads fields.
* tree-ssa-dom.c (eliminate_redundant_computations): Do not
use makes_aliased_stores.
* tree-ssa-operands.c (clobbered_aliased_loads,
clobbered_aliased_stores, ro_call_aliased_loads): Removed.
(build_ssa_operands, add_stmt_operand, add_call_clobber_ops,
add_call_read_ops): Do not set makes_aliased_stores and
makes_aliased_loads fields.
* tree-ssa.c (verify_ssa): Do not verify makes_aliased_stores
field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108766 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/darwin.h: Don't include darwin-sections.def to declare
geoffk [Sun, 18 Dec 2005 23:32:52 +0000 (23:32 +0000)]
* config/darwin.h: Don't include darwin-sections.def to declare
global variables; instead create darwin_section_enum.
(darwin_section_enum): New.
(darwin_sections): New.
* config/darwin.c: Don't include darwin-sections.def to define
global variables.
(darwin_sections): New.
(output_objc_section_asm_op): Rewrite to take advantage of
darwin_sections.
(darwin_init_sections): Rewrite to use darwin_sections.
(machopic_output_indirection): Update for darwin_sections array.
(machopic_select_section): Likewise.
(machopic_select_rtx_section): Likewise.
(machopic_asm_out_constructor): Likewise.
(machopic_asm_out_destructor): Likewise.
(darwin_file_end): Likewise.
* config/rs6000/rs6000.c (machopic_output_stub): Likewise.
* config/i386/i386.c (machopic_output_stub): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108765 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-18 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 18 Dec 2005 22:20:31 +0000 (22:20 +0000)]
2005-12-18  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/25481
* tree-ssa-structalias.c (handle_ptr_arith): Handle
accesses we don't have a varinfo for.

* gcc.dg/torture/pr25481.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108763 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * optabs.c (init_floating_libfuncs): Handle decimal float modes.
bje [Sun, 18 Dec 2005 21:40:47 +0000 (21:40 +0000)]
* optabs.c (init_floating_libfuncs): Handle decimal float modes.
(init_optabs): Handle libfuncs for decimal float.
* genopinit.c (gen_insn): Handle MODE_DECIMAL_FLOAT.
* stor-layout.c (int_mode_for_mode): Likewise.
* simplify-rtx.c (simplify_immed_subreg): Likewise.
(simplify_unary_operation_1): Skip optimisations for decimal float
modes.
* varasm.c (output_constant_pool_2): Handle MODE_DECIMAL_FLOAT.
* emit-rtl.c (gen_const_vector): Add assertion check.
(init_emit_once): Populate const_tiny_rtx with constants in each
decimal float mode.
* expmed.c (extract_high_half, expand_mult_highpart_optab,
expand_mult_highpart): Assert that mode is not a scalar float
mode.
* expr.c (convert_move): Handle conversion between decimal and
binary floats of the same size.
* convert.c (convert_to_real): Consider decimal float types when
folding.
* dwarf2out.c (base_type_die): Use DW_ATE_decimal_float to
describe decimal floating point types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108762 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR rtl-optimization/21041
uweigand [Sun, 18 Dec 2005 16:06:55 +0000 (16:06 +0000)]
PR rtl-optimization/21041
* reload.c (find_reloads_subreg_address): Replace paradoxical
subreg of MEM by widened access only if the resulting memory
is properly aligned, even on !STRICT_ALIGNMENT targets.

PR rtl-optimization/21041
* gcc.dg/pr21041.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108760 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-18 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 18 Dec 2005 15:53:10 +0000 (15:53 +0000)]
2005-12-18  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algobase.h (__copy_normal::copy_n): Uglify
to __copy_n.
(__copy_backward::copy_b): Likewise to __copy_b.
(__copy_backward_normal::copy_b_n): Likewise to __copy_b_n.
(copy, __copy_backward_aux, copy_backward): Adjust.

2005-12-18  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algo.h (partial_sort_copy): Add
_BinaryPredicateConcept<_Compare, _InputValueType, _OutputValueType>
(merge, set_union, set_symmetric_difference): Add
_OutputIteratorConcept<_OutputIterator, _ValueType2>.
(binary_search): Remove redundant _BinaryPredicateConcept<_Compare,
_ValueType, _Tp>, taken care by lower_bound.
* include/bits/stl_algo.h: Cosmetic changes.

2005-12-18  Paolo Carlini  <pcarlini@suse.de>
    Howard Hinnant  <hhinnant@apple.com>

* include/bits/stl_algo.h (merge, includes, set_union,
set_intersection, set_difference, set_symmetric_difference):
Fix concept checks.

2005-12-18  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algo.h (partial_sort_copy, lower_bound,
upper_bound, equal_range, binary_search): Fix concept checks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108758 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-18 Andreas Krebbel <krebbel1@de.ibm.com>
uweigand [Sun, 18 Dec 2005 15:44:00 +0000 (15:44 +0000)]
2005-12-18  Andreas Krebbel  <krebbel1@de.ibm.com>

* tree-cfg.c (tree_flow_call_edges_add): Check for empty basic blocks.

* gcc.dg/20051201-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108755 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-18 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 18 Dec 2005 14:01:00 +0000 (14:01 +0000)]
2005-12-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/25018
*expr.c(check_inquiry): Return FAILURE if there is no symtree to
provide a name. Error/warning for assumed character length argument
to LEN for an initialization expression, using GFC_GNU_STD. Add an
argument to flag that the expression is not restricted.
(check_init_expr): Improve the message for a failing variable.
(gfc_match_init_expr): Call check_enquiry again to make sure that
unsimplified expressions are not causing unnecessary errors.

2005-12-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/25018
*gfortran.dg/initialization_1.f90: New test.
*gfortran.dg/enum_5.f90: Change dg-error to new message.
*gfortran.dg/g77/980616-0.f: The same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108753 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcse.c (gcse_main, bypass_jumps): Fix non-GNU-isms from
steven [Sun, 18 Dec 2005 11:39:02 +0000 (11:39 +0000)]
* gcse.c (gcse_main, bypass_jumps): Fix non-GNU-isms from
the 2005-12-17 patch to renumber the entry and exit blocks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108751 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * doc/objc.texi (Type encoding): Fix typo.
gdr [Sun, 18 Dec 2005 09:49:15 +0000 (09:49 +0000)]
    * doc/objc.texi (Type encoding): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108749 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-18 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sun, 18 Dec 2005 09:39:23 +0000 (09:39 +0000)]
2005-12-18  Benjamin Kosnik  <bkoz@redhat.com>

* config/abi/post: New.
* config/abi/*-linux-gnu: Move to..
* config/abi/post/*-linux-gnu: ... here.
* config/abi/pre: New.
* config/linker-map.gnu: Move to ..
* config/abi/pre/gnu.ver: ... here.
* config/linker-map.dummy: Move to..
* config/abi/pre/none.ver: ... here.
* src/Makefile.am: Use ENABLE_SYMVERS_GNU,
ENABLE_SYMVERS_DARWIN, ENABLE_SYMVERS_GNU_NAMESPACE.
Use libstdc++-symbols.ver instead of libstdc++-symbol.ver.
* src/Makefile.in: Regnerate.
* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Adjust paths for new
placement of abi baseline files.
(GLIBCXX_ENABLE_SYMVERS): Add ENABLE_SYMVERS, ENABLE_SYMVERS_GNU,
ENABLE_SYMVERS_DARWIN.  SYMVER_MAP to SYMVER_FILE.
* configure: Regnerate.
* config.h.in: Regnerate.
* src/compatibility.cc: Adjust macro usage.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108748 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-tailcall.c (find_tail_calls): Use XNEW.
gdr [Sun, 18 Dec 2005 09:26:53 +0000 (09:26 +0000)]
    * tree-tailcall.c (find_tail_calls): Use XNEW.
        * tree-ssa-dom.c (allocate_edge_info): Use XCNEW.
        (free_all_edge_infos): Use explicit cast to convert from void
        * *.
        (vrp_free): Likewise.
        (dom_opt_finalize_block): Likewise.
        (record_equivalences_from_incoming_edge): Likewise.
        (thread_across_edge): Likewise.  Use XCNEWVEC.
        (record_cond): Use XCNEW.
        (record_conditions): Use XNEWVEC.
        (record_edge_info): Use XCNEWVEC.
        (lookup_avail_expr): Use XNEW.
        (record_range): Likewise.  Use GGC_NEW.
        * tree-nested.c (var_map_hash): Use explicit cast to convert
        * from
        void *.
        (var_map_eq): Likewise.
        (lookup_field_for_decl): Likewise.
        (convert_nonlocal_reference): Likewise.
        (convert_local_reference): Likewise.
        (convert_nl_goto_reference): Likewise.
        (convert_nl_goto_receiver): Likewise.
        (convert_call_expr): Likewise.
        (convert_tramp_reference): Likewise.
        (lookup_tramp_for_decl): Likewise.Use GGC_NEW.
        (convert_nl_goto_reference): Likewise.
        (lookup_field_for_decl): Use GGC_NEW.
        (create_nesting_tree): Use GGC_CNEW.
        * tree-ssa-phiopt.c (blocks_in_phiopt_order): Use XNEWVEC.
        * tree-ssa-alias.c (init_alias_info): Use XCNEW.
        (create_alias_map_for): Likewise.
        (setup_pointers_and_addressables): Use XCNEWVEC.
        (get_ptr_info): Use GGC_NEW.
        (used_part_map_eq): Use explicit cast to convert from void *.
        (up_lookup): Likewise.
        (up_insert): Use XNEW.
        (get_or_create_used_part_for): Use XCNEW.
        (get_tmt_for): Likewise.
        * tree-ssa-operands.c (ssa_operand_alloc): Use GGC_NEW.
        * tree-ssa-pre.c (phi_trans_add): Use XNEW.
        (bitmap_set_new): Use explicit cast to convert from void *.
        (set_new): Likewise.
        (insert_into_set): Likewise.
        (pool_copy_list): Likewise.
        (phi_translate): Likewise.
        (create_value_expr_from): Likewise.
        (insert_aux): Use XCNEWVEC.
        (compute_avail): Use XNEWVEC.
        * tree-ssa-live.c (calculate_live_on_entry): Likewise.
        (sort_coalesce_list): Likewise.
        (build_tree_conflict_graph): Use XCNEWVEC.
        * tree-ssa-dce.c (tree_dce_init): Use XNEWVEC.
        * tree-ssa-copy.c (init_copy_prop): Likewise.
        (fini_copy_prop): Likewise.
        * tree-ssa-uncprop.c (associate_equivalences_with_edges): Use
        * XNEW
        and XCNEWVEC.
        (record_equiv): Use XNEW.
        (uncprop_into_successor_phis): Use explicit cast to convert
        * from
        void *.
        (uncprop_initialize_block): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108747 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR tree-optimization/24378
dorit [Sun, 18 Dec 2005 08:46:30 +0000 (08:46 +0000)]
    PR tree-optimization/24378
        * tree-vect-transform.c (vect_transform_loop): Create single-predecessor
        basic-block after loop-versioning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108746 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-17 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sun, 18 Dec 2005 08:08:07 +0000 (08:08 +0000)]
2005-12-17  Benjamin Kosnik  <bkoz@redhat.com>

        * src/io-inst.cc: Separate instantiations into...
        * src/ios-inst.cc: .. this.
        * src/iostream-inst.cc: ... and this.
        * src/Makefile.am (sources): Update.
        * src/Makefile.in: Regenerate.

2005-12-17  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/25472
        * include/c_std/std_cstdlib.h: Fix for freestanding.

2005-12-17  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/libstdc++-dg/normal.exp: Rename to..
* testsuite/libstdc++-dg/conformance.exp: ... this.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108743 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-ssa-dom.c (simplify_switch_and_lookup_avail_expr): Code
law [Sun, 18 Dec 2005 07:23:08 +0000 (07:23 +0000)]
* tree-ssa-dom.c (simplify_switch_and_lookup_avail_expr): Code
to simplify SWITCH_EXPR_CODE moved from here to ...
* tree-ssa-forwprop.c (simplify_switch_expr): Here.
(tree-ssa-forward_propagate_single_use_vars): Call
simplify_switch_expr when appropriate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108738 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-17 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 18 Dec 2005 04:48:28 +0000 (04:48 +0000)]
2005-12-17  Andrew Pinski  <pinskia@physics.uc.edu>

        * doc/objc.texi (Type encoding): Add documentation about encoding
        complex types and _Bool.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108737 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-vn.c (vn_add): Use XNEW.
gdr [Sun, 18 Dec 2005 01:19:20 +0000 (01:19 +0000)]
    * tree-vn.c (vn_add): Use XNEW.
        * tree-ssa-ccp.c (ccp_initialize): Use XNEWVEC.
        (ccp_fold): Likewise.
        (fold_stmt_r): Use explicit cast to convert from void *.
        * tree-outof-ssa.c (new_temp_expr_table): Use XCNEWVEC.
        (new_temp_expr_table): Likewise.
        * gimplify.c (lookup_tmp_var): Use XNEW.
        (gimplify_asm_expr): Use explcit cast to convert from void *.
        * tree-into-ssa.c (get_ssa_name_ann): Likewise.
        (get_def_blocks_for): Use XNEW.
        (add_to_repl_tbl): Likewise.
        (mark_def_sites): Use explicit cast to convert from void *.
        (def_blocks_free): Likewise.
        (mark_def_sites_initialize_block): Likewise.
        (update_ssa): Use XNEWVEC.
        * tree-dfa.c (create_var_ann): Use GGC_NEW.
        (create_stmt_ann): Likewise.
        (create_tree_ann): Likewise.
        (referenced_var_insert): Likewise.
        (set_default_def): Likewise.
        (referenced_var_lookup_if_exists): Use explicit cast to
        * convert
        from void *.
        (referenced_var_lookup): Likewise.
        (default_def): Likewise.
        (set_default_def): Likewise.
        * tree-cfg.c (create_bb): Likewise.
        (edge_to_cases_cleanup): Likewise.
        (verify_node_sharing): Likewise.
        (record_switch_edge): Use XNEW.
        (cleanup_dead_labels): Use XCNEWVEC.
        (tree_duplicate_sese_region): Use XNEWVEC.
        * tree-scalar-evolution.c (get_instantiated_value): Likewise.
        * tree-ssa.c (verify_ssa): Use XCNEWVEC.
        (int_tree_map_eq): Use explicit cast to convert from void *.
        * libgcov.c (gcov_exit): Use explicit cast to convert from
        * void *.
        (__gcov_execl): Likewise.
        (__gcov_execlp): Likewise.
        (__gcov_execle): Likewise.
        * tree-eh.c (struct_ptr_eq): Likewise.
        (struct_ptr_hash): Likewise.
        (lookup_stmt_eh_region_fn): Likewise.
        (outside_finally_tree): Likewise.
        (find_goto_replacement): Likewise.
        (make_eh_edge): Likewise.
        (mark_eh_edge): Likewise.
        (add_stmt_to_eh_region_fn): Use GGC_NEW.
        (record_in_finally_tree): Use XNEW.
        (maybe_record_in_goto_queue): Use XRESIZEVEC.
        (lower_try_finally_copy): Use XCNEWVEC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108736 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Sun, 18 Dec 2005 00:17:43 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108733 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-17 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 17 Dec 2005 23:42:58 +0000 (23:42 +0000)]
2005-12-17  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_vector.h (vector(const vector&)): Use
_M_get_Tp_allocator.
* include/bits/stl_deque.h (deque(const deque&)): Likewise.
(_M_destroy_data): Adjust.

2005-12-17  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_deque.h (deque<>::_M_erase_at_end,
_M_erase_at_begin, _M_destroy_data, _M_destroy_data_dispatch,
_M_destroy_data_aux): New, optimize erase at begin() / end() and
consistently use the "segmented iterator" optimization.
(deque<>::~deque(), resize, clear, _M_assign_aux, _M_fill_assign):
Use the above.
* include/bits/deque.tcc (deque<>::operator=, _M_assign_aux): Same.
(erase(iterator, iterator)): Likewise, clean-up.
(erase(iterator)): Tweak, don't call copy unnecessarily.
(_M_destroy_data_aux): Define.
* testsuite/23_containers/deque/modifiers/erase/1.cc: New.
* testsuite/23_containers/deque/modifiers/erase/2.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108727 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-17 Paul Brook <paul@codesourcery.com>
pbrook [Sat, 17 Dec 2005 23:29:21 +0000 (23:29 +0000)]
2005-12-17  Paul Brook  <paul@codesourcery.com>

* config/m68k/m68k.md (m68k_output_function_prologue): Always call
dwarf2out_def_cfa. Only add space for frame pointer to cfa_offset
when frame_pointer_needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108725 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-inline.c (copy_body_r): Use explicit cast when
gdr [Sat, 17 Dec 2005 20:45:46 +0000 (20:45 +0000)]
    * tree-inline.c (copy_body_r): Use explicit cast when
          converting
        from void *.
        (copy_bb): Likewise.
        (copy_edges_for_bb): Likewise.
        (remap_decl_1): Likewise.
        (estimate_num_insns_1): Likewise.
        * cgraph.c (hash_node): Use explicit cast when converting from
        void *.
        (eq_node): Likewise.
        (cgraph_create_node): Use GGC_CNEW.
        (cgraph_create_edge): Use GGC_NEW.
        (cgraph_remove_node): Use explicit cast when converting from
          void *.
        (hash_varpool_node): Likewise.
        (eq_varpool_node): Likewise.
        (cgraph_varpool_node): Use GGC_CNEW.
        * lambda.h (lambda_vector_new): Use GGC_CNEWVEC.
        * tree-scalar-evolution.c (new_scev_info_str): Use XNEW.
        (eq_scev_info): Use explicit cast when converting from void *.
        (find_var_scev_info): Likewise.
        (set_instantiated_value): Likewise.
        (gather_stats_on_scev_database_1): Likewise.
        * cfgloop.h (simple_loop_desc): Use explicit cast when
          converting
        from void *.
        * c-pch.c (c_common_write_pch): Use XNEWVEC.
        (c_common_read_pch): Likewise.
        * prefix.c (save_string): Use XNEWVEC.
        (translate_name): Use explicit cast when converting from void
          *.
        * c-ppoutput.c (print_line): Use explicit cast when converting
        from void *.
        (pp_dir_change): Likewise.
        * c-cppbuiltin.c (builtin_define_std): Likewise.
        (builtin_define_with_value): Likewise.
        (builtin_define_with_value_n): Likewise.
        (builtin_define_with_int_value): Likewise.
        (builtin_define_type_max): Likewise.
        * c-incpath.c (add_env_var_paths): Use XNEWVEC.
        (add_path): Use XNEW.
        * c-format.c (check_format_info_main): Use GGC_NEW.
        (format_type_warning): Use explicit cast when converting from
          void *.
        * c-typeck.c (alloc_tagged_tu_seen_cache): Use XNEW instead of
        xmalloc.
        (start_init): Likewise.
        * tree-flow-inline.h (first_referenced_var): Use explicit cast
        when converting from void *.
        (next_referenced_var): Likewise.
        * c-pragma.c (push_alignment): Use GGC_NEW instead of
          ggc_alloc.
        * gensupport.c (lookup_predicate): Use explicit cast to
          convert
        from void *.
        (init_predicate_table): Use XCNEW instead of xcalloc.
        * genpreds.c (process_define_predicate): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108723 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR fortran/25458
kargl [Sat, 17 Dec 2005 17:30:26 +0000 (17:30 +0000)]
PR fortran/25458
* simplify.c (gfc_simplify_ibset, gfc_simplify_not): Add call to
twos_complement.

* gfortran.dg/chkbits.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108720 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast
gdr [Sat, 17 Dec 2005 17:21:34 +0000 (17:21 +0000)]
    * floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast
        to convert from "from".
        (floatformat_to_double): Likewise.
        (floatformat_from_double): Use explicit cast to convert from "to".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108717 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* Revert accidental commit to enum_5.f90.
kargl [Sat, 17 Dec 2005 17:15:09 +0000 (17:15 +0000)]
* Revert accidental commit to enum_5.f90.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108716 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-17 Steven G. Kargl <kargls@comcast.net>
kargl [Sat, 17 Dec 2005 15:41:15 +0000 (15:41 +0000)]
2005-12-17  Steven G. Kargl  <kargls@comcast.net>

* decl.c (gfc_match_old_kind_spec,match_type_spec): Use gfc_std_notify
to report nonstandard intrinsic type declarations.

* gfortran.dg/imag_1.f: Fix nonstandard type declarations.
* gfortran.dg/nested_modules_1.f90: Ditto.
* gfortran.dg/hollerith_f95.f90: Ditto.
* gfortran.dg/select_5.f90: Ditto.
* gfortran.dg/secnds.f: Ditto.
* gfortran.dg/hollerith2.f90: Ditto.
* gfortran.dg/imag_2.f: Ditto.
* gfortran.dg/ftell_2.f90: Ditto.
* gfortran.dg/malloc_free_1.f90: Ditto.
* gfortran.dg/logint-1.f: Ditto.
* gfortran.dg/recursive_statement_functions.f90: Ditto.
* gfortran.dg/e_d_fmt.f90: Ditto.
* gfortran.dg/hollerith_legacy.f90: Ditto.
* gfortran.dg/logint-2.f: Ditto.
* gfortran.dg/enum_5.f90: Ditto.
* gfortran.dg/f2c_2.f90: Ditto.
* gfortran.dg/pr17143.f90: Ditto.
* gfortran.dg/namelist_14.f90: Ditto.
* gfortran.dg/logint-3.f: Ditto.
* gfortran.dg/spread_scalar_source.f90: Ditto.
* gfortran.dg/fmt_read_bz_bn.f90: Ditto.
* gfortran.dg/namelist_11.f: Ditto.
* gfortran.dg/g77/intrinsic-unix-bessel.f: Ditto.
* gfortran.dg/g77/20010519-1.f
* gfortran.dg/g77/alpha1.f: Ditto.
* gfortran.dg/g77/990115-1.f: Ditto.
* gfortran.dg/g77/erfc.f: Ditto.
* gfortran.dg/g77/19990313-3.f: Ditto.
* gfortran.dg/g77/f90-intrinsic-numeric.f: Ditto.
* gfortran.dg/g77/20010426.f: Ditto.
* gfortran.dg/g77/19990313-0.f: Ditto.
* gfortran.dg/g77/f90-intrinsic-mathematical.f: Ditto.
* gfortran.dg/g77/20000629-1.f: Ditto.
* gfortran.dg/g77/970125-0.f: Ditto.
* gfortran.dg/g77/8485.f: Ditto.
* gfortran.dg/g77/f90-intrinsic-bit.f: Ditto.
* gfortran.dg/g77/19990313-1.f: Ditto.
* gfortran.dg/g77/int8421.f: Ditto.
* gfortran.dg/g77/19990305-0.f: Ditto.
* gfortran.dg/g77/947.f: Ditto.
* gfortran.dg/g77/19990905-2.f: Ditto.
* gfortran.dg/g77/cabs.f: Ditto.
* gfortran.dg/g77/19990313-2.f: Ditto.
* gfortran.dg/g77/20020307-1.f: Ditto.
* gfortran.dg/g77/dcomplex.f: Ditto.
* gfortran.dg/g77/19990502-1.f: Ditto.
* gfortran.dg/g77/19981216-0.f: Ditto.
* gfortran.dg/common_4.f90: Ditto.
* gfortran.dg/entry_4.f90: Ditto.
* gfortran.dg/equiv_constraint_2.f90: Ditto.
* gfortran.dg/g77_intrinsics_funcs.f: Ditto.
* gfortran.dg/namelist_12.f: Ditto.
* gfortran.dg/scale_1.f90: Ditto.
* gfortran.dg/modulo_1.f90
* gfortran.dg/hollerith.f90: Ditto.
* gfortran.dg/direct_io_3.f90: Ditto.
* gfortran.dg/ftell_1.f90: Ditto.: Ditto.
* gfortran.dg/gnu_logical_1.F: Ditto.
* gfortran.dg/unf_io_convert_1.f90: Ditto.
* gfortran.dg/assign_1.f90: Ditto.
* gfortran.dg/g77_intrinsics_sub.f: Ditto.
* gfortran.dg/pr23095.f: Ditto.
* gfortran.dg/read_float_1.f90: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108715 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * include/bits/valarray_after.h (_Expr<>::operator[](slice)):
gdr [Sat, 17 Dec 2005 15:36:35 +0000 (15:36 +0000)]
    * include/bits/valarray_after.h (_Expr<>::operator[](slice)):
        Don't assume the closure implements general indexing, as a matter
        of fact, most of them don't.
        (_Expr<>::operator[](const gslice&)): Likewise.
        (_Expr<>::operator[](const valarray<bool>&)): Likewise.
        (_Expr<>::operator[](const valarray<size_t>&)): Likewise.
        (_Expr<>::shift): Fix thinko.
        (_Expr<>::cshift): Likewise.
        (_Expr<>::apply): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108714 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-17 Danny Berlin <dberlin@dberlin.org>
zadeck [Sat, 17 Dec 2005 13:40:27 +0000 (13:40 +0000)]
2005-12-17  Danny Berlin <dberlin@dberlin.org>
    Kenneth Zadeck <zadeck@naturalbridge.com>

* basic-block.h: Changed basic block numbering so that the entry
block is 0 and the exit block is 1.  Changed insn iterators so
that they are tolerant of blocks with no insns.
* regrename.c (copyprop_hardreg_forward): Changed basic block
numbering so that the entry block is 0 and the exit block is 1.
* sched-ebb.c (sehedule_ebbs): Ditto.
* tracer.c (branch_ratio_cutoff): Ditto.
* cfgloopmanip.c (fix_loop_structure): Ditto.
* cfghooks.c (verify_flow_info): Ditto.
* cfg.c (compact_blocks): Ditto.
* reorg.c (dbr_schedule): Ditto.
* flow.c (calculate_global_regs_live, libcall_dead_p): Ditto.
* dominance.c (calc_dfs_tree_nonrec, calc_dfs_tree,
calculate_dominance_info): Ditto.
* cfganal.c (create_edge_list, print_edge_list,
flow_depth_first_order_compute, flow_dfs_compute_reverse_init,
flow_dfs_compute_reverse_add_bb, flow_dfs_compute_reverse_execute,
dfs_enumerate_from): Ditto.
* global.c (global_alloc, set_up_bb_rts_numbers): Ditto.
* ifcvt.c (find_if_case_2): Ditto.
* cfgbuild.c (control_flow_insn_p, count_basic_blocks,
find_basic_blocks): Ditto.
* predict.c (predict_loops, tree_bb_level_predictions,
predict_paths_leading_to, propagate_freq): Ditto.
* lcm.c (compute_antinout_edge, compute_laterin,
compute_available): Ditto.
* function.c (thread_prologue_and_epilogue_insns): Ditto.
* gcse.c (gcse_main, bypass_jumps): Ditto.
* profile.c (compute_branch_probabilities,
compute_value_histograms, branch_prob): Ditto.
* tree-flow-inline.h (bsi_start, bsi_after_labels,
bsi_last): Ditto.
* tree-ssa-phiopt.c (tree_ssa_phiopt,
blocks_in_phiopt_order): Ditto.
* bt-load.c (compute_defs_uses_and_gen, compute_kill,
compute_out, link_btr_uses, migrate_btr_defs): Ditto.
* tree-dfa.c (collect_dfa_stats): Ditto.
* cfgcleanup.c (try_forward_edges, try_optimize_cfg): Ditto.
* cfglayout.c (fixup_reorder_chain): Ditto.
* bb-reorder.c (reorder_basic_blocks, duplicate_computed_gotos,
partition_hot_cold_basic_blocks): Ditto.
* var-tracking.c (vt_find_locations): Ditto.
* cfgloop.c (flow_loops_cfg_dump, flow_loops_find, get_loop_body): Ditto.
* sched-rgn.c (compute_trg_info, init_regions, schedule_insns): Ditto.
* tree-cfg.c (init_empty_tree_cfg, build_tree_cfg, make_edges
label_to_block_fn, print_loop_ir, tree_flow_call_edges_add): Ditto.
* tree-ssa-reassoc.c (init_reassoc): Ditto.
* cfgrtl.c (entry_of_function, rtl_verify_flow_info,
rtl_flow_call_edges_add, rtl_flow_call_edges_add): Ditto.
* df.c (df_analyze_1, hybrid_search, iterative_dataflow): Ditto
and removed unused reverse orders.
* df.h (): Ditto.
* combine.c: Fix document typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108713 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-flow-inline.h (set_default_def, default_def): Kill.
hubicka [Sat, 17 Dec 2005 08:39:12 +0000 (08:39 +0000)]
* tree-flow-inline.h (set_default_def, default_def): Kill.
* tree-dfa.c (default_defs): New global variable.
(default_def, set_default_def): New functions.
* tree-ssa.c (init_tree_ssa, delete_tree_ssa): Add default_def hash.
* tree-flow.h (struct var_ann_d): Kill default_def field.
(set_default_def, default_def): Update prototype.
(default_defs): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108712 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-ssa-dom.c (update_rhs_and_lookup_avail_expr): Kill.
law [Sat, 17 Dec 2005 07:18:35 +0000 (07:18 +0000)]
* tree-ssa-dom.c (update_rhs_and_lookup_avail_expr): Kill.
(simplify_rhs_and_lookup_avail_expr): Kill.  Remnants moved
into tree-ssa-forwprop.c.
(eliminate_redundant_computations): Do not call
simplify_rhs_and_lookup_avail_expr anymore.
* tree-ssa-forwprop.c (simplify_not_neg_expr): New function
extracted from remnants of simplify_rhs_and_lookup_avail_expr.
(tree_ssa_forward_propagate_single_use_vars): Call
simplify_not_neg_expr appropriately.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108711 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcc.dg/attr-weakref-1.c: Do not run on darwin.
aj [Sat, 17 Dec 2005 06:17:06 +0000 (06:17 +0000)]
    * gcc.dg/attr-weakref-1.c: Do not run on darwin.
        * gcc.dg/attr-weakref-1-darwin.c: New test to run on darwin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108710 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-16 Bernd Trog <berndtrog@yahoo.com>
sayle [Sat, 17 Dec 2005 03:09:43 +0000 (03:09 +0000)]
2005-12-16  Bernd Trog  <berndtrog@yahoo.com>

PR target/20016
* config/avr/t-avr: Add -Os to TARGET_LIBGCC2_CFLAGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108708 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR rtl-optimization/25456
kazu [Sat, 17 Dec 2005 02:05:07 +0000 (02:05 +0000)]
PR rtl-optimization/25456
* struct-equiv.c (struct_equiv_improve_checkpoint): Replace
info->x_start with p->x_start.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108707 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Sat, 17 Dec 2005 00:17:43 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108704 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * update_web_docs_svn: Remove unnecessary files from source tree.
jsm28 [Fri, 16 Dec 2005 23:59:10 +0000 (23:59 +0000)]
* update_web_docs_svn: Remove unnecessary files from source tree.
Use set -e.
* doc_exclude, update_web_docs, update_web_docs_libstdcxx: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108698 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * simplify-rtx.c (simplify_binary_operation_1 <IOR>): Correct bug
amodra [Fri, 16 Dec 2005 23:50:42 +0000 (23:50 +0000)]
* simplify-rtx.c (simplify_binary_operation_1 <IOR>): Correct bug
introduced 2005-12-16.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108697 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 16 Dec 2005 23:49:33 +0000 (23:49 +0000)]
2005-12-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/24268
* gfortran.dg/fmt_white.f: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108696 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 16 Dec 2005 23:44:14 +0000 (23:44 +0000)]
2005-12-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/24268
* io.c (format_lex): Allow whitespace within text of format specifier.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108695 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * zh_CN.po: Update.
jsm28 [Fri, 16 Dec 2005 23:32:38 +0000 (23:32 +0000)]
* zh_CN.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108693 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-10 Steven G. Kargl <kargls@comcast.net>
kargl [Fri, 16 Dec 2005 23:32:29 +0000 (23:32 +0000)]
2005-12-10  Steven G. Kargl <kargls@comcast.net>

        PR fortran/25106
        PR fortran/25055
        * match.c (gfc_match_small_literal_int): Add cnt argument;
        (gfc_match_st_label,gfc_match_stopcode): Account for cnt argument.
        * match.h (gfc_match_small_literal_int): Update prototype.
        * decl.c (match_char_length,gfc_match_old_kind_spec): Account for cnt.
        * parse.c (next_free): Ditto.
        * primary.c (match_kind_param): Ditto.

        gfortran.dg/label_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108692 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * update_web_docs_svn: Set @srcdir in gcc-vers.texi.
mmitchel [Fri, 16 Dec 2005 23:11:21 +0000 (23:11 +0000)]
* update_web_docs_svn: Set @srcdir in gcc-vers.texi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108691 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR rtl-optimization/23837
steven [Fri, 16 Dec 2005 22:19:09 +0000 (22:19 +0000)]
PR rtl-optimization/23837
* optabs.c (expand_binop): For a multi-word rotate, never emit
a REG_NO_CONFLICT block.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108690 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR testsuite/25422
bje [Fri, 16 Dec 2005 22:12:55 +0000 (22:12 +0000)]
PR testsuite/25422
* gcc.dg/20031012-1.c: Add -Walways-true option.
* gcc.dg/weak/weak-3.c: Likewise.
* g++.old-deja/g++.mike/warn8.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108689 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-16 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 16 Dec 2005 21:45:27 +0000 (21:45 +0000)]
2005-12-16  Richard Guenther  <rguenther@suse.de>

* trans.h (tree): Remove declaration of gfc_build_function_call.
* trans.c (gfc_build_function_call): Remove.
(gfc_build_array_ref): Use build_function_call_expr.
(gfc_trans_runtime_check): Likewise.
* trans-array.c (gfc_trans_allocate_array_storage): Likewise.
(gfc_grow_array): Likewise.
(gfc_trans_array_ctor_element): Likewise.
(gfc_trans_array_constructor_value): Likewise.
(gfc_array_allocate): Likewise.
(gfc_array_deallocate): Likewise.
(gfc_trans_auto_array_allocation): Likewise.
(gfc_trans_dummy_array_bias): Likewise.
(gfc_conv_array_parameter): Likewise.
* trans-expr.c (gfc_conv_power_op): Likewise.
(gfc_conv_string_tmp): Likewise.
(gfc_conv_concat_op): Likewise.
(gfc_conv_expr_op): Likewise.
(gfc_trans_string_copy): Likewise.
* trans-decl.c (build_entry_thunks): Likewise.
(gfc_generate_function_code): Likewise.
(gfc_generate_constructors): Likewise.
* trans-io.c (gfc_trans_open): Likewise.
(gfc_trans_close): Likewise.
(build_filepos): Likewise.
(gfc_trans_inquire): Likewise.
(transfer_namelist_element): Likewise.
(build_dt): Likewise.
(gfc_trans_dt_end): Likewise.
(transfer_expr): Likewise.
(transfer_array_desc): Likewise.
* trans-stmt.c (gfc_trans_pause): Likewise.
(gfc_trans_stop): Likewise.
(gfc_trans_character_select): Likewise.
(gfc_do_allocate): Likewise.
(gfc_trans_assign_need_temp): Likewise.
(gfc_trans_pointer_assign_need_temp): Likewise.
(gfc_trans_forall_1): Likewise.
(gfc_trans_where): Likewise.
(gfc_trans_allocate): Likewise.
(gfc_trans_deallocate): Likewise.
* trans-intrinsic.c (gfc_conv_intrinsic_aint): Likewise.
(gfc_conv_intrinsic_lib_function): Likewise.
(gfc_conv_intrinsic_exponent): Likewise.
(gfc_conv_intrinsic_abs): Likewise.
(gfc_conv_intrinsic_sign): Likewise.
(gfc_conv_intrinsic_ctime): Likewise.
(gfc_conv_intrinsic_fdate): Likewise.
(gfc_conv_intrinsic_ttynam): Likewise.
(gfc_conv_intrinsic_ishftc): Likewise.
(gfc_conv_intrinsic_len_trim): Likewise.
(gfc_conv_intrinsic_index): Likewise.
(gfc_conv_intrinsic_size): Likewise.
(gfc_conv_intrinsic_strcmp): Likewise.
(gfc_conv_intrinsic_adjust): Likewise.
(gfc_conv_associated): Likewise.
(gfc_conv_intrinsic_scan): Likewise.
(gfc_conv_intrinsic_verify): Likewise.
(call_builtin_clz): Likewise.
(gfc_conv_intrinsic_si_kind): Likewise.
(gfc_conv_intrinsic_sr_kind): Likewise.
(gfc_conv_intrinsic_trim): Likewise.
(gfc_conv_intrinsic_repeat): Likewise.
(gfc_conv_intrinsic_iargc): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108687 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * java/lang/Class.java (getPackage): Get package from
tromey [Fri, 16 Dec 2005 21:38:45 +0000 (21:38 +0000)]
* java/lang/Class.java (getPackage): Get package from
VMClassLoader if needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108685 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-16 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 16 Dec 2005 21:33:32 +0000 (21:33 +0000)]
2005-12-16  Paolo Carlini  <pcarlini@suse.de>

* testsuite/tr1/4_metaprogramming/type_properties/is_empty/is_empty.cc:
Fix class NonEmptyClassTwo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108683 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcc.c-torture/compile/920415-1.c: Add declaration for abort and
mrs [Fri, 16 Dec 2005 21:13:33 +0000 (21:13 +0000)]
    * gcc.c-torture/compile/920415-1.c: Add declaration for abort and
        exit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108680 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-16 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 16 Dec 2005 21:03:50 +0000 (21:03 +0000)]
2005-12-16  Richard Guenther  <rguenther@suse.de>

* trans.h (gfc_build_indirect_ref): Remove declaration.
* trans.c (gfc_build_indirect_ref): Remove.
* trans-array.c (gfc_trans_array_ctor_element): Use
build_fold_indirect_ref instead of gfc_build_indirect_ref.
(gfc_trans_array_constructor_value): Likewise.
(gfc_conv_array_index_offset): Likewise.
(gfc_conv_scalarized_array_ref): Likewise.
(gfc_conv_array_ref): Likewise.
(gfc_trans_dummy_array_bias): Likewise.
(gfc_conv_expr_descriptor): Likewise.
(gfc_conv_array_parameter): Likewise.
* trans-decl.c (gfc_finish_cray_pointee): Likewise.
(gfc_get_symbol_decl): Likewise.
* trans-expr.c (gfc_conv_substring): Likewise.
(gfc_conv_component_ref): Likewise.
(gfc_conv_variable): Likewise.
(gfc_add_interface_mapping): Likewise.
(gfc_conv_function_call): Likewise.
* trans-intrinsic.c (gfc_conv_intrinsic_ichar): Likewise.
(gfc_conv_intrinsic_transfer): Likewise.
* trans-io.c (nml_get_addr_expr): Likewise.
(transfer_namelist_element): Likewise.
(transfer_expr): Likewise.
* trans-stmt.c (gfc_trans_nested_forall_loop): Likewise.
(allocate_temp_for_forall_nest_1): Likewise.
(gfc_trans_forall_1): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108678 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 16 Dec 2005 20:19:37 +0000 (20:19 +0000)]
2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/25360
        * objc/objc-act.c (encode_type): Encode Complex types as 'j' followed
        by the inner type.

2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/25360
        * objc/objc-api.c (_C_COMPLEX): New define.
        * encoding.c (objc_sizeof_type): Handle _C_Complex.
        (objc_alignof_type): Likewise.
        (objc_skip_typespec): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108675 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 16 Dec 2005 19:40:36 +0000 (19:40 +0000)]
2005-12-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/25264
PR libgfortran/25349
* gfortran.dg/tl_editing.f90: Added additional checks.
* gfortran.dg/t_editing.f: New test.
* gfortran.dg/write_padding.f90: New test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108673 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR middle-end/25457
danglin [Fri, 16 Dec 2005 19:39:47 +0000 (19:39 +0000)]
PR middle-end/25457
* reorg.c (mostly_true_jump): Remove unused variable 'insn'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108672 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 16 Dec 2005 19:32:21 +0000 (19:32 +0000)]
2005-12-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/25264
PR libgfortran/25349
* io/unit.c (get_unit): Delete code that cleared the string when the
unit was opened, which is too soon.
* io/transfer.c (next_record_w): Pass done flag in.  Change logic for
setting max_pos.  Add code to position unit and pad record as needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108671 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR testsuite/25215
ghazi [Fri, 16 Dec 2005 19:00:07 +0000 (19:00 +0000)]
PR testsuite/25215
* gcc.dg/20050503-1.c: Skip on x86 ilp32 with -fpic/-fPIC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108668 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR target/25447
danglin [Fri, 16 Dec 2005 17:46:13 +0000 (17:46 +0000)]
PR target/25447
* config/pa/pa.c (pa_scalar_mode_supported_p): Handle
MODE_DECIMAL_FLOAT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108665 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* jcf-parse.c (set_source_filename): Set the decl source location
aoliva [Fri, 16 Dec 2005 17:27:21 +0000 (17:27 +0000)]
* jcf-parse.c (set_source_filename): Set the decl source location
even when returning early.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108662 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * testsuite/libjava.jacks/jacks.xfail
tromey [Fri, 16 Dec 2005 16:30:16 +0000 (16:30 +0000)]
* testsuite/libjava.jacks/jacks.xfail
(8.5.2-accessible-static-member-usage-3): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108656 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * loop-invariant.c (move_loop_invariants): Add missing hunk from
steven [Fri, 16 Dec 2005 15:57:15 +0000 (15:57 +0000)]
    * loop-invariant.c (move_loop_invariants): Add missing hunk from
        the previous patch, to nullify df.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108655 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * reorg.c (mostly_true_jump): Clean up code depending on
steven [Fri, 16 Dec 2005 15:38:19 +0000 (15:38 +0000)]
* reorg.c (mostly_true_jump): Clean up code depending on
LABEL_OUTSIDE_LOOP_P and loop notes.  Remove code doing
poor man's branch prediction, instead rely on REG_BR_PROB
notes to be available.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108653 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-16 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 16 Dec 2005 14:01:06 +0000 (14:01 +0000)]
2005-12-16  Richard Guenther  <rguenther@suse.de>

        * ChangeLog: Fix missing file names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108652 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR rtl-optimization/24899
jakub [Fri, 16 Dec 2005 12:12:41 +0000 (12:12 +0000)]
PR rtl-optimization/24899
* loop.c (strength_reduce): Don't reduce giv that is not always
computable and where add_val or mult_val can trap.

* gcc.c-torture/execute/20051215-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108642 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * doc/invoke.texi (-fdump-tree-*): Remove note about C/C++ only.
jakub [Fri, 16 Dec 2005 12:07:01 +0000 (12:07 +0000)]
* doc/invoke.texi (-fdump-tree-*): Remove note about C/C++ only.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108639 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/mt/mt.h (LIB_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): Correct
nathan [Fri, 16 Dec 2005 11:57:29 +0000 (11:57 +0000)]
* config/mt/mt.h (LIB_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): Correct
names of ms1-16-002 files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108638 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * configure.in: Replace ms1 with mt.
nathan [Fri, 16 Dec 2005 11:52:02 +0000 (11:52 +0000)]
* configure.in: Replace ms1 with mt.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108637 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoCheckin missing parts of my 2005-12-12 patch
nathan [Fri, 16 Dec 2005 11:43:46 +0000 (11:43 +0000)]
Checkin missing parts of my 2005-12-12 patch

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108636 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR driver/20425
amodra [Fri, 16 Dec 2005 09:46:22 +0000 (09:46 +0000)]
PR driver/20425
* gcc.c (for_each_path): New function.
(add_to_obstack, file_at_path): New functions.
(struct file_at_path_info, struct add_to_obstack_info): New.
(build_search_list): Rewrite using for_each_path.  Constify struct
path_prefix pointer.  Add do_multi param.  Adjust all callers.
(find_a_file): Similarly, but just change existing param to bool.
(putenv_from_prefixes): Add do_multi param, make "paths" const.
(do_spec_path): Delete.
(struct spec_path_info): New.
(spec_path): New function.
(do_spec_1): Use for_each_path for %D and %I.
(find_file): Adjust for find_a_file changes.
(main): Search multilibs for specs.  Print multilib lib path for
-print-search-dirs.  Likewise add multilibs to LIBRARY_PATH_ENV.
(read_specs): Search multilibs for %include and %include_noerr.
(is_directory): Remove second string param.  Change last param
to a bool.  Don't use concat.  Remove SMALL_ARG_MAX test, always
check path is a dir.  Update all callers.
* doc/hostconfig.texi (SMALL_ARG_MAX): Remove mention.
* system.h (SMALL_ARG_MAX): Poison.
* config.gcc: Don't define SMALL_ARG_MAX.
* config.host: Likewise.
* config.build: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108635 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-16 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 16 Dec 2005 09:24:19 +0000 (09:24 +0000)]
2005-12-16  Paolo Bonzini  <bonzini@gnu.org>

* combine.c (combine_simplify_rtx <case NOT, NEG, TRUNCATE,
FLOAT_TRUNCATE, FLOAT_EXTEND, PLUS, MINUS, AND, IOR, XOR,
ABS, VEC_SELECT, POPCOUNT, PARITY, FFS, FLOAT>,
simplify_logical): Move simplifications that do not require
additional infrastructure...
* simplify-rtx.c (simplify_unary_operation_1,
simplify_binary_operation_1): ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108634 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-16 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 16 Dec 2005 09:16:12 +0000 (09:16 +0000)]
2005-12-16  Richard Guenther  <rguenther@suse.de>

(gfc_conv_descriptor_data_addr): Use build_fold_addr_expr where
appropriate.
(gfc_trans_allocate_array_storage): Likewise.
(gfc_trans_array_constructor_value): Likewise.
(gfc_conv_array_data): Likewise.
(gfc_conv_expr_descriptor): Likewise.
(gfc_conv_array_parameter): Likewise.
(gfc_conv_variable): Likewise.
(gfc_conv_function_val): Likewise.
(gfc_conv_function_call): Likewise.
(gfc_conv_expr_reference): Likewise.
(gfc_conv_intrinsic_ctime): Likewise.
(gfc_conv_intrinsic_fdate): Likewise.
(gfc_conv_intrinsic_ttynam): Likewise.
(gfc_conv_intrinsic_si_kind): Likewise.
(gfc_conv_intrinsic_trim): Likewise.
(set_parameter_ref): Likewise.
(gfc_convert_array_to_string): Likewise.
(gfc_trans_open): Likewise.
(gfc_trans_close): Likewise.
(build_filepos): Likewise.
(gfc_trans_inquire): Likewise.
(nml_get_addr_expr): Likewise.
(transfer_namelist_element): Likewise.
(build_dt): Likewise.
(gfc_trans_dt_end): Likewise.
(transfer_array_component): Likewise.
(transfer_expr): Likewise.
(transfer_array_desc): Likewise.
(gfc_trans_transfer): Likewise.
(gfc_trans_allocate): Likewise.
(gfc_trans_deallocate): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108633 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-16 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Fri, 16 Dec 2005 09:09:37 +0000 (09:09 +0000)]
2005-12-16  Andreas Krebbel  <krebbel1@de.ibm.com>

PR 24823
* flow.c (mark_used_dest_regs): New function.
(mark_used_regs): Call mark_used_dest_regs.

2005-12-16  Andreas Krebbel  <krebbel1@de.ibm.com>

PR 24823
* gfortran.dg/pr24823.f: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108632 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-ssa-dse.c (dse_optimize_stmt): Correctly handle PHI nodes which
law [Fri, 16 Dec 2005 07:03:12 +0000 (07:03 +0000)]
* tree-ssa-dse.c (dse_optimize_stmt): Correctly handle PHI nodes which
represent a use and definition of the same SSA_NAME.

* gcc.dg/tree-ssa/ssa-dse-8.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108630 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-16 Jon Grimm <jgrimm2@us.ibm.com>
bje [Fri, 16 Dec 2005 06:38:26 +0000 (06:38 +0000)]
2005-12-16  Jon Grimm  <jgrimm2@us.ibm.com>
    Janis Johnson  <janis187@us.ibm.com>
    Ben Elliston  <bje@au.ibm.com>

* target-def.h (TARGET_DECIMAL_FLOAT_SUPPORTED_P): New.
(TARGET_INITIALIZER): Add TARGET_DECIMAL_FLOAT_P.
* target.h (struct gcc_target): Add decimal_float_supported_p.
* targhooks.c (default_scalar_mode_supported_p): Handle
MODE_DECIMAL_FLOAT.
* builtins.def: Add new builtins for 32, 64 and 128 bit variants
of inf, nan, finite, isinf and isnan.
* builtin-types.def (BT_DFLOAT32, BT_DFLOAT64, BT_DFLOAT128,
BT_DFLOAT32_PTR, BT_DFLOAT64_PTR, BT_DFLOAT128_PTR,
BT_FN_DFLOAT32, BT_FN_DFLOAT64, BT_FN_DFLOAT128,
BT_FN_INT_DFLOAT32, BT_FN_INT_DFLOAT64, BT_FN_INT_DFLOAT128,
BT_FN_DFLOAT32_CONST_STRING, BT_FN_DFLOAT64_CONST_STRING,
BT_FN_DFLOAT32_CONST_STRING, BT_FN_DFLOAT32_DFLOAT32,
BT_FN_DFLOAT64_DFLOAT64, BT_FN_DFLOAT128_DFLOAT128): New.
* c-decl.c (declspecs_add_type): Verify combos on type qualifiers.
Pedwarn if decimal floating point types are used.  Error if
decimal floating point is not supported by the target.
(finish_declspecs): Return type from DFP typespec_word.
* c-typeck.c (c_common_type): Choose the decimal floating point
type with the greater precision when determining a common type.
(convert_arguments): Warn if there is a mismatch between argument
and prototype for decimal float types.  Warn of conversions with
binary float types and of precision narrowing due to prototype.
* c-parser.c (reswords): Add _Decimal32, _Decimal64, _Decimal128.
(c_token_starts_typename): Handle RID_DFLOAT32/64/128.
(c_token_starts_declspecs): Likewise.
(c_parser_attributes): Likewise.
* c-common.h (enum rid): Add new enumeration values RID_DFLOAT32,
RID_DFLOAT64, RID_DFLOAT128.
(T_D32, TEX_D32, T_D64, TEX_D64, T_D128, TEX_D128): New macros.
* c-common.c (c_common_type_for_mode): Handle decimal float modes.
(shorten_compare): Convert DFP/BFP operands to a common type.
(c_common_modes_and_builtins): Register built-in decimal float
types if the target supports them.
(handle_mode_addtribute): Handle MODE_DECIMAL_FLOAT.
* builtins.c (fold_builtin_1): Handle 32, 64 and 128 bit cases of
inf, nan, finite, isinf and isnan builtins.
* c-cppbuiltin.c (builtin_define_decimal_float_constants): New.
(builtin_define_float_constants): Assert non-decimal radix.
(c_cpp_builtins): Register built-in __DEC_EVAL_METHOD__ define.
Call builtin_define_decimal_float_constants for each type.
* c-lex.c (interpret_float): Decode decimal float types from CPP_N
flags.  Use real_from_string3, which can handle binary or decimal
floats.
* c-tree.h (enum c_typespec_keyword): Add cts_dfloat32,
cts_dfloat64, cts_dfloat128.
* tree.c (build_common_tree_nodes_2): Add decimal float types.
* tree.h (enum tree_index): Add new enumeration values
TI_DFLOAT32_TYPE, TI_DFLOAT64_TYPE, TI_DFLOAT128_TYPE,
TI_DFLOAT32_PTR_TYPE, TI_DFLOAT64_PTR_TYPE, TI_DFLOAT128_PTR_TYPE.
(dfloat32_type_node): New macro.
(dfloat64_type_node, dfloat128_type_node): Likewise.
(dfloat32_ptr_type_node, dfloat64_ptr_type_node): Likewise.
(dfloat128_ptr_type_node): Likewise.
* c-pretty-print.c (pp_c_floating_constant): Append 32, 64 and 128
bit decimal floating point types with "df", "dd" and "dl".
* c-format.h (enum format_lengths): Add new enumeration values
FMT_LEN_H, FMT_LEN_D and FMT_LEN_DD.
* c-format.c (printf_length_specs, scanf_length_specs): Add
entries for H, D, DD.
(print_char_table, scan_char_table): Use new entries.
(asm_fprintf_char_table, gcc_diag_char_table,
gcc_cdiag_char_table, gcc_cxxdiag_char_table): Adjust for longer
length arrays.
* defaults.h (DECIMAL32_TYPE_SIZE): Define.
(DECIMAL64_TYPE_SIZE): Likewise.
(DECIMAL128_TYPE_SIZE): Likewise.
(TARGET_DEC_EVAL_METHOD): Likewise.
* doc/extend.texi (Decimal Float): New node.
(Constructing Calls): Document decimal float built-ins.
* doc/tm.texi: Document TARGET_DECIMAL_FLOAT_SUPPORTED_P hook.
* Makefile.in (USER_H): Add $(srcdir)/ginclude/decfloat.h.
* ginclude/decfloat.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108629 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * reload.c (find_reloads): Fix comment typo.
amodra [Fri, 16 Dec 2005 06:14:17 +0000 (06:14 +0000)]
* reload.c (find_reloads): Fix comment typo.
* recog.h (recog_memoized): Correct comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108627 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * basic-block.h, config/i386/winnt.c, config/pa/pa.c,
kazu [Fri, 16 Dec 2005 06:09:31 +0000 (06:09 +0000)]
* basic-block.h, config/i386/winnt.c, config/pa/pa.c,
config/s390/s390.c, dfp.c, expr.c, fold-const.c, params.def,
reload.c, struct-equiv.c, tree-ssa-ccp.c, tree-ssa-pre.c,
tree-ssa-reassoc.c, tree-ssa-structalias.c: Fix comment typos.
* doc/invoke.texi, doc/tm.texi: Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108626 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * parser.c, pt.c: Fix comment typos.
kazu [Fri, 16 Dec 2005 05:55:45 +0000 (05:55 +0000)]
* parser.c, pt.c: Fix comment typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108625 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * dependency.c, resolve.c, trans-array.c: Fix comment typos.
kazu [Fri, 16 Dec 2005 05:49:45 +0000 (05:49 +0000)]
* dependency.c, resolve.c, trans-array.c: Fix comment typos.
* gfortran.texi: Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108624 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-16 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 16 Dec 2005 05:01:38 +0000 (05:01 +0000)]
2005-12-16  Andrew Pinski  <pinskia@physics.uc.edu>

        * objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c (base_types):
        Change C++ style comments to C style comments.
        Remove aligned types from the array.
        Keep Enums disabled.
        (complex_types): Remove aligned types from the array.
        Comment out "_Complex long double".
        (attrib_types): Remove.
        (complex_attrib_types): Remove.
        (attrib_array_types): Remove.
        (complex_attrib_array_types): Remove.
        (aligned_bitfld_types): Remove.
        (n_aligned_bitfld_types): Remove.
        (FEATURE_ALIGNEDPACKED): Delete.
        (ALL_FEATURES): Remove FEATURE_ALIGNEDPACKED.
        (singles): Remove support for adding attributes.
        (choose_type): Remove support for attributed types.
        (generate_fields): Remove support for attributed bit-fields.
        Remove support for adding attributes.
        (generate_random_tests): Remove support for adding attributes.
        (features): Add back "[0] :0" and "complex vector [0]".
        (main): Remove support for attributed bit-fields.
        Uncomment the calling of generate_random_tests for the rests of
        the tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108623 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * real.c (decimal_quad_format): Correct values for emin, emax.
bje [Fri, 16 Dec 2005 02:11:48 +0000 (02:11 +0000)]
* real.c (decimal_quad_format): Correct values for emin, emax.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108622 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* config/m32c/predicates.md (m32c_psi_scale): New.
dj [Fri, 16 Dec 2005 01:31:39 +0000 (01:31 +0000)]
* config/m32c/predicates.md (m32c_psi_scale): New.
* config/m32c/m32c.c (m32c_expand_neg_mulpsi3): New.
* config/m32c/muldiv.md (mulpsi3): Support negative constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108620 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Fri, 16 Dec 2005 00:17:46 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108614 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agogcc/java:
tromey [Fri, 16 Dec 2005 00:00:43 +0000 (00:00 +0000)]
gcc/java:
PR java/25429
* parse.y (resolve_expression_name): Don't generate accessor
methods for constant fields.
libjava:
* testsuite/libjava.compile/rh175833.java: New file.
* testsuite/libjava.compile/pr25429.java: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108608 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR rtl-optimization/25224
hubicka [Thu, 15 Dec 2005 23:52:16 +0000 (23:52 +0000)]
PR rtl-optimization/25224
* tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Free copy
tables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108606 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoCommit part of Zdenek's larger loop-invariant.c patch.
steven [Thu, 15 Dec 2005 23:30:46 +0000 (23:30 +0000)]
Commit part of Zdenek's larger loop-invariant.c patch.

* loop-invariant.c (df): New global variable.
(find_defs, check_dependencies, find_invariant_insn, record_uses,
find_invariants_bb, find_invariants_body, find_invariants,
find_invariants_to_move, move_invariants, free_inv_motion_data,
move_single_loop_invariants, move_loop_invariants): Do not pass df in
arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108605 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * varasm.c (default_unique_section_1): Use special section
jakub [Thu, 15 Dec 2005 22:33:15 +0000 (22:33 +0000)]
* varasm.c (default_unique_section_1): Use special section
names for SECCAT_DATA_REL{,_RO}{,_LOCAL}.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108602 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * nl.po: Update.
jsm28 [Thu, 15 Dec 2005 22:31:39 +0000 (22:31 +0000)]
* nl.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108600 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * doc/invoke.texi (Warning Options): Document -Walways-true being
bje [Thu, 15 Dec 2005 22:31:20 +0000 (22:31 +0000)]
* doc/invoke.texi (Warning Options): Document -Walways-true being
enabled by -Wall.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108599 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR other/25028
jsm28 [Thu, 15 Dec 2005 21:50:10 +0000 (21:50 +0000)]
PR other/25028
* libgcc2.h (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Define.
* libgcc2.c (__floatdixf, __floatundixf, __floatditf,
__floatunditf): Use #error if type sizes don't match requirements
of implementation.
(__floatdisf, __floatdidf): Unify.  Possibly use XFmode or TFmode
as wider floating-point type.  Use #error if type sizes don't
match requirements of implementation.  Avoid overflow in computing
Wtype_MAXp1_F * Wtype_MAXp1_F.  When special casing conversion,
shift one more bit.  Cast 1 to DWtype or UDWtype for shifting.
(__floatundisf, __floatundidf): Likewise.
* config/ia64/hpux.h (XF_SIZE, TF_SIZE): Define.
* config/ia64/ia64.c (ia64_init_libfuncs): Use
_U_Qfcnvfxt_quad_to_quad and _U_Qfcnvxf_quad_to_quad for
TFmode-TImode conversions.
* doc/tm.texi (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Document.

testsuite:
* gcc.dg/torture/fp-int-convert-timode.c: Only XFAIL for LP64 IA64
HP-UX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108598 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS):
rodrigc [Thu, 15 Dec 2005 21:32:43 +0000 (21:32 +0000)]
    * freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS):
        Use builtin_define_with_int_value() instead of
        adding a new check for every new major FreeBSD version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108597 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-15 Bryce McKinlay <mckinlay@redhat.com>
bryce [Thu, 15 Dec 2005 20:04:48 +0000 (20:04 +0000)]
2005-12-15  Bryce McKinlay  <mckinlay@redhat.com>

        * MAINTAINERS: Update my email address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108596 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 15 Dec 2005 16:49:21 +0000 (16:49 +0000)]
2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/t-darwin (darwin-c.o): Depend on $(TREE_H) instead of tree.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108585 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-15 David Ayers <d.ayers@inode.at>
ayers [Thu, 15 Dec 2005 16:46:17 +0000 (16:46 +0000)]
2005-12-15  David Ayers  <d.ayers@inode.at>

PR libobjc/14382
* README (+load,+initialize): Fix documentation to reflect
intended and implemented semantics for +load and +initialize.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108584 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/arm/predicates.md (call_memory_operand): New.
rsandifo [Thu, 15 Dec 2005 16:42:10 +0000 (16:42 +0000)]
* config/arm/predicates.md (call_memory_operand): New.
* config/arm/arm.md (*call_mem, *call_value_mem): Use it.

testsuite/
* gcc.dg/20051215-1.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108583 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-15 Andrew Haley <aph@redhat.com>
aph [Thu, 15 Dec 2005 16:17:50 +0000 (16:17 +0000)]
2005-12-15  Andrew Haley  <aph@redhat.com>

        * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Guard
        against prev_cache_entry == NULL when moving a cache entry to the
        head of the list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108582 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/mt/mt.c (mt_override_options): Require lower case
nathan [Thu, 15 Dec 2005 16:14:26 +0000 (16:14 +0000)]
* config/mt/mt.c (mt_override_options): Require lower case
architectures.  Revert accidental default to ms2.
* config/mt/mt.h (ASM_SPEC, LIBSPEC, STARTFILE_SPEC,
ENDFILE_SPEC): Require lower case architectures.  Revert default
to ms2.

* doc/invoke.texi (MT Options): Rename and update.
* doc/md.texi (MorphoTech family): Rename and update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108581 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-15 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 15 Dec 2005 14:34:27 +0000 (14:34 +0000)]
2005-12-15  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all, do-[+make_target+], do-check, install,
install-host-nogcc): Don't invoke $(stage) at the end.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108580 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * stor-layout.c (layout_type): Don't complain about a too small
hainque [Thu, 15 Dec 2005 13:09:41 +0000 (13:09 +0000)]
* stor-layout.c (layout_type): Don't complain about a too small
an array element type size compared to its alignment when the
size overflows.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108575 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR target/24969
hubicka [Thu, 15 Dec 2005 12:49:10 +0000 (12:49 +0000)]
PR target/24969
* i386.c (classify_argument): Properly adjust offset of bitfield for
substructures.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108573 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * final.c (final_scan_insn): Flip in_cold_section_p when changing
rsandifo [Thu, 15 Dec 2005 12:40:33 +0000 (12:40 +0000)]
* final.c (final_scan_insn): Flip in_cold_section_p when changing
between the hot and cold sections.  Use current_function_section
to get the new section.
* dwarf2out.c (output_line_info): Use in_cold_section_p to
determine whether we are assembling hot or cold code.
(secname_for_decl, dwarf2out_var_location): Likewise.
(dwarf2out_init, dwarf2out_finish): Use switch_to_section.
* varasm.c (last_text_section): Delete.
(in_cold_section_p): New variable.
(hot_function_section): New function.
(current_function_section): Pass in_cold_section_p as the
reloc argument to select_section.  Use it to decide between
unlikely_function_section and hot_function_section.
(assemble_start_function): Use switch_to_section.  Set
in_cold_section_p instead of last_text_section.
(assemble_end_function): Use switch_to_section.
(switch_to_section): Don't set last_text_section.
* config/darwin/darwin.c (machopic_select_section): Trust the reloc
argument to make the right choice between hot and cold sections.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108572 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-15 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 15 Dec 2005 11:31:59 +0000 (11:31 +0000)]
2005-12-15  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_vector.h (vector<>::_M_get_Tp_allocator): Change
to return by ref and add non const version.
* include/bits/stl_deque.h (deque<>::_M_get_Tp_allocator): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108570 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago Second part of MS1->MT renaming
nathan [Thu, 15 Dec 2005 11:23:19 +0000 (11:23 +0000)]
Second part of MS1->MT renaming
* config/mt/mt.md (doloop_end): Call mt_add_loop.
(movqi, movhi): Call mt_set_memflags.
(*movdf_internal): Call mt_split_words.
(reload_inqi, reload_outqi, reload_inhi, reload_outhi): Call
mt_set_memflags.
(cmpsi): Store to mt_compare_op[01].
(beq, bne, bge, bgt, ble, blt, bgeu, bgtu, bleu, bltu, bunge,
bungt, bunle, bunlt): Call mt_emit_cbranch.
(prologue): Call mt_expand_prologue.
(epilogu): Call mt_expend_epilogue.
(eh_return): Call mt_expand_eh_return.
(eh_epilogue): Call me_emit_eh_epilogue.
(conditional_trap): Store to mt_compare_op[01].
* config/mt/crti.asm: Adjust comment.
* config/mt/crtn.asm: Adjust comment.
* config/mt/mt.c (MT_INT_ARG_FIRST): Renamed.
(mt_compare_op0, mt_compare_op1): Renamed.
(current_frame_info, zero_frame_info): Adjust type.
(mt_ucmpsi3_libcall): Renamed.
(mt_flag_delayed_branch): Renamed.
(mt_struct_value_rtx, mt_return_addr_rtx): Renamed.
(mt_nops_required, mt_nop_reasons): Renamed.
(mt_asm_output_opcode, mt_get_attr_type, mt_final_prescan_insn,
mt_debug_stack, mt_print_operand_simple_address,
mt_print_operand_address, mt_print_operand): Renamed, adjusted.
(mt_init_cumulative_args, mt_function_arg_slotno, mt_function_arg,
mt_function_arg_advance, mt_arg_partial_bytes,
mt_pass_by_reference, mt_function_arg_boundary,
mt_reg_ok_for_base_p, mt_legitimate_simple_address_p,
mt_legitimate_address_p): Renamed, adjusted.
(mt_cpu): Renamed.
(mt_init_machine_status, mt_override_options, mt_builtin_saveregs,
mt_va_start, mt_compute_frame_size, mt_emit_save_restore,
mt_emit_save_fp, mt_emit_save_regs, mt_interrupt_function_p,
mt_expand_prologue, mt_epilogue_uses, mt_expand_epilogue,
mt_expand_eh_return, mt_emit_eh_prologue,
mt_handl_interrupt_attribute): Renamed, adjusted.
(mt_attribute_table): Renamed, adjusted.
(mt_initial_elimination_offset, mt_generate_compare,
mt_emit_cbranch, mt_set_memflags_1, mt_set_memflags,
mt_secondary_reload_class, mt_function_value, mt_split_words,
mt_pass_in_stack, mt_add_loop, mt_loop_nesting, mt_block_length,
mt_scan_loop, mt_reorg_loops): Renamed, adjusted.
(mt_labels): Renamed.
(mt_add_branches, mt_check_delay_slot, mt_reorg_hazard,
mt_machine_reorg): Renamed, adjusted.
(mt_attribute_table: Renamed.
(TARGET_ATTRIBUTE_TABLE, TARGET_STRUCT_VALUE_RTX,
TARGET_PASS_BY_REFERENCE, TARGET_MUST_PASS_IN_STACK,
TARGET_ARG_PARTIAL_BYTES, TARGET_MACHINE_DEPENDENT_REORG): Adjust.
* config/mt/mt.opt (march): Set mt_cpu_string.
* config/mt/mt.h (mt_ucmpsi3_libcall, mt_cpu): Renamed.
(TARGET_CPU_CPP_BUILTINS): Adjust.
(TARGET_MS1_64_001, TARGET_MS1_16_002, TARGET_MS1_16_003,
TARGET_MS2): Adjust.
(TARGET_VERSION, OVERRIDE_OPTIONS, SECONDARY_RELOAD_CLASS): Adjust.
(MT_MIN_INT): Renamed.
(RETURN_ADDR_RTX): Adjust.
(struct mt_frame_info): Renamed.
(current_frame_info): Adjust type.
(INITIAL_ELIMINATION_OFFSET): Adjust.
(MT_NUM_ARG_REGS): Renamed.
(REG_PARM_STACK_SPACE, FUNCTION_ARG, INIT_CUMULATVE_ARGS,
FUNCTION_ARG_ADVANCE, FUNCTION_ARG_BOUNDARY, FUNCTION_VALUE,
LIBCALL_VALUE, EPILOGUE_USES, EXPAND_BUILTIN_VA_START,
GO_IF_LEGITIMATE_ADDRESS, REG_OK_FOR_BASE_P, ASM_OUTPUT_OPCODE,
FINAL_REPSCAN_INSN, PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Adjust.
(mt_compare_op0, mt_compare_op1): Renamed.
* config/mt/mt-protos.h: Rename prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108569 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-12-15 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 15 Dec 2005 10:34:44 +0000 (10:34 +0000)]
2005-12-15  Richard Guenther  <rguenther@suse.de>

* tree-flow.h (okay_component_ref_for_subvars): Remove.
(get_ref_base_and_extent): Declare.
* tree-dfa.c (okay_component_ref_for_subvars): Remove.
(get_ref_base_and_extent): New function.
* tree-ssa-alias.c (find_used_portions): Use it.
* tree-ssa-structalias.c (get_constraint_for_component_ref):
Likewise.
* tree-ssa-operands.c (get_expr_operands): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108568 138bc75d-0d04-0410-961f-82ee72b054a4