public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: ada/6661: gcc can't bootstrap gcc with -O3
@ 2003-05-10  7:45 giovannibajo
  0 siblings, 0 replies; 3+ messages in thread
From: giovannibajo @ 2003-05-10  7:45 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, larssj, nobody

Synopsis: gcc can't bootstrap gcc with -O3

State-Changed-From-To: open->feedback
State-Changed-By: bajo
State-Changed-When: Sat May 10 07:45:52 2003
State-Changed-Why:
    See Dara's question.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6661


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

* Re: ada/6661: gcc can't bootstrap gcc with -O3
@ 2003-05-10  2:56 Dara Hazeghi
  0 siblings, 0 replies; 3+ messages in thread
From: Dara Hazeghi @ 2003-05-10  2:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR ada/6661; it has been noted by GNATS.

From: Dara Hazeghi <dhazeghi@yahoo.com>
To: gcc-gnats@gcc.gnu.org, larssj@nospam.dk
Cc:  
Subject: Re: ada/6661: gcc can't bootstrap gcc with -O3
Date: Fri, 9 May 2003 19:52:54 -0700

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- 
 trail&database=gcc&pr=6661
 
 Hello,
 
 gcc 3.1 is quite old. Can you reproduce this error on a newer version  
 (ie 3.2.3)? Thanks,
 
 Dara
 


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

* ada/6661: gcc can't bootstrap gcc with -O3
@ 2002-05-14 23:26 larssj
  0 siblings, 0 replies; 3+ messages in thread
From: larssj @ 2002-05-14 23:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6661
>Category:       ada
>Synopsis:       gcc can't bootstrap gcc with -O3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue May 14 23:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lars S. Jensen
>Release:        CVS HEAD: gcc (GCC) 3.2 20020514 (experimental)
>Organization:
>Environment:
Linux 2.4.17-r5 Gentoo build AMD Athlon 
>Description:
gcc -c -march=athlon -g  -pipe  -O3 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long      -gnatpg -gnata -I- -I. -I../../../gcc/gcc/ada ../../../gcc/gcc/ada/tree_io.adb
+===========================GNAT BUG DETECTED==============================+
| 3.1 (20020212) (i686-pc-linux-gnu) GCC error:                            |
| RTL flag check: REG_POINTER used with unexpected rtx code `mem' in       |
|    copy_rtx_and_substitute, at integrate.c:2063                          |
| Error detected at ../../../gcc/gcc/ada/tree_io.adb:612:23                |


I have try it without -march=athlon and/or a gcc build with default setup -- same problem when I tries to bootstrap with -O3 
Why is it saying 3.1 (20020212)?

The problem have be there for more that a week!
>How-To-Repeat:
build gcc from CVS (20020513)

../gcc/configure --enable-languages='c,ada,c++,f77,java,objc' --enable-threads=posix --enable-long-long --disable-nls 

(time make bootstrap) && (cd gcc/;time make gnatlib_and_tools)
or
(time  make  CFLAGS='-march=athlon -pipe -O2' STAGE1_CFLAGS='-march=athlon -pipe -O2'  BOOT_CFLAGS='-march=athlon -pipe -O2' bootstrap ) && (cd gcc/;time make CFLAGS='-march=athlon -pipe -O2' STAGE1_CFLAGS='-march=athlon -pipe -O2'  GNATLIBCFLAGS='-march=athlon -pipe -O2'  BOOT_CFLAGS='-march=athlon -pipe -O2' gnatlib_and_tools)


and rebuild it with -O3

../gcc/configure --enable-languages='c,ada,c++,f77,java,objc' --enable-threads=posix --enable-long-long --disable-nls --prefix=/home/lasj/Test1 

(time make  CFLAGS='-V -O3' STAGE1_CFLAGS='-O3'  BOOT_CFLAGS='-O3' bootstrap ) && (cd gcc/;time make CFLAGS='-O3' STAGE1_CFLAGS='-O3'  GNATLIBCFLAGS='-O3'  BOOT_CFLAGS='-O3' gnatlib_and_tools)
or
(time make  CFLAGS='-march=athlon -g  -pipe -O3' STAGE1_CFLAGS='-march=athlon -g  -pipe  -O3'  BOOT_CFLAGS='-march=athlon -g  -pipe  -O3' bootstrap ) && (cd gcc/;time make CFLAGS='-march=athlon -g  -pipe -O3' STAGE1_CFLAGS='-march=athlon  -g  -pipe -O3'  GNATLIBCFLAGS='-march=athlon  -pipe  -g -O3'  BOOT_CFLAGS='-march=athlon  -pipe  -g -O3' gnatlib_and_tools)
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2003-05-10  7:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-10  7:45 ada/6661: gcc can't bootstrap gcc with -O3 giovannibajo
  -- strict thread matches above, loose matches on Subject: below --
2003-05-10  2:56 Dara Hazeghi
2002-05-14 23:26 larssj

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