https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109110
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The GCC behavior is correct, it is as if you moved the func1 definition to a
different file, or just used void func1(); in the same file and the definition
in another one.
