Re: Supporting 'MAC' instruction on gcc v4.1.1

2007-05-16 Thread Rask Ingemann Lambertsen
On Wed, May 16, 2007 at 11:16:59AM +0530, Rahul wrote: > But for -O0 optimization, even the 'progname.c.*.combine file' is > *not* getting generated for '-fdump-rtl-all / -fdump-rtl-combine' > options. The *.combine dumpfile is generated when the combine pass runs. > Please tell me whether th

Doubt regarding dwarf info generated for var_args function

2007-05-16 Thread Rohit Arul Raj
Hi all, I need some clarification regarding the debug information generated for var_args function. I am working with GCC 4.1.1. In my target, var_args registers are saved in stack frame during function prologue (similiar to fr30). ### sample program ### #include int fun(const char *temp,...)

trimming excess errors from -Werror

2007-05-16 Thread Benjamin Kosnik
Hey. I'm looking at some of the new fails on cygwin and AIX. Both of these platforms have fails that don't happen on linux. These fails look like: cc1plus: warnings being treated as errors /cygdrive/e/gnu/gcc-4.3-20070511/libstdc++-v3/testsuite/17_intro/headers/all_c++200x_compatibility.cc:1: er

some errors while compiling gcc-4.2.1 on windows

2007-05-16 Thread philippe dunski
Hello, Please excuse me if this email would have had its place on the bugzilla, like for my poor English, but I met some erros while trying to compile GCC-4.2.1. under windows xp, with an athlon-xp based pc. First one appeard in gfortran.h. It seems that uint is not recognized as a good typ

RE: trimming excess errors from -Werror

2007-05-16 Thread Danny Smith
> > cc1plus: warnings being treated as errors > > /cygdrive/e/gnu/gcc-4.3-20070511/libstdc++-v3/testsuite/17_int > ro/headers/all_c++200x_compatibility.cc:1: > error: -ffunction-sections may affect debugging on some targets > This is actually a useful warning, since -ffunction-sections not on

Re: trimming excess errors from -Werror

2007-05-16 Thread Benjamin Kosnik
This is actually a useful warning, since -ffunction-sections not only affects debugging but also adds unnecessary size to executables on PE-COFF targets (and others where ld does not support --gc-sections). One way to avoid is to add --enable-cxx-flags='-fno-function-sections -fno-data-sections

Re: trimming excess errors from -Werror

2007-05-16 Thread Tim Prince
[EMAIL PROTECTED] wrote: cc1plus: warnings being treated as errors /cygdrive/e/gnu/gcc-4.3-20070511/libstdc++-v3/testsuite/17_int ro/headers/all_c++200x_compatibility.cc:1: error: -ffunction-sections may affect debugging on some targets This is actually a useful warning, since -ffunction-sec

Re: libffi & powerpc

2007-05-16 Thread Patrick Olinet
ok, I've created PR31937 related to the libffi bug and I've also submitted a quick patch to the gcc-patches mailing list Patrick On 5/16/07, Mike Stump <[EMAIL PROTECTED]> wrote: On May 15, 2007, at 2:20 AM, Patrick Olinet wrote: > Finally, I've tried it the dirty way, ie by commenting out all

RE: trimming excess errors from -Werror

2007-05-16 Thread Danny Smith
> > libstdc++ configure is already probing to see if the target > supports the > use of this flag without errors. It thinks AIX and cygwin can > use this > flag without errors or warnings, which is clearly wrong. > > So, something needs to be fixed. > > Can you try > > int i; > > with "-W

Re: trimming excess errors from -Werror

2007-05-16 Thread Benjamin Kosnik
Weird. Does -std=c++0x or -std=gnu++0x make a difference? I'm trying to figure out why I see this warning/error for things like 17_intro/headers/all_c++200x_compatibility.cc but not always. -benjamin

Problems with compiling svn trunk

2007-05-16 Thread mark
This also occurred with the latest snapshot: Configure syntax was: ./configure --prefix=/opt/gcc-4.3 Configure completed fine. Make is getting stuck at: /part/build/mark/gcc/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/part/build/mark/gcc/host-x86_64-unknown-linux-gnu/gcc/ -B/opt/gcc-4.3/x86

Re: Problems with compiling svn trunk

2007-05-16 Thread Eric Christopher
In file included from ../.././libgcc/../libdecnumber/decContext.c:36: ../.././libgcc/../libdecnumber/decContext.h:52:50: error: gstdint.h: No such file or directory ... lots of other errors ... gstdint.h seems to be at: /part/build/mark/gcc/host-x86_64-unknown-linux-gnu/libdecnumber/ g

RE: trimming excess errors from -Werror

2007-05-16 Thread Danny Smith
> > Can you try > > > > int i; > > > > with "-Werror -ffunction-sections -fdata-sections" and see if > > you get an > > error with g++? > > With GNU C++ version 4.3.0 20070513 (experimental) > (i686-pc-mingw32dw2) > No error. i is put in its own section .data$i But error when I add "-g" to

Re: Problems with compiling svn trunk

2007-05-16 Thread Andrew Pinski
On 5/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: This also occurred with the latest snapshot: Configure syntax was: ./configure --prefix=/opt/gcc-4.3 Configure completed fine. Make is getting stuck at: You are compiling in the source directory which is not a well supported way of

Re: Problems with compiling svn trunk

2007-05-16 Thread Eric Christopher
On May 16, 2007, at 1:53 PM, Andrew Pinski wrote: On 5/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: This also occurred with the latest snapshot: Configure syntax was: ./configure --prefix=/opt/gcc-4.3 Configure completed fine. Make is getting stuck at: You are compiling in the s

backport of Revision 120684 for Macintel into gcc 4.2.1?

2007-05-16 Thread Jack Howarth
Currently gcc 4.2.0 suffers from 90 libjava failures on i686-apple-darwin8 including the boehm gctest. Backporting the changes from revision 120684... http://gcc.gnu.org/viewcvs?view=rev&revision=120684 as suggested in... http://article.gmane.org/gmane.comp.programming.garbage-collection.boeh

Re: backport of Revision 120684 for Macintel into gcc 4.2.1?

2007-05-16 Thread Eric Christopher
On May 16, 2007, at 8:00 PM, Jack Howarth wrote: Currently gcc 4.2.0 suffers from 90 libjava failures on i686- apple-darwin8 including the boehm gctest. Backporting the changes from revision 120684... http://gcc.gnu.org/viewcvs?view=rev&revision=120684 as suggested in... which include