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

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at ucw dot cz
      Known to fail|                            |4.9.0

--- Comment #5 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 
---
Jan, could you look into this LTO failure, or suggest how I can help to get
this fixed ? 

The problem seems to be related to iseed, an argument to dbcsr_lapack_larnv in
dbcsr_lib/dbcsr_blas_operations.F. This function is only called from
dbcsr_make_random_matrix, where iseed is defined as a local SAVE'd variable. I
think that none of the callers of dbcsr_make_random_matrix ends up in the
binary, so I expect dbcsr_make_random_matrix is removed by LTO, but somehow the
reference to iseed remains, leading to linking errors.

Reply via email to