public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/40805]  New: verify_gimple failure preceded by "non-trivial conversion at assignment" errors
@ 2009-07-19 15:02 oliver dot kellogg at eads dot com
  2009-07-19 15:03 ` [Bug ada/40805] " oliver dot kellogg at eads dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: oliver dot kellogg at eads dot com @ 2009-07-19 15:02 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 5970 bytes --]

This does not happen with the 4.4.0 release but does happen with
trunk 20090314 and following:

$ gcc -c -v polyorb-binding_data-giop-inet.adb
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../../SOURCES/gcc/configure --prefix=/opt/gnat/fsf
--enable-languages=c,c++,ada --enable-debug BOOT_CFLAGS=-g
Thread model: posix
gcc version 4.5.0 20090717 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-c' '-v' '-mtune=generic'
 /opt/gnat/fsf/libexec/gcc/i686-pc-linux-gnu/4.5.0/gnat1 -quiet -dumpbase
polyorb-binding_data-giop-inet.adb -auxbase polyorb-binding_data-g
iop-inet -mtune=generic polyorb-binding_data-giop-inet.adb -o /tmp/ccfkgsxH.s
polyorb-binding_data-giop-inet.adb: In function
‘Polyorb.Binding_Data.Giop.Inet.Common_Unmarshall_Profile_Body’:
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;

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.3969.P_BOUNDS = D.3972;

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.3980.P_BOUNDS = D.3983;

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.3986.P_BOUNDS = D.3989;
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.3992.P_BOUNDS = D.3995;

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.3997.P_BOUNDS = D.4000;

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.4003.P_BOUNDS = D.4006;

+===========================GNAT BUG DETECTED==============================+
| 4.5.0 20090717 (experimental) (i686-pc-linux-gnu) verify_gimple failed   |
| Error detected around polyorb-binding_data-giop-inet.adb:266:4           |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still

be reproduced with the set of files listed.
Consider also -gnatd.n switch (see debug.adb).

polyorb-binding_data-giop-inet.adb
polyorb-binding_data-giop-inet.ads
polyorb-binding_data-giop.ads
polyorb-binding_data.ads
polyorb.ads
polyorb-annotations.ads
polyorb-utils.ads
polyorb-utils-chained_lists.ads
polyorb-utils-ilists.ads
polyorb-components.ads
polyorb-errors.ads
polyorb-smart_pointers.ads
polyorb-types.ads
polyorb-objects.ads
polyorb-qos.ads
polyorb-transport.ads
polyorb-asynch_ev.ads
polyorb-jobs.ads
polyorb-buffers.ads
polyorb-opaque.ads
polyorb-opaque-chunk_pools.ads
polyorb-giop_p.ads
polyorb-giop_p-tagged_components.ads
polyorb-qos-tagged_components.ads
polyorb-representations.ads
polyorb-any.ads
polyorb-representations-cdr.ads
polyorb-utils-dynamic_tables.ads
polyorb-representations-cdr-common.ads
polyorb-references.ads
polyorb-utils-strings.ads
polyorb-giop_p-transport_mechanisms.ads
polyorb-protocols.ads
polyorb-any-nvlist.ads
polyorb-binding_objects.ads
polyorb-filters.ads
polyorb-requests.ads
polyorb-any-exceptionlist.ads
polyorb-task_info.ads
polyorb-tasking.ads
polyorb-tasking-condition_variables.ads
polyorb-tasking-mutexes.ads
polyorb-tasking-threads.ads
polyorb-utils-simple_flags.ads
polyorb-protocols-giop.ads
polyorb-filters-iface.ads
polyorb-orb.ads
polyorb-binding_objects-lists.ads
polyorb-orb_controller.ads
polyorb-log.ads
polyorb-request_scheduler.ads
polyorb-tasking-idle_tasks_managers.ads
polyorb-obj_adapters.ads
polyorb-servants.ads
polyorb-utils-sockets.ads
polyorb-any-nvlist.ads
polyorb-binding_objects.ads
polyorb-filters.ads
polyorb-requests.ads
polyorb-any-exceptionlist.ads
polyorb-task_info.ads
polyorb-tasking.ads
polyorb-tasking-condition_variables.ads
polyorb-tasking-mutexes.ads
polyorb-tasking-threads.ads
polyorb-utils-simple_flags.ads
polyorb-protocols-giop.ads
polyorb-filters-iface.ads
polyorb-orb.ads
polyorb-binding_objects-lists.ads
polyorb-orb_controller.ads
polyorb-log.ads
polyorb-request_scheduler.ads
polyorb-tasking-idle_tasks_managers.ads
polyorb-obj_adapters.ads
polyorb-servants.ads
polyorb-utils-sockets.ads
polyorb-sockets.ads
polyorb-sockets_initialization.ads
polyorb-log.adb
polyorb-initialization.ads
polyorb-utils-strings-lists.ads

raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:415


-- 
           Summary: verify_gimple failure preceded by "non-trivial
                    conversion at assignment" errors
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: oliver dot kellogg at eads dot com
  GCC host triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug ada/40805] verify_gimple failure preceded by "non-trivial conversion at assignment" errors
  2009-07-19 15:02 [Bug ada/40805] New: verify_gimple failure preceded by "non-trivial conversion at assignment" errors oliver dot kellogg at eads dot com
@ 2009-07-19 15:03 ` oliver dot kellogg at eads dot com
  2009-07-19 19:29 ` oliver dot kellogg at eads dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: oliver dot kellogg at eads dot com @ 2009-07-19 15:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from oliver dot kellogg at eads dot com  2009-07-19 15:03 -------
Created an attachment (id=18228)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18228&action=view)
source files for reproducing the problem


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug ada/40805] verify_gimple failure preceded by "non-trivial conversion at assignment" errors
  2009-07-19 15:02 [Bug ada/40805] New: verify_gimple failure preceded by "non-trivial conversion at assignment" errors oliver dot kellogg at eads dot com
  2009-07-19 15:03 ` [Bug ada/40805] " oliver dot kellogg at eads dot com
@ 2009-07-19 19:29 ` oliver dot kellogg at eads dot com
  2009-07-19 19:54 ` rguenth at gcc dot gnu dot org
  2009-09-06 19:21 ` oliver dot kellogg at eads dot com
  3 siblings, 0 replies; 5+ messages in thread
From: oliver dot kellogg at eads dot com @ 2009-07-19 19:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from oliver dot kellogg at eads dot com  2009-07-19 19:29 -------
Problem is also present on gcc-4_4-branch.


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug ada/40805] verify_gimple failure preceded by "non-trivial conversion at assignment" errors
  2009-07-19 15:02 [Bug ada/40805] New: verify_gimple failure preceded by "non-trivial conversion at assignment" errors oliver dot kellogg at eads dot com
  2009-07-19 15:03 ` [Bug ada/40805] " oliver dot kellogg at eads dot com
  2009-07-19 19:29 ` oliver dot kellogg at eads dot com
@ 2009-07-19 19:54 ` rguenth at gcc dot gnu dot org
  2009-09-06 19:21 ` oliver dot kellogg at eads dot com
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-07-19 19:54 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug ada/40805] verify_gimple failure preceded by "non-trivial conversion at assignment" errors
  2009-07-19 15:02 [Bug ada/40805] New: verify_gimple failure preceded by "non-trivial conversion at assignment" errors oliver dot kellogg at eads dot com
                   ` (2 preceding siblings ...)
  2009-07-19 19:54 ` rguenth at gcc dot gnu dot org
@ 2009-09-06 19:21 ` oliver dot kellogg at eads dot com
  3 siblings, 0 replies; 5+ messages in thread
From: oliver dot kellogg at eads dot com @ 2009-09-06 19:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from oliver dot kellogg at eads dot com  2009-09-06 19:21 -------
I don't know what fixed it but it doesn't happen with trunk 20090819 and newer.


-- 

oliver dot kellogg at eads dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-09-06 19:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-19 15:02 [Bug ada/40805] New: verify_gimple failure preceded by "non-trivial conversion at assignment" errors oliver dot kellogg at eads dot com
2009-07-19 15:03 ` [Bug ada/40805] " oliver dot kellogg at eads dot com
2009-07-19 19:29 ` oliver dot kellogg at eads dot com
2009-07-19 19:54 ` rguenth at gcc dot gnu dot org
2009-09-06 19:21 ` oliver dot kellogg at eads dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).