Miscompilation with -fomit-frame-pointer -O3 -funroll-all-loops

Bug #22765 reported by Debian Bug Importer
6
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://bugs.debian.org/330595

Revision history for this message
In , Matthias Klose (doko-cs) wrote : Re: Bug#330595: Miscompilation with -fomit-frame-pointer -O3 -funroll-all-loops

tags 330595 + unreproducible
thanks

Camm Maguire writes:
> 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/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
>
> Omitting the -fomit-frame-pointer resolves the problem.

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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #330595 http://bugs.debian.org/330595

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 28 Sep 2005 22:55:06 +0200
From: Matthias Klose <email address hidden>
To: Camm Maguire <email address hidden>, <email address hidden>
CC: <email address hidden>
Subject: Re: Bug#330595: Miscompilation with -fomit-frame-pointer -O3 -funroll-all-loops

tags 330595 + unreproducible
thanks

Camm Maguire writes:
> 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/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
>
> Omitting the -fomit-frame-pointer resolves the problem.

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

Revision history for this message
Matthias Klose (doko) wrote :

seen in numeric code, and in a package which is not in main. not reproducible,
no feedback from the bug submitter
closing as not-breezy.

Revision history for this message
In , Matthias Klose (doko-cs) wrote :

severity 330595 normal
thanks

Camm Maguire writes:
> 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/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

workaround, no feedback, non standard options, unreproducible, maybe I
should just close it ...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 5 Oct 2005 23:17:32 +0200
From: Matthias Klose <email address hidden>
To: Camm Maguire <email address hidden>, <email address hidden>
CC: <email address hidden>
Subject: Re: Bug#330595: Miscompilation with -fomit-frame-pointer -O3 -funroll-all-loops

severity 330595 normal
thanks

Camm Maguire writes:
> 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/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

workaround, no feedback, non standard options, unreproducible, maybe I
should just close it ...

Revision history for this message
In , Camm Maguire (camm) wrote :

Greetings!

My apologies, but time is quite tight. I barely found the time to
file the original bug. The overhead to the bug submitter implied by:

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

is quite high. Nevertheless, I'll try to get to it.

Take care,

Matthias Klose <email address hidden> writes:

> severity 330595 normal
> thanks
>
> Camm Maguire writes:
> > 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/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
>
> workaround, no feedback, non standard options, unreproducible, maybe I
> should just close it ...
>
>
>

--
Camm Maguire <email address hidden>
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: 13 Oct 2005 09:53:38 -0400
From: Camm Maguire <email address hidden>
To: Matthias Klose <email address hidden>
Cc: <email address hidden>, <email address hidden>
Subject: Re: Bug#330595: Miscompilation with -fomit-frame-pointer -O3 -funroll-all-loops

Greetings!

My apologies, but time is quite tight. I barely found the time to
file the original bug. The overhead to the bug submitter implied by:

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

is quite high. Nevertheless, I'll try to get to it.

Take care,

Matthias Klose <email address hidden> writes:

> severity 330595 normal
> thanks
>
> Camm Maguire writes:
> > 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/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
>
> workaround, no feedback, non standard options, unreproducible, maybe I
> should just close it ...
>
>
>

--
Camm Maguire <email address hidden>
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah

Revision history for this message
In , Matthias Klose (doko-cs) wrote : Reassign to atlas3, please add feedback, close or reassign

tags 330595 + moreinfo
reassign 330595 atlas3
thanks

Camm, please recheck with the current compiler version.

Changed in gcc-4.0:
status: Unconfirmed → Needs Info
Revision history for this message
In , Marco Rodrigues (gothicx-sapo) wrote : atlas3 has been removed from Debian, closing #330595

Version: 3.6.0-20.6

The atlas3 package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.

For more information about this package's removal, read
http://bugs.debian.org/473440 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues

http://Marco.Tondela.org

Revision history for this message
In , Marco Rodrigues (gothicx-sapo) wrote : reopening 330595

# Automatically generated email from bts, devscripts version 2.10.11ubuntu5
reopen 330595

Revision history for this message
In , Marco Rodrigues (gothicx-sapo) wrote : notfixed 330595 in 3.6.0-20.6

# Automatically generated email from bts, devscripts version 2.10.11ubuntu5
notfixed 330595 3.6.0-20.6

Revision history for this message
In , Marco Rodrigues (gothicx-sapo) wrote : reassign 330595 to atlas

# Automatically generated email from bts, devscripts version 2.10.11ubuntu5
reassign 330595 atlas

Changed in gcc-4.0 (Debian):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.