This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29913] New: argument width changes from inlined method definition with -O2
- From: "timj at gtk dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Nov 2006 13:02:00 -0000
- Subject: [Bug c++/29913] New: argument width changes from inlined method definition with -O2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
using g++ (GCC) 4.2.0 20060530 (experimental) on linux i386, a code snippet
could be found, for which the width of the first enum argument of a class
method changes, depending on whether the method is defined inside or outside
the class definition. example code follows, optimization -O2 is required to
trigger the bug.
--
Summary: argument width changes from inlined method definition
with -O2
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: timj at gtk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29913