[Bug c++/29080] [4.0/4.1/4.2 Regression] Multiple-inheritance with template method function code triggers "internal compiler error: in build_base_path, at cp/class.c:273"

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 14 15:33:00 GMT 2006



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-09-14 15:33 -------
This is invalid code, 3.3.3 and before gave the following error:
t.cc: In function `void function()':
t.cc:13: error: `Base' is an ambiguous base of `Join'
Which is correct.

Also we don't get an ICE if we try with a non template function.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|i686-pc-linux-gnu           |
   GCC host triplet|i686-pc-linux-gnu           |
 GCC target triplet|i686-pc-linux-gnu           |
           Keywords|                            |ice-on-invalid-code
      Known to fail|                            |3.4.0 4.0.0 4.1.0 4.2.0
      Known to work|                            |3.3.3 3.2.3 3.0.4 2.95.3
   Last reconfirmed|0000-00-00 00:00:00         |2006-09-14 15:33:26
               date|                            |
            Summary|Multiple-inheritance code   |[4.0/4.1/4.2 Regression]
                   |triggers "internal compiler |Multiple-inheritance with
                   |error: in build_base_path,  |template method function
                   |at cp/class.c:273"          |code triggers "internal
                   |                            |compiler error: in
                   |                            |build_base_path, at
                   |                            |cp/class.c:273"
   Target Milestone|---                         |4.0.4


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



More information about the Gcc-bugs mailing list