This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/29913] argument width changes from inlined method definition with -O2



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]