OSDN Git Service

pf3gnuchains/gcc-fork.git
16 years ago2008-02-03 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 3 Feb 2008 11:29:27 +0000 (11:29 +0000)]
2008-02-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32760
* resolve.c (resolve_allocate_deallocate): New function.
(resolve_code): Call it for allocate and deallocate.
* match.c (gfc_match_allocate, gfc_match_deallocate) : Remove
the checking of the STAT tag and put in above new function.
* primary,c (match_variable): Do not fix flavor of host
associated symbols yet if the type is not known.

2008-02-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32760
* gfortran.dg/host_assoc_variable_1.f90: New test.
* gfortran.dg/allocate_stat.f90: Change last three error messages.

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

16 years agoDaily bump.
gccadmin [Sun, 3 Feb 2008 00:17:33 +0000 (00:17 +0000)]
Daily bump.

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

16 years ago PR target/35045
matz [Sat, 2 Feb 2008 15:00:57 +0000 (15:00 +0000)]
    PR target/35045
        * postreload-gcse.c (record_last_reg_set_info_regno): Renamed
        from record_last_reg_set_info.
        (record_last_reg_set_info): Take an RTX argument, iterate over all
        constituent hardregs.
        (record_last_set_info, record_opr_changes): Change calls to
        new signature or to record_last_reg_set_info_regno.

        * gcc.dg/pr35045.c: New test.

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

16 years ago2008-02-02 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sat, 2 Feb 2008 13:50:55 +0000 (13:50 +0000)]
2008-02-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/35001
* m4/shape.m4:  Return 0 for extents <= 0.
* generated/shape_i4.c:  Regenerated.
* generated/shape_i8.c:  Regenerated.
* generated/shape_i16.c:  Regenerated.

2008-02-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/35001
* gfortran.dg/shape_4.f90:  New test.

Fixed in regression-only mode by special dispense (see the PR).

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

16 years ago * doc/extend.texi (X86 Built-in Functions): Fix grammar.
gerald [Sat, 2 Feb 2008 13:48:16 +0000 (13:48 +0000)]
* doc/extend.texi (X86 Built-in Functions): Fix grammar.

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

16 years ago * gcc.target/cris/torture/pr34773.c: Use __asm__, not asm.
hp [Sat, 2 Feb 2008 03:38:51 +0000 (03:38 +0000)]
* gcc.target/cris/torture/pr34773.c: Use __asm__, not asm.

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

16 years ago * configure.ac: Enable fortran for cris-*-elf and crisv32-*-elf.
hp [Sat, 2 Feb 2008 03:29:30 +0000 (03:29 +0000)]
* configure.ac: Enable fortran for cris-*-elf and crisv32-*-elf.
* configure: Regenerate.

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

16 years agoDaily bump.
gccadmin [Sat, 2 Feb 2008 00:17:02 +0000 (00:17 +0000)]
Daily bump.

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

16 years ago PR rtl-optimization/34773
hp [Fri, 1 Feb 2008 21:28:46 +0000 (21:28 +0000)]
PR rtl-optimization/34773
* reg-notes.def (EQUAL): Mention significance of combination of
REG_EQUAL and REG_RETVAL.
* fwprop.c (try_fwprop_subst): Don't add REG_EQUAL to an
insn that has a REG_RETVAL.

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

16 years ago PR rtl-optimization/34773
hp [Fri, 1 Feb 2008 21:28:06 +0000 (21:28 +0000)]
PR rtl-optimization/34773
* gcc.target/cris/torture/pr34773.c: New test.

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

16 years ago2008-01-31 Marc Gauthier <marc@tensilica.com>
bwilson [Fri, 1 Feb 2008 18:31:59 +0000 (18:31 +0000)]
2008-01-31  Marc Gauthier  <marc@tensilica.com>
* configure.ac (xtensa*-*-*): Recognize processor variants.
* configure: Regenerate.

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

16 years ago PR bootstrap/33781
sayle [Fri, 1 Feb 2008 17:41:48 +0000 (17:41 +0000)]
PR bootstrap/33781
* configure.ac (--enable-fixed-point): Disable unless explicitly
requested on IRIX.
* configure: Regenerate.

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

16 years ago* lib/target-supports.exp (check_profiling_available): Do not expect profiling to...
nickc [Fri, 1 Feb 2008 16:39:11 +0000 (16:39 +0000)]
* lib/target-supports.exp (check_profiling_available): Do not expect profiling to work on the xstormy16 target.

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

16 years ago * cpplib.pot: Regenerate.
jsm28 [Fri, 1 Feb 2008 16:26:03 +0000 (16:26 +0000)]
* cpplib.pot: Regenerate.

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

16 years ago * gcc.pot: Regenerate.
jsm28 [Fri, 1 Feb 2008 16:25:00 +0000 (16:25 +0000)]
* gcc.pot: Regenerate.

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

16 years ago2008-02-01 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 1 Feb 2008 10:14:08 +0000 (10:14 +0000)]
2008-02-01  Richard Guenther  <rguenther@suse.de>

PR other/35042
* invoke.texi (-finline-limit): Remove no longer true parts
of the documentation.  Note that there is no default value.

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

16 years ago PR testsuite/35047
uros [Fri, 1 Feb 2008 08:57:11 +0000 (08:57 +0000)]
PR testsuite/35047
* gcc.c-torture/execute/20050316-2.x: New file.
* gcc.target/i386/pr17390.c: Update scan pattern.
* gcc.dg/builtin-apply4.c: Add -mno-mmx for 32bit x86 targets.
* g++.dg/tree-ssa/ivopts-1.C: Remove XPASS for x86 targets.

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

16 years ago PR c/29326
bje [Fri, 1 Feb 2008 01:41:27 +0000 (01:41 +0000)]
PR c/29326
* doc/extend.texi (Other Builtins): Document.

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

16 years agoDaily bump.
gccadmin [Fri, 1 Feb 2008 00:17:23 +0000 (00:17 +0000)]
Daily bump.

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

16 years ago * compile: Make executable.
danglin [Fri, 1 Feb 2008 00:06:00 +0000 (00:06 +0000)]
* compile: Make executable.

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

16 years ago * doc/c-tree.texi (Types): Fix grammar.
gerald [Thu, 31 Jan 2008 23:59:46 +0000 (23:59 +0000)]
* 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.

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

16 years ago * doc/sourcebuild.texi (Front End): Remove references to CVS
gerald [Thu, 31 Jan 2008 23:58:50 +0000 (23:58 +0000)]
* 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.

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

16 years ago2008-01-31 Paul Thomas <pault@gcc.gnu.org>
pault [Thu, 31 Jan 2008 22:20:47 +0000 (22:20 +0000)]
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.

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

16 years ago2008-01-31 Douglas Gregor <doug.gregor@gmail.com>
dgregor [Thu, 31 Jan 2008 20:06:33 +0000 (20:06 +0000)]
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.

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

16 years agogcc/
rsandifo [Thu, 31 Jan 2008 19:28:03 +0000 (19:28 +0000)]
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.

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

16 years ago2008-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
paolo [Thu, 31 Jan 2008 18:44:55 +0000 (18:44 +0000)]
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.

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

16 years ago2008-01-31 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
manu [Thu, 31 Jan 2008 18:28:29 +0000 (18:28 +0000)]
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.

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

16 years ago2008-01-31 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 31 Jan 2008 17:19:55 +0000 (17:19 +0000)]
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.

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

16 years agogcc/
rsandifo [Thu, 31 Jan 2008 09:25:52 +0000 (09:25 +0000)]
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.

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

16 years agoChange accidental 2007 dates to 2008.
bwilson [Thu, 31 Jan 2008 01:14:34 +0000 (01:14 +0000)]
Change accidental 2007 dates to 2008.

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

16 years agoDaily bump.
gccadmin [Thu, 31 Jan 2008 00:17:13 +0000 (00:17 +0000)]
Daily bump.

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

16 years ago PR c/34993
rth [Thu, 31 Jan 2008 00:05:19 +0000 (00:05 +0000)]
    PR c/34993
        * tree.c (build_type_attribute_qual_variant): Skip TYPE_DOMAIN
        for unbounded arrays.

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

16 years ago * gcc.c-torture/execute/pr34982.c: Add forgotten return 0.
hubicka [Wed, 30 Jan 2008 23:25:35 +0000 (23:25 +0000)]
* gcc.c-torture/execute/pr34982.c: Add forgotten return 0.

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

16 years ago * g++.dg/other/first-global.C: Add -fpie for all pic targets.
ghazi [Wed, 30 Jan 2008 20:40:58 +0000 (20:40 +0000)]
* g++.dg/other/first-global.C: Add -fpie for all pic targets.
* g++.dg/parse/attr-externally-visible-1.C: Likewise.

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

16 years ago * config/i386/xmmintrin.h (_mm_prefetch): Added const to first arg.
rus [Wed, 30 Jan 2008 19:28:09 +0000 (19:28 +0000)]
* config/i386/xmmintrin.h (_mm_prefetch): Added const to first arg.

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

16 years ago PR target/34982
hubicka [Wed, 30 Jan 2008 15:54:14 +0000 (15:54 +0000)]
PR target/34982
* i386.c (init_cumulative_args): Use real function declaration when
calling locally.

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

16 years ago2008-01-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 30 Jan 2008 14:36:58 +0000 (14:36 +0000)]
2008-01-30  H.J. Lu  <hongjiu.lu@intel.com>

PR libffi/34612
* src/x86/sysv.S (ffi_closure_SYSV): Pop 4 byte from stack when
returning struct.

* testsuite/libffi.call/call.exp: Add "-O2 -fomit-frame-pointer"
tests.

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

16 years ago2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
bonzini [Wed, 30 Jan 2008 13:36:35 +0000 (13:36 +0000)]
2008-01-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        PR bootstrap/34922
        * configure.ac (PARSE_ARGS): Push suitable setting of
        ac_subdirs_all, for `./configure --help=recursive'.
        Handle `+' in generic toplevel directory disabling.
        * configure: Regenerate.

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

16 years agogcc/
rsandifo [Wed, 30 Jan 2008 11:18:27 +0000 (11:18 +0000)]
gcc/
PR rtl-optimization/34998
* global.c (build_insn_chain): Treat non-subreg_lowpart
SUBREGs of pseudos as clobbering all the words covered by the
SUBREG, not just all the bytes.
* ra-conflict.c (clear_reg_in_live): Likewise.  Take the
original df_ref rather than an extract parameter.
(global_conflicts): Update call accordingly.

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

16 years ago2008-01-30 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Wed, 30 Jan 2008 08:00:51 +0000 (08:00 +0000)]
2008-01-30  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/fixdfdi.h (__fixunstfdi, __fixtfdi): Rearrange
the overflow check to make it easier to read.
(__fixtfdi): Change the type of the ll member in union
long_double to UDItype_x.

2008-01-30  Andreas Krebbel  <krebbel1@de.ibm.com>

* gcc.target/s390/tf_to_di-1.c: New testcase.

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

16 years ago2008-01-30 Paul Thomas <pault@gcc.gnu.org>
pault [Wed, 30 Jan 2008 06:56:10 +0000 (06:56 +0000)]
2008-01-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34975
* symbol.c (gfc_delete_symtree, gfc_undo_symbols): Rename
delete_symtree to gfc_delete_symtree.
* gfortran.h : Add prototype for gfc_delete_symtree.
* module.c (load_generic_interfaces): Transfer symbol to a
unique symtree and delete old symtree, instead of renaming.
(read_module): The rsym and the found symbol are the same, so
the found symtree can be deleted.

PR fortran/34429
* decl.c (match_char_spec): Remove the constraint on deferred
matching of functions and free the length expression.
delete_symtree to gfc_delete_symtree.
(gfc_match_type_spec): Whitespace.
(gfc_match_function_decl): Defer characteristic association for
all types except BT_UNKNOWN.
* parse.c (decode_specification_statement): Only derived type
function matching is delayed to the end of specification.

2008-01-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34975
* gfortran.dg/use_only_3.f90: New test.
* gfortran.dg/use_only_3.inc: Modules for new test.

PR fortran/34429
* gfortran.dg/function_charlen_2.f90: New test.

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

16 years agoDaily bump.
gccadmin [Wed, 30 Jan 2008 00:17:38 +0000 (00:17 +0000)]
Daily bump.

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

16 years ago PR middle-end/34969
jakub [Tue, 29 Jan 2008 23:21:24 +0000 (23:21 +0000)]
PR middle-end/34969
* cgraph.h (cgraph_update_edges_for_call_stmt): New prototype.
* cgraph.c (cgraph_update_edges_for_call_stmt): New function.
* tree-inline.c (fold_marked_statements): Call
cgraph_update_edges_for_call_stmt if folding a call statement.
* cgraphunit.c (verify_cgraph_node): Set cfun to this_cfun for
debug_generic_stmt calls, reset it back afterwards.

* gcc.dg/pr34969.c: New test.

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

16 years ago PR c/35017
jakub [Tue, 29 Jan 2008 23:19:07 +0000 (23:19 +0000)]
PR c/35017
* c-decl.c (start_decl): Don't pedwarn about TREE_READONLY
static decls.
* c-typeck.c (build_external_ref): Don't pedwarn about
static vars in current function's scope.

* gcc.dg/inline-25.c: New test.
* gcc.dg/inline-26.c: New test.
* gcc.dg/inline-27.c: New test.

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

16 years agoFix 35004, grow tree_code bitfield to 16 bits
meissner [Tue, 29 Jan 2008 17:35:17 +0000 (17:35 +0000)]
Fix 35004, grow tree_code bitfield to 16 bits

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

16 years ago * config.gcc (i[34567]86-*-nto-qnx*): Remove deprecation.
jsm28 [Tue, 29 Jan 2008 16:28:10 +0000 (16:28 +0000)]
* config.gcc (i[34567]86-*-nto-qnx*): Remove deprecation.

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

16 years ago * sv.po: Update.
jsm28 [Tue, 29 Jan 2008 16:07:21 +0000 (16:07 +0000)]
* sv.po: Update.

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

16 years ago2008-01-29 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Tue, 29 Jan 2008 15:56:20 +0000 (15:56 +0000)]
2008-01-29  Bernhard Fischer  <aldot@gcc.gnu.org>

PR c/35002
* ipa-struct-reorg.c: Fix spelling.
* params.def: Ditto.

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

16 years ago2008-01-29 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 29 Jan 2008 15:47:19 +0000 (15:47 +0000)]
2008-01-29  Richard Guenther  <rguenther@suse.de>

PR middle-end/35006
* tree-inline.h (struct copy_body_data): Add remapping_type_depth
field.
* tree-inline.c (remap_type): Increment remapping_type_depth
around remapping types.
(copy_body_r): Only add referenced variables if they are referenced
from code, not types.

* gcc.c-torture/compile/pr35006.c: New testcase.

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

16 years ago2008-01-29 Douglas Gregor <doug.gregor@gmail.com>
dgregor [Tue, 29 Jan 2008 13:59:59 +0000 (13:59 +0000)]
2008-01-29  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/34055
PR c++/34103
PR c++/34219
PR c++/34606
PR c++/34753
PR c++/34754
PR c++/34755
PR c++/34919
PR c++/34961
* c-pretty-print.c (pp_c_type_qualifier_list): Don't try to print
qualifiers for an ERROR_MARK_NODE or a NULL_TREE.

2008-01-29  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/34055
PR c++/34103
PR c++/34219
PR c++/34606
PR c++/34753
PR c++/34754
PR c++/34755
PR c++/34919
PR c++/34961
* typeck.c (check_return_expr): Tweak call to
check_for_bare_parameter_packs.
* class.c (add_method): Be careful with error_mark_nodes.
* cp-tree.h (check_for_bare_parameter_packs): Remove "*" from
signature.
* pt.c (struct find_parameter_pack_data): Remove
SET_PACKS_TO_ERROR.
(find_parameter_packs_r): Don't use SET_PACKS_TO_ERROR.
(uses_parameter_packs): Don't set SET_PACKS_TO_ERROR.
(make_pack_expansion): Ditto.
(check_for_bare_parameter_packs): Parameter is now a tree, not a
tree*.
(process_template_parm): Tweak call to
check_for_bare_parameter_packs.
(push_template_decl_real): Tweak calls to
check_for_bare_parameter_packs. If bare parameter packs are found
in the list of exceptions, clear out that list after giving an
error.
* semantics.c (finish_cond): Tweak call to
check_for_bare_parameter_packs.
(finish_expr_stmt): Ditto.
(finish_for_expr): Ditto.
(finish_switch_cond): Ditto.
(finish_mem_initializers): Ditto.
(finish_member_declaration): Ditto.
(finish_static_assert): Check for bare parameter packs in the
condition.
* decl2.c (cplus_decl_attributes): Check for bare parameter packs in the
attributes of a declaration.
* parser.c (cp_parser_using_declaration): Tweak call to
check_for_bare_parameter_packs.
(cp_parser_base_clause): Ditto.

2008-01-29  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/34055
PR c++/34103
PR c++/34219
PR c++/34606
PR c++/34753
PR c++/34754
PR c++/34755
PR c++/34919
PR c++/34961
* g++.dg/cpp0x/vt-34219-2.C: New.
* g++.dg/cpp0x/pr32126.C: Tweak expected error messages.
* g++.dg/cpp0x/vt-34961.C: New.
* g++.dg/cpp0x/vt-34055.C: Tweak error messages; add new test
cases from the re-opened PR.
* g++.dg/cpp0x/vt-34753.C: New.
* g++.dg/cpp0x/vt-34919.C: New.
* g++.dg/cpp0x/vt-34754.C: New.
* g++.dg/cpp0x/vt-34606.C: New.
* g++.dg/cpp0x/vt-34219.C: New.
* g++.dg/cpp0x/pr32125.C: Tweak expected error messages.
* g++.dg/cpp0x/vt-34755.C: New.
* g++.dg/cpp0x/pr31438.C: Ditto.
* g++.dg/cpp0x/variadic81.C: Ditto.

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

16 years agogcc/testsuite/
rsandifo [Tue, 29 Jan 2008 10:19:01 +0000 (10:19 +0000)]
gcc/testsuite/
* g++.dg/torture/pr34641.C: Put the dg-do first.

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

16 years agogcc/testsuite/
rsandifo [Tue, 29 Jan 2008 10:17:29 +0000 (10:17 +0000)]
gcc/testsuite/
* gcc.target/mips/lazy-binding-1.c: Skip for mips16.

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

16 years ago PR c++/35007
jason [Tue, 29 Jan 2008 05:50:24 +0000 (05:50 +0000)]
    PR c++/35007
        * class.c (build_base_path): Fix !want_pointer case.

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

16 years agoDaily bump.
gccadmin [Tue, 29 Jan 2008 00:17:43 +0000 (00:17 +0000)]
Daily bump.

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

16 years ago PR target/34412
aesok [Mon, 28 Jan 2008 22:39:11 +0000 (22:39 +0000)]
PR target/34412
* config/avr/avr.c (expand_prologue): Use correct QI mode frame
pointer for tiny stack.

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

16 years ago2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Mon, 28 Jan 2008 21:08:51 +0000 (21:08 +0000)]
2008-01-28  Bernhard Fischer  <aldot@gcc.gnu.org>

* doc/tree-ssa.texi: Add cindex PHI nodes and improve wording.

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

16 years ago2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Mon, 28 Jan 2008 20:59:04 +0000 (20:59 +0000)]
2008-01-28  Bernhard Fischer  <aldot@gcc.gnu.org>

* config/vx-common.h: Fix typo in comment.

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

16 years ago2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Mon, 28 Jan 2008 20:54:34 +0000 (20:54 +0000)]
2008-01-28  Bernhard Fischer  <aldot@gcc.gnu.org>

* g++.old-deja/g++.pt/incomplete1.C: Fix typo in comment.

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

16 years ago PR c++/34862
ian [Mon, 28 Jan 2008 19:43:51 +0000 (19:43 +0000)]
PR c++/34862
PR c++/33407
* tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
coalesce pointers if they have different DECL_NO_TBAA_P values.
* tree-ssa-copy.c (may_propagate_copy): Don't propagate copies
between variables with different DECL_NO_TBAA_P values.

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

16 years ago2008-01-27 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Mon, 28 Jan 2008 19:02:47 +0000 (19:02 +0000)]
2008-01-27  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/34980
* m4/shape.m4:  If return array is empty, return early.
* generated/shape_i4.c:  Regenerated.
* generated/shape_i8.c:  Regenerated.
* generated/shape_i16.c:  Regenerated.

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

16 years agogcc/
froydnj [Mon, 28 Jan 2008 18:31:19 +0000 (18:31 +0000)]
gcc/
PR 31535
* config/rs6000/rs6000.c (small_data_operand): Vectors and floats
are not legitimate small data references on SPE targets.

gcc/testsuite/
PR 31535
* gcc.target/powerpc/spe-small-data-1.c: New test.
* gcc.target/powerpc/spe-small-data-2.c: New test.

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

16 years ago2008-01-28 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 28 Jan 2008 17:25:55 +0000 (17:25 +0000)]
2008-01-28  Tobias Burnus  <burnus@net-b.de>

    PR libfortran/34980
    * simplify.c (gfc_simplify_shape): Simplify rank zero arrays.

2008-01-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR libfortran/34980
    * gfortran.dg/shape_3.f90:  New test.

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

16 years ago2008-01-27 Bernhard Fischer <rep.dot.nop@gmail.com>
tromey [Mon, 28 Jan 2008 17:08:39 +0000 (17:08 +0000)]
2008-01-27  Bernhard Fischer  <rep.dot.nop@gmail.com>

* java/util/SimpleTimeZone.java (SimpleTimeZone): Fix typo in comment.
* gnu/CORBA/GIOP/v1_2/RequestHeader.java (RequestHeader): Fix typo in
exception message.

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

16 years ago2008-01-28 David Daney <ddaney@avtrex.com>
daney [Mon, 28 Jan 2008 17:01:05 +0000 (17:01 +0000)]
2008-01-28  David Daney  <ddaney@avtrex.com>

* doc/install.texi (mips-*-*): Recommend binutils 2.18.

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

16 years ago2008-01-28 David Daney <ddaney@avtrex.com>
daney [Mon, 28 Jan 2008 16:58:54 +0000 (16:58 +0000)]
2008-01-28  David Daney  <ddaney@avtrex.com>

* doc/install.texi (--disable-libgcj-bc):  Reword documentation.

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

16 years ago * gcc_release (build_sources): Pass --disable-multilib to
jsm28 [Mon, 28 Jan 2008 16:38:40 +0000 (16:38 +0000)]
* gcc_release (build_sources): Pass --disable-multilib to
gcc_build.
(SVN): Don't use full path.

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

16 years ago * tools/classes/gnu/classpath/tools/native2ascii/Native2ASCII$3.class:
tromey [Mon, 28 Jan 2008 16:23:41 +0000 (16:23 +0000)]
* tools/classes/gnu/classpath/tools/native2ascii/Native2ASCII$3.class:
Added.

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

16 years ago2008-01-28 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Mon, 28 Jan 2008 14:51:31 +0000 (14:51 +0000)]
2008-01-28  Andreas Krebbel  <krebbel1@de.ibm.com>

* gcc.target/s390/20020926-1.c: Remove -m31.

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

16 years ago2008-01-28 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Mon, 28 Jan 2008 14:45:26 +0000 (14:45 +0000)]
2008-01-28  Andreas Krebbel  <krebbel1@de.ibm.com>

* gcc.target/s390/20020926-1.c: Disable for s390x.

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

16 years ago* MAINTAINERS (xstormy16): Take over maintainership.
nickc [Mon, 28 Jan 2008 11:25:03 +0000 (11:25 +0000)]
* MAINTAINERS (xstormy16): Take over maintainership.

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

16 years ago PR c++/27177
jason [Mon, 28 Jan 2008 02:19:38 +0000 (02:19 +0000)]
    PR c++/27177
        * class.c (build_base_path): Fix previous change.

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

16 years ago2008-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 28 Jan 2008 02:09:07 +0000 (02:09 +0000)]
2008-01-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/34994
* gfortran.dg/missing_optional_dummy_5.f90: Fix matching regular
expression.

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

16 years agoDaily bump.
gccadmin [Mon, 28 Jan 2008 00:17:14 +0000 (00:17 +0000)]
Daily bump.

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

16 years ago * doc/README.jaxp: Fix typos.
gerald [Sun, 27 Jan 2008 21:29:02 +0000 (21:29 +0000)]
* doc/README.jaxp: Fix typos.

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

16 years ago2008-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 27 Jan 2008 19:50:16 +0000 (19:50 +0000)]
2008-01-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/34990
* gfortran.dg/array_constructor_22.f90: New test.

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

16 years ago2008-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 27 Jan 2008 19:38:59 +0000 (19:38 +0000)]
2008-01-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/34990
* array.c (gfc_check_constructor_type): Revert clearing the expression.

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

16 years ago * config.gcc (strongarm*-*, ep9312*-*, xscale*-*, parisc*-*,
jsm28 [Sun, 27 Jan 2008 19:10:03 +0000 (19:10 +0000)]
* config.gcc (strongarm*-*, ep9312*-*, xscale*-*, parisc*-*,
m680[012]0-*, *-*-beos*, *-*-kaos*, *-*-linux*aout*,
*-*-linux*libc1*, *-*-solaris2.[0-6], *-*-solaris2.[0-6].*,
*-*-sysv*, *-*-windiss*, alpha*-*-unicosmk*, cris-*-aout,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-*-nto-qnx*,
i[34567]86-*-sco3.2v5*, i[34567]86-*-uwin*, powerpc-*-chorusos*,
vax-*-bsd*, vax-*-ultrix*): Mark obsolete.

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

16 years ago2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Sun, 27 Jan 2008 18:44:42 +0000 (18:44 +0000)]
2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>

* basic-block.h (condjump_equiv_p): Fix comment.

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

16 years ago2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Sun, 27 Jan 2008 16:48:54 +0000 (16:48 +0000)]
2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>

* tree-pretty-print.c (print_generic_decl, print_generic_stmt,
print_generic_stmt_indented): Fix comment.

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

16 years ago2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org>
aldot [Sun, 27 Jan 2008 16:43:07 +0000 (16:43 +0000)]
2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>

* configure.ac (__stack_chk_fail): Add detecion for availability
of SSP in uClibc by checking if __UCLIBC_HAS_SSP__ is defined.
* configure: Regenerate.

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

16 years agoinclude/
daney [Sun, 27 Jan 2008 06:01:00 +0000 (06:01 +0000)]
include/
2008-01-26  David Daney  <ddaney@avtrex.com>

* demangle.h (demangle_component_type):  Add
DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER as new enum values.
(demangle_component): Add struct s_character to union u.

libiberty/
2008-01-26  David Daney  <ddaney@avtrex.com>

* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER cases.
(d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
(d_make_character): New function.
(d_java_resource): Same.
(d_special_name): Handle "Gr" case.
(d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER cases.
* testsuite/demangle-expected: Add test for java resource name
mangling.

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

16 years agoDaily bump.
gccadmin [Sun, 27 Jan 2008 00:17:25 +0000 (00:17 +0000)]
Daily bump.

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

16 years ago PR middle-end/34688
mkuvyrkov [Sat, 26 Jan 2008 23:08:54 +0000 (23:08 +0000)]
PR middle-end/34688
* final.c (output_addr_const): Handle TRUNCATE.

* gcc.c-torture/compile/pr34688: New test.

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

16 years ago PR target/34711
rakdver [Sat, 26 Jan 2008 22:44:19 +0000 (22:44 +0000)]
PR target/34711
* tree-ssa-loop-ivopts.c (comp_cost): New type.
(zero_cost, infinite_cost): New constants.
(struct cost_pair): Change type of cost to comp_cost.
(struct iv_ca): Change type of cand_use_cost and cost to comp_cost.
(new_cost, add_costs, sub_costs, compare_costs, infinite_cost_p):
New functions.
(set_use_iv_cost, force_expr_to_var_cost, force_var_cost,
split_address_cost, ptr_difference_cost, difference_cost,
get_computation_cost_at, get_computation_cost,
determine_use_iv_cost_generic, determine_use_iv_cost_address,
determine_use_iv_cost_condition, determine_use_iv_costs,
cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp,
iv_ca_set_cp, iv_ca_cost, iv_ca_new, iv_ca_dump, iv_ca_extend,
iv_ca_narrow, iv_ca_prune, try_improve_iv_set, find_optimal_iv_set):
Change type of cost to comp_cost.
(determine_iv_cost): Increase cost of non-original ivs, instead
of decreasing the cost of original ones.
(get_address_cost): Indicate the complexity of the addressing mode
in comp_cost.
(try_add_cand_for): Prefer using ivs not specific to some object.
* tree-flow.h (force_expr_to_var_cost): Declaration removed.

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

16 years ago2008-01-26 Tobias Burnus <burnus@net-b.de>
burnus [Sat, 26 Jan 2008 20:44:49 +0000 (20:44 +0000)]
2008-01-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34848
        * trans-expr.c (gfc_conv_function_call): Don't call
        gfc_add_interface_mapping if the expression is NULL.

2008-01-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34848
        * gfortran.dg/missing_optional_dummy_5.f90: New.

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

16 years ago * gcc.dg/tree-ssa/20070302-1.c (baz): Mark with attribute
ghazi [Sat, 26 Jan 2008 20:25:12 +0000 (20:25 +0000)]
* gcc.dg/tree-ssa/20070302-1.c (baz): Mark with attribute
noinline.  XFAIL test.

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

16 years ago2008-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 26 Jan 2008 19:05:15 +0000 (19:05 +0000)]
2008-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/31610
* gfortran.dg/array_3.f90: New test.

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

16 years ago2008-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 26 Jan 2008 19:01:07 +0000 (19:01 +0000)]
2008-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/31610
* trans-array.c (gfc_trans_create_temp_array): Remove call to
gcc_assert (integer_zerop (loop->from[n])).

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

16 years agoboehm-gc/
rsandifo [Sat, 26 Jan 2008 18:24:37 +0000 (18:24 +0000)]
boehm-gc/
* include/private/gcconfig.h (HBLKSIZE): Define for MIPS.

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

16 years ago PR target/34814
bergner [Sat, 26 Jan 2008 17:18:35 +0000 (17:18 +0000)]
PR target/34814
* doc/tm.texi (TARGET_EXPAND_TO_RTL_HOOK): Document.
(TARGET_INSTANTIATE_DECLS): Likewise.
* target.h (expand_to_rtl_hook): New target hook.
(instantiate_decls): Likewise.
* function.c (instantiate_decl): Make non-static.  Rename to...
(instantiate_decl_rtl): ... this.
(instantiate_expr): Use instantiate_decl_rtl.
(instantiate_decls_1): Likewise.
(instantiate_decls): Likewise.
(instantiate_virtual_regs: Call new instantiate_decls taget hook.
* function.h (instantiate_decl_rtl): Add prototype.
* cfgexpand.c (target.h): New include.
(tree_expand_cfg): Call new expand_to_rtl_hook target hook.
* target-def.h (TARGET_EXPAND_TO_RTL_HOOK): New define.
(TARGET_INSTANTIATE_DECLS): Likewise.
(TARGET_INITIALIZER): New target hooks added.
* config/rs6000/rs6000-protos.h (rs6000_secondary_memory_needed_rtx):
New prototype.
* config/rs6000/rs6000.c (tree-flow.h): New include.
(machine_function): Add sdmode_stack_slot field.
(rs6000_alloc_sdmode_stack_slot): New function.
(rs6000_instantiate_decls): Likewise.
(rs6000_secondary_memory_needed_rtx): Likewise.
(rs6000_check_sdmode): Likewise.
(TARGET_EXPAND_TO_RTL_HOOK): Target macro defined.
(TARGET_INSTANTIATE_DECLS): Likewise.
(rs6000_hard_regno_mode_ok): Allow SDmode.
(num_insns_constant): Likewise.  Handle _Decimal32 constants.
(rs6000_emit_move): Handle SDmode.
(function_arg_advance): Likewise.
(function_arg): Likewise.
(rs6000_gimplify_va_arg): Likewise.  Add special handling of
SDmode var args for 32-bit compiles.
(rs6000_secondary_reload_class): Handle SDmode.
(rs6000_output_function_epilogue): Likewise.
(rs6000_function_value): Simplify if statement.
(rs6000_libcall_value): Likewise.
* config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Handle SDmode.
(SECONDARY_MEMORY_NEEDED_RTX): Add define.
* config/rs6000/dfp.md (movsd): New define_expand and splitter.
(movsd_hardfloat): New define_insn.
(movsd_softfloat): Likewise.
(movsd_store): Likewise.
(movsd_load): Likewise.
(extendsddd2): Likewise.
(extendsdtd2): Likewise.
(truncddsd2): Likewise.
(movdd_hardfloat64): Fixup comment.
(UNSPEC_MOVSD_LOAD): New constant.
(UNSPEC_MOVSD_STORE): Likewise.

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

16 years ago PR c++/34965
jakub [Sat, 26 Jan 2008 17:04:54 +0000 (17:04 +0000)]
PR c++/34965
* c-pretty-print.c (pp_c_exclusive_or_expression): Handle
TRUTH_XOR_EXPR.
(pp_c_logical_and_expression): Handle TRUTH_AND_EXPR.
(pp_c_logical_or_expression): Handle TRUTH_OR_EXPR.
(pp_c_expression): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR
and TRUTH_XOR_EXPR.

* error.c (dump_expr): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR
and TRUTH_XOR_EXPR.

* gcc.dg/pr34965.c: New test.
* g++.dg/other/error24.C: New test.

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

16 years ago * gcc.c-torture/compile/pr34966.c (atan): Only use asm
jakub [Sat, 26 Jan 2008 17:02:44 +0000 (17:02 +0000)]
* gcc.c-torture/compile/pr34966.c (atan): Only use asm
on i?86/x86_64.

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

16 years ago PR target/34794
dje [Sat, 26 Jan 2008 16:28:03 +0000 (16:28 +0000)]
    PR target/34794
        * config/os/aix/os_defines.h: Define __COMPATMATH__.

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

16 years ago PR target/34794
dje [Sat, 26 Jan 2008 16:26:27 +0000 (16:26 +0000)]
    PR target/34794
        * config.gcc: Separate AIX 5.3 from AIX 6.1.
        * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
        __LONGDOUBLE128 too.
        * config/rs6000/aix61.h: New file.

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

16 years ago2008-01-26 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sat, 26 Jan 2008 15:22:59 +0000 (15:22 +0000)]
2008-01-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfofortran/34887
* io/transfer.c (next_record_w): Always move to the farthest
position when completing the record (also when we are
processing a slash edit descriptor).

2008-01-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfofortran/34887
* gfortran.dg/x_slash_2.f:  New test.

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

16 years agogcc/
rsandifo [Sat, 26 Jan 2008 11:34:41 +0000 (11:34 +0000)]
gcc/
PR rtl-optimization/34959
* optabs.c (expand_unop): In libcall notes, give ffs, clz, ctz,
popcount and parity rtxes the same mode as their operand.
Truncate or extend the result to the return value's mode
if necessary.

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

16 years ago2008-01-26 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 26 Jan 2008 11:26:36 +0000 (11:26 +0000)]
2008-01-26  Richard Guenther  <rguenther@suse.de>

PR c++/34235
* typeck.c (build_binary_op): Remove code to shorten compares.

* g++.dg/torture/pr34235.C: New testcase.

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

16 years agogcc/testsuite/
rsandifo [Sat, 26 Jan 2008 11:20:07 +0000 (11:20 +0000)]
gcc/testsuite/
* g++.dg/tree-ssa/ivopts-1.C: XFAIL for MIPS too.

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

16 years agogcc/
rsandifo [Sat, 26 Jan 2008 10:22:14 +0000 (10:22 +0000)]
gcc/
PR target/34981
* config/mips/mips-protos.h (mips_expand_call): Return an rtx.
* config/mips/mips.h (FIRST_PSEUDO_REGISTER): Rename FAKE_CALL_REGNO
to GOT_VERSION_REGNUM.
(CALL_REALLY_USED_REGISTERS): Set the GOT_VERSION_REGNUM entry to 0.
(EPILOGUE_USES): Include GOT_VERSION_REGNUM if TARGET_USE_GOT.
* config/mips/mips.c (mips_emit_call_insn): New function.
(mips_call_tls_get_addr): Call mips_expand_call directly.
(mips16_copy_fpr_return_value): Use mips_emit_call_insn rather than
emit_call_insn.
(mips16_build_call_stub): Likewise.  Return the call insn or null.
(mips_expand_call): Update the call to mips16_build_call_stub
accordingly and a remove redundant condition.  Assert that MIPS16
stubs do not use lazy binding.  Use mips_emit_call_insn and return
the call insn.
(mips_extra_live_on_entry): Include GOT_VERSION_REGNUM if
TARGET_USE_GOT.
(mips_hard_regno_mode_ok_p): Allow SImode for GOT_VERSION_REGNUM.
(mips_avoid_hazard): Remove hazard_set handling.
* config/mips/mips.md (UNSPEC_EH_RECEIVER): Rename to...
(UNSPEC_RESTORE_GP): ...this.
(UNSPEC_SET_GOT_VERSION, UNSPEC_UPDATE_GOT_VERSION): New constants.
(FAKE_CALL_REGNO): Rename to...
(GOT_VERSION_REGNUM): ...this.
(type): Add "ghost" value.  Add an associated insn reservation.
(hazard_set): Remove.
(exception_receiver): Rename to...
(restore_gp): ...this and update the unspec identifier accordingly.
(exception_receiver, nonlocal_got_receiver): New expanders.
(load_call<mode>): Use GOT_VERSION_REGNUM.  Don't set
FAKE_CALL_REGNO.  Remove hazard_set attribute.
(set_got_version, update_got_version): New patterns.

gcc/testsuite/
PR target/34981
* gcc.target/mips/lazy-binding-1.c: New test.
* gcc.target/mips/mips.exp (setup_mips_tests): Set
mips_forced_no_abicalls and mips_forced_no_shared.
(dg-mips-options): Avoid using -mabicalls with an implicit -mabi=eabi.
Avoid using small data with -mabicalls.  Don't make -G0 force
-mn-abicalls.  Skip -mabicalls and -mshared tests if the multilib
forces the opposite option.

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

16 years agoPR target/34970
dannysmith [Sat, 26 Jan 2008 09:31:30 +0000 (09:31 +0000)]
PR target/34970

gcc
* config/i386/cygming.h (ASM_OUTPUT_LABELREF): Define.
testsuite
* gcc.target/i386/fastcall-1.c: Scan for correct label.
Use -std=gnu89 switch.

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