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++/37922] code generation error



------- Comment #2 from rwgk at yahoo dot com  2008-10-27 02:18 -------
(In reply to comment #1)
> With out a testcase, it is hard to tell if it was reported before or not.  Also
> does -fwrapv allows for the code to work?

Yes!

(FWIW: -ftrapv doesn't help.)

> what type is rot_mx?

A user-defined type with an array of nine int plus another separate int.
The whole thing is here:

 
http://cctbx.svn.sourceforge.net/viewvc/cctbx/trunk/cctbx/sgtbx/rot_mx.h?view=markup

Let me know if you have an interested in the large but self-contained
reproducer. You'd have to get one file, run one command to build everything
(takes a few minutes), then one command to demonstrate the problem. The
reproducer is a simple main().


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37922


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