rep prefix doesn't work with Solaris 2.9 Sun assembler

2010-05-11 Thread Jay K
Solaris 2.9 x86 gcc 4.5.0 configure -without-gnu-as -with-as=/usr/ccs/bin/as => Assembly syntax errors in gcov.c whereever there is rep prefix. I was actually looking for a problem with lock prefixes on 4.3 -- testing 4.5.0, found this instead, which is about about the same. See: http

Re: rep prefix doesn't work with Solaris 2.9 Sun assembler

2010-05-11 Thread Eric Botcazou
> Proposed patch below/attached. > (-w to hide indent change) See http://gcc.gnu.org/contribute.html for guidelines. > I'll open a bug. See http://gcc.gnu.org/bugs for guidelines. Generally speaking, posting a patch inlined in a message on gcc@gcc.gnu.org will most likely result in it being

C/C++ AST

2010-05-11 Thread wolfgang8080
Hello All, I want to know if it is possible to modify AST of the C/C++-Language. What I would like to do is to add some arguments to some function calls or add statements somewhere in the tree. Now I am looking for the root node to modify it. Which is the best pass for that? Is there anywhere sa

A question regarding bundling and NOPs insertion for VLIW architecture

2010-05-11 Thread Revital1 Eres
Hello, I have a question regarding the process of bundling and NOPs insertion for VLIW architecture and I appreciate your answer: I am calling the second scheduler from the machine reorg pass; similar to what is done for IA64. I now want to handle the bundling and NOPs insertion for VLIW archite

RE: rep prefix doesn't work with Solaris 2.9 Sun assembler

2010-05-11 Thread Jay K
Understood, but I'll have to stick to "small" changes as I can't get the papers. Uros pointed to: http://gcc.gnu.org/ml/gcc-patches/2010-05/msg00657.html which appears to just be *very* coincident timing. So I Rainer will fix it soon. I have a patch now based on that discussion. I used:     cas

Re: optimizing a DSO

2010-05-11 Thread Marc Glisse
On Tue, 11 May 2010, Jakub Jelinek wrote: And you can use -Wl,-O1 (pass -O1 to the linker) to let the linker determine optimal size of the hash table (minimum number of collisions for reasonably sized section). Was it considered enabling this automatically with -O3 (or -Ofast) when we know th

Re: A question regarding bundling and NOPs insertion for VLIW architecture

2010-05-11 Thread Alexander Monakov
On Tue, 11 May 2010, Revital1 Eres wrote: > > Hello, > > I have a question regarding the process of bundling and NOPs insertion for > VLIW architecture > and I appreciate your answer: > > I am calling the second scheduler from the machine reorg pass; similar to > what is done for IA64. > I no

Coverage of backend rules

2010-05-11 Thread Paulo J. Matos
Hi, I have a backend and I would like to have a systematic way to know if my testsuite covers all the define_insn and define_expand rules in my md file. What's the best way to achieve this? I initially thought I could use gcov to check the coverage of the code that is generated from the md file

Re: C++0x Memory model and gcc

2010-05-11 Thread Andrew MacLeod
Miles Bader wrote: Andrew MacLeod writes: -fmemory-model=single - Enable all data races introductions, as they are today. (relax all 4 internal restrictions.) One could still use this mode with a multi-threaded program as long as explicit synchronization is done, right? Right

Re: Build Error

2010-05-11 Thread Diego Novillo
[ Moved to gcc@gcc.gnu.org ] On Tue, May 11, 2010 at 08:46, Sandeep Soni wrote: > On Tue, May 11, 2010 at 4:53 PM, Diego Novillo wrote: >> On Tue, May 11, 2010 at 02:24, Sandeep Soni wrote: >> >>> I installed elfutils-libelf-devel-0.145-1 and that worked. >> >> Yes.  Older libelfs will not work

Re: optimizing a DSO

2010-05-11 Thread Ian Lance Taylor
Marc Glisse writes: > On Tue, 11 May 2010, Jakub Jelinek wrote: > >> And you can use -Wl,-O1 (pass -O1 to the linker) to let the linker >> determine optimal size of the hash table (minimum number of collisions >> for reasonably sized section). > > Was it considered enabling this automatically wit

Re: C/C++ AST

2010-05-11 Thread Basile Starynkevitch
On 05/11/2010 11:34 AM, wolfgang8...@gmx.de wrote: Hello All, I want to know if it is possible to modify AST of the C/C++-Language. You can modify a middle end representation of source program. I am not sure if it always should be called an AST. What I would like to do is to add some argum

Re: rep prefix doesn't work with Solaris 2.9 Sun assembler

2010-05-11 Thread Ian Lance Taylor
Jay K writes: > Understood, but I'll have to stick to "small" changes as I can't get the > papers. Note that for copyright purposes a series of unrelated small changes counts as a big change. If you truly can't do the paperwork, then it's probably best for the project if you avoid sending actu

Re: Build Error

2010-05-11 Thread Sandeep Soni
On Tue, May 11, 2010 at 6:30 PM, Diego Novillo wrote: > [ Moved to gcc@gcc.gnu.org ] > Hmm, it did not detect elf_getshdrstrndx and yet it tried to use it > later on. I think that's the bug.  Yes, please file a bug.  I believe > it's going to be easy to fix, though.  There should be an unguarded >

Re: optimizing a DSO

2010-05-11 Thread Marc Glisse
On Tue, 11 May 2010, Ian Lance Taylor wrote: Marc Glisse writes: On Tue, 11 May 2010, Jakub Jelinek wrote: And you can use -Wl,-O1 (pass -O1 to the linker) to let the linker determine optimal size of the hash table (minimum number of collisions for reasonably sized section). Was it consid

Re: Coverage of backend rules

2010-05-11 Thread Ian Lance Taylor
"Paulo J. Matos" writes: > I have a backend and I would like to have a systematic way to know if > my testsuite covers all the define_insn and define_expand rules in my > md file. > > What's the best way to achieve this? For define_insn you can use the -da option, and scan the debug files for

Re: rep prefix doesn't work with Solaris 2.9 Sun assembler

2010-05-11 Thread Richard Kenner
> Note that for copyright purposes a series of unrelated small changes > counts as a big change. If you truly can't do the paperwork, then > it's probably best for the project if you avoid sending actual > patches. Sorry about that. A series of *related* small changes certainly would count as a

A branch for 256bit vectorizer

2010-05-11 Thread H.J. Lu
Hi, I created a branch for 256bit vectorizer, branches/vect256/. Richard and I will work on it to extend vectorizer to 256bit. Jason, can you include it in git mirror? We can drop the ix86 branch in git since there are several branches under branches/ix86. Thanks. -- H.J.

Re: A branch for 256bit vectorizer

2010-05-11 Thread Jason Merrill
On 05/11/2010 10:30 AM, H.J. Lu wrote: I created a branch for 256bit vectorizer, branches/vect256/. Richard and I will work on it to extend vectorizer to 256bit. Jason, can you include it in git mirror? We can drop the ix86 branch in git since there are several branches under branches/ix86. I

Re: A branch for 256bit vectorizer

2010-05-11 Thread H.J. Lu
On Tue, May 11, 2010 at 7:49 AM, Jason Merrill wrote: > On 05/11/2010 10:30 AM, H.J. Lu wrote: >> >> I created a branch for 256bit vectorizer, branches/vect256/.  Richard >> and I will work on it to extend vectorizer to 256bit. >> >> Jason, can you include it in git mirror? We can drop the ix86 br

Re: A branch for 256bit vectorizer

2010-05-11 Thread Jason Merrill
On 05/11/2010 11:21 AM, H.J. Lu wrote: On Tue, May 11, 2010 at 7:49 AM, Jason Merrill wrote: git config --add remote.origin.fetch refs/remotes/vect256:refs/remotes/origin/vect256 git config --add svn-remote.svn.fetch branches/vect256:refs/remotes/origin/vect256 I was hoping git://gcc.gnu

Re: A branch for 256bit vectorizer

2010-05-11 Thread Andreas Schwab
"H.J. Lu" writes: > From: > > http://gcc.gnu.org/wiki/GitMirror > > remotes/origin/ix86 is still listed. I did a clone of > > git://gcc.gnu.org/git/gcc.git > > and I got x86 branch. Try running "git remote prune origin". Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint =

Re: A branch for 256bit vectorizer

2010-05-11 Thread H.J. Lu
On Tue, May 11, 2010 at 9:40 AM, Jason Merrill wrote: > On 05/11/2010 11:21 AM, H.J. Lu wrote: >> >> On Tue, May 11, 2010 at 7:49 AM, Jason Merrill  wrote: > >>> git config --add remote.origin.fetch >>> refs/remotes/vect256:refs/remotes/origin/vect256 >>> git config --add svn-remote.svn.fetch >>>

Re: A branch for 256bit vectorizer

2010-05-11 Thread Jason Merrill
On 05/11/2010 02:28 PM, H.J. Lu wrote: It isn't very clear that refs/heads was changed to refs/remotes. Sure. The git-svn mirror puts everything under refs/remotes, then the git mirror maintainers manually create the equivalent of symbolic links under refs/heads for some branches. I don't

[sysad...@gnu.org: [gnu.org #572859] [gcc-bugs-h...@gcc.gnu.org: ezmlm warning]]

2010-05-11 Thread Alfred M. Szmidt
Not sure where to send this, who is responsible for the mail server for gcc.gnu.org? --- Start of forwarded message --- Subject: [gnu.org #572859] [gcc-bugs-h...@gcc.gnu.org: ezmlm warning] From: "Ward Vandewege via RT" To: a...@gnu.org Date: Mon, 10 May 2010 10:28:41 -0400 > [...@gnu.o

Re: [sysad...@gnu.org: [gnu.org #572859] [gcc-bugs-h...@gcc.gnu.org: ezmlm warning]]

2010-05-11 Thread Joe Buck
On Tue, May 11, 2010 at 01:12:45PM -0700, Alfred M. Szmidt wrote: > Not sure where to send this, who is responsible for the mail server > for gcc.gnu.org? The admins can be reached at overse...@gcc.gnu.org .

Re: Building GCC & CFLAGS settings

2010-05-11 Thread Steve Ellcey
On Wed, 2010-05-05 at 10:42 -0700, H.J. Lu wrote: > On Wed, May 5, 2010 at 10:18 AM, Steve Ellcey wrote: > > > > I was wondering if anyone has built GCC using a CFLAGS (and CXXFLAGS) > > setting > > that causes GCC to generate code that is not compatibile with the default > > GCC output. Basical

arm-elf float-abi defaults...

2010-05-11 Thread DJ Delorie
I discovered that if you build a plain arm-elf toolchain, the default float-abis for gcc and gas don't match. I added this patch locally to make it "just work" but it seems to me it would be better to have the defaults match, although I'm not sure how to enforce that. Comments? Suggestions? Ind

gcc-4.4-20100511 is now available

2010-05-11 Thread gccadmin
Snapshot gcc-4.4-20100511 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.4-20100511/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.4 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: C++0x Memory model and gcc

2010-05-11 Thread Miles Bader
Andrew MacLeod writes: >>> -fmemory-model=single - Enable all data races introductions, as they >>> are today. (relax all 4 internal restrictions.) >> >> One could still use this mode with a multi-threaded program as long as >> explicit synchronization is done, right? > > Right. Its just a si