[Bug tree-optimization/40413] [4.5 Regression] Internal error in connection with optimization and allocatable objects

2009-06-16 Thread jamborm at gcc dot gnu dot org


--- Comment #10 from jamborm at gcc dot gnu dot org  2009-06-16 09:54 
---
Bootstrap and testing passed, submitted in
http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01179.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40413



[Bug tree-optimization/40413] [4.5 Regression] Internal error in connection with optimization and allocatable objects

2009-06-16 Thread jamborm at gcc dot gnu dot org


--- Comment #11 from jamborm at gcc dot gnu dot org  2009-06-16 10:12 
---
Subject: Bug 40413

Author: jamborm
Date: Tue Jun 16 10:11:55 2009
New Revision: 148520

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=148520
Log:
2009-06-16  Martin Jambor  mjam...@suse.cz

PR tree-optimization/40413
* tree-sra.c (load_assign_lhs_subreplacements): Pass offset to
build_ref_for_offset.
(propagate_subacesses_accross_link): Fix a typo in a comment.

* testsuite/gfortran.fortran-torture/compile/pr40413.f90: New file.


Added:
trunk/gcc/testsuite/gfortran.fortran-torture/compile/pr40413.f90
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-sra.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40413



[Bug tree-optimization/40413] [4.5 Regression] Internal error in connection with optimization and allocatable objects

2009-06-16 Thread jamborm at gcc dot gnu dot org


--- Comment #12 from jamborm at gcc dot gnu dot org  2009-06-16 10:24 
---
Fixed


-- 

jamborm at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40413



[Bug tree-optimization/40413] [4.5 Regression] Internal error in connection with optimization and allocatable objects

2009-06-15 Thread jamborm at gcc dot gnu dot org


--- Comment #9 from jamborm at gcc dot gnu dot org  2009-06-15 09:07 ---
Created an attachment (id=18001)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18001action=view)
Fix

This was quite a serious oversight on my part, I wonder how it went
for so long unnoticed.  I am about to bootstrap and regression test
this patch and will submit it if both succeed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40413



[Bug tree-optimization/40413] [4.5 Regression] Internal error in connection with optimization and allocatable objects

2009-06-13 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||mjambor at suse dot cz
  Component|fortran |tree-optimization
   Target Milestone|--- |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40413



[Bug tree-optimization/40413] [4.5 Regression] Internal error in connection with optimization and allocatable objects

2009-06-13 Thread pault at gcc dot gnu dot org


--- Comment #7 from pault at gcc dot gnu dot org  2009-06-13 15:52 ---
(In reply to comment #6)

Changing
  type :: polarization_t
 logical :: polarized = .false.
 integer :: spin_type = 0
 integer :: multiplicity = 0
 type(state_matrix_t) :: state
  end type polarization_t

to
  type :: polarization_t
 type(state_matrix_t) :: state ! put structure here
 logical :: polarized = .false.
 integer :: spin_type = 0
 integer :: multiplicity = 0
  end type polarization_t

compiles at -O3 for me.

Paul


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40413



[Bug tree-optimization/40413] [4.5 Regression] Internal error in connection with optimization and allocatable objects

2009-06-13 Thread jamborm at gcc dot gnu dot org


--- Comment #8 from jamborm at gcc dot gnu dot org  2009-06-14 01:30 ---
Mine, will look into it shortly.


-- 

jamborm at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |jamborm at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2009-06-12 05:20:52 |2009-06-14 01:30:09
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40413