This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/11867] [3.3/3.4 Regression] static_cast ignores ambiguity


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |accepts-invalid
           Priority|P2                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2003-08-09 12:52:18
               date|                            |
            Summary|static_cast ignores         |[3.3/3.4 Regression]
                   |ambiguity                   |static_cast ignores
                   |                            |ambiguity


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-09 12:52 -------
GCC 3.2.3 rejected this:

pr11867.cc: In function `void ambig()':
pr11867.cc:10: invalid static_cast from type `ambig()::A*' to type `ambig()::D*
   '
pr11867.cc:12: `ambig()::A' is an ambiguous base of `ambig()::D'
pr11867.cc:15: `ambig()::A' is an ambiguous base of `ambig()::D'

Where 3.3.1 (20030707) and the mainline (20030808) does not.

>From Phil's regression hunter: Search converges between 2003-06-25-trunk (#324) and 2003-
06-26-trunk (#325): Search converges between 2003-06-25-3.3 (#149) and 2003-06-26-3.3 
(#150).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]