This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37922] code generation error
- From: "rwgk at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Oct 2008 02:18:05 -0000
- Subject: [Bug c++/37922] code generation error
- References: <bug-37922-3137@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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