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++/18049] wrong result without -O2 with g++-3.4.2 and completely wrong result with any other g++ version


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


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