public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/46084] New: gcc.dg/split-4.c failed with -mavx -m32
@ 2010-10-19 19:26 hjl.tools at gmail dot com
2010-10-19 22:42 ` [Bug target/46084] " hjl.tools at gmail dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-19 19:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46084
Summary: gcc.dg/split-4.c failed with -mavx -m32
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: hjl.tools@gmail.com
CC: iant@google.com
On Linux/ia32, gcc.dg/split-4.c failed with -mavx -m32:
[hjl@gnu-18 gcc]$ ./xgcc -B./
/export/gnu/import/git/gcc-avx/gcc/testsuite/gcc.dg/split-4.c -fsplit-stack
-m32 -mavx
[hjl@gnu-18 gcc]$ ./a.out
Segmentation fault
[hjl@gnu-18 gcc]$
You can download AVX emulator from
http://software.intel.com/en-us/avx/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/46084] gcc.dg/split-4.c failed with -mavx -m32
2010-10-19 19:26 [Bug target/46084] New: gcc.dg/split-4.c failed with -mavx -m32 hjl.tools at gmail dot com
@ 2010-10-19 22:42 ` hjl.tools at gmail dot com
2010-11-05 23:45 ` ian at gcc dot gnu.org
2010-11-05 23:49 ` ian at airs dot com
2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-19 22:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46084
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-19 22:42:20 UTC ---
This one fails without AVX instructions:
[hjl@gnu-18 gcc]$ ./xgcc -B./
/export/gnu/import/git/gcc-avx/gcc/testsuite/gcc.dg/split-4.c -mavx -m32
-fsplit-stack -S
[hjl@gnu-18 gcc]$ ./xgcc -B./ -m32 split-4.s
[hjl@gnu-18 gcc]$ ./a.out
Segmentation fault
[hjl@gnu-18 gcc]$
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/46084] gcc.dg/split-4.c failed with -mavx -m32
2010-10-19 19:26 [Bug target/46084] New: gcc.dg/split-4.c failed with -mavx -m32 hjl.tools at gmail dot com
2010-10-19 22:42 ` [Bug target/46084] " hjl.tools at gmail dot com
@ 2010-11-05 23:45 ` ian at gcc dot gnu.org
2010-11-05 23:49 ` ian at airs dot com
2 siblings, 0 replies; 4+ messages in thread
From: ian at gcc dot gnu.org @ 2010-11-05 23:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46084
--- Comment #2 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> 2010-11-05 23:45:38 UTC ---
Author: ian
Date: Fri Nov 5 23:45:32 2010
New Revision: 166383
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166383
Log:
gcc/:
PR target/46084
* explow.c (allocate_dynamic_stack_space): If flag_split_stack,
request enough additional space for alignment, and force
alignment.
testsuite/:
* gcc.target/i386/pr46084.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr46084.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/explow.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/46084] gcc.dg/split-4.c failed with -mavx -m32
2010-10-19 19:26 [Bug target/46084] New: gcc.dg/split-4.c failed with -mavx -m32 hjl.tools at gmail dot com
2010-10-19 22:42 ` [Bug target/46084] " hjl.tools at gmail dot com
2010-11-05 23:45 ` ian at gcc dot gnu.org
@ 2010-11-05 23:49 ` ian at airs dot com
2 siblings, 0 replies; 4+ messages in thread
From: ian at airs dot com @ 2010-11-05 23:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46084
Ian Lance Taylor <ian at airs dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |ian at airs dot com
Resolution| |FIXED
--- Comment #3 from Ian Lance Taylor <ian at airs dot com> 2010-11-05 23:49:16 UTC ---
Fixed. Thanks for reporting the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-11-05 23:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-19 19:26 [Bug target/46084] New: gcc.dg/split-4.c failed with -mavx -m32 hjl.tools at gmail dot com
2010-10-19 22:42 ` [Bug target/46084] " hjl.tools at gmail dot com
2010-11-05 23:45 ` ian at gcc dot gnu.org
2010-11-05 23:49 ` ian at airs dot com
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).