Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 13320
Product:  
Component:  
Status: RESOLVED
Resolution: FIXED
Assigned To: Not yet assigned to anyone <unassigned@gcc.gnu.org>
Host:
Reported against  
Priority:  
Severity:  
Target Milestone:  
 
 
Target:
Reporter: David Jung <t8@pobox.com>
Add CC:
CC:
Remove selected CCs
Build:
URL:
Summary:
Keywords:
Known to work:
Known to fail:

Attachment Description Type Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 13320 depends on: Show dependency tree
Show dependency graph
Bug 13320 blocks:

Additional Comments:






View Bug Activity   |   Format For Printing   |   Clone This Bug


Description:   Last confirmed: Opened: 2003-12-05 20:34
When trying to use a covariant return type, the compiler gives the following
error at compile time:

robot/sim/SimulatedBasicEnvironment:59: sorry, unimplemented: adjusting
   pointers for covariant returns

(a quick grep of the sources will turn up the offending code)

> g++ --version
g++ (GCC) 3.3.1 20030811 (Red Hat Linux 3.3.1-1)

------- Comment #1 From Andrew Pinski 2003-12-05 20:38 -------
Most likely fixed for 3.4.
See <http://gcc.gnu.org/bugs.html#missing>:
Covariant return types
Up to (and including) GCC 3.3 we did not implement non-trivial covariant returns. This has been 
addressed for GCC 3.4.

------- Comment #2 From Andrew Pinski 2003-12-05 20:51 -------
Fixed for 3.4.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug