------- Comment #2 from laurent at guerby dot net 2006-09-19 20:00 -------
Confirmed with gcc version 4.2.0 20060915 (experimental
I think your analysis is correct, the compiler should issue an error on the
first line. If it's not correct, I don't see how the compiler could generate a
call to pkg.setup so it would be wrong-code.
--
laurent at guerby dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |accepts-invalid
Last reconfirmed|0000-00-00 00:00:00 |2006-09-19 20:00:17
date| |
Summary|Ambiguous call not detected |Ada: Ambiguous call not
|when using dotted notation |detected when using dotted
| |notation
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28394