[Bug fortran/64772] [5 Regression] ICE passing coarrays to subroutine

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 24 14:33:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64772

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-01-24
                 CC|                            |tkoenig at gcc dot gnu.org
   Target Milestone|---                         |5.0
            Summary|ICE passing coarrays to     |[5 Regression] ICE passing
                   |subroutine                  |coarrays to subroutine
     Ever confirmed|0                           |1

--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
With -fcoarray=single, the test case fails with

Program received signal SIGSEGV, Segmentation fault.
eval_intrinsic_f3 (op=INTRINSIC_MINUS, eval=0x615a60
<gfc_arith_minus(gfc_expr*, gfc_expr*, gfc_expr**)>, op1=0x0, op2=0x1d73140)
    at ../../trunk/gcc/fortran/arith.c:1700
1700      result = reduce_binary0 (op1, op2);
(gdb) p op1
$1 = (gfc_expr *) 0x0

This does not happen with 4.8, hence marking as regression.



More information about the Gcc-bugs mailing list