[Bug fortran/79894] [5 Regression] ICE in gfc_add_modify_loc, at fortran/trans.c:159

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79894

Richard Biener  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Known to work||5.4.1
 Resolution|--- |FIXED
  Known to fail||5.4.0

--- Comment #10 from Richard Biener  ---
Fixed.

[Bug fortran/79894] [5 Regression] ICE in gfc_add_modify_loc, at fortran/trans.c:159

2017-05-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79894

--- Comment #9 from Richard Biener  ---
Author: rguenth
Date: Wed May 10 10:01:23 2017
New Revision: 247829

URL: https://gcc.gnu.org/viewcvs?rev=247829&root=gcc&view=rev
Log:
2017-05-10  Richard Biener  

Backport from mainline
2017-03-06  Richard Biener  

PR fortran/79894
* trans.c (gfc_add_modify_loc): Weaken assert.

2017-03-02  Richard Biener  

PR c/79756
* c-common.c (c_common_mark_addressable_vec): Look through
C_MAYBE_CONST_EXPR.

* gcc.dg/vector-1.c: New testcase.

2017-02-28  Richard Biener  

PR tree-optimization/79732
* tree-inline.c (expand_call_inline): Handle anonymous
SSA lhs properly when inlining a function without return
value.

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

2017-02-22  Richard Biener  

PR tree-optimization/79666
* tree-vrp.c (extract_range_from_binary_expr_1): Make sure
to not symbolically negate if that may introduce undefined
overflow.

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

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr79666.c
branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr79732.c
branches/gcc-5-branch/gcc/testsuite/gcc.dg/vector-1.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/c-family/ChangeLog
branches/gcc-5-branch/gcc/c-family/c-common.c
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/trans.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/tree-inline.c
branches/gcc-5-branch/gcc/tree-vrp.c