public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jasmin at revisionfx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/40838] gcc shouldn't assume that the stack is aligned Date: Mon, 09 Aug 2010 01:56:00 -0000 [thread overview] Message-ID: <20100809015604.29468.qmail@sourceware.org> (raw) In-Reply-To: <bug-40838-1600@http.gcc.gnu.org/bugzilla/> ------- Comment #78 from jasmin at revisionfx dot com 2010-08-09 01:56 ------- I am not exactly sure how to report a bug here - but it seems highly related to this thread (I am pierre@revisionfx.com, since I am not sure if I am auto-subscribed to this thread, and so will get email back about this) It appears (whatever the version) that this construct in 32b linux (below) does not work after -shared (ld...) - does not work means is not aligned anymore to 16 bytes/128 bits boundary. If I compile a library with such code, and link it as in an executable, it seems to work but if I do it as shared object the alignment is not guaranteed anymore. Anyone has an idea about what to do, if this will be addressed... or GNU just assumes 32b will go away? Or the problem is different. All this works fine with Mac OSX gcc -m32 compile by the way. Also, if I compile with Intel CC does that fix the problem for an host that is Intel CC compiled? (As in is it possible that mixed compiler context - host versus dynamic library further cause complications). #define MAX_CONV_KERNEL_SIZE 4096 class ConvKernel4f { public: ConvKernel4f ( ); ~ConvKernel4f( ); DATA_ALIGN(float4 mFilterPtr[MAX_CONV_KERNEL_SIZE]); }; -- jasmin at revisionfx dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jasmin at revisionfx dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838
next prev parent reply other threads:[~2010-08-09 1:56 UTC|newest] Thread overview: 89+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-07-23 12:53 [Bug rtl-optimization/40838] New: " mikulas at artax dot karlin dot mff dot cuni dot cz 2009-07-23 12:56 ` [Bug rtl-optimization/40838] " jakub at gcc dot gnu dot org 2009-07-23 13:14 ` jakub at gcc dot gnu dot org 2009-07-23 13:15 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-07-23 13:19 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-07-23 13:24 ` jakub at gcc dot gnu dot org 2009-07-23 13:43 ` hjl dot tools at gmail dot com 2009-07-23 13:49 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-07-23 13:54 ` jakub at gcc dot gnu dot org 2009-07-23 13:56 ` hjl dot tools at gmail dot com 2009-07-23 14:36 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-07-31 1:00 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-07-31 1:04 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-07-31 7:12 ` jakub at gcc dot gnu dot org 2009-07-31 13:54 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-07-31 14:27 ` hjl dot tools at gmail dot com 2009-07-31 15:22 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-07-31 15:31 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-07-31 15:52 ` hjl dot tools at gmail dot com 2009-07-31 16:17 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-08-06 16:48 ` hjl dot tools at gmail dot com 2009-08-06 21:05 ` hjl dot tools at gmail dot com 2009-08-06 21:43 ` hjl dot tools at gmail dot com 2009-08-08 17:31 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-08-16 17:37 ` hjl dot tools at gmail dot com 2009-08-18 4:43 ` hjl dot tools at gmail dot com 2009-08-18 4:50 ` hjl dot tools at gmail dot com 2009-08-18 11:28 ` mahatma at eu dot by 2009-08-18 14:01 ` hjl dot tools at gmail dot com 2009-08-19 19:08 ` mahatma at eu dot by 2009-08-23 19:28 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-08-27 19:18 ` mahatma at eu dot by 2009-09-13 13:58 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-09-13 13:59 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-09-13 14:07 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-09-19 21:37 ` hjl dot tools at gmail dot com 2009-09-19 21:38 ` hjl dot tools at gmail dot com 2009-09-19 21:39 ` hjl dot tools at gmail dot com 2009-09-19 21:40 ` hjl dot tools at gmail dot com 2009-09-20 6:31 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-09-20 18:43 ` hjl dot tools at gmail dot com 2009-09-20 18:44 ` hjl dot tools at gmail dot com 2009-09-20 18:45 ` hjl dot tools at gmail dot com 2009-09-23 16:28 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-09-23 16:34 ` hjl dot tools at gmail dot com 2009-09-23 18:37 ` mahatma at eu dot by 2009-09-25 0:57 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-09-25 2:31 ` hjl dot tools at gmail dot com 2009-09-26 4:25 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-09-26 14:06 ` hjl dot tools at gmail dot com 2009-09-26 15:44 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-09-26 16:15 ` hjl dot tools at gmail dot com 2009-09-26 16:55 ` hjl dot tools at gmail dot com 2009-09-26 16:58 ` hjl dot tools at gmail dot com 2009-09-27 9:03 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-09-27 9:07 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-09-27 9:36 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-10-15 14:29 ` mahatma at eu dot by 2009-10-15 20:24 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-10-15 20:54 ` hjl dot tools at gmail dot com 2009-10-16 0:56 ` hjl dot tools at gmail dot com 2009-10-16 2:11 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2009-10-16 2:48 ` hjl dot tools at gmail dot com 2009-10-30 14:32 ` hjl at gcc dot gnu dot org 2009-10-30 15:45 ` hjl at gcc dot gnu dot org 2009-10-31 16:47 ` hjl dot tools at gmail dot com 2009-12-26 22:19 ` hjl dot tools at gmail dot com 2010-04-17 14:29 ` t dot artem at mailcity dot com 2010-04-20 7:48 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2010-04-29 2:12 ` t dot artem at mailcity dot com 2010-04-29 6:29 ` ubizjak at gmail dot com 2010-04-29 7:24 ` t dot artem at mailcity dot com 2010-04-29 7:33 ` jakub at gcc dot gnu dot org 2010-04-29 7:51 ` ubizjak at gmail dot com 2010-04-29 8:29 ` t dot artem at mailcity dot com 2010-04-29 22:58 ` dirtyepic at gentoo dot org 2010-05-12 13:01 ` jcea at hispasec dot com 2010-05-12 13:15 ` jcea at hispasec dot com 2010-08-09 1:56 ` jasmin at revisionfx dot com [this message] 2010-08-11 21:26 ` jasmin at revisionfx dot com 2010-08-17 20:17 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2010-08-17 21:03 ` jasmin at revisionfx dot com 2010-08-17 21:17 ` mikulas at artax dot karlin dot mff dot cuni dot cz 2010-08-24 22:10 ` jasmin at revisionfx dot com 2010-08-25 21:27 ` mikulas at artax dot karlin dot mff dot cuni dot cz [not found] <bug-40838-4@http.gcc.gnu.org/bugzilla/> 2011-01-18 21:11 ` t.artem at mailcity dot com 2011-01-18 21:18 ` hjl.tools at gmail dot com 2011-03-13 16:56 ` mahatma at eu dot by 2014-02-16 10:01 ` jackie.rosen at hushmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100809015604.29468.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).