Miscompilation with -fomit-frame-pointer -O3 -funroll-all-loops
Bug #22765 reported by
Debian Bug Importer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.0 (Debian) |
Fix Released
|
Unknown
|
|||
gcc-4.0 (Ubuntu) |
Invalid
|
High
|
Matthias Klose |
Bug Description
Automatically imported from Debian bug report #330595 http://
Changed in gcc-4.0: | |
status: | Unconfirmed → Needs Info |
Changed in gcc-4.0 (Debian): | |
status: | Incomplete → Fix Released |
To post a comment you must log in.
tags 330595 + unreproducible
thanks
Camm Maguire writes: t1/camm/ debian/ atlas/atlas3- 3.6.0/include -I/fix/ t1/camm/ debian/ atlas/atlas3- 3.6.0/include/ Linux_base_ shared -I/fix/ t1/camm/ debian/ atlas/atlas3- 3.6.0/include/ contrib -DAdd__ -DStringSunStyle -DATL_OS_Linux -DATL_GAS_x8632 -DSCPLX ../f77wrap/ ATL_F77wrap_ trsv.c -fPIC -fomit- frame-pointer -O3 -funroll-all-loops frame-pointer resolves the problem.
> Package: gcc-4.0
> Version: 4.0.1-5
> Severity: serious
>
> The following preprocessed file is miscompiled when compiled as follows:
>
> + /usr/bin/gcc -o ATL_F77wrap_ctrsv.o -c -DL2SIZE=4194304 -I/fix/
>
> Omitting the -fomit-
Camm, thanks for the increasing number of bug reports ;-)
- please make sure to test with recent compiler versions (currently
4.0.1-9).
- please check with optimization levels suggested by policy (-O2)
- please check using gcc-snapshot.
At least I cannot reproduce this with 4.0.1-9.
Thanks, Matthias