OSDN Git Service

pf3gnuchains/gcc-fork.git
11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:53:12 +0000 (06:53 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:53:06 +0000 (06:53 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:53:01 +0000 (06:53 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:52:55 +0000 (06:52 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:52:49 +0000 (06:52 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:52:43 +0000 (06:52 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:52:37 +0000 (06:52 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:52:31 +0000 (06:52 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:52:25 +0000 (06:52 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:52:19 +0000 (06:52 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:52:13 +0000 (06:52 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:52:07 +0000 (06:52 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:52:00 +0000 (06:52 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:51:55 +0000 (06:51 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:51:50 +0000 (06:51 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:51:44 +0000 (06:51 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:51:39 +0000 (06:51 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:51:34 +0000 (06:51 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:51:27 +0000 (06:51 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:51:21 +0000 (06:51 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:51:15 +0000 (06:51 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:51:09 +0000 (06:51 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:51:04 +0000 (06:51 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:50:58 +0000 (06:50 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:50:52 +0000 (06:50 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:50:46 +0000 (06:50 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:50:41 +0000 (06:50 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:50:33 +0000 (06:50 +0000)]
Mark ChangeLog

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

11 years agoMark ChangeLog
gccadmin [Thu, 20 Sep 2012 06:50:24 +0000 (06:50 +0000)]
Mark ChangeLog

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

11 years agoDaily bump.
gccadmin [Thu, 20 Sep 2012 00:17:39 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago * gcc.pot: Regenerate.
jsm28 [Wed, 19 Sep 2012 14:51:45 +0000 (14:51 +0000)]
* gcc.pot: Regenerate.

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

11 years agoDaily bump.
gccadmin [Wed, 19 Sep 2012 00:17:09 +0000 (00:17 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Tue, 18 Sep 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@191410 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/53661
jason [Mon, 17 Sep 2012 16:41:41 +0000 (16:41 +0000)]
PR c++/53661
* typeck2.c (check_narrowing): Avoid false positives on conversion
from enumeral type.

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

11 years agoDaily bump.
gccadmin [Mon, 17 Sep 2012 00:17:46 +0000 (00:17 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Sun, 16 Sep 2012 00:17:20 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago2012-09-15 Andi Kleen <ak@linux.intel.com>
ak [Sat, 15 Sep 2012 23:03:27 +0000 (23:03 +0000)]
2012-09-15  Andi Kleen  <ak@linux.intel.com>

        Backport from mainline
        2012-09-07  Andi Kleen  <ak@linux.intel.com>

        * gcc/lto-streamer.h (res_pair): Add.
        (lto_file_decl_data): Replace resolutions with respairs.
        Add max_index.
        * gcc/lto/lto.c (lto_resolution_read): Remove max_index.  Add
        * rp.
        Initialize respairs.
        (lto_file_finalize): Set up resolutions vector lazily from respairs.

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

11 years ago * vi.po: Update.
jsm28 [Sat, 15 Sep 2012 19:08:09 +0000 (19:08 +0000)]
* vi.po: Update.

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

11 years agoDaily bump.
gccadmin [Sat, 15 Sep 2012 00:17:04 +0000 (00:17 +0000)]
Daily bump.

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

11 years agoFix grammar/spelling.
walt [Fri, 14 Sep 2012 20:45:27 +0000 (20:45 +0000)]
Fix grammar/spelling.
       Backport from mainline.
       2012-09-14  Walter Lee  <walt@tilera.com>

       * doc/invoke.texi (Option Summary): fix typesetting for -mcpu
       option for TILEPro and TILE-Gx.

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

11 years agoDaily bump.
gccadmin [Fri, 14 Sep 2012 00:17:35 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago2012-09-13 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 13 Sep 2012 18:10:04 +0000 (18:10 +0000)]
2012-09-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/54556
        * resolve.c (resolve_formal_arglist): Allow VALUE arguments
        with implicit_pure.
        (gfc_impure_variable): Don't check gfc_pure such that the
        function also works for gfc_implicit_pure procedures.

2012-09-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/54556
        * gfortran.dg/implicit_pure_3.f90: New.

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

11 years ago * config/i386/i386.h (x86_prefetchw): New global variable.
uros [Thu, 13 Sep 2012 17:32:23 +0000 (17:32 +0000)]
* config/i386/i386.h (x86_prefetchw): New global variable.
(TARGET_PREFETCHW): New macro.
* config/i386/i386.c (PTA_PREFETCHW): Ditto.
(processor_alias_table): Add PTA_PREFETCHW to
bdver1, bdver2 and btver1.
(ix86_option_override_internal): Set x86_prefetchw for
PTA_PREFETCHW targets.
* config/i386/i386.md (prefetch): Expand to prefetchw
for TARGET_PREFETCHW.
(*prefetch_3dnow_<mode>): Also enable for TARGET_PREFETCHW.

Backport from mainline
2012-08-13  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/i386.md (prefetch): Do not assert mode of operand 0.
(*prefetch_sse_<mode>): Do not set mode of address_operand predicate.
Rename to ...
(*prefetch_sse): ... this.
(*prefetch_3dnow_<mode>): Do not set mode of address_operand predicate.
Rename to ...
(*prefetch_3dnow): ... this.

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

11 years ago PR c/54559
jakub [Thu, 13 Sep 2012 17:04:44 +0000 (17:04 +0000)]
PR c/54559
* c-typeck.c (c_finish_return): Do convert to BOOLEAN_TYPE or
COMPLEX_TYPE with in_late_binary_op set temporarily to true.

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

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

11 years ago PR c++/53839
jason [Thu, 13 Sep 2012 15:15:06 +0000 (15:15 +0000)]
PR c++/53839
* semantics.c (cxx_eval_indirect_ref): If we aren't looking for an
address, make sure the value is constant.

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

11 years ago PR c++/54511
jason [Thu, 13 Sep 2012 15:14:49 +0000 (15:14 +0000)]
PR c++/54511
* pt.c (tsubst_decl) [VAR_DECL]: Handle DECL_ANON_UNION_VAR_P.

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

11 years ago PR c++/53836
jason [Thu, 13 Sep 2012 15:14:27 +0000 (15:14 +0000)]
PR c++/53836
* pt.c (value_dependent_expression_p): A TREE_LIST initializer must
be dependent.

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

11 years ago2012-09-12 Teresa Johnson <tejohnson@google.com>
tejohnson [Thu, 13 Sep 2012 13:32:31 +0000 (13:32 +0000)]
2012-09-12  Teresa Johnson  <tejohnson@google.com>

Backport from mainline.
2012-09-12  Teresa Johnson  <tejohnson@google.com>

        PR gcov-profile/54487
        * configure.ac (HOST_HAS_F_SETLKW): Set based on compile
        test using F_SETLKW with fcntl.
        * configure, config.in: Regenerate.

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

11 years agoDaily bump.
gccadmin [Thu, 13 Sep 2012 00:17:17 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago Backport from mainline
uros [Wed, 12 Sep 2012 16:06:42 +0000 (16:06 +0000)]
Backport from mainline
2012-09-12  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>

* config/i386/i386.md : Comments on fma4 instruction selection
reflect requirement on register pressure based cost model.

* config/i386/driver-i386.c (host_detect_local_cpu): fma4
flag is set-reset as informed by the cpuid flag.

* config/i386/i386.c (processor_alias_table): fma4
flag is enabled for bdver2.

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

11 years ago* config/sh/newlib.h (NO_IMPLICIT_EXTERN_C): Define.
chrbr [Wed, 12 Sep 2012 13:11:20 +0000 (13:11 +0000)]
* config/sh/newlib.h (NO_IMPLICIT_EXTERN_C): Define.

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

11 years ago2012-09-12 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 12 Sep 2012 12:15:44 +0000 (12:15 +0000)]
2012-09-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/54225
        PR fortran/53306
        * array.c (match_subscript, gfc_match_array_ref): Fix
        diagnostic of coarray's '*'.

2012-09-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/54225
        PR fortran/53306
        * gfortran.dg/coarray_10.f90: Update dg-error.
        * gfortran.dg/coarray_28.f90: New.
        * gfortran.dg/array_section_3.f90: New.

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

11 years ago * config.gcc: Obsolete picochip-*.
jakub [Wed, 12 Sep 2012 09:03:54 +0000 (09:03 +0000)]
* config.gcc: Obsolete picochip-*.

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

11 years agoDaily bump.
gccadmin [Wed, 12 Sep 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@191205 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR libstdc++/54172
jakub [Tue, 11 Sep 2012 15:24:06 +0000 (15:24 +0000)]
PR libstdc++/54172
* libsupc++/guard.cc (__cxa_guard_acquire): Fix up the last
argument of the first __atomic_compare_exchange_n.

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

11 years ago2012-09-11 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 11 Sep 2012 10:43:13 +0000 (10:43 +0000)]
2012-09-11  Richard Guenther  <rguenther@suse.de>

PR debug/54534
* cgraph.h (varpool_can_remove_if_no_refs): Restore dependence
on flag_toplevel_reorder.

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

11 years agoDaily bump.
gccadmin [Tue, 11 Sep 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@191168 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/54506
jason [Mon, 10 Sep 2012 14:24:19 +0000 (14:24 +0000)]
PR c++/54506
* decl.c (move_signature_fn_p): Split out from move_fn_p.
* method.c (process_subob_fn): Use it.
* cp-tree.h: Declare it.

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

11 years ago PR c++/54341
jason [Mon, 10 Sep 2012 14:24:07 +0000 (14:24 +0000)]
PR c++/54341
PR c++/54253
* semantics.c (sort_constexpr_mem_initializers): New.
(build_constexpr_constructor_member_initializers): Use it.
(cx_check_missing_mem_inits): Skip artificial fields.
* init.c (expand_aggr_init_1): Don't zero out a class
with no data.

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

11 years ago PR c++/54086
jason [Mon, 10 Sep 2012 14:23:54 +0000 (14:23 +0000)]
PR c++/54086
* decl.c (grokdeclarator): Allow const and constexpr together.

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

11 years ago* config/alpha/predicates.md (small_symbolic_operand): Disallow large offsets.
rth [Mon, 10 Sep 2012 13:07:22 +0000 (13:07 +0000)]
* config/alpha/predicates.md (small_symbolic_operand): Disallow large offsets.

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

11 years ago2012-09-10 Janus Weil <janus@gcc.gnu.org>
janus [Mon, 10 Sep 2012 12:10:12 +0000 (12:10 +0000)]
2012-09-10  Janus Weil  <janus@gcc.gnu.org>

PR fortran/54435
PR fortran/54443
* match.c (gfc_match_select_type): Make sure to only access CLASS_DATA
for BT_CLASS.

2012-09-10  Janus Weil  <janus@gcc.gnu.org>

PR fortran/54435
PR fortran/54443
* gfortran.dg/select_type_29.f03: New.

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

11 years ago Backport from 2012-09-10 mainline r191132.
gjl [Mon, 10 Sep 2012 10:46:27 +0000 (10:46 +0000)]
Backport from 2012-09-10 mainline r191132.

PR target/54536
* config/avr/avr-mcus.def (at90usb1287): Set LIBRARY_NAME to "usb1287".

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

11 years ago2012-09-07 Markus Trippelsdorf <markus@trippelsdorf.de>
rguenth [Mon, 10 Sep 2012 09:48:28 +0000 (09:48 +0000)]
2012-09-07  Markus Trippelsdorf  <markus@trippelsdorf.de>

PR middle-end/54515
* tree-sra.c (disqualify_base_of_expr): Check for possible
NULL_TREE returned by get_base_address()

* g++.dg/tree-ssa/pr54515.C: new testcase

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

11 years ago2012-09-09 Thiago Macieira <thiago.macieira@intel.com>
bkoz [Mon, 10 Sep 2012 05:08:07 +0000 (05:08 +0000)]
2012-09-09  Thiago Macieira  <thiago.macieira@intel.com>

PR libstdc++/54172
        * libsupc++/guard.cc (__cxa_guard_acquire): Exit the loop earlier if
        we detect that another thread has had success. Don't compare_exchange
        from a finished state back to a waiting state. Comment.

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

11 years agoDaily bump.
gccadmin [Mon, 10 Sep 2012 00:17:14 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago PR libstdc++/54388
redi [Sun, 9 Sep 2012 18:40:46 +0000 (18:40 +0000)]
PR libstdc++/54388
* include/std/array (array::at() const): Ensure lvalue result.
* testsuite/23_containers/array/element_access/54388.cc: New.

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

11 years agoDaily bump.
gccadmin [Sun, 9 Sep 2012 00:18:08 +0000 (00:18 +0000)]
Daily bump.

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

11 years agofortran/
mikael [Sat, 8 Sep 2012 09:22:54 +0000 (09:22 +0000)]
fortran/
PR fortran/54208
* simplify.c (simplify_bound_dim): Resolve array spec before
proceeding with simplification.

testsuite/
PR fortran/54208
* gfortran.dg/bound_simplification_3.f90: New test.

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

11 years agoDaily bump.
gccadmin [Sat, 8 Sep 2012 00:17:34 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago2012-09-07 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 7 Sep 2012 13:05:18 +0000 (13:05 +0000)]
2012-09-07  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2012-06-26  Jan Hubicka  <jh@suse.cz>

PR lto/53572
* cgraph.h (varpool_can_remove_if_no_refs): Fix handling of
used symbols.

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

11 years ago2012-09-07 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 7 Sep 2012 13:04:38 +0000 (13:04 +0000)]
2012-09-07  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2012-07-13  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53922
* tree-vrp.c (value_inside_range): Change prototype to take
min/max instead of value-range.
(range_includes_zero_p): Likewise.  Return the result from
value_inside_range.
(extract_range_from_binary_expr_1): Adjust to handle dont-know
return value from range_includes_zero_p.
(extract_range_from_unary_expr_1): Likewise.
(compare_range_with_value): Likewise.
(vrp_meet_1): Likewise.

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

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

11 years ago * gcc-interface/trans.c (Loop_Statement_to_gnu): Revert to using
ebotcazou [Fri, 7 Sep 2012 11:55:44 +0000 (11:55 +0000)]
* gcc-interface/trans.c (Loop_Statement_to_gnu): Revert to using
size_type_node instead of sizetype.

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

11 years ago2012-09-07 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 7 Sep 2012 10:29:56 +0000 (10:29 +0000)]
2012-09-07  Richard Guenther  <rguenther@suse.de>

PR middle-end/53667
* tree-ssa-structalias.c (handle_rhs_call): Properly clobber
EAF_NOESCAPED arguments.  Transitively close non-EAF_DIRECT
arguments separately.

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

11 years ago * gcc.dg/pr44194-1.c: Skip on Alpha and adjust regexp for SPARC64.
ebotcazou [Fri, 7 Sep 2012 10:05:21 +0000 (10:05 +0000)]
* gcc.dg/pr44194-1.c: Skip on Alpha and adjust regexp for SPARC64.

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

11 years ago2012-09-07 Jakub Jelinek <jakub@redhat.com>
jakub [Fri, 7 Sep 2012 09:35:21 +0000 (09:35 +0000)]
2012-09-07  Jakub Jelinek  <jakub@redhat.com>

Backported from mainline
2012-09-06  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/54455
* sel-sched-ir.c (maybe_tidy_empty_bb): Give up if previous fallthru
bb ends up with asm goto referencing bb's label.

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

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

11 years agoFix PR target/54252
ramana [Fri, 7 Sep 2012 09:31:54 +0000 (09:31 +0000)]
Fix PR target/54252

2012-09-07  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

Backport from mainline.
2012-08-29  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
                   Richard Earnshaw  <richard.earnshaw@arm.com>

PR target/54252
* config/arm/arm.c (neon_dereference_pointer): Adjust nelems by
element size. Use elem_type from the formal parameter. New parameter
fcode.
(neon_expand_args): Adjust call to neon_dereference_pointer.

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

11 years agoDaily bump.
gccadmin [Fri, 7 Sep 2012 00:17:54 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago2012-09-06 Uros Bizjak <ubizjak@gmail.com>
uros [Thu, 6 Sep 2012 15:45:11 +0000 (15:45 +0000)]
2012-09-06  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/sse.md (<sse4_1_avx2>_pblendvb): Use
reg_not_xmm0_operand_maybe_avx as operand 0 constraint.

2012-09-06  Uros Bizjak  <ubizjak@gmail.com>

Backport from mainline
2012-08-11  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/i386.md (isa): Add fma and fma4.
(enabled): Handle fma and fma4.
* config/i386/sse.md (*fma_fmadd_<mode>): Merge *fma4_fmadd_<mode>.
(*fma_fmsub_<mode>): Merge *fma4_fmsub_<mode>.
(*fma_fnmadd_<mode>): Merge *fma4_fnmadd_<mode>.
(*fma_fnmsub_<mode>): Merge *fma4_fnmsub_<mode>.
(*fma_fmaddsub_<mode>): Merge *fma4_fmaddsub_<mode>.
(*fma_fmsubadd_<mode>): Merge *fma4_fmsubadd_<mode>.

2012-08-10  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/sse.md (*fma_fmadd_<mode>, *fma_fmsub_<mode>,
*fma_fnmadd_<mode>, *fma_fnmsub_<mode>, *fma_fmaddsub_<mode>,
*fma_fmsubadd_<mode>): Move FMA3 insn patterns before FMA4 patterns.

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

11 years ago2012-09-06 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 6 Sep 2012 15:20:24 +0000 (15:20 +0000)]
2012-09-06  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/54498
* tree-ssa-alias.h (get_continuation_for_phi): Add flag to
abort when reaching an already visited region.
* tree-ssa-alias.c (maybe_skip_until): Likewise.  And do it.
(get_continuation_for_phi_1): Likewise.
(walk_non_aliased_vuses): When we translated the reference,
abort when we re-visit a region.
* tree-ssa-pre.c (translate_vuse_through_block): Adjust.

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

11 years ago2012-09-06 Andrew Pinski <apinski@cavium.com>
pinskia [Thu, 6 Sep 2012 13:51:37 +0000 (13:51 +0000)]
2012-09-06  Andrew Pinski  <apinski@cavium.com>

        PR tree-opt/54494
        * tree-inline.c (remap_gimple_op_r): Copy TREE_SIDE_EFFECTS also.
2012-09-06  Andrew Pinski  <apinski@cavium.com>

        PR tree-opt/54494
        * gcc.dg/tree-ssa/strlen-1.c: New testcase.

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

11 years ago2012-08-26 Marc Glisse <marc.glisse@inria.fr>
paolo [Thu, 6 Sep 2012 09:27:10 +0000 (09:27 +0000)]
2012-08-26  Marc Glisse  <marc.glisse@inria.fr>
    Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/54376
* include/bits/random.h (lognormal_distribution<>::operator==,
gamma_distribution<>::operator==,
chi_squared_distribution<>::operator==,
fisher_f_distribution<>::operator==,
student_t_distribution<>::operator==,
binomial_distribution<>::operator==,
negative_binomial_distribution<>::operator==,
poisson_distribution<>::operator==): Change inline friend definition
to non-template.
* testsuite/26_numerics/random/binomial_distribution/requirements/
explicit_instantiation/1.cc: New.
* testsuite/26_numerics/random/cauchy_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/exponential_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/fisher_f_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/gamma_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/geometric_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/lognormal_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/negative_binomial_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/student_t_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/uniform_real_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/requirements/
explicit_instantiation/1.cc: Likewise.

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

11 years agodebug/elf, debug/dwarf: DWARF line number fixes.
ian [Thu, 6 Sep 2012 05:28:19 +0000 (05:28 +0000)]
debug/elf, debug/dwarf: DWARF line number fixes.

Support DW_AT_high_pc as a constant.
Support DW_AT_ranges.

PR gcc/52583

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

11 years agoDaily bump.
gccadmin [Thu, 6 Sep 2012 00:17:27 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago * config/fpu-387.h (set_fpu): Prefix stmxcsr and ldmxcsr with %v.
uros [Wed, 5 Sep 2012 21:48:15 +0000 (21:48 +0000)]
* config/fpu-387.h (set_fpu): Prefix stmxcsr and ldmxcsr with %v.

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

11 years ago * config/fpu-387.h (set_fpu): Use __builtin_ia32_stmxcsr and
uros [Wed, 5 Sep 2012 21:01:30 +0000 (21:01 +0000)]
* config/fpu-387.h (set_fpu): Use __builtin_ia32_stmxcsr and
__builtin_ia32_ldmxcsr intrinsics.

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

11 years ago PR middle-end/54486
jakub [Wed, 5 Sep 2012 16:29:42 +0000 (16:29 +0000)]
PR middle-end/54486
* builtins.c (fold_builtin_strspn, fold_builtin_strcspn): Use
build_int_cst with size_type_node instead of size_int.

* c-c++-common/pr54486.c: New test.

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

11 years ago Backport from 2012-09-05 mainline r190697.
gjl [Wed, 5 Sep 2012 12:19:47 +0000 (12:19 +0000)]
Backport from 2012-09-05 mainline r190697.

PR target/54461
* configure.ac (noconfigdirs,target=avr-*-*): Add target-newlib,
target-libgloss if configured --with-avrlibc.
* configure: Regenerate.

libgcc/
Backport from 2012-09-05 mainline r190697.

PR target/54461
* config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
configured --with-avrlibc.
* Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
(DPBIT_FUNCS): Ditto.
(TPBIT_FUNCS): Ditto.
* config/avr/t-avrlibc: New file.

gcc/
Backport from 2012-09-05 mainline r190697.

PR target/54461
* config.gcc (tm_file,target=avr-*-*): Add avr/avrlibc.h if
configured --with-avrlibc.
(tm_defines,target=avr-*-*): Add WITH_AVRLIBC if configured
--with-avrlibc.
* config/avr/avrlibc.h: New file.
* config/avr/avr-c.c: Build-in define __WITH_AVRLIBC__ if
configured --with-avrlibc.
* doc/invoke.texi (AVR Built-in Macros): Document __WITH_AVRLIBC__

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

11 years ago Backport from 2012-09-04 mainline r190919
amker [Wed, 5 Sep 2012 10:49:56 +0000 (10:49 +0000)]
Backport from 2012-09-04 mainline r190919

PR target/45070
* config/arm/arm.c (thumb1_extra_regs_pushed): Handle return value of size
less than 4 bytes by using macro ARM_NUM_INTS.
(thumb1_unexpanded_epilogue): Use macro ARM_NUM_INTS.

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

11 years ago Backported from trunk
jye2 [Wed, 5 Sep 2012 08:22:55 +0000 (08:22 +0000)]
Backported from trunk
2012-08-28  Joey Ye  <joey.ye@arm.com>

* gcc.dg/tree-ssa/ssa-dom-thread-3.c: Add -fno-short-enums.

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

11 years agoDaily bump.
gccadmin [Wed, 5 Sep 2012 00:17:44 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago* alias.c (read_dependence): Return true for ALIAS_SET_MEMORY_BARRIER.
rth [Tue, 4 Sep 2012 18:17:54 +0000 (18:17 +0000)]
* alias.c (read_dependence): Return true for ALIAS_SET_MEMORY_BARRIER.

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

11 years ago Backport from 2012-09-04 mainline r190920
gjl [Tue, 4 Sep 2012 09:38:42 +0000 (09:38 +0000)]
Backport from 2012-09-04 mainline r190920
PR target/54476
* config/avr/avr.c (avr_expand_delay_cycles): Mask operand with
SImode.

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

11 years ago Backport from 2012-09-04 mainline r190914
gjl [Tue, 4 Sep 2012 09:14:36 +0000 (09:14 +0000)]
Backport from 2012-09-04 mainline r190914
PR target/54220
* config/avr/avr.c (TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): New
define to...
(avr_allocate_stack_slots_for_args): ...this new static function.

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

11 years agoDaily bump.
gccadmin [Tue, 4 Sep 2012 00:17:44 +0000 (00:17 +0000)]
Daily bump.

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

11 years agoAdd -da and remove -dm in GCC manual
hjl [Mon, 3 Sep 2012 19:07:34 +0000 (19:07 +0000)]
Add -da and remove -dm in GCC manual

Backported from mainline
PR driver/54335
* doc/invoke.texi: Add -da and remove -dm.

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

11 years ago Backported from mainline
jakub [Mon, 3 Sep 2012 16:05:44 +0000 (16:05 +0000)]
Backported from mainline
2012-09-01  Jakub Jelinek  <jakub@redhat.com>

PR target/54436
* config/i386/i386.md (*mov<mode>_insv_1_rex64, *movsi_insv_1): If
operands[1] is CONST_INT_P, convert it to QImode before printing.

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

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

11 years ago Backported from mainline
jakub [Mon, 3 Sep 2012 16:04:19 +0000 (16:04 +0000)]
Backported from mainline
2012-08-31  Jakub Jelinek  <jakub@redhat.com>

PR c/54428
* c-convert.c (convert): Don't call fold_convert_loc if
TYPE_MAIN_VARIANT of a COMPLEX_TYPE is the same, unless e
is a COMPLEX_EXPR.  Remove TYPE_MAIN_VARIANT check from
COMPLEX_TYPE -> COMPLEX_TYPE conversion.

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

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

11 years ago Backported from mainline
jakub [Mon, 3 Sep 2012 16:02:52 +0000 (16:02 +0000)]
Backported from mainline
2012-08-24  Jakub Jelinek  <jakub@redhat.com>

PR c/54363
* gimplify.c (optimize_compound_literals_in_ctor): Only recurse
if init is a CONSTRUCTOR.

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

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

11 years agoDaily bump.
gccadmin [Mon, 3 Sep 2012 00:17:08 +0000 (00:17 +0000)]
Daily bump.

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