public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/19337] New: ada does not compile
@ 2005-01-08 20:51 heitkamp at ameritech dot net
  2005-01-08 20:52 ` [Bug ada/19337] " heitkamp at ameritech dot net
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: heitkamp at ameritech dot net @ 2005-01-08 20:51 UTC (permalink / raw)
  To: gcc-bugs

+===========================GNAT BUG DETECTED==============================+
| 4.0.0 20050108 (experimental) (i686-pc-linux-gnu) GCC error:             |
| in make_decl_rtl, at varasm.c:867                                        |
| Error detected at ali.adb:2098:1                                         |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| 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).                   |
+==========================================================================+

-- 
           Summary: ada does not compile
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: heitkamp at ameritech dot net
                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=19337


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

* [Bug ada/19337] ada does not compile
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
@ 2005-01-08 20:52 ` heitkamp at ameritech dot net
  2005-01-08 20:56 ` [Bug ada/19337] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (19 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: heitkamp at ameritech dot net @ 2005-01-08 20:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From heitkamp at ameritech dot net  2005-01-08 20:52 -------
Created an attachment (id=7907)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7907&action=view)
Files requested in the bug box


-- 


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


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

* [Bug ada/19337] [4.0 Regression] ada does not compile
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
  2005-01-08 20:52 ` [Bug ada/19337] " heitkamp at ameritech dot net
@ 2005-01-08 20:56 ` pinskia at gcc dot gnu dot org
  2005-01-08 22:11 ` laurent at guerby dot net
                   ` (18 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-08 20:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-08 20:56 -------
hmm, This worked yesterday on ppc-darwin.  I am trying to build on ppc-darwin right now.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |minor
           Keywords|                            |build, ice-on-valid-code
           Priority|P2                          |P3
            Summary|ada does not compile        |[4.0 Regression] ada does
                   |                            |not compile
   Target Milestone|---                         |4.0.0
            Version|unknown                     |4.0.0


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


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

* [Bug ada/19337] [4.0 Regression] ada does not compile
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
  2005-01-08 20:52 ` [Bug ada/19337] " heitkamp at ameritech dot net
  2005-01-08 20:56 ` [Bug ada/19337] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2005-01-08 22:11 ` laurent at guerby dot net
  2005-01-08 22:20 ` pinskia at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: laurent at guerby dot net @ 2005-01-08 22:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From laurent at guerby dot net  2005-01-08 22:11 -------
I can't reproduce this on mainline x86 and x86_64 both work fine (in make check
right now).

-- 


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


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

* [Bug ada/19337] [4.0 Regression] ada does not compile
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (2 preceding siblings ...)
  2005-01-08 22:11 ` laurent at guerby dot net
@ 2005-01-08 22:20 ` pinskia at gcc dot gnu dot org
  2005-01-09 16:04 ` heitkamp at ameritech dot net
                   ` (16 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-08 22:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-08 22:20 -------
I cannot reproduce it either on ppc-darwin,  are you sure that you don't have a file with a tag set (like a 
date tag).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug ada/19337] [4.0 Regression] ada does not compile
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (3 preceding siblings ...)
  2005-01-08 22:20 ` pinskia at gcc dot gnu dot org
@ 2005-01-09 16:04 ` heitkamp at ameritech dot net
  2005-01-09 16:06 ` pinskia at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: heitkamp at ameritech dot net @ 2005-01-09 16:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From heitkamp at ameritech dot net  2005-01-09 16:04 -------
Subject: Re:  [4.0 Regression] ada does not compile

On Sat, 8 Jan 2005, pinskia at gcc dot gnu dot org wrote:

Which file are you refering to? How do I check this?  I am a novice. 
Thanks.

Fred

>
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-08 22:20 -------
> I cannot reproduce it either on ppc-darwin,  are you sure that you don't have a file with a tag set (like a
> date tag).
>
> --
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Status|UNCONFIRMED                 |WAITING
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19337
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>


-- 


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


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

* [Bug ada/19337] [4.0 Regression] ada does not compile
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (4 preceding siblings ...)
  2005-01-09 16:04 ` heitkamp at ameritech dot net
@ 2005-01-09 16:06 ` pinskia at gcc dot gnu dot org
  2005-01-09 16:09 ` heitkamp at ameritech dot net
                   ` (14 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-09 16:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-09 16:06 -------
(In reply to comment #5)
> Subject: Re:  [4.0 Regression] ada does not compile
> 
> On Sat, 8 Jan 2005, pinskia at gcc dot gnu dot org wrote:
> 
> Which file are you refering to? How do I check this?  I am a novice. 
> Thanks.


I was asking a CVS question, check out CVS/TAGS but I would not know which files have the tag set.

I would check out a clean CVS version if this is a CVS, otherwise download a snapshot.

-- 


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


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

* [Bug ada/19337] [4.0 Regression] ada does not compile
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (5 preceding siblings ...)
  2005-01-09 16:06 ` pinskia at gcc dot gnu dot org
@ 2005-01-09 16:09 ` heitkamp at ameritech dot net
  2005-01-09 18:01 ` aj at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: heitkamp at ameritech dot net @ 2005-01-09 16:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From heitkamp at ameritech dot net  2005-01-09 16:09 -------
Subject: Re:  [4.0 Regression] ada does not compile

On Sat, 8 Jan 2005, laurent at guerby dot net wrote:

I would be glad to provide any other information that you may need to 
reproduce the bug or give more insight into the problem.  Let me know.

I have an Athlon MP dual processor system running Linux 2.6.10 and glibc 
2.3.90.

Fred

>
> ------- Additional Comments From laurent at guerby dot net  2005-01-08 22:11 -------
> I can't reproduce this on mainline x86 and x86_64 both work fine (in make check
> right now).
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19337
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>


-- 


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


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

* [Bug ada/19337] [4.0 Regression] ada does not compile
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (6 preceding siblings ...)
  2005-01-09 16:09 ` heitkamp at ameritech dot net
@ 2005-01-09 18:01 ` aj at gcc dot gnu dot org
  2005-01-09 18:14 ` heitkamp at ameritech dot net
                   ` (12 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: aj at gcc dot gnu dot org @ 2005-01-09 18:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From aj at gcc dot gnu dot org  2005-01-09 18:00 -------
Btw. this crashes in the same place as in PR 19241. 

-- 


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


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

* [Bug ada/19337] [4.0 Regression] ada does not compile
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (7 preceding siblings ...)
  2005-01-09 18:01 ` aj at gcc dot gnu dot org
@ 2005-01-09 18:14 ` heitkamp at ameritech dot net
  2005-01-09 18:22 ` laurent at guerby dot net
                   ` (11 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: heitkamp at ameritech dot net @ 2005-01-09 18:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From heitkamp at ameritech dot net  2005-01-09 18:14 -------
Subject: Re:  [4.0 Regression] ada does not compile

On Sun, 9 Jan 2005, pinskia at gcc dot gnu dot org wrote:

I Checked out a clean version and got the same error.

+===========================GNAT BUG 
DETECTED==============================+
| 4.0.0 20050109 (experimental) (i686-pc-linux-gnu) GCC error: 
|
| in make_decl_rtl, at varasm.c:867 
|
| Error detected at ali.adb:2098:1 
|
| Please submit a bug report; see http://gcc.gnu.org/bugs.html. 
|
| 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.

../../gcc-cvs/gcc/gcc/ada/ali.adb
../../gcc-cvs/gcc/gcc/ada/ali.ads
../../gcc-cvs/gcc/gcc/ada/casing.ads
../../gcc-cvs/gcc/gcc/ada/types.ads
../../gcc-cvs/gcc/gcc/ada/gnatvsn.ads
../../gcc-cvs/gcc/gcc/ada/rident.ads
../../gcc-cvs/gcc/gcc/ada/table.ads
../../gcc-cvs/gcc/gcc/ada/butil.ads
../../gcc-cvs/gcc/gcc/ada/debug.ads
../../gcc-cvs/gcc/gcc/ada/fname.ads
../../gcc-cvs/gcc/gcc/ada/namet.ads
../../gcc-cvs/gcc/gcc/ada/alloc.ads
../../gcc-cvs/gcc/gcc/ada/opt.ads
../../gcc-cvs/gcc/gcc/ada/hostparm.ads
../../gcc-cvs/gcc/gcc/ada/osint.ads
../../gcc-cvs/gcc/gcc/ada/output.ads
../../gcc-cvs/gcc/gcc/ada/table.adb
../../gcc-cvs/gcc/gcc/ada/tree_io.ads


raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:387


>
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-09 16:06 -------
> (In reply to comment #5)
>> Subject: Re:  [4.0 Regression] ada does not compile
>>
>> On Sat, 8 Jan 2005, pinskia at gcc dot gnu dot org wrote:
>>
>> Which file are you refering to? How do I check this?  I am a novice.
>> Thanks.
>
>
> I was asking a CVS question, check out CVS/TAGS but I would not know which files have the tag set.
>
> I would check out a clean CVS version if this is a CVS, otherwise download a snapshot.
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19337
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>


Fred

Error Loading Explorer.exe
You must reinstall Windows.


-- 


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


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

* [Bug ada/19337] [4.0 Regression] ada does not compile
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (8 preceding siblings ...)
  2005-01-09 18:14 ` heitkamp at ameritech dot net
@ 2005-01-09 18:22 ` laurent at guerby dot net
  2005-01-10 13:19 ` heitkamp at ameritech dot net
                   ` (10 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: laurent at guerby dot net @ 2005-01-09 18:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From laurent at guerby dot net  2005-01-09 18:22 -------
Could you paste the 10 last compile lines of your log? We cannot say wether it's
stage2, 3 or part of gnattools that is failing from your report.

Please also give your complete configure line, and the list of all commands
you've called after configure to get this result. Also make sure
the prefix directory is empty before configure so we're not
using some half-built tools.

As you've seen many people are building successfully Ada daily, so this is
something on your side, we need all details of what you did to be able to help.

-- 


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


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

* [Bug ada/19337] [4.0 Regression] ada does not compile
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (9 preceding siblings ...)
  2005-01-09 18:22 ` laurent at guerby dot net
@ 2005-01-10 13:19 ` heitkamp at ameritech dot net
  2005-01-10 14:07 ` laurent at guerby dot net
                   ` (9 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: heitkamp at ameritech dot net @ 2005-01-10 13:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From heitkamp at ameritech dot net  2005-01-10 13:18 -------
Subject: Re:  [4.0 Regression] ada does not compile

On Sun, 9 Jan 2005, laurent at guerby dot net wrote:

>
> ------- Additional Comments From laurent at guerby dot net  2005-01-09 18:22 -------
> Could you paste the 10 last compile lines of your log? We cannot say wether it's
> stage2, 3 or part of gnattools that is failing from your report.

stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -g -O0 \
  -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/memtrack.adb -o ada/memtrack.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -g -O0 \
  -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-memory.adb -o ada/s-memory.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-carun8.adb -o ada/s-carun8.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-casuti.adb -o ada/s-casuti.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-strcom.adb -o ada/s-strcom.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-purexc.ads -o ada/s-purexc.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-htable.adb -o ada/s-htable.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-traceb.adb -o ada/s-traceb.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-mastop.adb -o ada/s-mastop.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/s-except.ads -o ada/s-except.o
stage1/xgcc -Bstage1/ -B/usr/gcc_cvs//bin/ -c -mtune=athlon-mp -O3 -pipe      -gnatpg -gnata -I- -I. -Iada -I../../gcc-cvs/gcc/gcc/ada ../../gcc-cvs/gcc/gcc/ada/ali.adb -o ada/ali.o
+===========================GNAT BUG DETECTED==============================+
| 4.0.0 20050109 (experimental) (i686-pc-linux-gnu) GCC error:             |
| in make_decl_rtl, at varasm.c:867                                        |
| Error detected at ali.adb:2098:1                                         |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| 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.

../../gcc-cvs/gcc/gcc/ada/ali.adb
../../gcc-cvs/gcc/gcc/ada/ali.ads
../../gcc-cvs/gcc/gcc/ada/casing.ads
../../gcc-cvs/gcc/gcc/ada/types.ads
../../gcc-cvs/gcc/gcc/ada/gnatvsn.ads
../../gcc-cvs/gcc/gcc/ada/rident.ads
../../gcc-cvs/gcc/gcc/ada/table.ads
../../gcc-cvs/gcc/gcc/ada/butil.ads
../../gcc-cvs/gcc/gcc/ada/debug.ads
../../gcc-cvs/gcc/gcc/ada/fname.ads
../../gcc-cvs/gcc/gcc/ada/namet.ads
../../gcc-cvs/gcc/gcc/ada/alloc.ads
../../gcc-cvs/gcc/gcc/ada/opt.ads
../../gcc-cvs/gcc/gcc/ada/hostparm.ads
../../gcc-cvs/gcc/gcc/ada/osint.ads
../../gcc-cvs/gcc/gcc/ada/output.ads
../../gcc-cvs/gcc/gcc/ada/table.adb
../../gcc-cvs/gcc/gcc/ada/tree_io.ads


Execution terminated by unhandled exception
Exception name: TYPES.UNRECOVERABLE_ERROR
Message: comperr.adb:387
Call stack traceback locations:
0x80e0fce 0x8074764 0x8439c3b 0x8439f47 0x843a355 0x843a422 0x86f0486 0x8498ef6 0x84982a0 0x84ab886 0x849ac25 0x84982a0 0x84ab886 0x848d6de 0x84a6ecf 0x8498263 0x86b5fe5 0x86af227 0x870ea1c 0x870f0dd 0x8306cd8 0x8306dc0 0x8307088 0x8075f25 0x8740ec4 0x8742f41 0x8743263 0x80742fd 0x86c312a 0x86c4c14 0x86c4c74 0x82d7ffc 0xb7ec52fe
make[2]: *** [ada/ali.o] Error 1
make[2]: Leaving directory `/drives/work/src/gcc-head-bin/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/drives/work/src/gcc-head-bin/gcc'
make: *** [bootstrap] Error 2

>
> Please also give your complete configure line, and the list of all commands
> you've called after configure to get this result. Also make sure

PREFIX=/usr/gcc_cvs
SRC=gcc-cvs/gcc/
LANGUAGES="c,c++,f95,ada,java,objc"
../$SRC/configure \
         --prefix=$PREFIX \
 	--with-gcc                              \
         --with-gnu-ld                           \
         --with-gnu-as                           \
         --enable-libgcj                         \
         --enable-java-gc=boehm                  \
         --enable-interpreter                    \
         --enable-hash-synchronization           \
         --enable-shared                       \
         --enable-threads=posix \
         --enable-clocale=gnu \
         --with-cpu=athlon-mp \
 	--enable-sse2 \
         --with-tls \
         --with-nptl \
         --enable-languages=$LANGUAGES \
         --with-libada   \
         --with-libbanshee \
         --with-gmp \
         --enable-version-specific-runtime-libs \
         --enable-__cxa_atexit \
         --enable-maintainer-mode \
         --enable-libbanshee \
 	--disable-werror \
         --enable-libada

make BOOT_CFLAGS='-mtune=athlon-mp -O3 -pipe' \
 	CFLAGS='-O2' \
 	LIBCXXFLAGS='-g -O2 -fno-implicit-templates' \
 	bootstrap 2>&1|tee log.make.txt

> the prefix directory is empty before configure so we're not
> using some half-built tools.

I've tried empty and not empty.  It made no difference.

>
> As you've seen many people are building successfully Ada daily, so this is
> something on your side, we need all details of what you did to be able to help.

I tried the same configure above with a clean Debian unstable install and 
it produced the same error.

I've been trying some simpler configures, but none have worked so far, but 
do not reproduce the ada problem.  I've not tried a simple configure on 
the clean Debian install.

Normally if I can get the ada compiler to compile, the java, fortran or 
objc fails.

What versions of all the auto tools should I be using?  What 
version of the compiler should I use to start the build? Should any stable 
version work?  Also what configure options work best.  Sorry for these 
questions.  I have been unable to build the gcc head for sometime. 
One last question, what is the series of targets that must be made 
to make the ada compiler and all the tools? Thanks for all your help.

Fred


-- 


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


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

* [Bug ada/19337] [4.0 Regression] ada does not compile
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (10 preceding siblings ...)
  2005-01-10 13:19 ` heitkamp at ameritech dot net
@ 2005-01-10 14:07 ` laurent at guerby dot net
  2005-01-10 15:36 ` [Bug ada/19337] [4.0 Regression] ada does not compile at -O3 pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: laurent at guerby dot net @ 2005-01-10 14:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From laurent at guerby dot net  2005-01-10 14:07 -------
BOOT_CFLAGS='-mtune=athlon-mp -O3 -pipe'

Okay, that's the issue, I believe the default one is "-O2", I suggested
retrying without BOOT_CLFAGS, you should be able to build.

We're currently running the Ada testsuite at -O2
(see gcc/testsuite/ada/acats/run_all.sh),
I'll try to run it at -O3 to see if I get this ICE, that
will be easier to file and track.

-- 


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


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

* [Bug ada/19337] [4.0 Regression] ada does not compile at -O3
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (11 preceding siblings ...)
  2005-01-10 14:07 ` laurent at guerby dot net
@ 2005-01-10 15:36 ` pinskia at gcc dot gnu dot org
  2005-01-10 15:37 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-10 15:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-10 15:36 -------
So marking as invalid to mark as ....

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID
            Summary|[4.0 Regression] ada does   |[4.0 Regression] ada does
                   |not compile                 |not compile at -O3


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


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

* [Bug ada/19337] [4.0 Regression] ada does not compile at -O3
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (12 preceding siblings ...)
  2005-01-10 15:36 ` [Bug ada/19337] [4.0 Regression] ada does not compile at -O3 pinskia at gcc dot gnu dot org
@ 2005-01-10 15:37 ` pinskia at gcc dot gnu dot org
  2005-01-12 16:43 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-10 15:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-10 15:36 -------
Unconfirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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


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

* [Bug ada/19337] [4.0 Regression] ada does not compile at -O3
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (13 preceding siblings ...)
  2005-01-10 15:37 ` pinskia at gcc dot gnu dot org
@ 2005-01-12 16:43 ` pinskia at gcc dot gnu dot org
  2005-01-12 16:53 ` [Bug tree-optimization/19337] [4.0 Regression] ada does not compile at -O3 (nested functions related) pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-12 16:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-12 16:43 -------
I can confirm this on ppc-darwin also.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org


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


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

* [Bug tree-optimization/19337] [4.0 Regression] ada does not compile at -O3 (nested functions related)
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (14 preceding siblings ...)
  2005-01-12 16:43 ` pinskia at gcc dot gnu dot org
@ 2005-01-12 16:53 ` pinskia at gcc dot gnu dot org
  2005-01-12 16:55 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-12 16:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-12 16:53 -------
Reduced C testcase, just compile at -O3:
void write_char(char);
int len(char*);
void f(char *a)
{
  int col = 0;
  int i;
  void wchar(char c)
  {
    if (c == '\t')
     {
      do {
       wchar(' ');
      } while ((col%8)!=0);
     }
    else
     {
       write_char (c);
       col++;
     }
  }
  for(i =0;i<len(a);i++)
  {
   wchar(*a);
  }
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |normal
             Status|UNCONFIRMED                 |NEW
          Component|ada                         |tree-optimization
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-12 16:53:33
               date|                            |
            Summary|[4.0 Regression] ada does   |[4.0 Regression] ada does
                   |not compile at -O3          |not compile at -O3 (nested
                   |                            |functions related)


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


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

* [Bug tree-optimization/19337] [4.0 Regression] ada does not compile at -O3 (nested functions related)
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (15 preceding siblings ...)
  2005-01-12 16:53 ` [Bug tree-optimization/19337] [4.0 Regression] ada does not compile at -O3 (nested functions related) pinskia at gcc dot gnu dot org
@ 2005-01-12 16:55 ` pinskia at gcc dot gnu dot org
  2005-01-13  0:07 ` hubicka at ucw dot cz
                   ` (3 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-12 16:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-12 16:55 -------
(In reply to comment #16)
> Reduced C testcase, just compile at -O3:
One note this was a semi-direct translation of the Ada code, I was just trying to understand the Ada 
code even though I don't know Ada that much.

-- 


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


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

* [Bug tree-optimization/19337] [4.0 Regression] ada does not compile at -O3 (nested functions related)
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (16 preceding siblings ...)
  2005-01-12 16:55 ` pinskia at gcc dot gnu dot org
@ 2005-01-13  0:07 ` hubicka at ucw dot cz
  2005-01-13 13:42 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: hubicka at ucw dot cz @ 2005-01-13  0:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hubicka at ucw dot cz  2005-01-13 00:07 -------
Subject: Re:  [4.0 Regression] ada does not compile at -O3 (nested functions related)

Testing attached patch

void write_char(char);
int len(char*);
void f(char *a)
{
  int col = 0;
  int i;
  void wchar(char c)
  {
    if (c == '\t')
     {
      do {
       wchar(' ');
      } while ((col%8)!=0);
     }
    else
     {
       write_char (c);
       col++;
     }
  }
  for(i =0;i<len(a);i++)
  {
   wchar(*a);
  }
}

2005-01-13  Jan Hubicka  <jh@suse.cz>

	PR tree-optimize/19337
	* tree-inlie.c (initialize_inlined_parameters): Copy
	saved_static_chain_decl only.

Index: tree-inline.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-inline.c,v
retrieving revision 1.162
diff -c -3 -p -r1.162 tree-inline.c
*** tree-inline.c	4 Jan 2005 01:54:25 -0000	1.162
--- tree-inline.c	13 Jan 2005 00:04:22 -0000
*************** initialize_inlined_parameters (inline_da
*** 808,813 ****
--- 809,816 ----
  
    /* Initialize the static chain.  */
    p = DECL_STRUCT_FUNCTION (fn)->static_chain_decl;
+   if (DECL_STRUCT_FUNCTION (fn)->saved_static_chain_decl)
+     p = DECL_STRUCT_FUNCTION (fn)->saved_static_chain_decl;
    if (p)
      {
        /* No static chain?  Seems like a bug in tree-nested.c.  */


-- 


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


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

* [Bug tree-optimization/19337] [4.0 Regression] ada does not compile at -O3 (nested functions related)
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (17 preceding siblings ...)
  2005-01-13  0:07 ` hubicka at ucw dot cz
@ 2005-01-13 13:42 ` pinskia at gcc dot gnu dot org
  2005-01-25 19:33 ` cvs-commit at gcc dot gnu dot org
  2005-01-25 19:49 ` pinskia at gcc dot gnu dot org
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-13 13:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-13 13:42 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00705.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug tree-optimization/19337] [4.0 Regression] ada does not compile at -O3 (nested functions related)
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (18 preceding siblings ...)
  2005-01-13 13:42 ` pinskia at gcc dot gnu dot org
@ 2005-01-25 19:33 ` cvs-commit at gcc dot gnu dot org
  2005-01-25 19:49 ` pinskia at gcc dot gnu dot org
  20 siblings, 0 replies; 22+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-25 19:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-25 19:32 -------
Subject: Bug 19337

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	hubicka@gcc.gnu.org	2005-01-25 19:32:53

Modified files:
	gcc            : ChangeLog tree-inline.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.c-torture/compile: 20050119-1.c 

Log message:
	PR tree-optimize/19337
	* gcc.c-torture/compile/20050119-1.c: New test.
	
	PR tree-optimize/19337
	* tree-inline.c (initialize_inlined_parameters): Copy
	saved_static_chain_decl only.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7271&r2=2.7272
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-inline.c.diff?cvsroot=gcc&r1=1.167&r2=1.168
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4935&r2=1.4936
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/20050119-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug tree-optimization/19337] [4.0 Regression] ada does not compile at -O3 (nested functions related)
  2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
                   ` (19 preceding siblings ...)
  2005-01-25 19:33 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-25 19:49 ` pinskia at gcc dot gnu dot org
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-25 19:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-25 19:49 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2005-01-25 19:49 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-08 20:51 [Bug ada/19337] New: ada does not compile heitkamp at ameritech dot net
2005-01-08 20:52 ` [Bug ada/19337] " heitkamp at ameritech dot net
2005-01-08 20:56 ` [Bug ada/19337] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-01-08 22:11 ` laurent at guerby dot net
2005-01-08 22:20 ` pinskia at gcc dot gnu dot org
2005-01-09 16:04 ` heitkamp at ameritech dot net
2005-01-09 16:06 ` pinskia at gcc dot gnu dot org
2005-01-09 16:09 ` heitkamp at ameritech dot net
2005-01-09 18:01 ` aj at gcc dot gnu dot org
2005-01-09 18:14 ` heitkamp at ameritech dot net
2005-01-09 18:22 ` laurent at guerby dot net
2005-01-10 13:19 ` heitkamp at ameritech dot net
2005-01-10 14:07 ` laurent at guerby dot net
2005-01-10 15:36 ` [Bug ada/19337] [4.0 Regression] ada does not compile at -O3 pinskia at gcc dot gnu dot org
2005-01-10 15:37 ` pinskia at gcc dot gnu dot org
2005-01-12 16:43 ` pinskia at gcc dot gnu dot org
2005-01-12 16:53 ` [Bug tree-optimization/19337] [4.0 Regression] ada does not compile at -O3 (nested functions related) pinskia at gcc dot gnu dot org
2005-01-12 16:55 ` pinskia at gcc dot gnu dot org
2005-01-13  0:07 ` hubicka at ucw dot cz
2005-01-13 13:42 ` pinskia at gcc dot gnu dot org
2005-01-25 19:33 ` cvs-commit at gcc dot gnu dot org
2005-01-25 19:49 ` pinskia at gcc dot gnu dot org

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