http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58007
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Created attachment 30565
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30565&action=edit
Patch to make it compile with GCC 4.8 and 4.9
(In reply to shapero from comment #0)
> git clone https://github.com/danshapero/fempack.git
> git checkout e7547abe131b5c0e137fb0327069a75fcfed5d90
> make libs
To underline the elusiveness: With 4.7.3 (release build), it builds without
running into the ICE.
With GCC 4.9 (and GCC 4.8) it doesn't build:
src/linalg/matrix_formats/csr.f90:24.13:
procedure :: subset_matrix_add => csr_subset_matrix_add
1
Error: Argument mismatch for the overriding procedure 'subset_matrix_add' at
(1): Type mismatch in argument 'b' (CLASS(csr_matrix)/CLASS(sparse_matrix))
However, if I apply the attached patch, it builds with gcc 4.9 - and I can
reproduce the "free_pi_tree(): Unresolved fixup".