Re: GCC -On optimization passes: flag and doc issues

2007-05-01 Thread Joerg Wunsch
As Richard Earnshaw wrote: > There's no need to hack everything up. As long as you have bash > installed on your machine, it's straight-forward to run CSiBE on > *BSD machines: simply invoke the makefiles with SHELL=.../bash. That's what I did, but it doesn't help for the non-standard usage of /

Re: GCC -On optimization passes: flag and doc issues

2007-05-01 Thread Richard Earnshaw
On Tue, 2007-05-01 at 09:07 +0200, Joerg Wunsch wrote: > As Richard Earnshaw wrote: > > > There's no need to hack everything up. As long as you have bash > > installed on your machine, it's straight-forward to run CSiBE on > > *BSD machines: simply invoke the makefiles with SHELL=.../bash. > > T

Re: 2nd quarter of 2007 and no GPL code of Java from Sun.

2007-05-01 Thread J.C. Pizarro
2007/4/3, Fernando Lozano <[EMAIL PROTECTED]> wrote: J.C. Pizarro escreveu: > We're in 2nd quarter of 2007 and no release of the complete source > code under GPL is put to the public! > > What does Sun wait to? JavaOne, for sure. So you'll have the code in May. Don't forget they already release

Re: GCC -On optimization passes: flag and doc issues

2007-05-01 Thread Joerg Wunsch
As Richard Earnshaw wrote: > > That's what I did, but it doesn't help for the non-standard usage > > of /usr/bin/time (-f option). They even explicitly used > > /usr/bin/time rather than bash's builtin. > No, it uses whichever time program you pass to the configure script > with the -S flag. So

Re: assign numbers to warnings; treat selected warnings as errors

2007-05-01 Thread Gerald Pfeifer
On Fri, 20 Apr 2007, Manuel López-Ibáñez wrote: > Not only that, but you can do -Werror -Wno-error=foo, to get errors > for everything except -Wfoo. Also, you can do > -fdiagnostics-show-options to find out which -Wfoo option generates > each warning message. It is unfortunate that this is missing

Re: GCC -On optimization passes: flag and doc issues

2007-05-01 Thread Richard Earnshaw
On Tue, 2007-05-01 at 12:43 +0200, Joerg Wunsch wrote: > As Richard Earnshaw wrote: > > > > That's what I did, but it doesn't help for the non-standard usage > > > of /usr/bin/time (-f option). They even explicitly used > > > /usr/bin/time rather than bash's builtin. > > > No, it uses whichever

Re: GCC -On optimization passes: flag and doc issues

2007-05-01 Thread Andreas Schwab
Please take this up with the CSiBE people. This is highly off-topic here. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something c

Re: assign numbers to warnings; treat selected warnings as errors

2007-05-01 Thread Gabriel Dos Reis
Gerald Pfeifer <[EMAIL PROTECTED]> writes: | On Fri, 20 Apr 2007, Manuel López-Ibáñez wrote: | > Not only that, but you can do -Werror -Wno-error=foo, to get errors | > for everything except -Wfoo. Also, you can do | > -fdiagnostics-show-options to find out which -Wfoo option generates | > each wa

Re: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Aaron Gray
James, On 5/1/07, Aaron Gray <[EMAIL PROTECTED]> wrote: Hi James, > Successfully built latest gcc on Win XP SP2 with cvs built cygwin. I was wondering whether you could help to get me to the same point please. You will need to use Dave Korns patch for newlib. http://sourceware.org/ml/new

Re: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Tim Prince
[EMAIL PROTECTED] wrote: James, On 5/1/07, Aaron Gray <[EMAIL PROTECTED]> wrote: Hi James, > Successfully built latest gcc on Win XP SP2 with cvs built cygwin. I was wondering whether you could help to get me to the same point please. You will need to use Dave Korns patch for newlib. ht

Re: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Aaron Gray
[EMAIL PROTECTED] wrote: James, On 5/1/07, Aaron Gray <[EMAIL PROTECTED]> wrote: Hi James, > Successfully built latest gcc on Win XP SP2 with cvs built cygwin. I was wondering whether you could help to get me to the same point please. You will need to use Dave Korns patch for newlib. ht

Information about LTO

2007-05-01 Thread Sjodin, Jan
Hi I am new to GCC development and I have a few questions about LTO. What has been done since the last status report in January? I would also like to know what is most important to work on right now to make progress on LTO (e.g. type system, intermediate representation, reader/writer). What rem

RE: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Dave Korn
On 02 May 2007 02:47, Aaron Gray wrote: > James, > >> On 5/1/07, Aaron Gray wrote: >>> Hi James, >>> Successfully built latest gcc on Win XP SP2 with cvs built cygwin. >>> >>> I was wondering whether you could help to get me to the same point >>> please. > >> You will need to use Dave Kor

Re: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Aaron Gray
On 02 May 2007 02:47, Aaron Gray wrote: James, On 5/1/07, Aaron Gray wrote: Hi James, Successfully built latest gcc on Win XP SP2 with cvs built cygwin. I was wondering whether you could help to get me to the same point please. You will need to use Dave Korns patch for newlib. http://

Re: 2nd quarter of 2007 and no GPL code of Java from Sun.

2007-05-01 Thread David Carlton
On Tue, 01 May 2007 11:14:48 +0200, "J.C. Pizarro" <[EMAIL PROTECTED]> said: > Today is 01 of May, the worker's day. I don't think JavaOne has started yet? > How long have i to wait? > From Sun, there are not notice, news, etc about the process of > GPLing the OpenJDK.

Cygwin build documentation error.

2007-05-01 Thread Aaron Gray
I am getting errors on building Cygwin. It appears to be something to do with the documentation. Am I missing something simple such as a package like cygwin-doc and if so where do I get it ? Error text below... Many thanks in advance, Aaron make[3]: Entering directory `/usr/build/cygw

Re: 2nd quarter of 2007 and no GPL code of Java from Sun.

2007-05-01 Thread Tom Tromey
> "JC" == J C Pizarro <[EMAIL PROTECTED]> writes: Fernando> JavaOne, for sure. So you'll have the code in May. JC> Today is 01 of May, the worker's day. JC> I've not the code in May, Fernando. This is the first day of May. JC> How long have i to wait? Andrew. JC> From Sun, there are not n

Re: Cygwin build documentation error.

2007-05-01 Thread Brian Dessent
Aaron Gray wrote: > I am getting errors on building Cygwin. It appears to be something to do > with the documentation. > > Am I missing something simple such as a package like cygwin-doc and if so > where do I get it ? > > Error text below... > > Many thanks in advance, > [...] `/usr/build/cygw

Re: Cygwin build documentation error.

2007-05-01 Thread Aaron Gray
Aaron Gray wrote: I am getting errors on building Cygwin. It appears to be something to do with the documentation. Am I missing something simple such as a package like cygwin-doc and if so where do I get it ? Error text below... Many thanks in advance, [...] `/usr/build/cygwin/i686-pc-cygwin

Re: Information about LTO

2007-05-01 Thread Ian Lance Taylor
"Sjodin, Jan" <[EMAIL PROTECTED]> writes: > Hi I am new to GCC development and I have a few questions about LTO. > What has been done since the last status report in January? I would > also like to know what is most important to work on right now to make > progress on LTO (e.g. type system, int

RE: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Dave Korn
On 02 May 2007 04:17, Aaron Gray wrote: You will need to use Dave Korns patch for newlib. >>> Has a variation of the patch already been applied ? Shall I revert stdio.h >>> back to the CVS version ? >> >> It is patched in newlib cvs, and then a second patch was applied on top to >>

Re: Information about LTO

2007-05-01 Thread Chris Lattner
On May 1, 2007, at 9:42 AM, Ian Lance Taylor wrote: "Sjodin, Jan" <[EMAIL PROTECTED]> writes: Hi I am new to GCC development and I have a few questions about LTO. What has been done since the last status report in January? I would also like to know what is most important to work on right now

Re: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Aaron Gray
JFTR, the patch is only required for building gcc, not for building winsup. As Brian says, we'll deal with any winsup problems on the cygwin list. Sorry for adding to the confusion as I am actually trying to build GCC CVS on Cygwin :) Can you give me any indication of when the next version

some 4.2.0 RC2 test results

2007-05-01 Thread Joe Buck
Here are some 4.2.0 RC2 test results (all languages except Ada). First, i686-pc-linux-gnu on RHEL 3. NOTE: if this release is built with the shipped compiler (3.2.3 based), we get a bootstrap comparison failure; the same is true with the FSF 3.2.3. This report used 3.4.2 as the bootstrap compile

Re: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Brian Dessent
Aaron Gray wrote: > > > JFTR, the patch is only required for building gcc, not for building > > winsup. > > As Brian says, we'll deal with any winsup problems on the cygwin list. > > Sorry for adding to the confusion as I am actually trying to build GCC CVS > on Cygwin :) > > Can you give me an

RE: Information about LTO

2007-05-01 Thread Sjodin, Jan
> "Sjodin, Jan" <[EMAIL PROTECTED]> writes: > > > Hi I am new to GCC development and I have a few questions about LTO. > > What has been done since the last status report in January? I would > > also like to know what is most important to work on right now to make > > progress on LTO (e.g. type s

RE: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Dave Korn
On 01 May 2007 18:43, Brian Dessent wrote: > Aaron Gray wrote: >> >>> JFTR, the patch is only required for building gcc, not for building >>> winsup. As Brian says, we'll deal with any winsup problems on the cygwin >>> list. >> >> Sorry for adding to the confusion as I am actually trying to bu

GCC 4.2 RC2 Available

2007-05-01 Thread Mark Mitchell
GCC 4.2 RC2 is now available from: ftp://gcc.gnu.org/pub/gcc/prerelease-4.2.0-20070430 There is a known serious problem with RC2: Ada does not build. Therefore, there will be an RC3 shortly. However, it would be helpful if you would build and test RC2. As always, with release candidates, plea

Re: Information about LTO

2007-05-01 Thread Diego Novillo
Sjodin, Jan wrote on 05/01/07 13:54: > Does LTO have any hard dependencies on the gimple-tuples? I imagine the > on-disk representation could be separate from any internal > representation. I am curious if the two efforts can be worked on in > parallel and how well they can be separated, since the

Re: Information about LTO

2007-05-01 Thread Joseph S. Myers
On Tue, 1 May 2007, Diego Novillo wrote: > Some amount of parallelism may occur, but we will have to adapt many LTO > chunks when the tuple work goes in mainline. The data structures for > the IL will be completely different, after all. Also, LTO hasn't been merged from mainline in a long time;

RE: Information about LTO

2007-05-01 Thread Sjodin, Jan
> -Original Message- > From: Joseph S. Myers [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 01, 2007 2:07 PM > To: Diego Novillo > Cc: Sjodin, Jan; Ian Lance Taylor; gcc@gcc.gnu.org > Subject: Re: Information about LTO > > On Tue, 1 May 2007, Diego Novillo wrote:> Also, LTO hasn't been me

Re: Information about LTO

2007-05-01 Thread Diego Novillo
On 5/1/07, Sjodin, Jan <[EMAIL PROTECTED]> wrote: Does anyone know how many people that are currently working on the tuple representation and can perhaps guess how many months it would take to get into mainline? Aldy is working full time on it, atm. Richard, Andrew and I may start working on

RE: Information about LTO

2007-05-01 Thread Sjodin, Jan
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Diego Novillo > Sent: Tuesday, May 01, 2007 3:26 PM > To: Sjodin, Jan > Cc: Joseph S. Myers; Ian Lance Taylor; gcc@gcc.gnu.org > Subject: Re: Information about LTO > > On 5/1/07, Sjodin, Jan <[EMAIL PR

Re: Information about LTO

2007-05-01 Thread Steven Bosscher
On 5/1/07, Sjodin, Jan <[EMAIL PROTECTED]> wrote: Can someone give similar information about LTO? How many people (full/part time) and how long time it will take? How much work is LTO compared to the tuple representation? A vast amount more if we're going to work on LTO with the current GIMPLE

Backport fix for spurious anonymous ns warnings PR29365 to 4.2?

2007-05-01 Thread Aaron W. LaFramboise
I discovered PR29365 today while testing 4.2.0 RC2 on a client's codebase. This causes some of my code, based on the popular pimpl idiom, to generate warnings, even with no warning flags specified. If there's a way to turn it off without patching the source, I can't find it. Given the pervas

Re: A problem with the loop structure

2007-05-01 Thread Vladimir Yanovsky
Hi, Thanks a lot for your help and suggestions! Below I attach some more observations. I would be grateful for any more ideas on what can be wrong here. Thanks a lot, Vladimir --- The problem happens because the num_nodes o

Re: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Angelo Graziosi
Aaron Gray wrote: > Successfully built latest gcc on Win XP SP2 with cvs built cygwin. CVS Cygwin contains CVS newlib, i.e. already the patched version of sdtdio.h, so if you use cvs built cygwin you should not patch anything. To build GCC 4.3, you should simply move the new stdio.h on /usr/in

Re: Backport fix for spurious anonymous ns warnings PR29365 to 4.2?

2007-05-01 Thread Ian Lance Taylor
"Aaron W. LaFramboise" <[EMAIL PROTECTED]> writes: > I discovered PR29365 today while testing 4.2.0 RC2 on a client's > codebase. This causes some of my code, based on the popular pimpl > idiom, to generate warnings, even with no warning flags specified. If > there's a way to turn it off without

Re: Backport fix for spurious anonymous ns warnings PR29365 to 4.2?

2007-05-01 Thread Andrew Pinski
On 01 May 2007 14:28:07 -0700, Ian Lance Taylor <[EMAIL PROTECTED]> wrote: I agree that it would be appropriate to backport the patch to gcc 4.2. Lets first get the patch which fixes the ICE regression that this patch causes approved :). Which can be found at: http://gcc.gnu.org/ml/gcc-patches

Re: Backport fix for spurious anonymous ns warnings PR29365 to 4.2?

2007-05-01 Thread Seongbae Park
On 5/1/07, Andrew Pinski <[EMAIL PROTECTED]> wrote: On 01 May 2007 14:28:07 -0700, Ian Lance Taylor <[EMAIL PROTECTED]> wrote: > I agree that it would be appropriate to backport the patch to gcc 4.2. Lets first get the patch which fixes the ICE regression that this patch causes approved :). Whi

Reload bug with register elimination + reload inheritance (Was: general_operand() not accepting CONCAT?)

2007-05-01 Thread Rask Ingemann Lambertsen
On Fri, Apr 27, 2007 at 08:24:11AM -0700, Richard Henderson wrote: > This doesn't look like frame pointer elimination at all, > just different stack slots allocated. But that said, if > there's a bug in elimination, it should be fixed, not > hacked around in one backend. $ ./xgcc -B./ ~/cvssrc/g

Re: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Aaron Gray
Successfully built latest gcc on Win XP SP2 with cvs built cygwin. CVS Cygwin contains CVS newlib, i.e. already the patched version of sdtdio.h, so if you use cvs built cygwin you should not patch anything. To build GCC 4.3, you should simply move the new stdio.h on /usr/include. You can also

Re: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Aaron Gray
You can also use the current Cygwin snapshot which comes with the new stdio.h. Great, where do I get Cygwin snapshots ? Sorry, silly question. Aaron

Re: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Angelo Graziosi
On Tue, 1 May 2007, Aaron Gray wrote: > >> You can also use the current Cygwin snapshot which comes with the new > >> stdio.h. > > > > Great, where do I get Cygwin snapshots ? > Here: http://cygwin.com/snapshots/ The snapshots should be installed following this: http://cygwin.com/faq

Re: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Aaron Gray
On Tue, 1 May 2007, Aaron Gray wrote: >> You can also use the current Cygwin snapshot which comes with the new >> stdio.h. > > Great, where do I get Cygwin snapshots ? Here: http://cygwin.com/snapshots/ The snapshots should be installed following this: http://cygwin.com/faq/faq-nochunk

Re: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Brian Dessent
Aaron Gray wrote: > Thank you. I am a bit unsure of where abouts (what directory) do you install > the snapshot ? Again, this has nothing to do with gcc, take it the Cygwin list. If you are using the full snapshots (cygwin-inst-$date.tar.bz2) they should be unpacked in the root (/). The other t

How to generate x86 seto/sets instructions?

2007-05-01 Thread H. J. Lu
SSE4.2 string intrinsics need to generate seto/sets for OF==1 and SF==1, which aren't the standard arithmetic comparison and aren't support by gcc. I was wondering what was the best way to support them. My current plan is to add a new CC_MODE, CCX86, and reuse UNGT for OF == 1, UNLT for SF == 1 to

Re: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-01 Thread Aaron Gray
Aaron Gray wrote: Thank you. I am a bit unsure of where abouts (what directory) do you install the snapshot ? Again, this has nothing to do with gcc, take it the Cygwin list. If you are using the full snapshots (cygwin-inst-$date.tar.bz2) they should be unpacked in the root (/). The other t

Bootstrap failure on i386-unknown-freebsd6.2: conflicting types for 'strsignal'

2007-05-01 Thread Gerald Pfeifer
I am trying to track down a bootstrap failure on i386-unknown-freebsd6.2 that was introduced between 48 hours and 24 hours ago, roughly: gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attr

Re: Bootstrap failure on i386-unknown-freebsd6.2: conflicting types for 'strsignal'

2007-05-01 Thread Andrew Pinski
On 5/1/07, Gerald Pfeifer <[EMAIL PROTECTED]> wrote: Any recommendations on where I might want to look or what might be causing this build failure out of a sudden? http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00033.html and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31776 Thanks, Andrew Pinsk

Re: 2nd quarter of 2007 and no GPL code of Java from Sun.

2007-05-01 Thread Fernando Lozano
Hi Pizarro, Today is 01 of May, the worker's day. I've not the code in May, Fernando. How long have i to wait? Just google around to find when JavaOne will be held. Just as I said on my original post. Besides, the Worker's day is a holiday in most of the world, so don't expect Sun to be wor