------- Comment #11 from mikael dot morin at tele2 dot fr  2008-08-31 21:16 
-------
(In reply to comment #10)
> I think your example should be rejected, but it is not like my code, where
> smooth_mesh explicitly USEs class_vector. So, I am not sure what's your 
> point. 

My point is this:
As you said in your first comment, there is no ambiguity in your code. 
vector is defined in only one module which is used when needed in other
modules.
Moreover you use private statements to prevent use associated entities from
being exported in those modules. 
Doing this way, no module but class_vector exports vector. No ambiguity
possible
What my example shows is that tools_math (and other modules in your code)
export vector as well. Ambiguities are possible. 

As gfortran seems to handle simple ambiguities correctly, what I'm underlying
is not the bug, but it might be part of it. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37274

Reply via email to