Re: Using __sync_* builtins within libgcc code

2008-06-09 Thread Paolo Carlini
Luke Dalessandro wrote: I'm making some modifications to exception handling inside of unwind-dw2-fde.c that I'd like to use __sync_bool_compare_and_swap for, unfortunately I can't seem to figure out how to correctly use builtins in the context of libgcc. I've tried a bunch of different things

Re: LLVM 2.3 Released

2008-06-09 Thread Chris Lattner
On Jun 9, 2008, at 9:44 AM, Jack Howarth wrote: Chris, Are there any specific plans for moving llvm-gcc from the gcc 4.2 to the gcc 4.3 code base? I don't know of any specific plans for this, though several people have expressed interest. What we need is someone to step forward and do

Mirror

2008-06-09 Thread Alex Korolev
Hello, I noticed I miss few important things in the first email regarding mirror. Mirror name: gcc.releasenotes.org Mirror url: http://gcc.releasenotes.org Location: USA, TX Supporter: [EMAIL PROTECTED] I hope all fine now. Thnaks. Alex Korolev [EMAIL PROTECTED]

Re: Thread safety annotations and analysis in GCC

2008-06-09 Thread Andi Kleen
"Le-Chun Wu" <[EMAIL PROTECTED]> writes: > > Please let me know if you have any feedback/comments/questions on the > proposed annotations and the GCC implementation. I was surprised that there was no consideration of C indirect function calls in your design document. e.g. I would have expect some

Using __sync_* builtins within libgcc code

2008-06-09 Thread Luke Dalessandro
I'm making some modifications to exception handling inside of unwind-dw2-fde.c that I'd like to use __sync_bool_compare_and_swap for, unfortunately I can't seem to figure out how to correctly use builtins in the context of libgcc. I've tried a bunch of different things, but I consistently get t

Re: constified note_stores

2008-06-09 Thread Kaveh R. Ghazi
From: "Ian Lance Taylor" <[EMAIL PROTECTED]> Joern Rennecke <[EMAIL PROTECTED]> writes: I have been using note_stores to modify selected assignments. Now when I try to move this code to gcc 4.4, I find that I get a warning because my walker function takes a non-const rtx - and if I make it ta

Thread safety annotations and analysis in GCC

2008-06-09 Thread Le-Chun Wu
Hi, We have been working on creating program annotations for C/C++ (in GCC attributes) to help developers document locks and how they need to be used to safely read and write shared variables in multi-threaded code. We've also implemented a new GCC pass that uses the annotations to identify and wa

Re: constified note_stores

2008-06-09 Thread Ian Lance Taylor
Joern Rennecke <[EMAIL PROTECTED]> writes: > I have been using note_stores to modify selected assignments. Now when I > try to move this code to gcc 4.4, I find that I get a warning because > my walker function takes a non-const rtx - and if I make it take a const rtx, > there will be a warning s

constified note_stores

2008-06-09 Thread Joern Rennecke
I have been using note_stores to modify selected assignments. Now when I try to move this code to gcc 4.4, I find that I get a warning because my walker function takes a non-const rtx - and if I make it take a const rtx, there will be a warning somewhere inside because there is a code path where a

gcc-4.1-20080609 is now available

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

Re: [graphite] Loop tiling

2008-06-09 Thread Sebastian Pop
Hi Tobi, Thanks for working on this. Solution 2 is the right one. On Mon, Jun 9, 2008 at 11:58 AM, Tobias Grosser <[EMAIL PROTECTED]> wrote: > 1. It is not very efficient. As we have many multiplications in the > code. > Will later gcc optimization passes convert these multiplications to > addit

[graphite] Loop tiling

2008-06-09 Thread Tobias Grosser
Hi Sebastian, Hi Cedric, since Thursday I think about how to implement loop tiling in graphite. Lets start with a simple example: for (i=0;i<=10;i++) { for (j=0;j<=20;j++) { S1 ; } } # eq/in i j n 1 1 1 0 0 0 # i >= 0 1 -1 0 0 10 # i <= 10 1 0 1 0 0 # j

Re: LLVM 2.3 Released

2008-06-09 Thread Duncan Sands
>Are there any specific plans for moving llvm-gcc from the > gcc 4.2 to the gcc 4.3 code base? I plan to port llvm-gcc to gcc head, since I'm interested in the Ada front-end and the Ada support in gcc-4.4 is much better than in gcc-4.2. However I can't say when this will happen, since I don't

Re: LLVM 2.3 Released

2008-06-09 Thread Jack Howarth
Chris, Are there any specific plans for moving llvm-gcc from the gcc 4.2 to the gcc 4.3 code base? Jack On Mon, Jun 09, 2008 at 09:09:29AM -0700, Chris Lattner wrote: > Hi all, > > For anyone who is interested, we just released LLVM 2.3: > > http://lists.cs.uiuc.ed

LLVM 2.3 Released

2008-06-09 Thread Chris Lattner
Hi all, For anyone who is interested, we just released LLVM 2.3: http://lists.cs.uiuc.edu/pipermail/llvm-announce/2008-June/27.html http://llvm.org/releases/2.3/docs/ReleaseNotes.html It has many improvements over the 2.2 release from February, including better support for gfortran and Ad

Re: RFC: Extend x86-64 psABI for 256bit AVX register

2008-06-09 Thread Jan Hubicka
> On Fri, Jun 06, 2008 at 06:50:26AM -0700, H.J. Lu wrote: > > On Fri, Jun 06, 2008 at 10:28:34AM +0200, Jan Hubicka wrote: > > > > > > > > ymm0 and xmm0 are the same register. xmm0 is the lower 128bit > > > > of xmm0. I am not sure if we need separate XMM registers from > > > > YMM registers. > >

Re: Default warnings and useless extensions (e.g. arithmetic on void *)

2008-06-09 Thread Richard Guenther
On Mon, Jun 9, 2008 at 4:07 PM, Manuel López-Ibáñez <[EMAIL PROTECTED]> wrote: > 2008/6/9 Richard Guenther <[EMAIL PROTECTED]>: >> On Mon, Jun 9, 2008 at 3:46 PM, Vincent Lefevre <[EMAIL PROTECTED]> wrote: >>> Is there any reason why "gcc -Wall" doesn't emit warnings by default >>> on some useless

Re: Default warnings and useless extensions (e.g. arithmetic on void *)

2008-06-09 Thread Manuel López-Ibáñez
2008/6/9 Richard Guenther <[EMAIL PROTECTED]>: > On Mon, Jun 9, 2008 at 3:46 PM, Vincent Lefevre <[EMAIL PROTECTED]> wrote: >> Is there any reason why "gcc -Wall" doesn't emit warnings by default >> on some useless extensions such as pointer arithmetic on (void *)? > > Use -pedantic to warn about e

Re: Default warnings and useless extensions (e.g. arithmetic on void *)

2008-06-09 Thread Richard Guenther
On Mon, Jun 9, 2008 at 3:46 PM, Vincent Lefevre <[EMAIL PROTECTED]> wrote: > Is there any reason why "gcc -Wall" doesn't emit warnings by default > on some useless extensions such as pointer arithmetic on (void *)? Use -pedantic to warn about extensions. It doesn't make sense to warn for extensio

Default warnings and useless extensions (e.g. arithmetic on void *)

2008-06-09 Thread Vincent Lefevre
Is there any reason why "gcc -Wall" doesn't emit warnings by default on some useless extensions such as pointer arithmetic on (void *)? IMHO, such an extension is useless because there's an easy workaround: use casts to char *. And since g++ barfs on pointer arithmetic on void *, such a warning wo

[tuples] Merge from [EMAIL PROTECTED]

2008-06-09 Thread Jakub Jelinek
On Sun, Jun 08, 2008 at 06:49:39PM -0400, Diego Novillo wrote: > This brings in everything from trunk just before the new OMP3 changes. > Jakub, you can do the omp3 merge now. David, this converts > tree-call-cdce.c to use tuples. The only change is the removal of the > flag that I mentioned ear

[gomp3][tuples] TM for GCC

2008-06-09 Thread schindew
Dear GCC-Developers, my name is Martin Schindewolf and I am a student about to start his PhD. Currently, my funding comes from HiPEAC, a European Network that has been encouraging and funding GCC related projects in the past. Please have a look at the home page for details about HiPEAC[1] a

Re: New picoChip port and maintainers

2008-06-09 Thread Hariharan
Hi David/SC, Thanks again for accepting the picochip port in GCC. Although the picochip port has been accepted by the Steering Committee, we have had trouble getting a GWP maintainer to review the port. All the GWP maintainers seem to be extremely busy. I have emailed all of them, but haven't

GCC 4.3.1 Released

2008-06-09 Thread Jakub Jelinek
GCC 4.3.1 has been released. GCC 4.3.1 is a bug-fix release, containing fixes for regressions in GCC 4.3.0 relative to previous GCC releases. See: http://gcc.gnu.org/gcc-4.3/changes.html and particularly http://gcc.gnu.org/gcc-4.3/changes.html#4.3.1 for more information about changes in G