public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/49964] New: Bootstrap failed with AVX turned on
@ 2011-08-03 14:27 kirill.yukhin at intel dot com
2011-08-03 14:29 ` [Bug bootstrap/49964] " kirill.yukhin at intel dot com
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: kirill.yukhin at intel dot com @ 2011-08-03 14:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49964
Summary: Bootstrap failed with AVX turned on
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: kirill.yukhin@intel.com
Revision 177268 failed to bootstrap with AVX enabled.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/49964] Bootstrap failed with AVX turned on
2011-08-03 14:27 [Bug bootstrap/49964] New: Bootstrap failed with AVX turned on kirill.yukhin at intel dot com
@ 2011-08-03 14:29 ` kirill.yukhin at intel dot com
2011-08-03 17:38 ` hjl.tools at gmail dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: kirill.yukhin at intel dot com @ 2011-08-03 14:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49964
--- Comment #1 from Yukhin Kirill <kirill.yukhin at intel dot com> 2011-08-03 14:28:55 UTC ---
Started from here
http://gcc.gnu.org/ml/gcc-regression/2011-08/msg00051.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/49964] Bootstrap failed with AVX turned on
2011-08-03 14:27 [Bug bootstrap/49964] New: Bootstrap failed with AVX turned on kirill.yukhin at intel dot com
2011-08-03 14:29 ` [Bug bootstrap/49964] " kirill.yukhin at intel dot com
@ 2011-08-03 17:38 ` hjl.tools at gmail dot com
2011-08-03 18:03 ` rth at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: hjl.tools at gmail dot com @ 2011-08-03 17:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49964
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.08.03 17:37:53
CC| |rth at gcc dot gnu.org
Target Milestone|--- |4.7.0
Ever Confirmed|0 |1
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-08-03 17:37:53 UTC ---
It is caused by revision 177218:
http://gcc.gnu.org/ml/gcc-cvs/2011-08/msg00228.html
On Linux/ia32, adding -march=corei7-avx caused:
[hjl@gnu-snb-1 src]$ /export/gnu/import/rrs-bootstrap/177218/bld/./gcc/xgcc
-shared-libgcc -B/export/gnu/import/rrs-bootstrap/177218/bld/./gcc -nostdinc++
-L/export/gnu/import/rrs-bootstrap/177218/bld/x86_64-unknown-linux-gnu/32/libstdc++-v3/src
-L/export/gnu/import/rrs-bootstrap/177218/bld/x86_64-unknown-linux-gnu/32/libstdc++-v3/src/.libs
-B/export/gnu/import/rrs-bootstrap/177218/usr/x86_64-unknown-linux-gnu/bin/
-B/export/gnu/import/rrs-bootstrap/177218/usr/x86_64-unknown-linux-gnu/lib/
-isystem
/export/gnu/import/rrs-bootstrap/177218/usr/x86_64-unknown-linux-gnu/include
-isystem
/export/gnu/import/rrs-bootstrap/177218/usr/x86_64-unknown-linux-gnu/sys-include
-m32
-I/export/gnu/import/rrs-bootstrap/177218/bld/x86_64-unknown-linux-gnu/32/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/export/gnu/import/rrs-bootstrap/177218/bld/x86_64-unknown-linux-gnu/32/libstdc++-v3/include
-I/export/gnu/import/rrs-bootstrap/177218/src/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-frandom-seed=functexcept.lo -g -O2 -D_GNU_SOURCE -m32 -std=gnu++0x -c
../../../../../src/libstdc++-v3/src/functexcept.cc -fPIC -DPIC -S
-march=corei7-avx
../../../../../src/libstdc++-v3/src/functexcept.cc: In function ‘void
std::__throw_system_error(int)’:
../../../../../src/libstdc++-v3/src/functexcept.cc:106:62: internal compiler
error: in fixup_args_size_notes, at expr.c:3586
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-snb-1 src]$
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/49964] Bootstrap failed with AVX turned on
2011-08-03 14:27 [Bug bootstrap/49964] New: Bootstrap failed with AVX turned on kirill.yukhin at intel dot com
2011-08-03 14:29 ` [Bug bootstrap/49964] " kirill.yukhin at intel dot com
2011-08-03 17:38 ` hjl.tools at gmail dot com
@ 2011-08-03 18:03 ` rth at gcc dot gnu.org
2011-08-03 19:12 ` rth at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu.org @ 2011-08-03 18:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49964
Richard Henderson <rth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #3 from Richard Henderson <rth at gcc dot gnu.org> 2011-08-03 18:02:43 UTC ---
Mine.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/49964] Bootstrap failed with AVX turned on
2011-08-03 14:27 [Bug bootstrap/49964] New: Bootstrap failed with AVX turned on kirill.yukhin at intel dot com
` (2 preceding siblings ...)
2011-08-03 18:03 ` rth at gcc dot gnu.org
@ 2011-08-03 19:12 ` rth at gcc dot gnu.org
2011-08-03 20:51 ` hjl.tools at gmail dot com
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu.org @ 2011-08-03 19:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49964
--- Comment #4 from Richard Henderson <rth at gcc dot gnu.org> 2011-08-03 19:11:48 UTC ---
It's a bug in the i386 backend:
(call_insn 28 27 136 2 (parallel [
(parallel [
(call (mem:QI (mem/f:SI (plus:SI (reg/f:SI 73 [
__ec$_M_cat_2->_vptr.error_category ])
(const_int 12 [0xc])) [3 MEM[(int
(*__vtbl_ptr_type) () *)D.126512_12 + 12B]+0 S4 A32]) [0
*OBJ_TYPE_REF(D.126513_13;__ec$_M_cat_2->3) S1 A8])
(const_int 12 [0xc]))
(set (reg/f:SI 7 sp)
(plus:SI (reg/f:SI 7 sp)
(const_int 4 [0x4])))
])
(unspec [
(const_int 2 [0x2])
] UNSPEC_CALL_NEEDS_VZEROUPPER)
])
/home/rth/work/gcc/bld/i686-linux/libstdc++-v3/include/system_error:158 480
{*call_pop_vzeroupper}
Note the nested PARALLEL.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/49964] Bootstrap failed with AVX turned on
2011-08-03 14:27 [Bug bootstrap/49964] New: Bootstrap failed with AVX turned on kirill.yukhin at intel dot com
` (3 preceding siblings ...)
2011-08-03 19:12 ` rth at gcc dot gnu.org
@ 2011-08-03 20:51 ` hjl.tools at gmail dot com
2011-08-03 21:44 ` rth at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: hjl.tools at gmail dot com @ 2011-08-03 20:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49964
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2011-08-03 20:51:22 UTC ---
Created attachment 24910
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24910
A patch
I am testing this.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/49964] Bootstrap failed with AVX turned on
2011-08-03 14:27 [Bug bootstrap/49964] New: Bootstrap failed with AVX turned on kirill.yukhin at intel dot com
` (4 preceding siblings ...)
2011-08-03 20:51 ` hjl.tools at gmail dot com
@ 2011-08-03 21:44 ` rth at gcc dot gnu.org
2011-08-03 21:46 ` hjl.tools at gmail dot com
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu.org @ 2011-08-03 21:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49964
Richard Henderson <rth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #24910|0 |1
is obsolete| |
AssignedTo|unassigned at gcc dot |rth at gcc dot gnu.org
|gnu.org |
--- Comment #6 from Richard Henderson <rth at gcc dot gnu.org> 2011-08-03 21:43:53 UTC ---
Created attachment 24911
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24911
full patch
Your patch misses several patterns.
This bootstraps, but I don't have an avx cpu locally.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/49964] Bootstrap failed with AVX turned on
2011-08-03 14:27 [Bug bootstrap/49964] New: Bootstrap failed with AVX turned on kirill.yukhin at intel dot com
` (5 preceding siblings ...)
2011-08-03 21:44 ` rth at gcc dot gnu.org
@ 2011-08-03 21:46 ` hjl.tools at gmail dot com
2011-08-04 0:18 ` hjl.tools at gmail dot com
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: hjl.tools at gmail dot com @ 2011-08-03 21:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49964
--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> 2011-08-03 21:46:22 UTC ---
(In reply to comment #6)
> Created attachment 24911 [details]
> full patch
>
> Your patch misses several patterns.
>
> This bootstraps, but I don't have an avx cpu locally.
I am testing it now. Thanks.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/49964] Bootstrap failed with AVX turned on
2011-08-03 14:27 [Bug bootstrap/49964] New: Bootstrap failed with AVX turned on kirill.yukhin at intel dot com
` (6 preceding siblings ...)
2011-08-03 21:46 ` hjl.tools at gmail dot com
@ 2011-08-04 0:18 ` hjl.tools at gmail dot com
2011-08-04 15:48 ` rth at gcc dot gnu.org
2011-08-04 19:10 ` rth at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: hjl.tools at gmail dot com @ 2011-08-04 0:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49964
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> 2011-08-04 00:18:27 UTC ---
(In reply to comment #6)
> Created attachment 24911 [details]
> full patch
>
> Your patch misses several patterns.
>
> This bootstraps, but I don't have an avx cpu locally.
It works:
http://gcc.gnu.org/ml/gcc-testresults/2011-08/msg00355.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/49964] Bootstrap failed with AVX turned on
2011-08-03 14:27 [Bug bootstrap/49964] New: Bootstrap failed with AVX turned on kirill.yukhin at intel dot com
` (7 preceding siblings ...)
2011-08-04 0:18 ` hjl.tools at gmail dot com
@ 2011-08-04 15:48 ` rth at gcc dot gnu.org
2011-08-04 19:10 ` rth at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu.org @ 2011-08-04 15:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49964
--- Comment #9 from Richard Henderson <rth at gcc dot gnu.org> 2011-08-04 15:47:50 UTC ---
Author: rth
Date: Thu Aug 4 15:47:42 2011
New Revision: 177408
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177408
Log:
PR target/49964
* config/i386/i386.c (ix86_expand_call): Don't create nested
PARALLELs for TARGET_VZEROUPPER.
(ix86_split_call_vzeroupper): Fix extraction of the original call.
* config/i386/i386.md (*call_rex64_ms_sysv_vzeroupper): Don't
recognize nested PARALLELs.
(*call_pop_vzeroupper, *sibcall_pop_vzeroupper,
*call_value_rex64_ms_sysv_vzeroupper, *call_value_pop_vzeroupper,
*sibcall_value_pop_vzeroupper): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/config/i386/i386.md
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/49964] Bootstrap failed with AVX turned on
2011-08-03 14:27 [Bug bootstrap/49964] New: Bootstrap failed with AVX turned on kirill.yukhin at intel dot com
` (8 preceding siblings ...)
2011-08-04 15:48 ` rth at gcc dot gnu.org
@ 2011-08-04 19:10 ` rth at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu.org @ 2011-08-04 19:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49964
Richard Henderson <rth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #10 from Richard Henderson <rth at gcc dot gnu.org> 2011-08-04 19:09:42 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-08-04 19:10 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-03 14:27 [Bug bootstrap/49964] New: Bootstrap failed with AVX turned on kirill.yukhin at intel dot com
2011-08-03 14:29 ` [Bug bootstrap/49964] " kirill.yukhin at intel dot com
2011-08-03 17:38 ` hjl.tools at gmail dot com
2011-08-03 18:03 ` rth at gcc dot gnu.org
2011-08-03 19:12 ` rth at gcc dot gnu.org
2011-08-03 20:51 ` hjl.tools at gmail dot com
2011-08-03 21:44 ` rth at gcc dot gnu.org
2011-08-03 21:46 ` hjl.tools at gmail dot com
2011-08-04 0:18 ` hjl.tools at gmail dot com
2011-08-04 15:48 ` rth at gcc dot gnu.org
2011-08-04 19:10 ` rth at gcc dot gnu.org
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).