------- Comment #3 from sirl at gcc dot gnu dot org 2007-07-09 13:15 ------- Sorry, apparently I forgot to search 'All' bugs instead of just the 'Open' ones yesterday.
One question though, how does the func6() part of the testcase relate to all this? For this one there is no 'extern' specifier anywhere, so shouldn't sub-clause 7 of 6.2.2 apply here and thus a warning is justified? 7 If, within a translation unit, the same identifier appears with both internal and external linkage, the behavior is undefined. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32692