------- Comment #3 from rguenth at gcc dot gnu dot org  2009-07-19 19:53 -------
Only if you build with checking enabled.  But at least that confirms it is an
Ada frontend issue, not an optimization issue (as on the 4.4 branch this
checking is only done right after gimplification).

polyorb-binding_data-giop-inet.adb:266:4: error: non-trivial conversion at
assignment
const struct polyorb__objects__object_id___XUB *
const struct ada__streams__stream_element_array___XUB *
D.3963.P_BOUNDS = D.3966;

the error says that the compiler would have liked to see a conversion
(NOP_EXPR) here, so the statement should have been

D.3963.P_BOUNDS = (const struct polyorb__objects__object_id___XUB *) D.3966;

instead.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-checking, ice-on-valid-
                   |                            |code


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

Reply via email to