public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "sworley at chkno dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/38009] Assert_Failure sinfo.adb:1002
Date: Wed, 15 Oct 2014 05:54:00 -0000	[thread overview]
Message-ID: <bug-38009-4-PmgbYuIQ3A@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-38009-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #2 from Scott Worley <sworley at chkno dot net> ---
Update for 4.6.4:

$ gnatmake assert_failure_sinfo_1002.adb
gnatgcc -c assert_failure_sinfo_1002.adb
+===========================GNAT BUG DETECTED==============================+
| 4.6.4 (x86_64-pc-linux-gnu) Assert_Failure sinfo.adb:1061                |
| Error detected at assert_failure_sinfo_1002.adb:11:10                    |
| 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).

/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.6/adainclude/system.ads
assert_failure_sinfo_1002.adb

compilation abandoned
gnatmake: "assert_failure_sinfo_1002.adb" compilation error



$ nl --body-numbering=all
/usr/src/debug/dev-lang/gnat-gcc-4.6.4/gcc-4.6.4/gcc/ada/sinfo.adb
...
  1056     function End_Span
  1057        (N : Node_Id) return Uint is
  1058     begin
  1059        pragma Assert (False
  1060          or else NT (N).Nkind = N_Case_Statement
  1061          or else NT (N).Nkind = N_If_Statement);
  1062        return Uint5 (N);
  1063     end End_Span;
...


       reply	other threads:[~2014-10-15  5:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-38009-4@http.gcc.gnu.org/bugzilla/>
2014-10-15  5:54 ` sworley at chkno dot net [this message]
2008-11-04  8:36 [Bug ada/38009] New: " sworley at chkno dot net
2008-11-04  8:38 ` [Bug ada/38009] " sworley at chkno dot net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-38009-4-PmgbYuIQ3A@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).