[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-13 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 Kai Tietz changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-13 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 --- Comment #22 from Kai Tietz --- Author: ktietz Date: Fri Sep 13 17:28:25 2013 New Revision: 202572 URL: http://gcc.gnu.org/viewcvs?rev=202572&root=gcc&view=rev Log: PR target/57848 * c-decl.c (c_builtin_function_ext_scope): Remove

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-13 Thread whitequill at abstractions dot me
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 --- Comment #21 from Whitequill Riclo --- The patch worked for me, but now I'm getting a new error that looks like Bug 47052 accept the proposed fix doesn't work because is says DW2 isn't suppored on 64-bit yet. I can get around this if I change

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-12 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 --- Comment #20 from Kai Tietz --- (In reply to Jacek Caban from comment #18) > Created attachment 30806 [details] > mingw-w64-headers intrins fix Thanks Jacek for providing this work-a-round here, but I would like to ask Dongsheng not to hi-jac

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-12 Thread dongsheng.song at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 --- Comment #19 from Dongsheng Song --- When I use this 64 bit gcc 4.9 cross compiler to generate the native compiler, I got the error: In file included from /home/cauchy/cross/x86_64-windows-gcc49/lib/gcc/x86_64-w64-mingw32/4.9.0/include/x86intr

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-12 Thread jacek at codeweavers dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 --- Comment #18 from Jacek Caban --- Created attachment 30806 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30806&action=edit mingw-w64-headers intrins fix

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-12 Thread jacek at codeweavers dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 --- Comment #17 from Jacek Caban --- (In reply to Dongsheng Song from comment #14) > Created attachment 30804 [details] > 32 bit gcc 4.9 build errors This has to be fixed in mingw-w64-headers. I will attach a draft of the patch for testing.

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-12 Thread dongsheng.song at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 --- Comment #16 from Dongsheng Song --- Created attachment 30805 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30805&action=edit 64 bit gcc 4.9 - cross to native build errors

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-12 Thread dongsheng.song at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 --- Comment #15 from Dongsheng Song --- Yes,it helps, 64 bit gcc 4.9 build fine. but 32 bit failed with lots of 'conflicting types' errors, this maybe another story. $ svn info mingw-w64/trunk/ Path: mingw-w64/trunk URL: svn://svn.code.sf.net/p/m

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-12 Thread dongsheng.song at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 --- Comment #14 from Dongsheng Song --- Created attachment 30804 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30804&action=edit 32 bit gcc 4.9 build errors

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-11 Thread jacek at codeweavers dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 --- Comment #13 from Jacek Caban --- Yes, it helps. Thanks.

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-11 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 --- Comment #12 from Kai Tietz --- Does the following patch helps to you? Index: c/c-decl.c === --- c/c-decl.c (Revision 202491) +++ c/c-decl.c (Arbeitskopie) @@ -3604,7 +3604,7 @@

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-10 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 Kai Tietz changed: What|Removed |Added CC||whitequill at abstractions dot me --- Commen

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-02 Thread dongsheng.song at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 --- Comment #10 from Dongsheng Song --- If your compiler default target support sse4.2, then you can't reproduce it: i686-w64-mingw32-gcc -march=corei7 pr57848.c But when you use target which do not support sse4.2, then the internal compiler err

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-01 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 --- Comment #9 from Kai Tietz --- Hmm, I tried to reproduce this case with testcase: extern unsigned int __builtin_ia32_crc32si (unsigned int, unsigned int); #pragma GCC target("sse4.2") and I don't get this ICE. I might do here something wrong

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-08-31 Thread jacek at codeweavers dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 Jacek Caban changed: What|Removed |Added CC||jacek at codeweavers dot com --- Comment #8

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-08-17 Thread edward.c.wang at compdigitec dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 Edward Wang changed: What|Removed |Added CC||edward.c.wang at compdigitec dot c

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-07-09 Thread dongsheng.song at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 --- Comment #6 from Dongsheng Song --- Linux gcc 4.4.5 (Debian GNU/Linux 6.0), gcc 4.4.7 (Red Hat Enterprise Linux Server release 6.4) failed too.