This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25411] Optimization with -O2 -finline-functions gives wrong code
- From: "hans dot ekkehard dot plesser at umb dot no" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2005 13:45:19 -0000
- Subject: [Bug c++/25411] Optimization with -O2 -finline-functions gives wrong code
- References: <bug-25411-5615@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from hans dot ekkehard dot plesser at umb dot no 2005-12-14 13:45 -------
Created an attachment (id=10485)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10485&action=view)
Preprocessed reproducer for optimize bug
This is the complete preprocessed source code for bug 25411.
g++ -O2 -finline-functions Bug25411.ii -o Bug25411
yields an executable that causes the erroneous output reported under Tru64.
Hans E Plesser
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25411