This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/26650] unaligned (SSE) stack access, smashing
- From: "tbptbp at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2006 21:35:32 -0000
- Subject: [Bug target/26650] unaligned (SSE) stack access, smashing
- References: <bug-26650-9709@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from tbptbp at gmail dot com 2006-03-12 21:35 -------
For clarification i should say that rt::mono::ray_t which uses vec_t etc, isn't
a source of trouble, it's part of the single ray path where mostly scalar ops
are used.
There's a symmetrical set of structures in rt::packet which deal with bundles
of rays (ie 2x2) and uses packed vectors; that's what that unit is massaging.
Some functions have a bunch of live 16 bytes aligned data on the stack and
depending on how they get (force_)inlined g++ goes nuts an forgets about those
constraints.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26650