https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41847
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Resolution|--- |FIXED --- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> --- With the top of trunk (GCC 7) the test case from attachment 18916 compiles cleanly both with a s390x cross-compiler and natively on x86_64: $ /build/s390x-linux/gcc-trunk/gcc/xgcc -B /build/s390x-linux/gcc-trunk/gcc -O2 -S -Wall -Wextra t.C t.C: In instantiation of ‘void ImplHomMatrixTemplate<_RowSize>::ludcmp(short unsigned int*) [with unsigned int _RowSize = 4]’: t.C:89:21: required from here t.C:62:36: warning: unused parameter ‘nIndex’ [-Wunused-parameter] void ludcmp(unsigned short nIndex[]) ^ Resolving as fixed.