RE: RE: GCC Optimization Error

2013-03-28 Thread zhi chen
Hi, Richard: Thank you very much for replying. There is an error when build with -m64 -O[2, 3, s]. I have just tried with -m32 and no error. GCC (Red Hat 4.4.6-4) GCC (Red Hat 4.4.7-3) chenzhi //==

Re: GCC Optimization Error

2013-03-28 Thread Richard Biener
On Thu, Mar 28, 2013 at 10:48 AM, chenzhi wrote: > Dear gcc-developers, > > The attachment is a sample source code that shows an error of > gcc-optimization(O2, O3 and Os). > gcc version 4.4.7 20120313 Please use bugzilla to file bugreports. Note that I get the exact same output with official GC

GCC Optimization Error

2013-03-28 Thread chenzhi
Dear gcc-developers, The attachment is a sample source code that shows an error of gcc-optimization(O2, O3 and Os). gcc version 4.4.7 20120313 Best regards, chenzhi // // Name: hello.cpp // Author : chenzhi