use cgraph_node_for_asm + add per-translation-unit constructors + synch repo (issue5303083)

2011-11-13 Thread Dmitriy Vyukov
The patch is for google/main branch. ThreadSanitizer is a data race detector for C/C++ programs. http://code.google.com/p/data-race-test/wiki/ThreadSanitizer The tool consists of two parts: instrumentation module (this file) and a run-time library. The instrumentation module maintai

Re: PR c++/30195

2011-11-13 Thread Fabien Chêne
2011/11/11 Jason Merrill : > On 11/11/2011 04:42 AM, Dodji Seketeli wrote: >> >> Fabien Chêne  a écrit: >> >>> Are the other debugging backends not interested at all in USING_DECLs ? >> >> The way debug info is generated for USING_DECLs is that >> handle_using_decl (via cp_emit_debug_info_for_using

[patch] Fix PR bootstrap/51112

2011-11-13 Thread Ira Rosen
Hi, This patch fixes a maybe-uninitialized error. Bootstrapped and tested on powerpc64-suse-linux. Committed. Ira ChangeLog: PR bootstrap/51112 * tree-vect-stmts.c (vectorizable_condition): Initialize comp_vectype. Index: tree-vect-stmts.c =

Re: [doc] Fix a cross reference

2011-11-13 Thread Mingjie Xing
2011/11/6 Joseph S. Myers : > On Sat, 5 Nov 2011, Mingjie Xing wrote: > >> Hello, >> >> This small patch fix a cross reference in gcc document. >> >> 2011-11-05  Mingjie Xing   >> >>         * doc/invoke.texi (Wunused-result): Change @pxref{Variable >> Attributes} >>         to @pxref{Function Att

Re: [SH] PR 50694 - SH2A little endian does not actually work

2011-11-13 Thread Kaz Kojima
Oleg Endo wrote: > the attached patch addresses PR 50694. > Tested against trunk rev 181301 with: > > make -k check RUNTESTFLAGS="--target_board=sh-sim > \{-m2/-ml,-m2/-mb,-m2a-single/-mb,-m4-single/-ml,-m4-single/-mb,-m4a-single/-ml,-m4a-single/-mb}" > > For -m2a* it introduces two new failures

Re: [PATCH 3/4] hppa: Install __sync libfuncs for linux.

2011-11-13 Thread Richard Henderson
On 11/13/2011 11:45 AM, Gerald Pfeifer wrote: > The comment, however, reads > /* Linux always uses gas. */ > which does seem to warrant GNU/Linux in RMS diction. Oh, unrelated to my actual patch then. r~

Re: [PATCH 3/4] hppa: Install __sync libfuncs for linux.

2011-11-13 Thread Gerald Pfeifer
On Sun, 13 Nov 2011, Richard Henderson wrote: >> I assume the ChangeLog entry also should refer to GNU/Linux? > Meh. It really does refer specifically to the Linux kernel, > and not the GNU userland. Ah, cool then. The comment, however, reads /* Linux always uses gas. */ which does seem to wa

Re: [PATCH 3/4] hppa: Install __sync libfuncs for linux.

2011-11-13 Thread Richard Henderson
On 11/12/2011 10:42 AM, Gerald Pfeifer wrote: > I assume the ChangeLog entry also should refer to GNU/Linux? Meh. It really does refer specifically to the Linux kernel, and not the GNU userland. r~

Re: [PATCH, testsuite]: Do not run simulate-thread on powerpc*-*-darwin*

2011-11-13 Thread Iain Sandoe
It seems like: http://gcc.gnu.org/ml/gcc-patches/2011-11/msg01543.html we have a problem on powerpc-darwin9 (although i686-darwin9 and x86-64-darwin10 seem OK) this prevents the test-suite finishing with gdb just spinning... and you have to kill each invocation by hand (seems like the expect

[committed] Fix make rules for PA HP-UX stub library

2011-11-13 Thread John David Anglin
This fixes bootstrap on PA HP-UX following libgcc build reorganization. I also simplified the rules to make them the same for 32 and 64-bit builds. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- J. David Anglin dave.ang...@n

RE: Continue strict-volatile-bitfields fixes

2011-11-13 Thread Mitchell, Mark
> > Bernd provided a fix here about 1 year ago: > > http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00217.html. > > But it is pending to trunk. Here are my humble opinions and hopefully > > we can revive it: > Yeah. At the time I thought the objections were a bit pointless. At > worst, the added cod

[SH] PR 50694 - SH2A little endian does not actually work

2011-11-13 Thread Oleg Endo
Hello, the attached patch addresses PR 50694. Tested against trunk rev 181301 with: make -k check RUNTESTFLAGS="--target_board=sh-sim \{-m2/-ml,-m2/-mb,-m2a-single/-mb,-m4-single/-ml,-m4-single/-mb,-m4a-single/-ml,-m4a-single/-mb}" For -m2a* it introduces two new failures in: gcc.target/sh/pr21

Re: [doc] fix broken anchor in install.texi

2011-11-13 Thread Jonathan Wakely
On 13 November 2011 14:31, Gerald Pfeifer wrote: > On Sun, 13 Nov 2011, Jonathan Wakely wrote: >>> Jonathan, I am a bit confused because if I use the online documentation >>> at http://gcc.gnu.org/install/specific.html the anchor is already of the >>> form "sparc-sun-solaris210", that is, without t

Fix libgcc for FreeBSD 10

2011-11-13 Thread Gerald Pfeifer
The snippet below was written when a new major release of FreeBSD would happen every couple of years, not as frequently as recently the case. FreeBSD 1.x and 2.x, and a.out support, have been obsolete for what must be a decade or so, yet the regular expressions now match, and cause troubles for, F

Re: [doc] fix broken anchor in install.texi

2011-11-13 Thread Gerald Pfeifer
On Sun, 13 Nov 2011, Jonathan Wakely wrote: >> Jonathan, I am a bit confused because if I use the online documentation >> at http://gcc.gnu.org/install/specific.html the anchor is already of the >> form "sparc-sun-solaris210", that is, without the dot, and it works just >> fine. > The list of targe

Re: Fix permissions in update_web_docs_svn

2011-11-13 Thread Joseph S. Myers
On Sun, 13 Nov 2011, Gerald Pfeifer wrote: > Benjamin maintains the libstdc++ manuals under /onlinedocs on > gcc.gnu.org, but we keep running into permissions problems. > > The patch below addresses this such that he, and others in the > gcc group with login access, can take care of such changes.

[wwwdocs] Rotate news

2011-11-13 Thread Gerald Pfeifer
...to make space for more to come. :-) Gerald Index: index.html === RCS file: /cvs/gcc/wwwdocs/htdocs/index.html,v retrieving revision 1.822 diff -u -r1.822 index.html --- index.html 8 Nov 2011 12:09:30 - 1.822 +++ index.h

Re: [doc] fix broken anchor in install.texi

2011-11-13 Thread Jonathan Wakely
On 13 November 2011 04:40, Gerald Pfeifer wrote: > On Mon, 7 Nov 2011, Jonathan Wakely wrote: >> We currently have a broken link in the installation docs, see below. >> I've tried to fix it, but on both Fedora 15 and Debian squeeze the >> docs generated by "make html" do not match the online docs

Re: [libstdc++] Reference GNU/Linux in doc/xml/manual/using.xml

2011-11-13 Thread Jonathan Wakely
On 13 November 2011 04:28, Gerald Pfeifer wrote: > @@ -1269,7 +1269,7 @@ >       to display how ad hoc this is: On Solaris, both -pthreads and >       -threads (with subtly different meanings) are honored.  On OSF, >       -pthread and -threads (with subtly different meanings) are > -      honored.

Re: [Patch Darwin/PR49992 2/2] remove ranlib special-casing from the darwin port.

2011-11-13 Thread Iain Sandoe
On 13 Nov 2011, at 09:56, Iain Sandoe wrote: On 10 Nov 2011, at 13:44, Tristan Gingold wrote: You can simplify further m-lib-tgt-specific-darwin.adb as the default indexer options is nothing: thanks - I wasn't confident to remove it entirely, but that is a much better solution. I have

gcov patch, source prefixes

2011-11-13 Thread Nathan Sidwell
I've committed this patch to gcov, to add two new options. *) a --source-prefix (-s) option, which allows you to specify a source path prefix that you want eliding from source file names. You'd usually use this if you're building in a separate directory. *) a --relative-only (-r) option, whi

Re: [Patch Darwin/PR49992 2/2] remove ranlib special-casing from the darwin port.

2011-11-13 Thread Iain Sandoe
On 10 Nov 2011, at 13:44, Tristan Gingold wrote: You can simplify further m-lib-tgt-specific-darwin.adb as the default indexer options is nothing: thanks - I wasn't confident to remove it entirely, but that is a much better solution. I have tested this chunk together with the one you prov