OSDN Git Service

pf3gnuchains/gcc-fork.git
12 years ago2012-03-12 Michael Meissner <meissner@linux.vnet.ibm.com>
meissner [Mon, 12 Mar 2012 16:16:51 +0000 (16:16 +0000)]
2012-03-12  Michael Meissner  <meissner@linux.vnet.ibm.com>

Backport from mainline
2012-03-09  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/linux64.h (OPTION_TARGET_CPU_DEFAULT): Do not
redefine to be NULL if the current bit-size is different from the
configured bit-size.

* config/rs6000/rs6000.c (rs6000_option_override_internal): If the
cpu is defaulted, use PROCESSOR_DEFAULT and PROCESSOR_DEFAULT64 to
set the default tuning.  Add asserts to make sure the cpu and tune
indexes are defined.  Fix tests for cpu/tune index to use >= 0 to
test whether the index is set, instead of > 0.
(rs6000_file_start): Do not reset the default cpu if the current
bit-size is different from the configured bit-size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185248 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoGCC 4.7 Solaris updates to install.texi
ro [Mon, 12 Mar 2012 15:42:42 +0000 (15:42 +0000)]
GCC 4.7 Solaris updates to install.texi

* doc/install.texi (Specific, i?86-*-solaris2.[89]): Update
binutils reference.
(Specific, i?86-*-solaris2.10): Remove GCC 4.0 reference.
Update binutils references.
(Specific, *-*-solaris2*): Mention bundled GCC in Solaris 10 and 11.
Update binutils reference.
Update Sun as/GNU ld caveat.
Document binutils largefile requirement for LTO plugin.
Remove reference to alternate libpthread.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185243 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR target/52450
danglin [Mon, 12 Mar 2012 15:33:32 +0000 (15:33 +0000)]
PR target/52450
* gcc.dg/torture/pr52402.c: Skip execution on 32-bit hppa*-*-hpux*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185239 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * gcc.dg/torture/pr52407.c: Add -fno-common option on hppa*-*-hpux*.
danglin [Mon, 12 Mar 2012 15:29:32 +0000 (15:29 +0000)]
* gcc.dg/torture/pr52407.c: Add -fno-common option on hppa*-*-hpux*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185237 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoGCC 4.7 IRIX, Tru64 UNIX updates to install.texi
ro [Mon, 12 Mar 2012 15:11:00 +0000 (15:11 +0000)]
GCC 4.7 IRIX, Tru64 UNIX updates to install.texi

* doc/install.texi (Specific, alpha*-dec-osf5.1): Update binutils
reference.
(Specific, mips-sgi-irix6): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185234 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * sv.po: Update.
jsm28 [Mon, 12 Mar 2012 01:12:39 +0000 (01:12 +0000)]
* sv.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185209 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Mon, 12 Mar 2012 00:18:17 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185206 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Sun, 11 Mar 2012 00:18:40 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185189 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR libstdc++/52456
danglin [Sat, 10 Mar 2012 22:57:45 +0000 (22:57 +0000)]
PR libstdc++/52456
* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185185 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoUpdate Go compiler, library, and testsuite on gcc 4.7 branch.
ian [Sat, 10 Mar 2012 19:03:09 +0000 (19:03 +0000)]
Update Go compiler, library, and testsuite on gcc 4.7 branch.

* go-gcc.cc (Gcc_backend::assignment_statement): Convert the rhs
to the lhs type if necessary.

* go-gcc.cc (Gcc_backend::init_statement): Don't initialize a
zero-sized variable.
(go_non_zero_struct): New global variable.
(Gcc_backend::non_zero_size_type): New function.
(Gcc_backend::global_variable): Don't build an assignment for a
zero-sized value.
* go-c.h (go_non_zero_struct): Declare.
* config-lang.in (gtfiles): Add go-c.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185180 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2012-03-10 Tobias Burnus <burnus@net-b.de>
burnus [Sat, 10 Mar 2012 08:18:31 +0000 (08:18 +0000)]
2012-03-10  Tobias Burnus  <burnus@net-b.de>

        PR fortran/52469
        * trans-types.c (gfc_get_function_type): Handle backend_decl
        of a procedure pointer.

2012-03-10  Tobias Burnus  <burnus@net-b.de>

        PR fortran/52469
        * gfortran.dg/proc_ptr_34.f90

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185170 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Sat, 10 Mar 2012 00:19:22 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185164 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago* config/locale/gnu/monetary_members.cc
schwab [Fri, 9 Mar 2012 19:51:16 +0000 (19:51 +0000)]
* config/locale/gnu/monetary_members.cc
(moneypunct<char,true>::_M_initialize_moneypunct): Throw caught
exception again.
(moneypunct<char,false>::_M_initialize_moneypunct): Likewise.
* testsuite/22_locale/locale/cons/12352.cc: Also test en_US
locale.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185151 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Fri, 9 Mar 2012 00:19:19 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185119 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoFix R_386_TLS_LDM_PLT detection
ro [Thu, 8 Mar 2012 13:54:54 +0000 (13:54 +0000)]
Fix R_386_TLS_LDM_PLT detection

* configure.ac (gcc_cv_as_ix86_tlsldmplt): Add label.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185102 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Thu, 8 Mar 2012 00:19:03 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185087 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/52521
jason [Wed, 7 Mar 2012 20:16:16 +0000 (20:16 +0000)]
PR c++/52521
* mangle.c (write_literal_operator_name): The length comes after the
operator prefix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185077 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agom68k: Limit TAS to 68000 and CF ISA_B.
rth [Wed, 7 Mar 2012 16:23:17 +0000 (16:23 +0000)]
m68k: Limit TAS to 68000 and CF ISA_B.

* config/m68k/m68k.h (ISA_HAS_TAS): New.
* config/m68k/sync.md (atomic_test_and_set): Use it.
(atomic_test_and_set_1): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185063 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2012-03-05 Ralf Corsépius <ralf.corsepius@rtems.org>
corsepiu [Wed, 7 Mar 2012 10:59:56 +0000 (10:59 +0000)]
2012-03-05  Ralf Corsépius  <ralf.corsepius@rtems.org>

PR target/51417
* Makefile.in: Let install-gcc-ar depend on installdirs, gcc-ar$(exeext),
gcc-nm$(exeext), gcc-ranlib$(exeext).
Don't double canonicalize if cross-compiling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185034 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Wed, 7 Mar 2012 00:19:21 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185023 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * trans-mem.c: New typedef for tm_region_p.
aldyh [Tue, 6 Mar 2012 16:28:48 +0000 (16:28 +0000)]
* trans-mem.c: New typedef for tm_region_p.
Define vector types for tm_region_p.
(tm_region_init): Replace region_worklist to a vector called
bb_regions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185001 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR middle-end/52463
aldyh [Tue, 6 Mar 2012 14:44:27 +0000 (14:44 +0000)]
PR middle-end/52463
* trans-mem.c (tm_region_init): Use last_basic_block.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184992 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR middle-end/52463
aldyh [Tue, 6 Mar 2012 14:37:54 +0000 (14:37 +0000)]
PR middle-end/52463
* trans-mem.c (tm_region_init): Use last_basic_block.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184991 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Tue, 6 Mar 2012 00:19:14 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184970 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoPR tree-opt/52242
rth [Mon, 5 Mar 2012 19:53:54 +0000 (19:53 +0000)]
PR tree-opt/52242
Revert: 2011-11-26  Richard Henderson  <rth@redhat.com>
* omp-low.c (expand_omp_atomic): Assume anything aligned to
BIGGEST_ALIGNMENT is aligned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184956 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agolibitm: Update texinfo docs.
torvald [Mon, 5 Mar 2012 19:26:37 +0000 (19:26 +0000)]
libitm: Update texinfo docs.

Backported from mainline @184940.
libitm/
* libitm.texi: Link to specification and add a usage example.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184954 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago* config/sh/sh.h (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New hook.
rth [Mon, 5 Mar 2012 18:52:44 +0000 (18:52 +0000)]
* config/sh/sh.h (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New hook.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184951 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoPR target/52481
rth [Mon, 5 Mar 2012 18:41:56 +0000 (18:41 +0000)]
PR target/52481
* config/m68k/sync.md (atomic_test_and_set): Use expand_simple_unop
instead of calling negqi2 directly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184950 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * sv.po: Update.
jsm28 [Mon, 5 Mar 2012 13:06:26 +0000 (13:06 +0000)]
* sv.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184931 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoFix 64-bit *intmax_t definitions on IRIX
ro [Mon, 5 Mar 2012 10:43:22 +0000 (10:43 +0000)]
Fix 64-bit *intmax_t definitions on IRIX

* config/mips/iris6.h [!USED_FOR_TARGET] (long_intmax): Declare.
(INTMAX_TYPE): Use it.
(UINTMAX_TYPE): Likewise.
(SUBTARGET_OVERRIDE_OPTIONS): Define.
(irix6_c_common_override_options): Declare.
(C_COMMON_OVERRIDE_OPTIONS): Define.
* config/mips/mips.c [TARGET_IRIX6] (long_intmax): Define.
* config/mips/irix6-c.c: New file.
* config/mips/t-irix6 (irix6-c.o): New target.
* config.gcc (mips-sgi-irix6.5): Set c_target_objs,
cxx_target_objs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184921 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Mon, 5 Mar 2012 00:18:34 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184909 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago Backport from mainline r184894.
gjl [Sun, 4 Mar 2012 20:59:46 +0000 (20:59 +0000)]
Backport from mainline r184894.
* gcc.dg/torture/pr52402.c: Add dg-require-effective-target
int32plus.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184895 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * optabs.c (expand_atomic_test_and_set): Honor
rth [Sun, 4 Mar 2012 02:34:55 +0000 (02:34 +0000)]
* optabs.c (expand_atomic_test_and_set): Honor
atomic_test_and_set_trueval even when atomic_test_and_set
optab is not in use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184878 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Sun, 4 Mar 2012 00:19:11 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184871 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * de.po: Update.
jsm28 [Sat, 3 Mar 2012 17:35:55 +0000 (17:35 +0000)]
* de.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184861 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * gcc.pot: Regenerate.
jsm28 [Sat, 3 Mar 2012 12:04:08 +0000 (12:04 +0000)]
* gcc.pot: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184853 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Sat, 3 Mar 2012 00:18:26 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184848 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * include/c_global/cstdio: Remove extraneous extern.
jakub [Fri, 2 Mar 2012 22:57:14 +0000 (22:57 +0000)]
* include/c_global/cstdio: Remove extraneous extern.
* include/c_std/cstdio: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184842 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago Backport from mainline
bergner [Fri, 2 Mar 2012 18:32:59 +0000 (18:32 +0000)]
Backport from mainline
2012-03-02  Peter Bergner  <bergner@vnet.ibm.com>
gcc/
* config/rs6000/vsx.md (vsx_set_<mode>): Reorder operands.

gcc/testsuite/
* gcc.target/powerpc/pr52457.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184812 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2012-03-02 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 2 Mar 2012 11:08:40 +0000 (11:08 +0000)]
2012-03-02  Richard Guenther  <rguenther@suse.de>

        * DEV-PHASE: Set to prerelease.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184779 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoCreate gcc-4_7-branch
rguenth [Fri, 2 Mar 2012 10:56:07 +0000 (10:56 +0000)]
Create gcc-4_7-branch

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@184777 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoUpdate Solaris baselines for GCC 4.7
ro [Fri, 2 Mar 2012 09:47:11 +0000 (09:47 +0000)]
Update Solaris baselines for GCC 4.7

* config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
* config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.

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

12 years ago * config.gcc (obsolete): Add all ARM targets using the FPA.
rearnsha [Fri, 2 Mar 2012 09:37:30 +0000 (09:37 +0000)]
* config.gcc (obsolete): Add all ARM targets using the FPA.
(with_fpu): Obsolete selection of the FPA or Maverick on ARM.
* doc/install.texi: Avoid references to obsolete ARM ports.

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

12 years ago2012-03-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 2 Mar 2012 07:13:55 +0000 (07:13 +0000)]
2012-03-01  Benjamin Kosnik  <bkoz@redhat.com>
            Ramana Radhakrishnan <ramana@gcc.gnu.org>

PR libstdc++/51785
* acinclude.m4 (GLIBCXX_CHECK_STDIO_PROTO): New.
* configure.ac: Call it.
* configure: Regenerate.
* config.h.in: Same.
* config/os/gnu-linux/os_defines.h: Conditionally undefine
_GLIBCXX_HAVE_GETS.
* include/c_global/cstdio: Conditionally declare deprecated gets.
* include/c_std/cstdio: Same.

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

12 years ago2012-03-01 Michael Spertus <mike_spertus@symantec.com>
bkoz [Fri, 2 Mar 2012 05:54:24 +0000 (05:54 +0000)]
2012-03-01  Michael Spertus  <mike_spertus@symantec.com>

* include/tr2/type_traits (typelist): To __reflection_typelist.
(first, rest, empty): Remove.

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

12 years ago2012-03-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 2 Mar 2012 01:04:16 +0000 (01:04 +0000)]
2012-03-01  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/Makefile.am (CLEANFILES): Add *.gdb.
* testsuite/Makefile.in: Regenerate.

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

12 years agoDaily bump.
gccadmin [Fri, 2 Mar 2012 00:19:12 +0000 (00:19 +0000)]
Daily bump.

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

12 years ago * config/epiphany/epiphany.md (movmisalign<mode>): New patterns.
amylaar [Thu, 1 Mar 2012 23:40:57 +0000 (23:40 +0000)]
* config/epiphany/epiphany.md (movmisalign<mode>): New patterns.

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

12 years ago2012-03-01 Jeremy Bennett <jeremy.bennett@embecosm.com>
amylaar [Thu, 1 Mar 2012 23:34:36 +0000 (23:34 +0000)]
2012-03-01  Jeremy Bennett  <jeremy.bennett@embecosm.com>
            Joern Rennecke  <joern.rennecke@embecosm.com>

        * doc/extend.texi: Expand and update information on interrupt
        attribute for Epiphany.

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

12 years ago * config/sh/sh-protos.h: Update copyright notice dates.
olegendo [Thu, 1 Mar 2012 22:57:09 +0000 (22:57 +0000)]
* config/sh/sh-protos.h: Update copyright notice dates.
* config/sh/sh.h: Likewise.
* config/sh/sh.md: Likewise.
* config/sh/constraints.md: Likewise.
* config/sh/predicates.md: Likewise.

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

12 years ago * config/sh/sh-protos.h (tertiary_reload_operand): Remove dead function.
olegendo [Thu, 1 Mar 2012 22:46:33 +0000 (22:46 +0000)]
* config/sh/sh-protos.h (tertiary_reload_operand): Remove dead function.
* config/sh/sh.c (tertiary_reload_operand): Likewise.

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

12 years ago * config/sh/constraints.md: Fix comment typo.
olegendo [Thu, 1 Mar 2012 21:20:56 +0000 (21:20 +0000)]
* config/sh/constraints.md: Fix comment typo.

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

12 years ago * soft-fp: Imported from glibc upstream.
ktietz [Thu, 1 Mar 2012 20:50:26 +0000 (20:50 +0000)]
    * soft-fp: Imported from glibc upstream.

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

12 years ago PR target/52408
danglin [Thu, 1 Mar 2012 19:31:03 +0000 (19:31 +0000)]
PR target/52408
* config/pa/pa.md (zvdep_imm32): Change type of variable x from int to
unsigned HOST_WIDE_INT.
(zvdep_imm64): Likewise.
(vdepi_ior): Change type of variable x from int to HOST_WIDE_INT.
(vdepi_and): Likewise.
Likewise for unamed 64-bit patterns.
* config/pa/predicates.md (lhs_lshift_cint_operand): Update comment.

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

12 years agoFix ChangLog about uintptr_t
ktietz [Thu, 1 Mar 2012 18:45:30 +0000 (18:45 +0000)]
Fix ChangLog about uintptr_t

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

12 years agocompiler: Reliably give errors on misuse of multiple value call.
ian [Thu, 1 Mar 2012 18:19:13 +0000 (18:19 +0000)]
compiler: Reliably give errors on misuse of multiple value call.

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

12 years ago * gcc.dg/torture/pr47917.c: Make test using POSIX-printf
ktietz [Thu, 1 Mar 2012 18:17:07 +0000 (18:17 +0000)]
    * gcc.dg/torture/pr47917.c: Make test using POSIX-printf
        routines on mingw targets.
        * gcc.dg/vect/pr46126.c (size_t): Add support for
        LLP64 target.

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

12 years ago PR c++/51930
jason [Thu, 1 Mar 2012 17:52:12 +0000 (17:52 +0000)]
PR c++/51930
* decl.c (check_tag_decl): Move warning for misplaced attributes here.
(shadow_tag): From here.
* parser.c (cp_parser_explicit_instantiation): Don't warn here.

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

12 years agomksysinfo: Define MADV_ constants for madvise.
ian [Thu, 1 Mar 2012 17:22:29 +0000 (17:22 +0000)]
mksysinfo: Define MADV_ constants for madvise.

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

12 years agocompiler: Fix varargs functions that call recover.
ian [Thu, 1 Mar 2012 17:11:55 +0000 (17:11 +0000)]
compiler: Fix varargs functions that call recover.

Also fix a couple of crashes on invalid code.

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

12 years agoPR debug/52001
aoliva [Thu, 1 Mar 2012 16:58:11 +0000 (16:58 +0000)]
PR debug/52001
PR rtl-optimization/52417
* cselib.c (cselib_any_perm_equivs): New variable.
(cselib_reset_table): Check that it's not set when not
preserving constants.
(cselib_add_permanent_equiv): Set it.
(cselib_have_permanent_equivalences): New.
(cselib_init, cselib_finish): Reset it.
* cselib.h (cselib_have_permanent_equivalences): Declare.
* alias.c (get_addr): Restore earlier behavior when there
aren't permanent equivalences.

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

12 years ago * config/mn10300/mn10300-modes.def: Fix copyright notice.
steven [Thu, 1 Mar 2012 16:30:07 +0000 (16:30 +0000)]
* config/mn10300/mn10300-modes.def: Fix copyright notice.
* config/v850/v850-modes.def: Fix copyright notice.

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

12 years ago * doc/extend.texi (AVR Built-in Functions): Document
gjl [Thu, 1 Mar 2012 15:28:44 +0000 (15:28 +0000)]
* doc/extend.texi (AVR Built-in Functions): Document
__builtin_avr_flash_segment.
* config/avr/builtins.def (__builtin_avr_flash_segment): New entry.
* config/avr/avr.md (flash_segment, flash_segment1): New expanders.
(*split.flash_segment): New insn-and-split.
* config/avr/avr.c (avr_init_builtins): Add local variables:
const_memx_void_node, const_memx_ptr_type_node,
char_ftype_const_memx_ptr.

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

12 years ago PR tree-optimization/52445
jakub [Thu, 1 Mar 2012 14:13:06 +0000 (14:13 +0000)]
PR tree-optimization/52445
* tree-ssa-phiopt.c (struct name_to_bb): Remove ssa_name field,
add ssa_name_ver, offset and size fields and change store field
to bool.
(name_to_bb_hash, name_to_bb_eq): Adjust for the above changes.
(add_or_mark_expr): Likewise.  Only consider previous stores
with the same size and offset.
(nt_init_block): Only look at gimple_assign_single_p stmts,
doesn't look at rhs2.

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

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

12 years ago2012-03-01 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 1 Mar 2012 12:26:20 +0000 (12:26 +0000)]
2012-03-01  Richard Guenther  <rguenther@suse.de>

PR middle-end/52443
* tree-cfg.c (verify_gimple_assign_unary): Allow any
conversions from integral types to pointer types.

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

12 years ago * config/avr/avr-c.c (avr_cpu_cpp_builtins): Restore built-in
gjl [Thu, 1 Mar 2012 11:48:00 +0000 (11:48 +0000)]
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Restore built-in
defines for __UINT24_MAX__, __INT24_MAX__, __INT24_MIN__
unintentionally removed in r184616.

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

12 years agoDocument AMD bdver2 in invoke.texi
vekumar [Thu, 1 Mar 2012 09:57:59 +0000 (09:57 +0000)]
Document AMD bdver2 in invoke.texi

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

12 years agocompiler: Fix handling of indirection of circular types.
ian [Thu, 1 Mar 2012 05:59:35 +0000 (05:59 +0000)]
compiler: Fix handling of indirection of circular types.

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

12 years agocompiler: Avoid some compiler crashes on invalid code.
ian [Thu, 1 Mar 2012 05:14:10 +0000 (05:14 +0000)]
compiler: Avoid some compiler crashes on invalid code.

* go-gcc.cc (class Gcc_tree): Add set_tree method.
(set_placeholder_pointer_type): When setting to a pointer to
error, set to error_mark_node.

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

12 years agocompiler: Fix unary ^ applied to typed signed integer constant.
ian [Thu, 1 Mar 2012 00:45:26 +0000 (00:45 +0000)]
compiler: Fix unary ^ applied to typed signed integer constant.

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

12 years agoDaily bump.
gccadmin [Thu, 1 Mar 2012 00:18:32 +0000 (00:18 +0000)]
Daily bump.

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

12 years ago PR target/52437
jakub [Wed, 29 Feb 2012 23:45:08 +0000 (23:45 +0000)]
PR target/52437
* config/i386/sse.md (vec_set<mode>_0): Swap "*r" and "fF"
alternatives, add "e" constraint to the new last alternative
and ! to last 3 alternatives.

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

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

12 years agocompiler: Avoid various crashes on error conditions.
ian [Wed, 29 Feb 2012 23:42:34 +0000 (23:42 +0000)]
compiler: Avoid various crashes on error conditions.

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

12 years agocompiler: Fix handling of invalid types within invalid types.
ian [Wed, 29 Feb 2012 22:43:15 +0000 (22:43 +0000)]
compiler: Fix handling of invalid types within invalid types.

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

12 years ago * config/linux/sparc/futex.h (cpu_relax): Read from CC register.
ebotcazou [Wed, 29 Feb 2012 20:49:30 +0000 (20:49 +0000)]
* config/linux/sparc/futex.h (cpu_relax): Read from CC register.

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

12 years agosyscall: Fill out GNU/Linux support.
ian [Wed, 29 Feb 2012 20:02:31 +0000 (20:02 +0000)]
syscall: Fill out GNU/Linux support.

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

12 years agoFix non-ASCII character
ebotcazou [Wed, 29 Feb 2012 18:36:35 +0000 (18:36 +0000)]
Fix non-ASCII character

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

12 years ago * dwarf2out.c (modified_type_die): Set DW_AT_GNAT_descriptive_type and
ebotcazou [Wed, 29 Feb 2012 18:28:41 +0000 (18:28 +0000)]
* dwarf2out.c (modified_type_die): Set DW_AT_GNAT_descriptive_type and
DW_AT_artificial attributes at the end of the processing.
(gen_array_type_die): Likewise.
(gen_enumeration_type_die): Likewise.
(gen_struct_or_union_type_die): Likewise.
(add_gnat_descriptive_type_attribute): Do not suppress debug info for
the parent type.
ada/
* gcc-interface/decl.c (components_to_record): Add ARTIFICIAL parameter
and set TYPE_ARTIFICIAL according to it.  Adjust recursive call.
(gnat_to_gnu_entity) <E_Record_Type>: Adjust call to above function.
* gcc-interface/utils.c (rest_of_record_type_compilation): Do not
invoke rest_of_type_decl_compilation on the parallel type, if any.

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

12 years ago PR middle-end/52419
jakub [Wed, 29 Feb 2012 17:45:55 +0000 (17:45 +0000)]
PR middle-end/52419
* expr.c (expand_assignment): If doing misaligned store that doesn't
cover all mode bits, perform a RMW cycle.

* gcc.dg/torture/pr52419.c: New test.

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

12 years ago PR tree-optimization/52429
jakub [Wed, 29 Feb 2012 17:43:56 +0000 (17:43 +0000)]
PR tree-optimization/52429
* tree-parloops.c (separate_decls_in_region_debug): Return early
if var is LABEL_DECL.

* gcc.dg/torture/pr52429.c: New test.
* g++.dg/opt/pr52429.C: New test.

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

12 years agoUpdate x32 baseline_symbols.txt
hjl [Wed, 29 Feb 2012 17:43:39 +0000 (17:43 +0000)]
Update x32 baseline_symbols.txt

2012-02-29  H.J. Lu  <hongjiu.lu@intel.com>

* config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.

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

12 years ago2012-02-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
wschmidt [Wed, 29 Feb 2012 13:06:28 +0000 (13:06 +0000)]
2012-02-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/52424
* tree-ssa-dom.c (dom_opt_leave_block): Push a marker before
calling dom_thread_across_edge.

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

12 years ago * config/avr/avr.c: Move definition of TARGET macros to end of file.
gjl [Wed, 29 Feb 2012 12:14:48 +0000 (12:14 +0000)]
* config/avr/avr.c: Move definition of TARGET macros to end of file.

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

12 years ago * config/avr/avr-protos.h (avr_output_bld): Remove unused prototype.
gjl [Wed, 29 Feb 2012 12:09:30 +0000 (12:09 +0000)]
* config/avr/avr-protos.h (avr_output_bld): Remove unused prototype.
* config/avr/avr.c (avr_output_bld): Remove unused function.
(avr_out_sbxx_branch): Use "%T" to print bit position.

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

12 years ago * gcc-interface/utils.c (gnat_write_global_declarations): Make sure the
ebotcazou [Wed, 29 Feb 2012 11:41:07 +0000 (11:41 +0000)]
* gcc-interface/utils.c (gnat_write_global_declarations): Make sure the
dummy global built for global types is preserved.

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

12 years ago * config/avr/avr.md (eqne): New code iterator.
gjl [Wed, 29 Feb 2012 11:07:01 +0000 (11:07 +0000)]
* config/avr/avr.md (eqne): New code iterator.
(*dec-and-branchsi): Use it in text peephole's condition.
(*dec-and-branchhi): Ditto.
(*dec-and-branchqi): Ditto.

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

12 years ago2012-02-29 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 29 Feb 2012 10:05:55 +0000 (10:05 +0000)]
2012-02-29  Richard Guenther  <rguenther@suse.de>

PR testsuite/52297
* gcc.dg/lto/trans-mem-1_0.c: Remove.
* gcc.dg/lto/trans-mem-1_1.c: Likewise.
* gcc.dg/lto/trans-mem-2_0.c: Likewise.
* gcc.dg/lto/trans-mem-2_1.c: Likewise.
* gcc.dg/lto/trans-mem-4_0.c: Likewise.
* gcc.dg/lto/trans-mem-4_1.c: Likewise.

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

12 years ago PR target/49939
gjl [Wed, 29 Feb 2012 09:50:19 +0000 (09:50 +0000)]
PR target/49939
* config/avr/avr.h (ASM_SPEC): Add -mno-skip-bug if we know that
the device does not have the skip-bug.

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

12 years ago * doc/invoke.texi (-msoft-atomic): Add more detailed description.
olegendo [Wed, 29 Feb 2012 08:30:48 +0000 (08:30 +0000)]
* doc/invoke.texi (-msoft-atomic): Add more detailed description.
(-mbranch-cost, -mcbranchdi -mcmpeqdi -mfused-madd
-mpretend-cmove): New.

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

12 years ago * gcc.dg/torture/pr52402.c: Add -w -Wno-psabi to dg-options.
jakub [Wed, 29 Feb 2012 08:14:52 +0000 (08:14 +0000)]
* gcc.dg/torture/pr52402.c: Add -w -Wno-psabi to dg-options.

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

12 years ago PR bootstrap/52397
jakub [Wed, 29 Feb 2012 08:12:04 +0000 (08:12 +0000)]
PR bootstrap/52397
* df.h (struct df_d): Adjust comment that hard_regs_live_count
doesn't count DEBUG_INSN refs.
* df-scan.c (df_ref_create_structure): Don't set DF_HARD_REG_LIVE
for DEBUG_INSN refs.

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

12 years ago2012-02-29 Paul Thomas <pault@gcc.gnu.org>
pault [Wed, 29 Feb 2012 07:21:38 +0000 (07:21 +0000)]
2012-02-29  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/52386
* trans-expr.c (fcncall_realloc_result): Dereference the
descriptor if needed.

2012-02-29  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/52386
* gfortran.dg/realloc_on_assign_13.f90 : New test.

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

12 years agoDaily bump.
gccadmin [Wed, 29 Feb 2012 00:18:16 +0000 (00:18 +0000)]
Daily bump.

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

12 years ago Partially revert:
uweigand [Tue, 28 Feb 2012 23:40:32 +0000 (23:40 +0000)]
Partially revert:

2012-02-20  Richard Guenther  <rguenther@suse.de>
PR tree-optimization/52298
* tree-vect-stmts.c (vectorizable_load): Properly use
STMT_VINFO_DR_STEP instead of DR_STEP when vectorizing
outer loops.

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

12 years agoruntime: Call exit rather than _exit.
ian [Tue, 28 Feb 2012 20:57:15 +0000 (20:57 +0000)]
runtime: Call exit rather than _exit.

This fixes --coverage and perhaps other things as well.

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

12 years ago * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
ktietz [Tue, 28 Feb 2012 20:53:35 +0000 (20:53 +0000)]
    * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
        for mingw-targets as attribute gcc_struct.

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

12 years agoFix ChangeLog date.
bkoz [Tue, 28 Feb 2012 20:26:46 +0000 (20:26 +0000)]
Fix ChangeLog date.

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

12 years ago2012-02-21 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 28 Feb 2012 20:25:48 +0000 (20:25 +0000)]
2012-02-21  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/52191
* testsuite/util/testsuite_abi.cc (compare_symbols): Check new
symbols added into the latest version. Mark tls entities as
undesignated.

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

12 years ago PR middle-end/51752
aldyh [Tue, 28 Feb 2012 20:08:39 +0000 (20:08 +0000)]
    PR middle-end/51752
        * gimple.h (gimple_in_transaction): New.
        (gimple_set_in_transaction): New.
        (struct gimple_statement_base): Add in_transaction field.
        * tree-ssa-loop-im.c: (movement_possibility): Restrict movement of
        transaction loads.
        (tree_ssa_lim_initialize): Compute transaction bits.
        * tree.h (compute_transaction_bits): Protoize.
        * trans-mem.c (tm_region_init): Use the heap to store BB
        auxilliary data.
        (compute_transaction_bits): New.

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

12 years agoFix changelog format.
mrs [Tue, 28 Feb 2012 18:02:56 +0000 (18:02 +0000)]
Fix changelog format.

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