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/17039] New: Bootstrap gnat bug - tree check: expected real_cst, have integer_cst in gnat_to_gnu, at ada/trans.c:2567


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


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