Did some research, I see a bug for this, but it is closed as fixed in 4.2, I
have updated to 4.2.4 (Ubuntu Hardy Updates), but still have the problem.  If
you need any other info, let me know and I'll be happy to provide it.   The
source code listing (gcc said to cat about 20000 lines of our code) was too
long to submit in the bug report, so not sure what to do about that.

Command Line:
gcc-4.2 -c -I./lss_executive_source/ -g -fstack-check -O1
-I/DataShare/csci_home/floristlib -I./lss_executive_source -I./lss_hci_source
-I./lss_lib -I./mm_executive_source -I./mm_hci_source -I./lib -I- -o
/home/users/jrice/mm/lss_executive_source/hci_server.o
./lss_executive_source/hci_server.adb

Bug Box:
+===========================GNAT BUG DETECTED==============================+
| 4.2.4 (Ubuntu 4.2.4-1ubuntu3) (i486-pc-linux-gnu) GCC error:             |
| in get_memory_rtx, at builtins.c:1087                                    |
| Error detected at hci_server.adb:2060:1                                  |
| 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-4.2 or gnatmake command that you entered.          |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

gcc -v output:
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
--enable-targets=all --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)


-- 
           Summary: GNAT BUG get_memory_rtx, at builtins.c:1087
           Product: gcc
           Version: 4.2.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: james dot rice2 at navy dot mil
 GCC build triplet: i486-linux-gnu
  GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu


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

Reply via email to