public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/62695] New: [5.0 Regression] internal compiler error: in get_constraint_for_component_ref, at tree-ssa-structalias.c:3189
@ 2014-09-02  5:29 Joost.VandeVondele at mat dot ethz.ch
  2014-09-02  8:22 ` [Bug middle-end/62695] " rguenth at gcc dot gnu.org
  2014-09-02  8:23 ` rguenth at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2014-09-02  5:29 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 62695
           Summary: [5.0 Regression] internal compiler error: in
                    get_constraint_for_component_ref, at
                    tree-ssa-structalias.c:3189
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Joost.VandeVondele at mat dot ethz.ch

A recent trunk regression between good: r214776 and bad r214808, suspect
r214795

> gfortran  -c -fipa-pta -O1  bug.f90
bug.f90:23:0: 

   END SUBROUTINE dbcsr_mp_make_env
 ^
internal compiler error: in get_constraint_for_component_ref, at
tree-ssa-structalias.c:3189
0xc537eb get_constraint_for_component_ref
    ../../gcc/gcc/tree-ssa-structalias.c:3189
0xc537eb get_constraint_for_1
    ../../gcc/gcc/tree-ssa-structalias.c:3454
0xc547f2 get_constraint_for_address_of
    ../../gcc/gcc/tree-ssa-structalias.c:3325
0xc5330f get_constraint_for_1
    ../../gcc/gcc/tree-ssa-structalias.c:3393
0xc547f2 get_constraint_for_address_of
    ../../gcc/gcc/tree-ssa-structalias.c:3325
0xc59d09 find_func_clobbers
    ../../gcc/gcc/tree-ssa-structalias.c:5042
0xc59d09 ipa_pta_execute
    ../../gcc/gcc/tree-ssa-structalias.c:7180

> cat bug.f90
MODULE dbcsr_dist_operations
  TYPE dbcsr_mp_obj
  END TYPE dbcsr_mp_obj
  INTERFACE
    SUBROUTINE dbcsr_mp_new(mp_env, pgrid, mp_group, mynode, numnodes, myprow,&
         mypcol)
      IMPORT
      TYPE(dbcsr_mp_obj), INTENT(OUT)          :: mp_env
      INTEGER, DIMENSION(0:, 0:), INTENT(IN)   :: pgrid
    END SUBROUTINE dbcsr_mp_new
  END INTERFACE
CONTAINS
  SUBROUTINE dbcsr_mp_make_env (mp_env, mp_group, &
       nprocs, pgrid_dims, error)
    TYPE(dbcsr_mp_obj), INTENT(OUT)          :: mp_env
      OPTIONAL                               :: pgrid_dims
    INTEGER                                  :: error_handle, group, mynode, &
                                                numnodes, pcol, prow
    INTEGER, ALLOCATABLE, DIMENSION(:, :)    :: pgrid
    INTEGER, DIMENSION(2)                    :: coord, myploc, npdims
    CALL dbcsr_mp_new (mp_env, pgrid, group, mynode, numnodes,&
         myprow=myploc(1), mypcol=myploc(2))
  END SUBROUTINE dbcsr_mp_make_env
END MODULE dbcsr_dist_operations


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug middle-end/62695] [5.0 Regression] internal compiler error: in get_constraint_for_component_ref, at tree-ssa-structalias.c:3189
  2014-09-02  5:29 [Bug middle-end/62695] New: [5.0 Regression] internal compiler error: in get_constraint_for_component_ref, at tree-ssa-structalias.c:3189 Joost.VandeVondele at mat dot ethz.ch
@ 2014-09-02  8:22 ` rguenth at gcc dot gnu.org
  2014-09-02  8:23 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-09-02  8:22 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |5.0

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug middle-end/62695] [5.0 Regression] internal compiler error: in get_constraint_for_component_ref, at tree-ssa-structalias.c:3189
  2014-09-02  5:29 [Bug middle-end/62695] New: [5.0 Regression] internal compiler error: in get_constraint_for_component_ref, at tree-ssa-structalias.c:3189 Joost.VandeVondele at mat dot ethz.ch
  2014-09-02  8:22 ` [Bug middle-end/62695] " rguenth at gcc dot gnu.org
@ 2014-09-02  8:23 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-09-02  8:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Sep  2 08:22:33 2014
New Revision: 214810

URL: https://gcc.gnu.org/viewcvs?rev=214810&root=gcc&view=rev
Log:
2014-09-02  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/62695
    * tree-ssa-structalias.c (find_func_clobbers): Add missing
    vector truncate.

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

Added:
    trunk/gcc/testsuite/gfortran.dg/pr62695.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-structalias.c


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-02  8:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-02  5:29 [Bug middle-end/62695] New: [5.0 Regression] internal compiler error: in get_constraint_for_component_ref, at tree-ssa-structalias.c:3189 Joost.VandeVondele at mat dot ethz.ch
2014-09-02  8:22 ` [Bug middle-end/62695] " rguenth at gcc dot gnu.org
2014-09-02  8:23 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).