public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ve3wwg at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/43769]  New: Ada Bug Box when -O1 or higher
Date: Fri, 16 Apr 2010 14:31:00 -0000	[thread overview]
Message-ID: <bug-43769-19038@http.gcc.gnu.org/bugzilla/> (raw)

Using -O1 (or higher) in the compile:

gnatmake -O1 -gnat05 -Wall -gnatwl -gnata -gnatVa -gnatf -gnatwr z9.adb

provokes a bug box:

gnatmake -O1 -v -save-temps -gnat05 -Wall -gnatwl -gnata -gnatVa -gnatf -gnatwr
z9.adb

GNATMAKE  4.3.4 20090804 (release) 1
Copyright (C) 1995-2007, Free Software Foundation, Inc.
  "z9.ali" being checked ...
  -> "z9.ali" missing.
gcc -c -O1 -save-temps -gnat05 -Wall -gnatwl -gnata -gnatVa -gnatf -gnatwr
z9.adb
  "z9-command_input.ali" being checked ...
  -> "z9-command_input.ali" missing.
gcc -c -O1 -save-temps -gnat05 -Wall -gnatwl -gnata -gnatVa -gnatf -gnatwr
z9-command_input.adb
  "z9-command_options.ali" being checked ...
  -> "z9-command_options.ali" missing.
gcc -c -O1 -save-temps -gnat05 -Wall -gnatwl -gnata -gnatVa -gnatf -gnatwr
z9-command_options.adb
  "z9-commands.ali" being checked ...
  -> "z9-commands.ali" missing.
gcc -c -O1 -save-temps -gnat05 -Wall -gnatwl -gnata -gnatVa -gnatf -gnatwr
z9-commands.adb
  "z9-gc_styles.ali" being checked ...
  -> "z9-gc_styles.ali" missing.
gcc -c -O1 -save-temps -gnat05 -Wall -gnatwl -gnata -gnatVa -gnatf -gnatwr
z9-gc_styles.adb
  "z9-global.ali" being checked ...
  -> "z9-global.ali" missing.
gcc -c -O1 -save-temps -gnat05 -Wall -gnatwl -gnata -gnatVa -gnatf -gnatwr
z9-global.adb
  "z9-lex_streams.ali" being checked ...
  -> "z9-lex_streams.ali" missing.
gcc -c -O1 -save-temps -gnat05 -Wall -gnatwl -gnata -gnatVa -gnatf -gnatwr
z9-lex_streams.adb
  "z9-lexers.ali" being checked ...
  -> "z9-lexers.ali" missing.
gcc -c -O1 -save-temps -gnat05 -Wall -gnatwl -gnata -gnatVa -gnatf -gnatwr
z9-lexers.adb
  "z9-line_buffers.ali" being checked ...
  -> "z9-line_buffers.ali" missing.
gcc -c -O1 -save-temps -gnat05 -Wall -gnatwl -gnata -gnatVa -gnatf -gnatwr
z9-line_buffers.adb
+===========================GNAT BUG DETECTED==============================+
| 4.3.4 20090804 (release) 1 (i686-pc-cygwin) GCC error:                   |
| in bitfield_overlaps_p, at tree-sra.c:2937                               |
| Error detected around z9-line_buffers.adb:1479                           |
| 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.

z9-line_buffers.adb
z9-line_buffers.ads
z9.ads
z9-global.ads
z9-string_containers.ads
simpmap.ads
z9-tokens.ads
z9-terminal.ads
z9-funcs.ads
z9-keywords.ads
z9-functions.ads
z9-error_codes.ads
z9-command_history.ads
rings.ads
z9-variables.ads
subscripts.ads
z9-lexers.ads
z9-lex_streams.ads
z9-gc_styles.ads
z9-vstrings.ads
z9-line_buffers-load_unnumbered.adb
simpmap.adb


raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:398
End of compilation
gnatmake: "z9-line_buffers.adb" compilation error
make: *** [all] Error 4
----
$ cat Makefile

BUG = -v -save-temps
#DEBUG  = -g -O0
DEBUG  = -O1
AFLAGS = $(DEBUG) $(BUG) -gnat05 -Wall -gnatwl -gnata -gnatVa -gnatf -gnatwr
CFLAGS = $(DEBUG) -I.. $(BUG)
CXFLAGS = $(DEBUG) -I.. $(BUG)

all:    z9.adb
        gnatmake $(AFLAGS) z9.adb

z9.adb: z9.ada
        gnatchop z9.ada

clean:
        rm -f *.ali *.o *.exe *.exe.stackdump core *.a
        rm -f b~*.a* *.tmp *.s
        rm -f errs.t

clobber: clean
        rm *.adb *.ads
----
Where do I attach my 8,223 line z9.ada file in this Bug-zilla?  Surely
not in this message? First time using gcc bugzilla-- hopefully it lets
me attach it in the next step(s). Otherwise email me, and I'll gladly
forward the z9.ada (gnatchop-able) source code.

Warren


-- 
           Summary: Ada Bug Box when -O1 or higher
           Product: gcc
           Version: 4.3.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ve3wwg at gmail dot com
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


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


             reply	other threads:[~2010-04-16 14:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-16 14:31 ve3wwg at gmail dot com [this message]
2010-04-16 14:34 ` [Bug ada/43769] " ve3wwg at gmail dot com
2010-04-16 14:35 ` ve3wwg at gmail dot com
2010-04-16 14:44 ` [Bug tree-optimization/43769] ICE in bitfield_overlaps_p, at tree-sra.c:2937 rguenth at gcc dot gnu dot org
2010-04-16 15:15 ` [Bug tree-optimization/43769] [4.3 regression] " ebotcazou at gcc dot gnu dot org
2010-04-16 15:17 ` ebotcazou at gcc dot gnu dot org
2010-04-16 15:20 ` ebotcazou at gcc dot gnu dot org
2010-04-16 15:32 ` rguenther at suse dot de
2010-04-16 15:35 ` ebotcazou at gcc dot gnu dot org
2010-04-18  7:15 ` [Bug tree-optimization/43769] [4.3/4.4 " ebotcazou at gcc dot gnu dot org
2010-04-18 15:56 ` ebotcazou at gcc dot gnu dot org
2010-04-18 15:57 ` ebotcazou at gcc dot gnu dot org
2010-04-18 16:00 ` ebotcazou at gcc dot gnu dot org

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-43769-19038@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).