Re: [gccint-zh] GCC Internals Chinese Translation Project

2012-02-06 Thread Mingjie Xing
2012/2/7 Mingjie Xing : > I'm wondering whether an introduction of this project with a link can > be put on GCC wiki, so that more people can know it and join us. > Thanks. Now, around 80% is translated. We are still translating the rest and periodically sync from official gcc tree. This project

[gccint-zh] GCC Internals Chinese Translation Project

2012-02-06 Thread Mingjie Xing
Hello, We (gccint-zh contributors) started to translate GCC internals document into Chinese several years ago. The project has been put on svn (http://code.google.com/p/gccint-zh), which is based on GCC internals ".texi" files, and can be browsed online (http://www.hellogcc.org/gccint). So far,

Re: diff file for da.po

2012-02-06 Thread Joseph S. Myers
On Mon, 6 Feb 2012, Mads Jensen wrote: > I have attached a diff-file for the Danish gettext translation file. I > have not sent in a copyright form for gcc (I have previously submitted > one for the auctex project). If this is needed (I consider it a small > contribution), please let me know. We

Re: Size of enum‏

2012-02-06 Thread Andrew Pinski
2012/2/6 Alexandre Almeida : > > Okay, I am sorry for not knowing that there is an option to make enum types > as short as possible. Anyway, I think it should be a default option. Do you > agree? No I don't agree because that would cause an ABI change. Note some targets (arm-eabi though not arm

RE: Size of enum‏

2012-02-06 Thread Alexandre Almeida
Okay, I am sorry for not knowing that there is an option to make enum types as short as possible. Anyway, I think it should be a default option. Do you agree?

da.po.diff

2012-02-06 Thread Mads Jensen
I realized there were a few errors in the submitted patch, so I'm resubmitting it. -- Med Venlig Hilsen / Kind Regards, Mads Jensen Rubinsteinsvej 31,st.th DK-2450 Kbh. SV Denmark +45 6168 8518 "hippopotomonstrosesquipedaliophobia": fear of long words ... --- da.po 2012-02-06 18:36:16.0 +0

Template Handling in G++

2012-02-06 Thread Iyer, Balaji V
Hello Everyone, Can someone please tell me the entry point function (and stage) where the template functions are separated for different data types? Please CC me when responding to this message. Thanks, Balaji V. Iyer.

Re: libgcc maintainer

2012-02-06 Thread Ian Lance Taylor
Zoltán Kócsi writes: > Who'd be the best person to contact regarding to libgcc for ARM 4T, 6M and 7M > targets? The "arm port" maintainers listed in the top-level MAINTAINERS file. Ian

Fwd: [Announce] Google Summer of Code 2012

2012-02-06 Thread Diego Novillo
Google just announced GSoC 2012. If you are a GCC maintainer and would like to mentor a student in this year's program, please announce it to potential candidates and get in touch with me. As a mentoring organization, we (GCC) have to apply to the program between 27-Feb-2012 and 9-Mar-2012.

ANN: gcc-python-plugin 0.9

2012-02-06 Thread David Malcolm
gcc-python-plugin is a plugin for GCC 4.6 onwards which embeds the CPython interpreter within GCC, allowing you to write new compiler warnings in Python, generate code visualizations, etc. It ships with "gcc-with-cpychecker", which implements static analysis passes for GCC aimed at finding bugs in

diff file for da.po

2012-02-06 Thread Mads Jensen
I have attached a diff-file for the Danish gettext translation file. I have not sent in a copyright form for gcc (I have previously submitted one for the auctex project). If this is needed (I consider it a small contribution), please let me know. -- Med Venlig Hilsen / Kind Regards, Mads Jensen Ru

Re: Memory corruption due to word sharing

2012-02-06 Thread Torvald Riegel
On Fri, 2012-02-03 at 12:00 -0800, Linus Torvalds wrote: > Of course, it you expose some intrinsic for the whole "ll/sc" model > (and you then turn it into cmpxchg on demand), we could literally > open-code it. > > That is likely the most *flexible* approach for a compiler. I think > pretty much e

Re: weird optimization in sin+cos, x86 backend

2012-02-06 Thread Richard Guenther
On Mon, Feb 6, 2012 at 1:29 PM, Vincent Lefevre wrote: > On 2012-02-06 12:54:09 +0100, Richard Guenther wrote: >> Note that you are comparing a constant folded sin() result against >> sincos() (or sin() and cos()). Use >> >> #include >> #include >> >> int main (void) >> { >>   double x, c, s; >>

Re: weird optimization in sin+cos, x86 backend

2012-02-06 Thread Vincent Lefevre
On 2012-02-06 12:54:09 +0100, Richard Guenther wrote: > Note that you are comparing a constant folded sin() result against > sincos() (or sin() and cos()). Use > > #include > #include > > int main (void) > { > double x, c, s; > volatile double v; > > x = 1.0e22; > v = x; > x = v; >

Re: weird optimization in sin+cos, x86 backend

2012-02-06 Thread Richard Guenther
On Sat, Feb 4, 2012 at 11:20 AM, James Courtier-Dutton wrote: > On 4 February 2012 00:06, Vincent Lefevre wrote: >> On 2012-02-03 17:40:05 +0100, Dominique Dhumieres wrote: >>> While I fail to see how the "correct value" of >>> cos(4.47460300787e+182)+sin(4.47460300787e+182) >>> can be defined in

Re: question on bitmap_set_subtract unction in pre

2012-02-06 Thread Richard Guenther
On Sun, Feb 5, 2012 at 10:56 AM, Amker.Cheng wrote: > Hi, > In PRE, function compute_antic_aux uses bitmap_set_subtract to compute > value/expression set subtraction. > > The comment of bitmap_set_subtract says it subtracts all the values > and expressions contained in ORIG from DEST. > > But the