[Bug c++/18049] wrong result without -O2 with g++-3.4.2 and completely wrong result with any other g++ version
dkouroun at mailbox dot gr
gcc-bugzilla@gcc.gnu.org
Mon Oct 18 20:07:00 GMT 2004
------- Additional Comments From dkouroun at mailbox dot gr 2004-10-18 20:07 -------
Created an attachment (id=7371)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7371&action=view)
source code(important files: FEMmain.cc, Elements.h )
This is the source code. It uses expression templates.
typedef typeof(dx(u)*dx(v)) dxType
dxType A = dx(u)*dx(v) influences the output of an object
which has nothing to do with A;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18049
More information about the Gcc-bugs
mailing list