public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "kredba at ibot dot cas dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/17039] New: Bootstrap gnat bug - tree check: expected real_cst, have integer_cst in gnat_to_gnu, at ada/trans.c:2567
Date: Sun, 15 Aug 2004 19:20:00 -0000	[thread overview]
Message-ID: <20040815192038.17039.kredba@ibot.cas.cz> (raw)

I am bootstraping gcc-3.5-20040815 snapshot with

../gcc-3.5-20040815/configure --prefix=/opt/gcc-3.5 --enable-shared
--enable-threads=posix --enable-checking --enable-long-long
--enable-__cxa_atexit --enable-clocale=gnu
--enable-languages=c,c++,f95,objc,java,ada --with-system-zlib

by Gentoo gcc-3.3.3.

Bootstraping fails after entered to stage2 :

make[2]: Leaving directory `/home/dave2/gcc/gcc-3.5/gcc'
echo timestamp > stage1_copy
echo stage2_build > stage_last
make CC=" stage1/xgcc -Bstage1/ -B/opt/gcc-3.5/i686-pc-linux-gnu/bin/"
CC_FOR_BUILD=" stage1/xgcc -Bstage1/ -B/opt/gcc-3.5/i686-pc-linux-gnu/bin/" \
         STAGE_PREFIX=stage1/ \
         ADAFLAGS="-gnatpg -gnata" CFLAGS="-g -O2" LDFLAGS=""
WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition -Werror" libdir=/opt/gcc-3.5/lib
LANGUAGES="c gcov gcov-dump ada c++ f95 java objc" MAKEINFO="makeinfo
--split-size=5000000" MAKEINFOFLAGS="--no-split" MAKEOVERRIDES=
OUTPUT_OPTION="-o \$@" \
         CFLAGS="-g -O2" WERROR="-Werror"

Libbackend.a, cc1, gcov and gcov-dump is builded fine.

After that I got:

stage1/xgcc -Bstage1/ -B/opt/gcc-3.5/i686-pc-linux-gnu/bin/ -c -g -O2     
-gnatpg -gnata -I- -I. -Iada -I../../gcc-3.5-20040815/gcc/ada
../../gcc-3.5-20040815/gcc/ada/ada.ads -o ada/ada.o

+===========================GNAT BUG DETECTED==============================+
| 3.5.0 20040815 (experimental) (i686-pc-linux-gnu) GCC error:             |
| tree check: expected real_cst, have integer_cst in gnat_to_gnu, at       |
|    ada/trans.c:2567                                                      |
| Error detected at system.ads:1:3                                         |


Regards, David

-- 
           Summary: Bootstrap gnat bug - tree check: expected real_cst, have
                    integer_cst in gnat_to_gnu, at ada/trans.c:2567
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kredba at ibot dot cas dot cz
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


             reply	other threads:[~2004-08-15 19:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-15 19:20 kredba at ibot dot cas dot cz [this message]
2004-08-15 19:24 ` [Bug ada/17039] " pinskia 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=20040815192038.17039.kredba@ibot.cas.cz \
    --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).