public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/38009]  New: Assert_Failure sinfo.adb:1002
@ 2008-11-04  8:36 sworley at chkno dot net
  2008-11-04  8:38 ` [Bug ada/38009] " sworley at chkno dot net
  0 siblings, 1 reply; 2+ messages in thread
From: sworley at chkno dot net @ 2008-11-04  8:36 UTC (permalink / raw)
  To: gcc-bugs

$ gnatmake assert_failure_sinfo_1002.adb
gnatgcc -c assert_failure_sinfo_1002.adb
+===========================GNAT BUG DETECTED==============================+
| 4.3.1 (i686-pc-linux-gnu) Assert_Failure sinfo.adb:1002                  |
| Error detected at assert_failure_sinfo_1002.adb:11:10                    |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
...


$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/configure --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.1
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib --disable-checking
--disable-werror --enable-secureplt --disable-multilib --enable-libmudflap
--disable-libssp --enable-cld --enable-java-awt=gtk --with-arch=i686
--enable-languages=c,c++,java,treelang,fortran --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.1-r1 p1.1'
Thread model: posix
gcc version 4.3.1 (Gentoo 4.3.1-r1 p1.1)


gcc-4.3.1/gcc/ada/sinfo.adb:
   function End_Span
      (N : Node_Id) return Uint is
   begin
      pragma Assert (False                         -- line 1002
        or else NT (N).Nkind = N_Case_Statement
        or else NT (N).Nkind = N_If_Statement);
      return Uint5 (N);
   end End_Span;


-- 
           Summary: Assert_Failure sinfo.adb:1002
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sworley at chkno dot net
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug ada/38009] Assert_Failure sinfo.adb:1002
  2008-11-04  8:36 [Bug ada/38009] New: Assert_Failure sinfo.adb:1002 sworley at chkno dot net
@ 2008-11-04  8:38 ` sworley at chkno dot net
  0 siblings, 0 replies; 2+ messages in thread
From: sworley at chkno dot net @ 2008-11-04  8:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from sworley at chkno dot net  2008-11-04 08:36 -------
Created an attachment (id=16622)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16622&action=view)
A source file that triggers the sinfo.adb:1002 assert failure


-- 


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


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

end of thread, other threads:[~2008-11-04  8:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-04  8:36 [Bug ada/38009] New: Assert_Failure sinfo.adb:1002 sworley at chkno dot net
2008-11-04  8:38 ` [Bug ada/38009] " sworley at chkno dot net

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