This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug optimization/11631] [3.3-hammer regression] zsh/kernelmiscompilation
On Tue, 22 Jul 2003, matz at suse dot de wrote:
> > The following program fails at -O2 but is OK at -Os.
>
> In which sense does it fail? It aborts()?
Yes.
> I ask because I can't reproduce it with a clean hammer branch checkout
> (i.e. no local SuSE patches):
Likewise to here. But with recent 3.3-hammer you have to add
-fno-unit-at-a-time since that's enabled on the branch.
Just ./contrib/gcc_update -d as of today:
[gb@hp6 gcc]$ ./xgcc -B $PWD ~/vrac/zsh-bug.c -O2 -fno-unit-at-a-time
[gb@hp6 gcc]$ ./a.out
Aborted
GNU C version 3.3.1-hammer 20030703 (prerelease) (i686-pc-linux-gnu)
actually refered to co from 20030708, according to ChangeLog.hammer.