[Bug ada/40805] verify_gimple failure preceded by "non-trivial conversion at assignment" errors

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jul 19 19:54:00 GMT 2009



------- 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



More information about the Gcc-bugs mailing list