This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29913] 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:55:05 -0000
- Subject: [Bug c++/29913] argument width changes from inlined method definition with -O2
- References: <bug-29913-12577@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from timj at gtk dot org 2006-11-20 13:55 -------
Richard, please take another look at the bug report.
note that the printed number change values depending on wether a class method
is inlined and compiled with -O2, or whether those 2 conditions are not met.
i think that, regardless of how g++ chooses to implement the C++ standard, the
calculated values shouldn't depend on -O1 vs. -O2 or on whether a class methopd
is inlined or not.
please also note that g++-3.4 and g++-3.3 both do not exhibit this behaviour,
so if you still want to close this bug report as invalid, please give a short
explanaition on why programs wich depend on the i++ result to increment, should
fail with gcc-4.2 when they worked perfectly fine with 3.3 and 3.4.
--
timj at gtk dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29913