public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/45586]  New: ICE non-trivial conversion at assignment
@ 2010-09-07 19:23 jv244 at cam dot ac dot uk
  2010-09-07 19:29 ` [Bug lto/45586] " jv244 at cam dot ac dot uk
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: jv244 at cam dot ac dot uk @ 2010-09-07 19:23 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1734 bytes --]

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


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <bug-45586-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2010-10-21 15:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-07 19:23 [Bug lto/45586] New: ICE non-trivial conversion at assignment jv244 at cam dot ac dot uk
2010-09-07 19:29 ` [Bug lto/45586] " jv244 at cam dot ac dot uk
2010-09-07 19:30 ` [Bug lto/45586] [4.6 Regression] " jv244 at cam dot ac dot uk
2010-09-08  9:36 ` rguenth at gcc dot gnu dot org
2010-09-15 18:26 ` Joost dot VandeVondele at pci dot uzh dot ch
     [not found] <bug-45586-4@http.gcc.gnu.org/bugzilla/>
2010-09-24 10:43 ` Joost.VandeVondele at pci dot uzh.ch
2010-09-24 11:17 ` Joost.VandeVondele at pci dot uzh.ch
2010-09-30 15:50 ` rguenth at gcc dot gnu.org
2010-10-21 15:28 ` 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).