Hello,

when compiling PolyORB with the HEAD release I get a bug box:
+===========================GNAT BUG DETECTED==============================+
| 4.0.0 20050209 (experimental) (x86_64-unknown-linux-gnu) GCC error:      |
| in copy_tree_r, at tree-inline.c:2320                                    |
| Error detected at polyorb-binding_data-giop-diop.adb:131:8               |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| 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.

If you ask me to I will attach all those files - but I guess you know where to 
get PolyORB from ;-).

I also made a little check on copy_tree_r and there is a new sanity check here:

  else if (TREE_CODE_CLASS (code) == tcc_type)
    *walk_subtrees = 0;
  else if (TREE_CODE_CLASS (code) == tcc_declaration)
    *walk_subtrees = 0;
  else if (TREE_CODE_CLASS (code) == tcc_constant)
    *walk_subtrees = 0;
  else
    gcc_assert (code != STATEMENT_LIST);

With Regards

Martin

-- 
           Summary: The new GNAT can't compile PolyORB
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: krischik at users dot sourceforge dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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

Reply via email to