This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/52728] New: Assert_Failure sinfo.adb


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

             Bug #: 52728
           Summary: Assert_Failure sinfo.adb
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: oka.sux@gmail.com


localhost: gnatmake -gnatd.n -Wall -Wextra bug_test.adb
gcc -c -gnatd.n -Wall -Wextra bug_test.adb
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/adainclude/system.ads
bug_test.adb
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/adainclude/ada.ads
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/adainclude/a-comlin.ads
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/adainclude/s-vallli.ads
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/adainclude/s-secsta.ads
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/adainclude/s-stoele.ads
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/adainclude/s-stoele.adb
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/adainclude/a-unccon.ads
+===========================GNAT BUG DETECTED==============================+
| 4.6.3 (i686-pc-linux-gnu) Assert_Failure sinfo.adb:1072                  |
| Error detected at bug_test.adb:7:27                                      |
| 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).

bug_test.adb

compilation abandoned
gnatmake: "bug_test.adb" compilation error
localhost: cat bug_test.adb 
with Ada.Command_Line; use Ada.Command_Line;

procedure Bug_Test is
  Arg_Array  : array (1 .. 5) of Integer;

begin
  for I in Argument_Count loop
    Arg_Array (I) := Integer'Value (Argument (I));
  end loop;
end Bug_Test;

localhost: gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: /build/src/gcc-4.6.3/configure --prefix=/usr --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch
--enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id
--with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold
--enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --disable-multilib
--disable-libssp --enable-checking=release
Thread model: posix
gcc version 4.6.3 (GCC)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]