]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:05:16 +0000 (05:05 +0000)] 
Mark ChangeLog

From-SVN: r239035

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:05:12 +0000 (05:05 +0000)] 
Mark ChangeLog

From-SVN: r239034

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:05:07 +0000 (05:05 +0000)] 
Mark ChangeLog

From-SVN: r239033

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:05:01 +0000 (05:05 +0000)] 
Mark ChangeLog

From-SVN: r239032

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:04:56 +0000 (05:04 +0000)] 
Mark ChangeLog

From-SVN: r239031

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:04:51 +0000 (05:04 +0000)] 
Mark ChangeLog

From-SVN: r239030

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:04:45 +0000 (05:04 +0000)] 
Mark ChangeLog

From-SVN: r239029

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:04:40 +0000 (05:04 +0000)] 
Mark ChangeLog

From-SVN: r239028

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:04:35 +0000 (05:04 +0000)] 
Mark ChangeLog

From-SVN: r239027

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:04:30 +0000 (05:04 +0000)] 
Mark ChangeLog

From-SVN: r239026

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:04:25 +0000 (05:04 +0000)] 
Mark ChangeLog

From-SVN: r239025

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:04:19 +0000 (05:04 +0000)] 
Mark ChangeLog

From-SVN: r239024

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:04:14 +0000 (05:04 +0000)] 
Mark ChangeLog

From-SVN: r239023

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:04:08 +0000 (05:04 +0000)] 
Mark ChangeLog

From-SVN: r239022

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:04:02 +0000 (05:04 +0000)] 
Mark ChangeLog

From-SVN: r239021

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:03:56 +0000 (05:03 +0000)] 
Mark ChangeLog

From-SVN: r239020

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:03:52 +0000 (05:03 +0000)] 
Mark ChangeLog

From-SVN: r239019

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:03:46 +0000 (05:03 +0000)] 
Mark ChangeLog

From-SVN: r239018

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:03:40 +0000 (05:03 +0000)] 
Mark ChangeLog

From-SVN: r239017

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:03:35 +0000 (05:03 +0000)] 
Mark ChangeLog

From-SVN: r239016

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:03:30 +0000 (05:03 +0000)] 
Mark ChangeLog

From-SVN: r239015

9 years agoMark ChangeLog
Richard Biener [Wed, 3 Aug 2016 05:03:25 +0000 (05:03 +0000)] 
Mark ChangeLog

From-SVN: r239014

9 years agore PR c/7652 (-Wswitch-break : Warn if a switch case falls through)
Marek Polacek [Mon, 1 Aug 2016 16:03:41 +0000 (16:03 +0000)] 
re PR c/7652 (-Wswitch-break : Warn if a switch case falls through)

PR c/7652
* config/i386/i386.c (ix86_expand_args_builtin): Add break.
(ix86_expand_round_builtin): Likewise.

From-SVN: r238958

9 years agoDaily bump.
GCC Administrator [Tue, 26 Jul 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238738

9 years agoDaily bump.
GCC Administrator [Mon, 25 Jul 2016 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238697

9 years agoDaily bump.
GCC Administrator [Sun, 24 Jul 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238677

9 years agoDaily bump.
GCC Administrator [Sat, 23 Jul 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238671

9 years agobackport: re PR fortran/70842 (internal compiler error with character members within...
Andre Vehreschild [Fri, 22 Jul 2016 15:01:48 +0000 (17:01 +0200)] 
backport: re PR fortran/70842 (internal compiler error with character members within a polymorphic pointer)

gcc/testsuite/ChangeLog:

2016-07-22  Andre Vehreschild  <vehre@gcc.gnu.org>

Backport from trunk:
PR fortran/70842
* gfortran.dg/select_type_35.f03: New test.

gcc/fortran/ChangeLog:

2016-07-22  Andre Vehreschild  <vehre@gcc.gnu.org>

Backport from trunk:
PR fortran/70842
* simplify.c (gfc_simplify_len): Only for unlimited polymorphic
types replace the expression's _data ref with a _len ref.

From-SVN: r238646

9 years agoPR c++/69223 - ICE with deduced template return type.
Jason Merrill [Fri, 22 Jul 2016 03:57:43 +0000 (23:57 -0400)] 
PR c++/69223 - ICE with deduced template return type.

* semantics.c (apply_deduced_return_type): Call
complete_type_or_else before building the new RESULT_DECL.

From-SVN: r238631

9 years agoPR c++/71913 - missing copy elision with new.
Jason Merrill [Fri, 22 Jul 2016 03:41:44 +0000 (23:41 -0400)] 
PR c++/71913 - missing copy elision with new.

* call.c (unsafe_copy_elision_p): It's OK to elide when
initializing an unknown object.

From-SVN: r238619

9 years agoDaily bump.
GCC Administrator [Fri, 22 Jul 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238614

9 years agoDaily bump.
GCC Administrator [Thu, 21 Jul 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238554

9 years agore PR c++/71909 (g++ accepts an unreachable function catch block that lacks a corresp...
Jakub Jelinek [Wed, 20 Jul 2016 14:32:46 +0000 (16:32 +0200)] 
re PR c++/71909 (g++ accepts an unreachable function catch block that lacks a corresponding try)

PR c++/71909
* parser.c (cp_parser_save_member_function_body): Consume
__transaction_relaxed or __transaction_atomic with optional
attribute.  Only skip catch with block if try keyword is seen.

* g++.dg/parse/pr71909.C: New test.
* g++.dg/tm/pr71909.C: New test.

From-SVN: r238527

9 years agoDaily bump.
GCC Administrator [Wed, 20 Jul 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238503

9 years agore PR middle-end/71874 (memmove works wrong)
Jakub Jelinek [Tue, 19 Jul 2016 17:42:26 +0000 (19:42 +0200)] 
re PR middle-end/71874 (memmove works wrong)

PR middle-end/71874
* builtins.c (fold_builtin_memory_op): Use
get_addr_base_and_unit_offset instead of get_ref_base_and_extent.

* g++.dg/torture/pr71874.C: New test.

From-SVN: r238487

9 years agore PR fortran/71688 (ICE in analyze, at cgraphunit.c:632 with -fcoarray=lib)
Martin Jambor [Tue, 19 Jul 2016 15:44:56 +0000 (17:44 +0200)] 
re PR fortran/71688 (ICE in analyze, at cgraphunit.c:632 with -fcoarray=lib)

Fix PR fortran/71688

2016-07-19  Martin Jambor  <mjambor@suse.cz>

        PR fortran/71688
        * trans-decl.c (gfc_generate_function_code): Use cgraph_get_create_node
        rather than cgraph_create_node to get a call graph node.

testsuite/
        * gfortran.dg/pr71688.f90: New test.

From-SVN: r238477

9 years agoFix compiling large files
Martin Liska [Tue, 19 Jul 2016 13:32:36 +0000 (15:32 +0200)] 
Fix compiling large files

Backported from mainline
2016-03-15  Richard Henderson  <rth@redhat.com>

* line-map.c (new_linemap): Make alloc_size a size_t.

From-SVN: r238473

9 years agobackport: re PR c++/71871 (ICE on mixing templates and vector extensions ternary...
Jakub Jelinek [Tue, 19 Jul 2016 09:26:30 +0000 (11:26 +0200)] 
backport: re PR c++/71871 (ICE on mixing templates and vector extensions ternary operator)

Backported from mainline
2016-07-18  Jakub Jelinek  <jakub@redhat.com>

PR c++/71871
* typeck.c (build_x_conditional_expr): Revert the 2012-10-25 change.

* g++.dg/ext/vector31.C: New test.

From-SVN: r238465

9 years agobackport: re PR middle-end/71758 (ICE in verify_gimple_in_cfg, at tree-cfg.c:5212)
Jakub Jelinek [Tue, 19 Jul 2016 09:14:03 +0000 (11:14 +0200)] 
backport: re PR middle-end/71758 (ICE in verify_gimple_in_cfg, at tree-cfg.c:5212)

Backported from mainline
2016-07-11  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/71758
* omp-low.c (expand_omp_target): Gimplify device.

* c-c++-common/gomp/pr71758.c: New test.
* gfortran.dg/gomp/pr71758.f90: New test.

From-SVN: r238463

9 years agoDaily bump.
GCC Administrator [Tue, 19 Jul 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238450

9 years agore PR rtl-optimization/71634 (Invalid write with in mark_loops_for_removal (ira-build...
Martin Liska [Mon, 18 Jul 2016 12:57:25 +0000 (14:57 +0200)] 
re PR rtl-optimization/71634 (Invalid write with in mark_loops_for_removal (ira-build.c:2256) with --param ira-max-loops-num=0)

Fix PR rtl-optimization/71634

Backported from mainline
2016-07-12  Martin Liska  <mliska@suse.cz>

* ira-build.c (mark_loops_for_removal): Properly iterate
loops.

From-SVN: r238429

9 years agoDaily bump.
GCC Administrator [Mon, 18 Jul 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238421

9 years agoDaily bump.
GCC Administrator [Sun, 17 Jul 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238416

9 years agobackport: re PR fortran/71764 (ICE in gfc_trans_structure_assign)
Jerry DeLisle [Sat, 16 Jul 2016 06:06:45 +0000 (06:06 +0000)] 
backport: re PR fortran/71764 (ICE in gfc_trans_structure_assign)

2016-07-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

Backport from trunk:
PR fortran/71764
* trans-expr.c (gfc_trans_structure_assign): Remove assert.

* gfortran.dg/pr71764.f90: New test.

From-SVN: r238412

9 years agoDaily bump.
GCC Administrator [Sat, 16 Jul 2016 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238406

9 years agoDaily bump.
GCC Administrator [Fri, 15 Jul 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238359

9 years agoDaily bump.
GCC Administrator [Thu, 14 Jul 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238316

9 years agoDaily bump.
GCC Administrator [Wed, 13 Jul 2016 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238274

9 years agoDaily bump.
GCC Administrator [Tue, 12 Jul 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238234

9 years agoDaily bump.
GCC Administrator [Mon, 11 Jul 2016 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238199

9 years agoDaily bump.
GCC Administrator [Sun, 10 Jul 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238193

9 years agoDaily bump.
GCC Administrator [Sat, 9 Jul 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238188

9 years agoDo not consider COMPLEX_TYPE as fold_convertible_p
Martin Liska [Fri, 8 Jul 2016 20:22:22 +0000 (22:22 +0200)] 
Do not consider COMPLEX_TYPE as fold_convertible_p

Backported from mainline
2016-07-08  Martin Liska  <mliska@suse.cz>

PR middle-end/71606
* fold-const.c (fold_convertible_p): As COMPLEX_TYPE
folding produces SAVE_EXPRs, thus return false for the type.
Backported from mainline
2016-07-08  Martin Liska  <mliska@suse.cz>

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

From-SVN: r238174

9 years agoDaily bump.
GCC Administrator [Fri, 8 Jul 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238152

9 years agobackport: re PR fortran/71717 (A gfortran silent "wrong code" bug in the transition...
Jakub Jelinek [Thu, 7 Jul 2016 21:55:37 +0000 (23:55 +0200)] 
backport: re PR fortran/71717 (A gfortran silent "wrong code" bug in the transition from 4.9.0 -> 4.9.1, using OpenMP.)

Backported from mainline
2016-07-01  Jakub Jelinek  <jakub@redhat.com>

PR fortran/71717
* trans-openmp.c (gfc_omp_privatize_by_reference): Return false
for GFC_DECL_ASSOCIATE_VAR_P with POINTER_TYPE.

* testsuite/libgomp.fortran/associate3.f90: New test.

From-SVN: r238148

9 years agobackport: re PR fortran/71704 (ICE with -fopenmp and some omp constructs)
Jakub Jelinek [Thu, 7 Jul 2016 21:54:34 +0000 (23:54 +0200)] 
backport: re PR fortran/71704 (ICE with -fopenmp and some omp constructs)

Backported from mainline
2016-06-30  Jakub Jelinek  <jakub@redhat.com>

PR fortran/71704
* parse.c (matchs, matcho): If spec_only, only gfc_match the keyword
and if successful, goto do_spec_only.
(matchds, matchdo): Define.
(decode_omp_directive): Add spec_only local var and set it.
Use matchds or matchdo macros instead of matchs or matcho
for declare target, declare simd, declare reduction and threadprivate
directives.  Return ST_GET_FCN_CHARACTERISTICS if a non-declarative
directive could be matched.
(next_statement): For ST_GET_FCN_CHARACTERISTICS restore
gfc_current_locus from old_locus even if there is no label.

* gfortran.dg/gomp/pr71704.f90: New test.

From-SVN: r238147

9 years agobackport: re PR fortran/71705 (ICE in lower_omp_target, at omp-low.c:16136)
Jakub Jelinek [Thu, 7 Jul 2016 21:53:53 +0000 (23:53 +0200)] 
backport: re PR fortran/71705 (ICE in lower_omp_target, at omp-low.c:16136)

Backported from mainline
2016-06-30  Jakub Jelinek  <jakub@redhat.com>

PR fortran/71705
* trans-openmp.c (gfc_trans_omp_clauses): Set TREE_ADDRESSABLE on
decls in to/from clauses.

* gfortran.dg/gomp/pr71705.f90: New test.

From-SVN: r238146

9 years agobackport: re PR middle-end/71626 (ICE at -O1 and above on x86_64-linux-gnu (in output...
Jakub Jelinek [Thu, 7 Jul 2016 21:53:12 +0000 (23:53 +0200)] 
backport: re PR middle-end/71626 (ICE at -O1 and above on x86_64-linux-gnu (in output_constant_pool_2, at varasm.c:3837))

Backported from mainline
2016-06-28  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/71626
* config/i386/i386.c (ix86_expand_vector_move): For SUBREG of
a constant, force its SUBREG_REG into memory or register instead
of whole op1.

* gcc.c-torture/execute/pr71626-1.c: New test.
* gcc.c-torture/execute/pr71626-2.c: New test.

From-SVN: r238145

9 years agobackport: re PR tree-optimization/71588 (ICE on valid code at -O2 and -O3 on x86_64...
Jakub Jelinek [Thu, 7 Jul 2016 21:52:31 +0000 (23:52 +0200)] 
backport: re PR tree-optimization/71588 (ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: in execute_todo, at passes.c:2009)

Backported from mainline
2016-06-21  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/71588
* tree-ssa-strlen.c (valid_builtin_call): New function.
(adjust_last_stmt, strlen_optimize_stmt): Use it.

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

From-SVN: r238144

9 years agobackport: re PR middle-end/71494 (label as value in nested function)
Jakub Jelinek [Thu, 7 Jul 2016 21:51:57 +0000 (23:51 +0200)] 
backport: re PR middle-end/71494 (label as value in nested function)

Backported from mainline
2016-06-10  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/71494
* tree-nested.c (convert_nonlocal_reference_stmt): For GIMPLE_GOTO
without LABEL_DECL, set *handled_ops_p to false instead of true.

* gcc.c-torture/execute/pr71494.c: New test.

From-SVN: r238143

9 years agobackport: re PR sanitizer/71160 (libasan: Backport support for malloc within dlsym)
Jakub Jelinek [Thu, 7 Jul 2016 21:51:21 +0000 (23:51 +0200)] 
backport: re PR sanitizer/71160 (libasan: Backport support for malloc within dlsym)

Backported from mainline
2016-05-17  Jakub Jelinek  <jakub@redhat.com>

PR sanitizer/71160
* asan/asan_malloc_linux.cc: Cherry pick upstream r254395
and r269633.

From-SVN: r238142

9 years agobackport: re PR rtl-optimization/70429 (Wrong code with -O1.)
Jakub Jelinek [Thu, 7 Jul 2016 21:50:41 +0000 (23:50 +0200)] 
backport: re PR rtl-optimization/70429 (Wrong code with -O1.)

Backported from mainline
2016-03-29  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/70429
* combine.c (simplify_shift_const_1): For ASHIFTRT don't optimize
(cst1 >> count) >> cst2 into (cst1 >> cst2) >> count if
mode != result_mode.

* gcc.c-torture/execute/pr70429.c: New test.

From-SVN: r238141

9 years agobackport: re PR rtl-optimization/70222 (Test miscompiled with -O1)
Jakub Jelinek [Thu, 7 Jul 2016 21:49:58 +0000 (23:49 +0200)] 
backport: re PR rtl-optimization/70222 (Test miscompiled with -O1)

Backported from mainline
2016-03-15  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/70222
* combine.c (simplify_shift_const_1): For A >> B >> C LSHIFTRT
optimization if mode is different from result_mode, queue up masking
of the result in outer_op.  Formatting fix.

* gcc.c-torture/execute/pr70222-1.c: New test.
* gcc.c-torture/execute/pr70222-2.c: New test.

From-SVN: r238140

9 years agobackport: re PR tree-optimization/70169 (ICE at -O1 and above on x86_64-linux-gnu...
Jakub Jelinek [Thu, 7 Jul 2016 21:49:12 +0000 (23:49 +0200)] 
backport: re PR tree-optimization/70169 (ICE at -O1 and above on x86_64-linux-gnu in gen_lsm_tmp_name, at tree-ssa-loop.c:791)

Backported from mainline
2016-03-11  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/70169
* tree-ssa-loop.c (gen_lsm_tmp_name): Handle FUNCTION_DECL and
LABEL_DECL like VAR_DECL.  Emit nothing instead of gcc_unreachable
for unknown codes.

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

From-SVN: r238139

9 years agobackport: re PR tree-optimization/70152 (gcc ICE at -O3 and above on valid code on...
Jakub Jelinek [Thu, 7 Jul 2016 21:48:25 +0000 (23:48 +0200)] 
backport: re PR tree-optimization/70152 (gcc ICE at -O3 and above on valid code on x86_64-linux-gnu in "replace_uses_by")

Backported from mainline
2016-03-09  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/70152
* tree-sra.c (replace_removed_params_ssa_names): Copy over
SSA_NAME_OCCURS_IN_ABNORMAL_PHI from old_name to new_name.

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

From-SVN: r238138

9 years agobackport: re PR rtl-optimization/69891 (wrong code with -mstringop-strategy=libcall...
Jakub Jelinek [Thu, 7 Jul 2016 21:47:40 +0000 (23:47 +0200)] 
backport: re PR rtl-optimization/69891 (wrong code with -mstringop-strategy=libcall @ i686)

Backported from mainline
2016-02-26  Jakub Jelinek  <jakub@redhat.com>
    Eric Botcazou  <ebotcazou@adacore.com>

PR rtl-optimization/69891
* dse.c (scan_insn): If we can't figure out memset arguments
or they are non-constant, call clear_rhs_from_active_local_stores.

* gcc.target/i386/pr69891.c: New test.

From-SVN: r238137

9 years agobackport: re PR c++/67767 (-Wsuggest-attribute=noreturn suggests noreturn for functio...
Jakub Jelinek [Thu, 7 Jul 2016 21:46:54 +0000 (23:46 +0200)] 
backport: re PR c++/67767 (-Wsuggest-attribute=noreturn suggests noreturn for function which already has noreturn and cold.)

Backported from mainline
2016-02-19  Jakub Jelinek  <jakub@redhat.com>

PR c++/67767
* parser.c (cp_parser_std_attribute_spec_seq): Don't assume
attr_spec is always single element chain, chain all the attributes
properly together in the right order.

* g++.dg/cpp0x/pr67767.C: New test.

From-SVN: r238136

9 years agobackport: re PR tree-optimization/69802 (gcc ICE at -O1 and above on valid code...
Jakub Jelinek [Thu, 7 Jul 2016 21:46:16 +0000 (23:46 +0200)] 
backport: re PR tree-optimization/69802 (gcc ICE at -O1 and above  on valid code on x86_64-linux-gnu with “seg fault”)

Backported from mainline
2016-02-16  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/69802
* tree-ssa-reassoc.c (update_range_test): If op is
SSA_NAME_IS_DEFAULT_DEF, give up unless tem is a positive
op == 1 test of precision 1 integral op, otherwise handle
that case as op itself.  Fix up formatting.
(optimize_range_tests_to_bit_test, optimize_range_tests): Fix
up formatting.

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

From-SVN: r238135

9 years agobackport: re PR c++/69797 (ICE on invalid code on x86_64-linux-gnu in operator[]...
Jakub Jelinek [Thu, 7 Jul 2016 21:45:11 +0000 (23:45 +0200)] 
backport: re PR c++/69797 (ICE on invalid code on x86_64-linux-gnu in operator[], at vec.h:714)

Backported from mainline
2016-02-15  Jakub Jelinek  <jakub@redhat.com>

PR c++/69797
* c-common.c (sync_resolve_size): Diagnose too few arguments
even when params is non-NULL empty vector.

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

From-SVN: r238134

9 years agobackport: re PR middle-end/70022 (ICE: in tree_to_shwi, at tree.c:7328 with out-of...
Jakub Jelinek [Thu, 7 Jul 2016 21:44:11 +0000 (23:44 +0200)] 
backport: re PR middle-end/70022 (ICE: in tree_to_shwi, at tree.c:7328 with out-of-bounds vector index)

Backported from mainline
2016-03-02  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/70022
* gcc.dg/pr70022.c: Add -w -Wno-psabi to dg-options.

From-SVN: r238133

9 years agobackport: re PR tree-optimization/64280 (ICE in replace_uses_by, at tree-cfg.c:1789)
Jakub Jelinek [Thu, 7 Jul 2016 21:43:34 +0000 (23:43 +0200)] 
backport: re PR tree-optimization/64280 (ICE in replace_uses_by, at tree-cfg.c:1789)

Backported from mainline
2014-12-12  Richard Biener  <rguenther@suse.de>

PR middle-end/64280
* tree-cfg.c (replace_uses_by): Guard assert properly.

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

From-SVN: r238132

9 years agoBackport PRs 70022, 70484, 70931, 71452
Richard Biener [Thu, 7 Jul 2016 11:46:08 +0000 (11:46 +0000)] 
Backport PRs 70022, 70484, 70931, 71452

2016-07-07  Richard Biener  <rguenther@suse.de>

Backport from mainline
2016-04-04  Richard Biener  <rguenther@suse.de>

PR rtl-optimization/70484
* rtl.h (canon_output_dependence): Declare.
* alias.c (canon_output_dependence): New function.
* dse.c (record_store): Use canon_output_dependence rather
than canon_true_dependence.

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

2016-06-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/71452
* tree-ssa.c (non_rewritable_lvalue_p): Make sure that the
type used for the SSA rewrite has enough precision to cover
the dynamic type of the location.

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

2016-05-06  Richard Biener  <rguenther@suse.de>

PR middle-end/70931
* dwarf2out.c (native_encode_initializer): Skip zero-sized fields.

* gfortran.dg/pr70931.f90: New testcase.

2016-03-01  Richard Biener  <rguenther@suse.de>

PR middle-end/70022
* fold-const.c (fold_indirect_ref_1): Fix range checking for
vector BIT_FIELD_REF extract.

* gcc.dg/pr70022.c: New testcase.

From-SVN: r238087

9 years agoDaily bump.
GCC Administrator [Thu, 7 Jul 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238070

9 years agoDaily bump.
GCC Administrator [Wed, 6 Jul 2016 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r238026

9 years agore PR c++/71214 (Typo in feature test macro for rvalue references)
Markus Trippelsdorf [Tue, 5 Jul 2016 18:01:47 +0000 (18:01 +0000)] 
re PR c++/71214 (Typo in feature test macro for rvalue references)

Fix PR c++/71214

PR c++/71214
* c-cppbuiltin.c (c_cpp_builtins): Define __cpp_rvalue_references.

From-SVN: r238021

9 years agoDaily bump.
GCC Administrator [Tue, 5 Jul 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237995

9 years agoDaily bump.
GCC Administrator [Mon, 4 Jul 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237951

9 years agoDaily bump.
GCC Administrator [Sun, 3 Jul 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237946

9 years agoDaily bump.
GCC Administrator [Sat, 2 Jul 2016 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237933

9 years agoDaily bump.
GCC Administrator [Fri, 1 Jul 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237899

9 years agore PR middle-end/71693 (ICE: verify_gimple failed (type mismatch in shift expression...
Jakub Jelinek [Thu, 30 Jun 2016 09:17:17 +0000 (11:17 +0200)] 
re PR middle-end/71693 (ICE: verify_gimple failed (type mismatch in shift expression, -O0, -O1, -O2, -O3))

PR middle-end/71693
* fold-const.c (fold_binary_loc) <case RROTATE_EXPR>: Cast
TREE_OPERAND (arg0, 0) and TREE_OPERAND (arg0, 1) to type
first when permuting bitwise operation with rotate.  Cast
TREE_OPERAND (arg0, 0) to type when cancelling two rotations.

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

From-SVN: r237878

9 years agoDaily bump.
GCC Administrator [Thu, 30 Jun 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237866

9 years agoDaily bump.
GCC Administrator [Wed, 29 Jun 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237833

9 years agoDaily bump.
GCC Administrator [Tue, 28 Jun 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237807

9 years agoDaily bump.
GCC Administrator [Mon, 27 Jun 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237794

9 years agoDaily bump.
GCC Administrator [Sun, 26 Jun 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237785

9 years agoDaily bump.
GCC Administrator [Sat, 25 Jun 2016 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237776

9 years agoDaily bump.
GCC Administrator [Fri, 24 Jun 2016 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237750

9 years agoDaily bump.
GCC Administrator [Thu, 23 Jun 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237723

9 years agoDaily bump.
GCC Administrator [Wed, 22 Jun 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237672

9 years agobackport: re PR target/30417 (Section .data cannot be moved with -mmcu=atmega88)
Georg-Johann Lay [Tue, 21 Jun 2016 11:00:54 +0000 (11:00 +0000)] 
backport: re PR target/30417 (Section .data cannot be moved with -mmcu=atmega88)

Backport from 2016-06-21 trunk r237639.
PR target/30417
* config/avr/driver-avr.c (avr_device_to_data_start):
Wrap -Tdata into %{!Tdata:...}.

From-SVN: r237643

9 years agore PR target/71103 (avr-gcc crashes with unrecognizable insn error)
Georg-Johann Lay [Tue, 21 Jun 2016 10:15:25 +0000 (10:15 +0000)] 
re PR target/71103 (avr-gcc crashes with unrecognizable insn error)

PR target/71103
* config/avr/avr.md (movqi): Only handle loading subreg:qi of
constant addresses if can_create_pseudo_p.

From-SVN: r237636

9 years agoDaily bump.
GCC Administrator [Tue, 21 Jun 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237623

9 years agobackport: re PR target/71103 (avr-gcc crashes with unrecognizable insn error)
Georg-Johann Lay [Mon, 20 Jun 2016 12:02:36 +0000 (12:02 +0000)] 
backport: re PR target/71103 (avr-gcc crashes with unrecognizable insn error)

gcc/
Backport from 2016-06-20 trunk r237589, r236558.
PR target/71103
* config/avr/avr.md (movqi): Handle loading subreg:qi (const,
symbol_ref,label_ref).
gcc/testsuite/
Backport from 2016-06-20 trunk r237589, r236558.
PR target/71103
* gcc.target/avr/pr71103.c: New test.
* gcc.target/avr/torture/pr71103-2.c: New test.

Co-Authored-By: Pitchumani Sivanupandi <pitchumani.s@atmel.com>
From-SVN: r237594

9 years agoDaily bump.
GCC Administrator [Mon, 20 Jun 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237583

9 years agoDaily bump.
GCC Administrator [Sun, 19 Jun 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237576

9 years agoDaily bump.
GCC Administrator [Sat, 18 Jun 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237567

9 years agoDaily bump.
GCC Administrator [Fri, 17 Jun 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237544

9 years agore PR target/71554 (Miscompilation of __builtin_mul_overflow on i686)
Jakub Jelinek [Thu, 16 Jun 2016 11:38:24 +0000 (13:38 +0200)] 
re PR target/71554 (Miscompilation of __builtin_mul_overflow on i686)

PR target/71554
* config/i386/i386.md (setcc + movzbl peephole2): Use reg_set_p.
(setcc + and peephole2): Likewise.

Backported from mainline
2015-04-29  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/i386.md (setcc+movzbl peephole2): Check also clobbered
reg.
(setcc+andl peephole2): Ditto.

From-SVN: r237522

9 years agoDaily bump.
GCC Administrator [Thu, 16 Jun 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r237499