Re: What to do with MAPPED_LOCATION

2006-05-15 Thread Mike Stump
On May 14, 2006, at 11:54 AM, Daniel Berlin wrote: The other languages don't do that. ObjC/ObjC++ kinda do :-( I have a dream, one day...

Re: Disabling -fsee at -O3

2006-05-15 Thread Mircea Namolaru
> @item -fsee > @opindex fsee > Eliminates redundant extension instructions and move the non redundant > ones to optimal placement using LCM. > Enabled at level @option{-O3}. > > Would you mind adjusting this as well Thanks. I've updated doc/invoke.texi correspondingly. Mircea

Wrong link?

2006-05-15 Thread Ernst . Steenbrink
LS, The link crossgcc FAQ in the middle of the page: "http://gcc.gnu.org/install/build.html"; doesn't seem to link to a page that offers the cross-gcc faq. Instead it appears to be a site of a consultant trying to sell his services. Kind regards, Ernst. Ernst Steenbrink Imtech ICT Technical

Re: intl directory: gcc vs. src

2006-05-15 Thread James Lemke
> What do people who build in a combined tree do with intl? Do they use > the GCC version or the src tree version? Is there any consensus about > whether or not there should be a single version of intl, and if so, > which one should be used? FWIW, I have always given preference to the gcc versio

RFC cse weirdness

2006-05-15 Thread Andreas Krebbel
Hello, when cse replaces registers in an insn it tries to avoid calls to validate_change, what causes trouble in some situations. >From validate_canon_reg: /* If replacing pseudo with hard reg or vice versa, ensure the insn remains valid. Likewise if the insn has MATCH_DUPs. */ if (ins

GCC 4.1: too strict aliasing?

2006-05-15 Thread Igor Bukanov
Consider the following code that starting with GCC 4.1.0 generates 'dereferencing type-punned pointer will break strict-aliasing rules' warning: ~> cat test.c struct inner { struct inner *next; }; struct outer { struct inner base; int value; }; /* List of outer elements where all oute

Re: What to do with MAPPED_LOCATION

2006-05-15 Thread Per Bothner
Steven Bosscher wrote: So now we have a half-completed conversion to USE_MAPPED_LOCATION which is currently broken (doesn't bootstrap for me with --enable-mapped-locations). Oops. Looks like I made and posted a patch, but never checked it in: http://gcc.gnu.org/ml/gcc-patches/2005-10/msg00882.

Re: What to do with MAPPED_LOCATION

2006-05-15 Thread Per Bothner
Robert Dewar wrote: Can someone point me to a clear high level spec for the proposed interface for MAPPED_LOCATION support. I don't know of any high-level spec, except libcpp/include/line-map.h. A "line_map" (singular) specifies how a sub-range of source_location integer cookies are to be inte

Re: Re: configure: error: building in source directory is not supported in this release

2006-05-15 Thread fsshl plinlin
Union-Souths-Computer:~/developer UnionSouth$ ../gcc-5250/configure creating cache ./config.cache checking host system type... powerpc-apple-darwin7.9.0 checking target system type... powerpc-apple-darwin7.9.0 checking build system type... powerpc-apple-darwin7.9.0 checking for a BSD compatible in

Re: Re: configure: error: building in source directory is not supported in this release

2006-05-15 Thread Andrew Pinski
> > > Union-Souths-Computer:~/developer UnionSouth$ ../gcc-5250/configure > creating cache ./config.cache > checking host system type... powerpc-apple-darwin7.9.0 > checking target system type... powerpc-apple-darwin7.9.0 > checking build system type... powerpc-apple-darwin7.9.0 > checking for a

Re: GCC 4.1: too strict aliasing?

2006-05-15 Thread Mike Stump
On May 15, 2006, at 8:56 AM, Igor Bukanov wrote: Consider the following code that starting with GCC 4.1.0 generates 'dereferencing type-punned pointer will break strict-aliasing rules' warning: Yup. Kinda does seem a flaw in the C language. You could switch to C ++. :-) ~> cat test.c str

Re: mips: -G0 vs __dso_handle

2006-05-15 Thread DJ Delorie
> I'll pre-approve that change, but I'll also defer to any other > maintainer who has a solution they prefer. How about this one? 2006-05-15 DJ Delorie <[EMAIL PROTECTED]> * crtstuff.c (__dso_handle): Set section from TARGET_LBIGCC_SDATA_SECTION if defined. * doc/tm.te

GCC 4.1.1 Status Report (2006-05-15)

2006-05-15 Thread Mark Mitchell
There are now 98 serious regressions open against GCC 4.1, including 9 P1s. However, none of these are -- as far as I can tell -- regressions from 4.1.0; they are all regressions from previous releases. Given that we've fixed 114 bugs since 4.1.0, I think it's time to create a 4.1.1 release. The

Re: mips: -G0 vs __dso_handle

2006-05-15 Thread Mark Mitchell
DJ Delorie wrote: >> I'll pre-approve that change, but I'll also defer to any other >> maintainer who has a solution they prefer. > > How about this one? OK. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: GCC 4.1.1 Status Report (2006-05-15)

2006-05-15 Thread Andrew Pinski
Mark, > Therefore, effective midnight tonight (i.e., 12:00AM May 17th in > California), the 4.1 branch will be frozen. (I previously announced May > 15th as a target release date.) After that point, all changes, > including previously approved patches, need my explicit approval. I'll > create 4

Re: GCC 4.1.1 Status Report (2006-05-15)

2006-05-15 Thread Mark Mitchell
Andrew Pinski wrote: > Mark, > >> Therefore, effective midnight tonight (i.e., 12:00AM May 17th in >> California), the 4.1 branch will be frozen. (I previously announced May >> 15th as a target release date.) After that point, all changes, >> including previously approved patches, need my explic

problem with GCC Wiki

2006-05-15 Thread lopezibanez
Hi, I was not able to find who is maintaining the GCC Wiki at http://gcc.gnu.org/wiki/HomePage I have found one strange problem and I would like to discuss it in private. Thanks, Manuel. PS: I have noticed that Andrew Pinski is notified of page changes. On the other hand, many changes have bee

Re: problem with GCC Wiki

2006-05-15 Thread Mike Stump
On May 15, 2006, at 4:33 PM, [EMAIL PROTECTED] wrote: I was not able to find who is maintaining the GCC Wiki at http://gcc.gnu.org/wiki/HomePage I have found one strange problem and I would like to discuss it in private. Private, what's that?! :-) If you want, I'll entertain a discussion.

Re: problem with GCC Wiki

2006-05-15 Thread Daniel Berlin
[EMAIL PROTECTED] wrote: > Hi, > > I was not able to find who is maintaining the GCC Wiki at > http://gcc.gnu.org/wiki/HomePage > I have found one strange problem and I would like to discuss it in private. There are plenty of known problems, security related and otherwise. I am the maintainer, f

can we define a comment?

2006-05-15 Thread Eric Fisher
hi, Anybody knows that if we can define a comment? For a statement such as, COMMENT this is a comment. will be preprocessed as, // this is a comment. or something valid and transparent to the compiler? Of cause we can't directly use, #define COMMENT // Thanks. Eric.

Re: can we define a comment?

2006-05-15 Thread Mike Stump
On May 15, 2006, at 7:08 PM, Eric Fisher wrote: Anybody knows that if we can define a comment? Wrong list. comp.lang.c or gcc-help is more appropriate. Short answer, no, not really. Longer answer: #define COMMENT(X)

Re: mips: -G0 vs __dso_handle

2006-05-15 Thread DJ Delorie
> > How about this one? > > OK. Thanks; committed.

simple c compiler

2006-05-15 Thread Bill Cunningham
Where's the simplest part of the source tree to learn from? GCC? Does that directory contain the compiler simple? I've pulled some inodes containing an old c compiler from a unix v7 but it's old k&r C. I want to see a multiple pass C compiler in ansi. Bill

Re: simple c compiler

2006-05-15 Thread Mike Stump
This list isn't for these type of questions. On May 15, 2006, at 9:31 PM, Bill Cunningham wrote: Where's the simplest part of the source tree to learn from? GCC? Does that directory contain the compiler simple? No, gcc isn't simple, though, what you can learn from it is more valuable, if you

Re: mips: -G0 vs __dso_handle

2006-05-15 Thread Ranjit Mathew
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 DJ Delorie wrote: > 2006-05-15 DJ Delorie <[EMAIL PROTECTED]> > > * crtstuff.c (__dso_handle): Set section from > TARGET_LBIGCC_SDATA_SECTION if defined. > * doc/tm.text (TARGET_LIBGCC_SDATA_SECTION): Document. > * config/mip

Re: r113817 - in /trunk/gcc: ChangeLog config/mips/...

2006-05-15 Thread Jan-Benedict Glaw
On Tue, 2006-05-16 03:49:57 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Author: dj > Date: Tue May 16 03:49:57 2006 > New Revision: 113817 > > * doc/tm.text (TARGET_LIBGCC_SDATA_SECTION): Document. > > Modified: > trunk/gcc/doc/tm.texi if [ xinfo = xinfo ]; then \