[PR] Now That's What I Call Fashion - February 2010

2010-02-15 Thread Vivienne - OK Hello
Hi Just discovered the biggest surprise of London Fashion Week... Lead Singer of Rock Band ziggiville storms the Catwalk - it's fun! http://www.youtube.com/ziggiville Have a great day Vivienne +44 (0) 7905 739026 OK-Hello http://www.okhello.co.uk

GCC freezing for a Multiply Chain

2010-02-15 Thread Balaji.Iyer
Hello Everyone, I am creating a benchmark, where I have a following code: x1 = a * b x2 = x1 * a; x3 = x1* x2; x4 = x2 * x3; x5 = x3 * x4; x6 = x5 * x6; . . . . . . x1000 = x999 * x998; When I do this, and compile using -O3/-O2/-O1, the compiler freezes.

Re: GCC freezing for a Multiply Chain

2010-02-15 Thread Basile STARYNKEVITCH
balaji.i...@gtri.gatech.edu wrote: Hello Everyone, I am creating a benchmark, where I have a following code: x1 = a * b x2 = x1 * a; x3 = x1* x2; x4 = x2 * x3; x5 = x3 * x4; x6 = x5 * x6; . . . . . . x1000 = x999 * x998; When I do this, and compile us

Exception handling mechanism

2010-02-15 Thread Xiaolong Tang
Howdy all, I am in middle of designing program analysis for C++ code, but with concerns about exception handling. I used to disable exception handling but now have to take into account exception handling somehow. May someone give me a brief introduction on how GCC processes C++ exceptions or

Re: Exception handling mechanism

2010-02-15 Thread Paolo Carlini
... I would suggest first reading this document, in detail: http://www.codesourcery.com/public/cxx-abi/ and then asking very specific questions. Paolo.

Re: gcc -O1 performs better than gcc -O2

2010-02-15 Thread sam tygier
Joakim Tjernlund wrote: Noticed while optimizing crc16 that gcc -O performed much better than gcc -O2 while doing crc16: I have also seen -O1 beat -O2 when with a large FORTRAN program. http://www.hep.manchester.ac.uk/u/sam/zgoubi-optimise/ Sam

RE: GCC freezing for a Multiply Chain

2010-02-15 Thread Ian Bolton
Hi Balaji. If you have access to GCC source and are willing to change it, there is a way to turn off IRA (the Integrated Register Allocator) and just use a "fast allocation" algorithm that otherwise only gets used for -O0. Should IRA be the issue, this may be a workaround for you in the short-ter

Re: Exception handling mechanism

2010-02-15 Thread Dave Korn
On 15/02/2010 18:07, Xiaolong Tang wrote: > May someone give > me a brief introduction on how GCC processes C++ exceptions or recommend > some docs about exception handling? http://gcc.gnu.org/wiki/Dwarf2EHNewbiesHowto cheers, DaveK