1. 04 Feb, 2008 8 commits
    • re PR middle-end/33631 (auto structure not initialized correctly) · 22199fd2
      2008-02-04  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/33631
      	* expr.c (count_type_elements): Give for unions instead of
      	guessing.
      
      	* gcc.c-torture/execute/pr33631.c: New testcase.
      
      From-SVN: r132096
      Richard Guenther committed
    • re PR java/35035 (Has any one managed to run the libjava test suite on powerpc-apple-darwin9?) · 70c7fe74
      2008-02-04  Richard Guenther  <rguenther@suse.de>
      
      	PR java/35035
      	* decl.c (record_builtin_java_type): Make jboolean a
      	integer type again where its mode doesn't match that of bool.
      
      From-SVN: r132095
      Richard Guenther committed
    • re PR other/31405 (fixincludes needed for wchar from glibc 2.3.6) · 8181078a
      	PR other/31405
      	* inclhack.def: (glibc_c99_inline_1a): Re-add last change.
      	(glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
      	__extern_inline|__GNU_STDC_INLINE__.
      	(glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
      	<bypass>: Change from __STDC_VERSION__ to
      	__extern_inline|__GNU_STDC_INLINE__.
      	<first c_fix_arg>: Change from #ifdef-wrapping the extern part to
      	appending attribute-gnu_inline.
      	<second c_fix_arg>: Remove.
      	<test_text>: Remove __extern_inline line.
      	* tests/base/features.h: Re-add.
      	* tests/base/sys/sysmacros.h: Adjust.
      	* fixincl.x: Regenerate.
      
      (Oops: forgot PR-annotation.)
      
      From-SVN: r132093
      Hans-Peter Nilsson committed
    • inclhack.def: (glibc_c99_inline_1a): Re-add last change. · c91e2eae
      	* inclhack.def: (glibc_c99_inline_1a): Re-add last change.
      	(glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
      	__extern_inline|__GNU_STDC_INLINE__.
      	(glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
      	<bypass>: Change from __STDC_VERSION__ to
      	__extern_inline|__GNU_STDC_INLINE__.
      	<first c_fix_arg>: Change from #ifdef-wrapping the extern part to
      	appending attribute-gnu_inline.
      	<second c_fix_arg>: Remove.
      	<test_text>: Remove __extern_inline line.
      	* tests/base/features.h: Re-add.
      	* tests/base/sys/sysmacros.h: Adjust.
      	* fixincl.x: Regenerate.
      
      From-SVN: r132092
      Hans-Peter Nilsson committed
    • re PR middle-end/35043 (ICE in tree-data-ref because signed_type_for_types returns NULL) · 1a1640db
      2008-02-04  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/35043
      	* gimplify.c (gimplify_init_ctor_eval): Convert array indices
      	to TYPE_DOMAINs base type instead of using bitsizetype here.
      
      	* gcc.c-torture/compile/pr35043.c: New testcase.
      
      From-SVN: r132091
      Richard Guenther committed
    • re PR c++/33916 (Default constructor fails to initialize array members) · 0fcedd9c
              PR c++/33916
              * cp/init.c (build_value_init_1): New function.
              (build_value_init): New function.
              * cp/typeck2.c (build_functional_cast): Call it.
              * cp/cp-gimplify.c (cp_gimplify_init_expr): Handle its output.
      
              * cp/cp-tree.h (TYPE_HAS_USER_CONSTRUCTOR): Rename from
              TYPE_HAS_CONSTRUCTOR.
              * cp/class.c (finish_struct_bits, maybe_warn_about_overly_private_class,
              add_implicitly_declared_members): Adjust.
              (check_field_decls): Adjust. Remove warnings about reference/const
              in class without constructor.
              (check_bases_and_members): Adjust.  Give those warnings here instead.
              * cp/decl.c (fixup_anonymous_aggr): Adjust.
              (check_initializer): Adjust, clarify logic slightly.
              (grok_special_member_properties): Adjust, only set if user-provided.
              * cp/rtti.c (create_tinfo_types): Don't set.
              * cp/cvt.c (ocp_convert): Remove exception for vtable_entry_type et al.
              Use same_type_ignoring_top_level_qualifiers_p.
              * cp/pt.c (check_explicit_specialization): Adjust.
              (instantiate_class_template): Adjust.
      
              * print-tree.c (print_node) [CONSTRUCTOR]: Print elements.
      
      Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
      
      From-SVN: r132088
      Jason Merrill committed
    • re PR other/29972 (typos in the manual) · a31cfd58
      	PR other/29972
      	* doc/invoke.texi (C++ Dialect Options, Optimize Options)
      	(HPPA Options, i386 and x86-64 Options, IA-64 Options)
      	(RS/6000 and PowerPC Options): Fix typos and markup.
      	* doc/passes.texi (Tree-SSA passes): Likewise.
      
      From-SVN: r132087
      Ralf Wildenhues committed
    • Daily bump. · 91f385f8
      From-SVN: r132085
      GCC Administrator committed
  2. 03 Feb, 2008 4 commits
  3. 02 Feb, 2008 6 commits
  4. 01 Feb, 2008 12 commits
  5. 31 Jan, 2008 10 commits
    • c-tree.texi (Types): Fix grammar. · dc9a511d
      	* doc/c-tree.texi (Types): Fix grammar.
      	(Expression trees): Ditto.
      	* doc/passes.texi (Tree-SSA passes): Ditto.
      
      	* doc/configterms.texi (Configure Terms): Fix typo.
      	* doc/cpp.texi (Common Predefined Macros): Ditto.
      	* doc/md.texi (Machine Constraints): Ditto.
      
      	* doc/makefile.texi (Makefile): Add comma.
      
      From-SVN: r131987
      Tom Browder committed
    • sourcebuild.texi (Front End): Remove references to CVS and CVSROOT/modules. · 5dc81ee9
      	* doc/sourcebuild.texi (Front End): Remove references to CVS
      	and CVSROOT/modules.
      	(Texinfo Manuals): Replace reference to CVS by one to SVN.
      	(Back End): Remove reference to CVS.
      
      Co-Authored-By: Gerald Pfeifer <gerald@pfeifer.com>
      
      From-SVN: r131986
      Tom Browder committed
    • re PR fortran/34910 (ICE on invalid assignments in doubly-contained functions) · db39d0c2
      2008-01-31  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/34910
      	* expr.c (gfc_check_assign): It is an error to assign
      	to a sibling procedure.
      
      2008-01-31  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/34910
      	* gfortran.dg/proc_assign_2.f90: New test.
      
      From-SVN: r131985
      Paul Thomas committed
    • re PR c++/34935 (ICE with attribute may_alias) · 0451301c
      2008-01-31  Douglas Gregor  <doug.gregor@gmail.com>
                 Jakub Jelinek  <jakub@redhat.com>
      
             PR c++/34935
             PR c++/34936
             * typeck.c (structural_comptypes): Handle comparisons of
             VOID_TYPE, BOOLEAN_TYPE, INTEGER_TYPE, FIXED_POINT_TYPE, and
             REAL_TYPE nodes.
             * mangle.c (write_builtin_type): Map down to the canonical type,
             which will be one of the predefined type nodes.
      
      2008-01-31  Douglas Gregor  <doug.gregor@gmail.com>
                 Jakub Jelinek  <jakub@redhat.com>
      
             PR c++/34935
             PR c++/34936
             * g++.dg/ext/alias-canon.C: New.
             * g++.dg/ext/alias-mangle.C: New.
      	
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r131984
      Douglas Gregor committed
    • re PR target/34900 (target mips64vrel-elf. Internal compiler error (in… · 5ca3d30c
      re PR target/34900 (target mips64vrel-elf. Internal compiler error (in reload_cse_simplify_operands, at postreload.c:392) while building libiberty)
      
      gcc/
      	PR target/34900
      	* config/mips/mips.c (gen_load_const_gp): New function, taking a
      	comment from...
      	(mips16_gp_pseudo_reg): ...here.
      	* config/mips/mips.md (load_const_gp): Replace with...
      	(load_const_gp_<mode>): ...this :P-based insn.
      
      From-SVN: r131983
      Richard Sandiford committed
    • auto_ptr.h: Fix comment typos. · 28dac70a
      2008-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
          
      	* include/backward/auto_ptr.h: Fix comment typos.
      	* include/bits/algorithmfwd.h: Likewise.
      	* include/bits/basic_ios.h: Likewise.
      	* include/bits/c++config: Likewise.
      	* include/bits/char_traits.h: Likewise.
      	* include/bits/codecvt.h: Likewise.
      	* include/bits/gslice.h: Likewise.
      	* include/bits/ios_base.h: Likewise.
      	* include/bits/locale_facets.h: Likewise.
      	* include/bits/locale_facets_nonio.tcc: Likewise.
      	* include/bits/postypes.h: Likewise.
      	* include/bits/sstream.tcc: Likewise.
      	* include/bits/stl_algo.h: Likewise.
      	* include/bits/stl_deque.h: Likewise.
      	* include/bits/stl_iterator.h: Likewise.
      	* include/bits/stl_iterator_base_types.h Likewise.
      	* include/bits/stl_list.h: Likewise.
      	* include/bits/stl_map.h: Likewise.
      	* include/bits/stl_multimap.h: Likewise.
      	* include/bits/stl_multiset.h: Likewise.
      	* include/bits/stl_set.h: Likewise.
      	* include/bits/stl_vector.h: Likewise.
      	* include/bits/valarray_array.h: Likewise.
      	* include/debug/safe_base.h: Likewise.
      	* include/ext/bitmap_allocator.h: Likewise.
      	* include/ext/codecvt_specializations.h Likewise.
      	* include/ext/mt_allocator.h: Likewise.
      	* include/ext/rc_string_base.h: Likewise.
      	* include/ext/rope: Likewise.
      	* include/parallel/checkers.h: Likewise.
      	* include/parallel/find.h: Likewise.
      	* include/parallel/multiseq_selection.h: Likewise.
      	* include/parallel/partition.h: Likewise.
      	* include/parallel/settings.h: Likewise.
      	* include/std/bitset: Likewise.
      	* include/std/complex: Likewise.
      	* include/std/fstream: Likewise.
      	* include/std/istream: Likewise.
      	* include/std/limits: Likewise.
      	* include/std/ostream: Likewise.
      	* include/std/stdexcept: Likewise.
      	* include/std/streambuf: Likewise.
      	* include/tr1/bessel_function.tcc: Likewise.
      	* include/tr1/cmath: Likewise.
      	* include/tr1/ell_integral.tcc: Likewise.
      	* include/tr1/hypergeometric.tcc: Likewise.
      	* include/tr1/legendre_function.tcc: Likewise.
      	* include/tr1_impl/random: Likewise.
      	* include/tr1_impl/regex: Likewise.
      
      From-SVN: r131982
      Ralf Wildenhues committed
    • invoke.texi (-ansi): Mention explicitly corresponding -std= options. · 89fe7f1b
      2008-01-31  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	* doc/invoke.texi (-ansi): Mention explicitly corresponding -std=
      	options. Minor fixes.
      	(-std): Move reference to standards closer to where language
      	standards are first mentioned.
      
      From-SVN: r131980
      Manuel López-Ibáñez committed
    • 3983-2.cc: Avoid -Wall warnings. · 395c9e79
      2008-01-31  Paolo Carlini  <pcarlini@suse.de>
      
      	* testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
      	Avoid -Wall warnings.
      	* testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
      	Likewise.
      	* testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
      	* testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
      	* testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
      	* testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/array/requirements/contiguous.cc: 
      	Likewise.
      	* testsuite/tr1/6_containers/array/requirements/member_swap.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
      	* testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/array/comparison_operators/
      	less_or_equal.cc: Likewise.
      	* testsuite/tr1/6_containers/array/comparison_operators/
      	greater_or_equal.cc: Likewise.
      	* testsuite/tr1/6_containers/array/comparison_operators/less.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
      	* testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
      	* testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
      	* testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
      	* testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
      	* testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
      	* testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
      	* testsuite/thread/guard.cc: Likewise.
      	* testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
      	* testsuite/20_util/tuple/cons/constructor.cc: Likewise.
      	* testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
      	* testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
      	* testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
      	* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
      	* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
      	Likewise.
      
      From-SVN: r131979
      Paolo Carlini committed
    • re PR target/34995 (MIPS16 ICE in gcc.c-torture/compile/pr34856.c) · 1f7f6676
      gcc/
      	PR rtl-optimization/34995
      	* reload.c (alternative_allows_const_pool_ref): Take an rtx
      	parameter and return a bool.  If the rtx parameter is nonnull,
      	check that it satisfies an EXTRA_MEMORY_CONSTRAINT.
      	(find_reloads): Update call accordingly.  Pass the new operand
      	if it needed no address reloads, otherwise pass null.
      
      From-SVN: r131976
      Richard Sandiford committed
    • Change accidental 2007 dates to 2008. · 9a75e92d
      From-SVN: r131975
      Bob Wilson committed