http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195
--- Comment #6 from janus at gcc dot gnu.org 2012-08-07 21:21:23 UTC --- (In reply to comment #4) > However: Witout the patch, the code guarded by the IF statement above is > called > twice (which leads to the error). But with the patch, it is not called at all > any more (while it should be called once!). So the patch can not be fully > correct. > > What I do not understand is: The symbol 'foo' exists in the module namespace, > as well as in the namespace of 'bar'. But in both it has the 'imported' > attribute, which sounds wrong to me (or at least contra-intuitive). As I just learned from Tobias, this problem is probably related to PR53537.