This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/45586] New: ICE non-trivial conversion at assignment
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2010 19:23:19 -0000
- Subject: [Bug lto/45586] New: ICE non-trivial conversion at assignment
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I'm trying to do an lto build of CP2K, but this fails with:
/data03/vondele/clean/cp2k/makefiles/../src/qs_linres_current.F: In function
?calculate_jrho_resp?:
/data03/vondele/clean/cp2k/makefiles/../src/qs_linres_current.F:614:0: error:
non-trivial conversion at assignment
struct array3_real(kind=8)
struct array3_real(kind=8)
# .MEM_3681 = VDEF <.MEM_3286>
my_rho = D.13693_938->r;
/data03/vondele/clean/cp2k/makefiles/../src/qs_linres_current.F:614:0: error:
non-trivial conversion at assignment
struct array3_real(kind=8)
struct array3_real(kind=8)
# .MEM_3682 = VDEF <.MEM_3681>
my_current = D.13701_946->r;
/data03/vondele/clean/cp2k/makefiles/../src/qs_linres_current.F:614:0: error:
non-trivial conversion at assignment
struct array3_real(kind=8)
struct array3_real(kind=8)
# .MEM_3750 = VDEF <.MEM_3287>
my_gauge = D.14057_1326->r;
/data03/vondele/clean/cp2k/makefiles/../src/qs_linres_current.F:614:0: internal
compiler error: verify_stmts failed
Please submit a full bug report.
Not sure how to get a testcase for this one....
It appears to be for example this pointer assignment
my_gauge=>rs_gauge(1)%rs(igrid_level)%rs_grid%r
where
REAL(dp), DIMENSION(:, :, :), POINTER :: my_gauge
and r is:
TYPE realspace_grid_type
REAL(KIND=dp), DIMENSION ( :, :, : ), ALLOCATABLE :: r ! the grid
END TYPE realspace_grid_type
--
Summary: ICE non-trivial conversion at assignment
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jv244 at cam dot ac dot uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45586