Re: Use of option -fprofile-arcs is not compatible with -fprofile-use

2008-05-06 Thread Lijuan Hai
seen in gcc-4.2, gcc.misc-tests/bprob-1.c is compiled with -fprofile-arcs and -fbranch-probabilities. gcc.dg/tree-prof/val-prof-1.c is compiled with -fprofile-generate and -fprofile-use. so there won't be any warnings. 2008/4/25 Edmar Wienskoski-RA8797 <[EMAIL PROTECTED]>: > The test case gcc.misc

Re: Bad code generation on HPPA platform

2008-05-06 Thread Jeff Law
Steve Ellcey wrote: I am investigating a bad code generation bug on the 64 bit HPPA platform with GCC 4.3.0 and would like some help and/or ideas on how to analyze and fix it. The failing test is the SPEC 2000 GCC benchmark (version 2.7.2.2) and I have been unable to create a smaller test case s

Re: all-target-libstdc++-v3 broken again

2008-05-06 Thread NightStrike
On 5/6/08, Benjamin Kosnik <[EMAIL PROTECTED]> wrote: > > Thanks for reporting this. I believe these 3 errors to be fixed as of > revision 135015. Can you check? x86_64-pc-mingw32 now compiles. Thanks!!

Re: all-target-libstdc++-v3 broken again

2008-05-06 Thread NightStrike
Build in progress On 5/6/08, Benjamin Kosnik <[EMAIL PROTECTED]> wrote: > > Thanks for reporting this. I believe these 3 errors to be fixed as of > revision 135015. Can you check? > > best, > -benjamin >

Re: all-target-libstdc++-v3 broken again

2008-05-06 Thread Benjamin Kosnik
Thanks for reporting this. I believe these 3 errors to be fixed as of revision 135015. Can you check? best, -benjamin

all-target-libstdc++-v3 broken again

2008-05-06 Thread NightStrike
A recent committ caused the following build failure with the x86_64-pc-mingw32 target: make[4]: Entering directory `/var/tmp/build/gcc-svn/build-x86_64-pc-linux/x86_64-pc-mingw32/libstdc++-v3/src' /bin/sh ../libtool --tag CXX --mode=compile /var/tmp/build/gcc-svn/build-x86_64-pc-linux/./gcc/xgcc

Bad code generation on HPPA platform

2008-05-06 Thread Steve Ellcey
I am investigating a bad code generation bug on the 64 bit HPPA platform with GCC 4.3.0 and would like some help and/or ideas on how to analyze and fix it. The failing test is the SPEC 2000 GCC benchmark (version 2.7.2.2) and I have been unable to create a smaller test case so far. What I have f

Re: about order of the libraries at link time

2008-05-06 Thread Ian Lance Taylor
"Lijuan Hai" <[EMAIL PROTECTED]> writes: > g++ always add "-lstdc++ -lm" before any other libraries at link > time. I want to link the libraries after libc.so. but I haven't found > where to change the order in gcc sources. so could you provide any > helpful hints on it? thanks in advance. gcc/

about order of the libraries at link time

2008-05-06 Thread Lijuan Hai
Hi all, g++ always add "-lstdc++ -lm" before any other libraries at link time. I want to link the libraries after libc.so. but I haven't found where to change the order in gcc sources. so could you provide any helpful hints on it? thanks in advance. -- Best wishes! Yours, Lijuan Hai _ _ (_)(

Re: Common Subexpression Elimination Opportunity not being exploited

2008-05-06 Thread Richard Guenther
On Tue, May 6, 2008 at 9:28 AM, Ramana Radhakrishnan <[EMAIL PROTECTED]> wrote: > > On Tue, May 6, 2008 at 8:11 AM, Richard Guenther > <[EMAIL PROTECTED]> wrote: > > On Mon, May 5, 2008 at 7:42 PM, Jim Wilson <[EMAIL PROTECTED]> wrote: > > > Pranav Bhandarkar wrote: > > > > > > > GCC 4.3 do

Re: Common Subexpression Elimination Opportunity not being exploited

2008-05-06 Thread Ramana Radhakrishnan
On Tue, May 6, 2008 at 8:11 AM, Richard Guenther <[EMAIL PROTECTED]> wrote: > On Mon, May 5, 2008 at 7:42 PM, Jim Wilson <[EMAIL PROTECTED]> wrote: > > Pranav Bhandarkar wrote: > > > > > GCC 4.3 does fine here except when the operator is "logical and" (see > > > attached. test.c uses logical an

Re: Common Subexpression Elimination Opportunity not being exploited

2008-05-06 Thread Richard Guenther
On Mon, May 5, 2008 at 7:42 PM, Jim Wilson <[EMAIL PROTECTED]> wrote: > Pranav Bhandarkar wrote: > > > GCC 4.3 does fine here except when the operator is "logical and" (see > > attached. test.c uses logical and and test1.c uses plus) > > > > Logical and generates control-flow instructions, i.e. co