OSDN Git Service
uros [Mon, 21 Jan 2013 19:43:33 +0000 (19:43 +0000)]
Backport from mainline
2012-01-21 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195349
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Mon, 21 Jan 2013 17:59:28 +0000 (17:59 +0000)]
PR rtl-optimization/56023
* haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
dependent on debug instruction.
testsuite/ChangeLog:
PR rtl-optimization/56023
* gcc.dg/pr56023.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195344
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Mon, 21 Jan 2013 17:02:08 +0000 (17:02 +0000)]
2013-01-21 Martin Jambor <mjambor@suse.cz>
PR tree-optimizations/55264
* cgraph.c (cgraph_create_virtual_clone): Mark clones as non-virtual.
* cgraph.h (cgraph_only_called_directly_p_or_aliased_p): Return false
for virtual functions.
* ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
for virtual methods.
* ipa.c (cgraph_remove_unreachable_nodes): Never return true for
virtual methods before inlining is over.
testsuite/
* g++.dg/ipa/pr55264.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195339
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 21 Jan 2013 00:18:47 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195328
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 20 Jan 2013 00:18:10 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195316
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 19 Jan 2013 00:18:13 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195308
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 18 Jan 2013 00:18:31 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195285
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 17 Jan 2013 22:51:00 +0000 (22:51 +0000)]
Backport from mainline
2012-01-17 Uros Bizjak <ubizjak@gmail.com>
PR target/55981
* config/i386/sync.md (atomic_store<mode>): Generate SWImode
store through atomic_store<mode>_1.
(atomic_store<mode>_1): Macroize insn using SWI mode iterator.
testsuite/ChangeLog:
Backport from mainline
2012-01-17 Uros Bizjak <ubizjak@gmail.com>
PR target/55981
* gcc.target/pr55981.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195283
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Thu, 17 Jan 2013 10:55:50 +0000 (10:55 +0000)]
2013-01-17 Janus Weil <janus@gcc.gnu.org>
PR fortran/55983
* class.c (find_typebound_proc_uop): Check for f2k_derived instead of
asserting it.
2013-01-17 Janus Weil <janus@gcc.gnu.org>
PR fortran/55983
* gfortran.dg/class_55.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195261
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Thu, 17 Jan 2013 01:39:46 +0000 (01:39 +0000)]
PR libstdc++/52887
* src/c++11/regex.cc: Add instantiations for AIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195258
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 17 Jan 2013 00:18:31 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195255
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 16 Jan 2013 09:26:05 +0000 (09:26 +0000)]
2013-01-16 Richard Biener <rguenther@suse.de>
PR middle-end/55882
* emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
account for bitpos when computing alignment.
* gcc.dg/torture/pr55882.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195232
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 16 Jan 2013 00:17:54 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195222
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Tue, 15 Jan 2013 14:08:11 +0000 (14:08 +0000)]
- regenerate class files for updated copyright years
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195200
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Tue, 15 Jan 2013 14:06:19 +0000 (14:06 +0000)]
2013-01-10 Matthias Klose <doko@ubuntu.com>
* tools/gnu/classpath/tools/gjdoc/Main.java: Accept -source 1.5,
1.6, 1.7.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195199
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 15 Jan 2013 00:17:53 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195183
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Mon, 14 Jan 2013 18:44:26 +0000 (18:44 +0000)]
- fix whitespace in gcc/ChangeLog entry for the multiarch backport
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195171
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Mon, 14 Jan 2013 18:32:05 +0000 (18:32 +0000)]
Backport from 2013-01-14 trunk r195169.
PR target/55974
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
etc. to 1 and not to __flash.
Use LL suffix for __INT24_MAX__ with -mint8.
Use ULL suffix for __UINT24_MAX__ with -mint8.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195170
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Mon, 14 Jan 2013 16:32:37 +0000 (16:32 +0000)]
2013-01-14 Matthias Klose <doko@ubuntu.com>
* doc/invoke.texi: Document -print-multiarch.
* doc/install.texi: Document --enable-multiarch.
* doc/fragments.texi: Document MULTILIB_OSDIRNAMES, MULTIARCH_DIRNAME.
* configure.ac: Add --enable-multiarch option.
Substitute with_cpu, with_float.
* configure: Regenerate.
* Makefile.in (s-mlib): Pass MULTIARCH_DIRNAME to genmultilib.
enable_multiarch, with_cpu, with_float: New macros.
if_multiarch: New macro, define in terms of enable_multiarch.
* genmultilib: Add new argument for the multiarch name.
* gcc.c (multiarch_dir): Define.
(for_each_path): Search for multiarch suffixes.
(driver_handle_option): Handle multiarch option.
(do_spec_1): Pass -imultiarch if defined.
(main): Print multiarch.
(set_multilib_dir): Separate multilib and multiarch names
from multilib_select.
(print_multilib_info): Ignore multiarch names in multilib_select.
* incpath.c (add_standard_paths): Search the multiarch include dirs.
* cppdefault.h (default_include): Document multiarch in multilib
member.
* cppdefault.c: [LOCAL_INCLUDE_DIR, STANDARD_INCLUDE_DIR] Add an
include directory for multiarch directories.
* common.opt: New options --print-multiarch and -imultilib.
* config.gcc <i[34567]86-*-linux* | x86_64-*-linux*> (tmake_file):
Include i386/t-linux.
<i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu> (tmake_file):
Include i386/t-kfreebsd.
<i[34567]86-*-gnu*> (tmake_file): Include i386/t-gnu.
* config/i386/t-linux64: Add multiarch names in
MULTILIB_OSDIRNAMES, define MULTIARCH_DIRNAME.
* config/i386/t-gnu: New file.
* config/i386/t-kfreebsd: Likewise.
* config/i386/t-linux: Likewise.
* config/sparc/t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES.
* config/sparc/t-linux: New file; define MULTIARCH_DIRNAME.
* config.gcc <sparc-*-linux*> (tmake_file): Include sparc/t-linux
for 32bit non-biarch configurations.
* config/pa/t-linux: New file; define MULTIARCH_DIRNAME.
* config.gcc <hppa*64*-*-linux*, hppa*-*-linux*> (tmake_file):
Include pa/t-linux.
* config/mips/t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES.
* config/arm/t-linux-eabi: Define MULTIARCH_DIRNAME for linux target.
* config/rs6000/t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES.
* config/rs6000/t-linux: New file; define MULTIARCH_DIRNAME.
* config/rs6000/t-fprules (SOFT_FLOAT_CPUS): New macro. Add e300c2
to the list.
(MULTILIB_MATCHES_FLOAT): Define in terms of SOFT_FLOAT_CPUS.
* config.gcc <powerpc-*-linux* | powerpc64-*-linux*> (tmake_file):
Include rs6000/t-linux for 32bit non-biarch configurations.
* config/s390/t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES.
* config/m68k/t-linux: Define MULTIARCH_DIRNAME.
* config/ia64/t-linux: New file; define MULTIARCH_DIRNAME.
* config.gcc <ia64*-*-linux*> (tmake_file): Include ia64/t-linux.
* config/alpha/t-linux: New file; define MULTIARCH_DIRNAME.
* config.gcc <alpha*-*-linux*> (tmake_file): Include alpha/t-linux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195153
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 14 Jan 2013 14:59:51 +0000 (14:59 +0000)]
* tree-vectorizer.h (vect_get_single_scalar_iteraion_cost): Fix typo.
* tree-vect-loop.c (vect_get_single_scalar_iteraion_cost): Likewise.
(vect_estimate_min_profitable_iter): Adjust to above fix.
* tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195148
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 14 Jan 2013 00:17:35 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195139
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Sun, 13 Jan 2013 12:06:04 +0000 (12:06 +0000)]
2013-01-13 Janus Weil <janus@gcc.gnu.org>
PR fortran/55072
* trans-array.c (gfc_conv_array_parameter): No packing was done for
full arrays of derived type.
2013-01-13 Janus Weil <janus@gcc.gnu.org>
PR fortran/55072
* gfortran.dg/internal_pack_13.f90: New test.
* gfortran.dg/internal_pack_14.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195135
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Sun, 13 Jan 2013 07:51:26 +0000 (07:51 +0000)]
2013-01-13 Paul Thomas <pault@gcc.gnu.org>
PR fortran/55618
* trans-expr.c (gfc_conv_procedure_call): Dereference scalar
character function arguments to elemental procedures in
scalarization loops.
2013-01-13 Paul Thomas <pault@gcc.gnu.org>
PR fortran/55618
* gfortran.dg/elemental_scalar_args_2.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195129
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 13 Jan 2013 00:17:52 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195127
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 12 Jan 2013 00:19:48 +0000 (00:19 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195122
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 11 Jan 2013 17:09:52 +0000 (17:09 +0000)]
Fix typo in __builtin_ia32_packssdw256
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195114
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 11 Jan 2013 17:02:16 +0000 (17:02 +0000)]
Fix typo in __builtin_ia32_paddb256, __builtin_ia32_pavgb256
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195111
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 11 Jan 2013 00:18:19 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195101
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 10 Jan 2013 00:18:23 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195071
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 9 Jan 2013 18:55:34 +0000 (18:55 +0000)]
PR c++/55893
* decl.c (cp_finish_decl): Clear TREE_READONLY if the variable
needs destruction.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195063
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 9 Jan 2013 18:37:43 +0000 (18:37 +0000)]
Backport from mainline
2013-01-09 Uros Bizjak <ubizjak@gmail.com>
* config/i386/sse.md (*vec_interleave_highv2df): Change mode
attribute of movddup insn to DF.
(*vec_interleave_lowv2df): Ditto.
(vec_dupv2df): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195061
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 9 Jan 2013 00:18:18 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195042
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Tue, 8 Jan 2013 21:32:57 +0000 (21:32 +0000)]
* doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195037
138bc75d-0d04-0410-961f-
82ee72b054a4
mikael [Tue, 8 Jan 2013 19:42:38 +0000 (19:42 +0000)]
PR fortran/42769
PR fortran/45836
PR fortran/45900
* module.c (read_module): Don't reuse local symtree if the associated
symbol isn't exactly the one wanted. Don't reuse local symtree if it is
ambiguous.
* resolve.c (resolve_call): Use symtree's name instead of symbol's to
lookup the symtree.
PR fortran/42769
PR fortran/45836
PR fortran/45900
* gfortran.dg/use_23.f90: New test.
* gfortran.dg/use_24.f90: New test.
* gfortran.dg/use_25.f90: New test.
* gfortran.dg/use_26.f90: New test.
* gfortran.dg/use_27.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195031
138bc75d-0d04-0410-961f-
82ee72b054a4
brobecke [Tue, 8 Jan 2013 12:35:38 +0000 (12:35 +0000)]
statement before variable declaration in cp_parser_initializer_list.
gcc/cp/ChangeLog:
* parser.c (cp_parser_initializer_list): Move declaration
of variable non_const to start of lexical block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195014
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 8 Jan 2013 00:18:49 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195001
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Mon, 7 Jan 2013 19:11:04 +0000 (19:11 +0000)]
2013-01-07 Tobias Burnus <burnus@net-b.de>
Thomas Koenig <tkoenig@gcc.gnu.org>
Jakub Jelinek <jakub@redhat.com>
PR fortran/55852
* expr.c (gfc_build_intrinsic_call): Avoid clashes
with user's procedures.
* gfortran.h (gfc_build_intrinsic_call): Update prototype.
(GFC_PREFIX): Define.
* simplify.c (gfc_simplify_size): Update call.
2013-01-07 Tobias Burnus <burnus@net-b.de>
PR fortran/55852
* gfortran.dg/intrinsic_size_3.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194995
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Mon, 7 Jan 2013 18:51:33 +0000 (18:51 +0000)]
Backport from 2013-01-07 trunk r194991, r194992.
PR target/55897
* doc/extend.texi (AVR Named Address Spaces): __memx goes into
.progmemx.data now.
* config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
(avr_addrspace_t): Add .section_name field.
* config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
array size.
(avr_addrspace): Same. Initialize .section_name. Remove last
NULL entry. Put __memx into .progmemx.data.
(progmem_section_prefix): Remove.
(avr_asm_init_sections): No need to initialize progmem_section.
(avr_asm_named_section): Use avr_addrspace[].section_name to get
section name prefix.
(avr_asm_select_section): Ditto. And use get_unnamed_section to
retrieve the progmem section.
* avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
boundary to run over avr_addrspace[].
(avr_register_target_pragmas): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194993
138bc75d-0d04-0410-961f-
82ee72b054a4
mikael [Mon, 7 Jan 2013 17:56:53 +0000 (17:56 +0000)]
2013-01-07 Steven G. Kargl <kargl@gcc.gnu.org>
Mikael Morin <mikael@gcc.gnu.org>
PR fortran/55827
* class.c (gfc_fix_class_refs): Adapt ts initialization for the case
e->symtree == NULL.
* trans-expr.c (gfc_conv_function_expr): Init sym earlier. Use it.
2013-01-07 Steven G. Kargl <kargl@gcc.gnu.org>
Mikael Morin <mikael@gcc.gnu.org>
PR fortran/55827
* gfortran.dg/use_22.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194985
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Mon, 7 Jan 2013 16:22:59 +0000 (16:22 +0000)]
Backport from 2013-01-07 trunk r194978.
PR target/54461
* doc/install.texi (Cross-Compiler-Specific Options): Document
--with-avrlibc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194981
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Mon, 7 Jan 2013 13:12:10 +0000 (13:12 +0000)]
Backport from 2013-01-07 trunk r194968.
PR other/55243
* config/avr/t-avr: Don't automatically rebuild
$(srcdir)/config/avr/t-multilib
$(srcdir)/config/avr/avr-tables.opt
(avr-mcus): New phony target to build them on request.
(s-avr-mlib): Remove.
* avr/avr-mcus.def: Adjust comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194970
138bc75d-0d04-0410-961f-
82ee72b054a4
xguo [Mon, 7 Jan 2013 03:12:29 +0000 (03:12 +0000)]
gcc/ChangeLog
2013-01-07 Terry Guo <terry.guo@arm.com>
Backport from mainline
2012-12-19 Terry Guo <terry.guo@arm.com>
* config/arm/arm.c (thumb_find_work_register): Check argument
register number based on current PCS.
gcc/testsuite/ChangeLog
2013-01-07 Terry Guo <terry.guo@arm.com>
Backport from mainline
2012-12-19 Terry Guo <terry.guo@arm.com>
* gcc.target/arm/thumb-find-work-register.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194959
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 7 Jan 2013 00:17:54 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194956
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Sun, 6 Jan 2013 21:26:15 +0000 (21:26 +0000)]
* doc/xml/manual/abi.xml: Update library and symbol versions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194951
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 6 Jan 2013 12:04:25 +0000 (12:04 +0000)]
* gcc-interface/decl.c (gnat_to_gnu_entity) <discrete_type>: Do not
pack the field of the record type made for a misaligned type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194944
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 6 Jan 2013 12:03:03 +0000 (12:03 +0000)]
Backport from mainline
2013-01-04 Robert Dewar <dewar@adacore.com>
* gnat_rm.texi: Document alignment choice for subtypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194943
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 6 Jan 2013 08:45:43 +0000 (08:45 +0000)]
Backport from mainline
2013-01-03 Uros Bizjak <ubizjak@gmail.com>
PR target/55712
* config/i386/i386-c.c (ix86_target_macros_internal): Depending on
selected code model, define __code_mode_small__, __code_model_medium__,
__code_model_large__, __code_model_32__ or __code_model_kernel__.
* config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
xchg temporary register with %k. Declare temporary register as
early clobbered.
[__x86_64__]: For medium and large code models, preserve %rbx register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194937
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 6 Jan 2013 00:18:08 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194935
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 5 Jan 2013 00:17:20 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194923
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 4 Jan 2013 16:51:02 +0000 (16:51 +0000)]
PR c++/55877
* decl.c (reset_type_linkage, bt_reset_linkage): New.
(grokdeclarator): Use reset_type_linkage.
* name-lookup.c (binding_table_foreach): Handle null table.
* tree.c (decl_anon_ns_mem_p): Check TYPE_MAIN_DECL, not TYPE_NAME.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194911
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 4 Jan 2013 04:17:07 +0000 (04:17 +0000)]
i386: Backport gcc.dg/torture/tls/tls-reload-1.c fix from master
* config/i386/i386.c (ix86_expand_move): Always assign to op1
after eliminating TLS symbols.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194882
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 4 Jan 2013 04:03:18 +0000 (04:03 +0000)]
PR target/53789
* config/pa/pa.md (movsi): Revert previous change.
* config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
references.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194880
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 4 Jan 2013 00:18:19 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194877
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 3 Jan 2013 20:37:28 +0000 (20:37 +0000)]
PR c++/55419
PR c++/55753
* pt.c (tsubst_copy_and_build) [TARGET_EXPR]: Don't touch
TREE_CONSTANT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194872
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 3 Jan 2013 20:37:10 +0000 (20:37 +0000)]
PR c++/55842
* semantics.c (trait_expr_value): Call maybe_instantiate_noexcept.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194871
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 3 Jan 2013 18:30:58 +0000 (18:30 +0000)]
PR c++/55856
* semantics.c (build_data_member_initialization): Handle DECL_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194864
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Thu, 3 Jan 2013 16:47:37 +0000 (16:47 +0000)]
2013-01-02 Rainer Emrich <rainer@emrich-ebersheim.de>
PR bootstrap/55707
* graphite-dependences.c (hash_poly_ddr_p): Cast from pointer via
intptr_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194859
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 3 Jan 2013 00:17:59 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194826
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 2 Jan 2013 20:56:29 +0000 (20:56 +0000)]
PR c++/54325
* call.c (build_new_method_call_1): Don't use build_value_init for
user-provided default constructors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194821
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 2 Jan 2013 19:03:37 +0000 (19:03 +0000)]
PR c++/55804
PR c++/55032
PR c++/55245
* tree.c (build_array_type_1): Revert earlier change.
* cp/tree.c (build_cplus_array_type): Copy layout information
to main variant if necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194812
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 2 Jan 2013 00:17:53 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194772
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 1 Jan 2013 00:17:49 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194766
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 31 Dec 2012 00:17:51 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194759
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 30 Dec 2012 00:17:57 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194755
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 29 Dec 2012 00:17:50 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194748
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 28 Dec 2012 00:17:33 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194741
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 27 Dec 2012 00:17:53 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194728
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 26 Dec 2012 00:18:04 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194720
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Tue, 25 Dec 2012 21:05:21 +0000 (21:05 +0000)]
PR target/53789
* config/pa/pa.md (movsi): Reject expansion of TLS symbol references
after reload starts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194716
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 25 Dec 2012 00:18:14 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194711
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 24 Dec 2012 00:17:52 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194708
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 23 Dec 2012 00:17:56 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194702
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 22 Dec 2012 17:31:54 +0000 (17:31 +0000)]
Backport from mainline:
2012-12-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* gcc.misc-tests/gcov-12.c: Fix dg order.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194698
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 22 Dec 2012 17:27:23 +0000 (17:27 +0000)]
Backport from mainline:
2012-12-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* gcc.dg/torture/pr47917.c: Change "dg-xfail-if" to "dg-xfail-run-if"
for *-*-hpux10*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194697
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 22 Dec 2012 17:23:52 +0000 (17:23 +0000)]
Backport from mainline:
2012-12-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* gcc.dg/
20030711-1.c: Define MAP_FAILED if not defined.
* gcc.dg/
20050826-1.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194695
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sat, 22 Dec 2012 10:46:37 +0000 (10:46 +0000)]
2012-12-22 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/30162
Backport from trunk
* io/unix.c (raw_tell): If the lseek is done on a
non-seekable file, return 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194694
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 22 Dec 2012 00:18:19 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194690
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 21 Dec 2012 22:33:36 +0000 (22:33 +0000)]
PR ada/53737
* sem_ch12.adb (Analyze_Associations): Do not check the legality of
actuals for RACW types if this is an internal instantiation for a formal
package with defaulted parameters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194688
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Fri, 21 Dec 2012 22:21:14 +0000 (22:21 +0000)]
2012-12-21 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/55355
* tree-sra.c (type_internals_preclude_sra_p): Also check that
bit_position is small enough to fit a single HOST_WIDE_INT.
* testsuite/g++.dg/torture/pr55355.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194684
138bc75d-0d04-0410-961f-
82ee72b054a4
mgretton [Fri, 21 Dec 2012 09:56:19 +0000 (09:56 +0000)]
2012-12-21 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
* config.gcc: Match arm*-*-uclinux*eabi* for EABI uCLinux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194657
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 21 Dec 2012 00:18:02 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194654
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Thu, 20 Dec 2012 10:48:11 +0000 (10:48 +0000)]
2012-12-20 Tobias Burnus <burnus@net-b.de>
PR fortran/54818
* trans-intrinsic.c (gfc_conv_intrinsic_transfer): Ensure that
the string length is of type gfc_charlen_type_node.
2012-12-20 Tobias Burnus <burnus@net-b.de>
PR fortran/54818
* gfortran.dg/transfer_intrinsic_4.f: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194632
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 20 Dec 2012 02:58:16 +0000 (02:58 +0000)]
PR c++/55724
* pt.c (type_unification_real): Re-combine post-deduction loops.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194627
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 20 Dec 2012 00:18:22 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194624
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 19 Dec 2012 00:17:59 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194596
138bc75d-0d04-0410-961f-
82ee72b054a4
mgretton [Tue, 18 Dec 2012 14:27:14 +0000 (14:27 +0000)]
Backport r192475 from mainline.
gcc/
2012-10-15 Matthias Klose <doko@ubuntu.com>
* config.gcc: Match arm*-*-linux-* for ARM Linux/GNU.
* doc/install.texi: Use arm-*-*linux-* instead of arm-*-*linux-gnueabi.
gcc/testsuite/
2012-10-15 Matthias Klose <doko@ubuntu.com>
* lib/target-supports.exp (check_profiling_available): Match
arm*-*-linux-* for ARM Linux/GNU.
* g++.dg/torture/predcom-1.C: Match arm*-*-linux-* for ARM Linux/GNU.
* gfortran.dg/enum_10.f90: Likewise.
* gfortran.dg/enum_9.f90: Likewise.
* gcc.target/arm/synchronize.c: Likewise.
* g++.old-deja/g++.jason/enum6.C: Likewise.
* g++.old-deja/g++.other/enum4.C: Likewise.
* g++.old-deja/g++.law/enum9.C: Likewise.
gcc/ada/
2012-10-15 Matthias Klose <doko@ubuntu.com>
* gcc-interface/Makefile.in: Match arm*-*-linux-*eabi* for
ARM Linux/GNU.
libgcc/
2012-10-15 Matthias Klose <doko@ubuntu.com>
* config.host: Match arm*-*-linux-* for ARM Linux/GNU.
libstdc++-v3/
2012-10-15 Matthias Klose <doko@ubuntu.com>
* configure.host: Match arm*-*-linux-* for ARM Linux/GNU.
* testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise.
libjava/
2012-10-15 Matthias Klose <doko@ubuntu.com>
* configure.ac: Match arm*-*-linux-* for ARM Linux/GNU.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194580
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Tue, 18 Dec 2012 12:15:43 +0000 (12:15 +0000)]
* doc/xml/manual/abi.xml: Update URLs for C++ ABI.
* doc/xml/manual/policy_data_structures_biblio.xml: Add xmlns
* doc/xml/manual/policy_data_structures.xml: Set filename for chunk.
* doc/xml/manual/spine.xml: Update copyright years.
* doc/html/*: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194577
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 18 Dec 2012 00:17:47 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194570
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Mon, 17 Dec 2012 14:56:45 +0000 (14:56 +0000)]
2012-12-17 Matthias Klose <doko@ubuntu.com>
* config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
as unused.
(_Unwind_decode_typeinfo_ptr): Mark base as unused.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194555
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 17 Dec 2012 02:14:30 +0000 (02:14 +0000)]
* src/c++11/thread.cc: Update copyright years.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194548
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 17 Dec 2012 00:18:19 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194545
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Sun, 16 Dec 2012 21:21:14 +0000 (21:21 +0000)]
* src/c++11/thread.cc (execute_native_thread_routine): Do not swallow
__forced_unwind exceptions.
* testsuite/30_threads/thread/native_handle/cancel.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194540
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 16 Dec 2012 10:40:32 +0000 (10:40 +0000)]
PR ada/54614
Backport from mainline
2012-10-01 Vincent Pucci <pucci@adacore.com>
* s-gearop.adb (Vector_Matrix_Product): Fix dimension check and index
of Left in S evaluation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194534
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 16 Dec 2012 10:26:08 +0000 (10:26 +0000)]
PR target/55673
* config/sparc/sparc.c (sparc_emit_membar_for_model): Fix reversed
handling of before and after cases.
* config/sparc/sync.md (atomic_store): Fix pasto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194532
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 16 Dec 2012 00:17:51 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194527
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sat, 15 Dec 2012 18:16:28 +0000 (18:16 +0000)]
PR ada/53766
Backport from mainline
2012-07-17 Hristian Kirtchev <kirtchev@adacore.com>
* exp_attr.adb (Expand_N_Attribute_Reference): Add local variables Attr
and Conversion_Added. Add local constant Typ.
Retrieve the original attribute after the arithmetic check
machinery has modified the node. Add a conversion to the target
type when the prefix of attribute Max_Size_In_Storage_Elements
is a controlled type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194522
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 15 Dec 2012 00:17:42 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194514
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 14 Dec 2012 16:26:17 +0000 (16:26 +0000)]
* optabs.c (expand_atomic_store): Elide redundant model test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194505
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 14 Dec 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@194494
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 13 Dec 2012 21:17:52 +0000 (21:17 +0000)]
PR middle-end/55492
* optabs.c (expand_atomic_load): Emit acquire barrier after the load.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194491
138bc75d-0d04-0410-961f-
82ee72b054a4