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

pault at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jun 13 15:52:00 GMT 2009



------- 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



More information about the Gcc-bugs mailing list