https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77496
--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- (In reply to Bernd Edlinger from comment #3) > The "correct" test case emits two nearly identical -Wpedantic warnings: > ... which is probably OK, given the second one if it is emitted, points to the instantiation?