Bug 1346

Summary: gcc bug #7808 - Compiler ignores cast from \'id<Protocol>\' to \'id\' or from \'id<Protocol1>\' to \'id<Protocol2
Product: Sisyphus Reporter: Sir Raorn <raorn>
Component: gcc3.2-objcAssignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P4    
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on: 3093    
Bug Blocks:    

Description Sir Raorn 2002-10-03 16:14:52 MSD
This is gcc bug #7808 (<a href="http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc">http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc</a>) reported and closed by Nicola Pero &lt;nicola AT brainstorm DOT co DOT uk&gt;

The compiler seems to be ignoring casts from \'id&lt;Protocol&gt;\'
to \'id\', and from \'id&lt;Protocol1&gt;\' to \'id&lt;Protocol2&gt;\'.

It\'s a regression: previous compilers (eg 2.95 and 2.91.66)
did the cast properly.
---

---

Comment 1 Sir Raorn 2003-09-25 08:32:24 MSD
This bug fixed in upstream version 3.3 and test code from GCC's Bugzilla works
with mingw32-gcc-3.3-alt1 crosscompiler.

URL to GCC Bugzilla - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7808
Comment 2 Dmitry V. Levin 2003-12-28 01:54:47 MSK
Should be fixed in gcc3.3-objc-3.3.2-alt1