public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/57848] New: internal compiler error on build with mingw-w64
@ 2013-07-08  3:31 dongsheng.song at gmail dot com
  2013-07-08  3:35 ` [Bug target/57848] " pinskia at gcc dot gnu.org
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: dongsheng.song at gmail dot com @ 2013-07-08  3:31 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

            Bug ID: 57848
           Summary: internal compiler error on build with mingw-w64
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dongsheng.song at gmail dot com

$ svn info mingw-w64/trunk/ gcc/trunk/
Path: mingw-w64/trunk
URL: svn://svn.code.sf.net/p/mingw-w64/code/trunk
Repository Root: svn://svn.code.sf.net/p/mingw-w64/code
Repository UUID: 4407c894-4637-0410-b4f5-ada5f102cad1
Revision: 5938
Node Kind: directory
Schedule: normal
Last Changed Author: sezero
Last Changed Rev: 5936
Last Changed Date: 2013-07-07 17:12:42 +0800 (Sun, 07 Jul 2013)

Path: gcc/trunk
URL: svn://gcc.gnu.org/svn/gcc/trunk
Repository Root: svn://gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 200744
Node Kind: directory
Schedule: normal
Last Changed Author: uros
Last Changed Rev: 200744
Last Changed Date: 2013-07-08 03:06:45 +0800 (Mon, 08 Jul 2013)

$ make  all-am
make[1]: Entering directory
`/home/cauchy/obj/i686-w64-mingw32-gcc49/mingw-w64-crt'
i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
-I/home/cauchy/vcs/svn/mingw-w64/trunk/mingw-w64-crt  -m32
-I/home/cauchy/vcs/svn/mingw-w64/trunk/mingw-w64-crt/include -D_CRTBLD
-I/home/cauchy/cross/i686-windows-gcc49/i686-w64-mingw32/include  -pipe
-std=gnu99 -Wall -Wextra -Wformat -Wstrict-aliasing -Wshadow -Wpacked -Winline
-Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes -g -O2
-MT intrincs/lib32_libkernel32_a-__movsb.o -MD -MP -MF
intrincs/.deps/lib32_libkernel32_a-__movsb.Tpo -c -o
intrincs/lib32_libkernel32_a-__movsb.o `test -f 'intrincs/__movsb.c' || echo
'/home/cauchy/vcs/svn/mingw-w64/trunk/mingw-w64-crt/'`intrincs/__movsb.c
In file included from
/home/cauchy/cross/i686-windows-gcc49/lib/gcc/i686-w64-mingw32/4.9.0/include/x86intrin.h:27:0,
                 from
/home/cauchy/cross/i686-windows-gcc49/i686-w64-mingw32/include/intrin.h:59,
                 from
/home/cauchy/vcs/svn/mingw-w64/trunk/mingw-w64-crt/intrincs/__movsb.c:1:
/home/cauchy/cross/i686-windows-gcc49/lib/gcc/i686-w64-mingw32/4.9.0/include/ia32intrin.h:54:9:
internal compiler error: in c_builtin_function_ext_scope, at c/c-decl.c:3633
 #pragma GCC target("sse4.2")
         ^
0x531e8b c_builtin_function_ext_scope(tree_node*)
    /home/cauchy/vcs/svn/gcc/trunk/gcc/c/c-decl.c:3633
0x755f28 add_builtin_function_common
    /home/cauchy/vcs/svn/gcc/trunk/gcc/langhooks.c:561
0x7567e3 add_builtin_function_ext_scope(char const*, tree_node*, int,
built_in_class, char const*, tree_node*)
    /home/cauchy/vcs/svn/gcc/trunk/gcc/langhooks.c:597
0xa04fc4 ix86_add_new_builtins
    /home/cauchy/vcs/svn/gcc/trunk/gcc/config/i386/i386.c:27199
0xa04fc4 ix86_valid_target_attribute_tree(tree_node*)
    /home/cauchy/vcs/svn/gcc/trunk/gcc/config/i386/i386.c:4512
0x5b22a0 ix86_pragma_target_parse
    /home/cauchy/vcs/svn/gcc/trunk/gcc/config/i386/i386-c.c:385
0x5a2abd handle_pragma_target
    /home/cauchy/vcs/svn/gcc/trunk/gcc/c-family/c-pragma.c:805
0x557a1e c_parser_pragma
    /home/cauchy/vcs/svn/gcc/trunk/gcc/c/c-parser.c:8749
0x565ffb c_parser_external_declaration
    /home/cauchy/vcs/svn/gcc/trunk/gcc/c/c-parser.c:1345
0x566967 c_parser_translation_unit
    /home/cauchy/vcs/svn/gcc/trunk/gcc/c/c-parser.c:1251
0x566967 c_parse_file()
    /home/cauchy/vcs/svn/gcc/trunk/gcc/c/c-parser.c:11000
0x5a0614 c_common_parse_file()
    /home/cauchy/vcs/svn/gcc/trunk/gcc/c-family/c-opts.c:1046
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [intrincs/lib32_libkernel32_a-__movsb.o] Error 1
make[1]: Leaving directory
`/home/cauchy/obj/i686-w64-mingw32-gcc49/mingw-w64-crt'
make: *** [all] Error 2


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on build with mingw-w64
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
@ 2013-07-08  3:35 ` pinskia at gcc dot gnu.org
  2013-07-08  4:33 ` dongsheng.song at gmail dot com
                   ` (22 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-07-08  3:35 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target
           Severity|blocker                     |normal


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on build with mingw-w64
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
  2013-07-08  3:35 ` [Bug target/57848] " pinskia at gcc dot gnu.org
@ 2013-07-08  4:33 ` dongsheng.song at gmail dot com
  2013-07-08 10:45 ` mikpe at it dot uu.se
                   ` (21 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: dongsheng.song at gmail dot com @ 2013-07-08  4:33 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

--- Comment #1 from Dongsheng Song <dongsheng.song at gmail dot com> ---
x86_64-w64-mingw32 failed with same errors:

$ make  all-am
make[1]: Entering directory
`/home/cauchy/obj/x86_64-w64-mingw32-gcc49/mingw-w64-crt'
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
-I/home/cauchy/vcs/svn/mingw-w64/trunk/mingw-w64-crt  -m64
-I/home/cauchy/vcs/svn/mingw-w64/trunk/mingw-w64-crt/include -D_CRTBLD
-I/home/cauchy/cross/x86_64-windows-gcc49/x86_64-w64-mingw32/include  -pipe
-std=gnu99 -Wall -Wextra -Wformat -Wstrict-aliasing -Wshadow -Wpacked -Winline
-Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes -g -O2
-MT intrincs/lib64_libkernel32_a-__movsb.o -MD -MP -MF
intrincs/.deps/lib64_libkernel32_a-__movsb.Tpo -c -o
intrincs/lib64_libkernel32_a-__movsb.o `test -f 'intrincs/__movsb.c' || echo
'/home/cauchy/vcs/svn/mingw-w64/trunk/mingw-w64-crt/'`intrincs/__movsb.c
In file included from
/home/cauchy/cross/x86_64-windows-gcc49/lib/gcc/x86_64-w64-mingw32/4.9.0/include/x86intrin.h:27:0,
                 from
/home/cauchy/cross/x86_64-windows-gcc49/x86_64-w64-mingw32/include/intrin.h:59,
                 from
/home/cauchy/vcs/svn/mingw-w64/trunk/mingw-w64-crt/intrincs/__movsb.c:1:
/home/cauchy/cross/x86_64-windows-gcc49/lib/gcc/x86_64-w64-mingw32/4.9.0/include/ia32intrin.h:54:9:
internal compiler error: in c_builtin_function_ext_scope, at c/c-decl.c:3633
 #pragma GCC target("sse4.2")
         ^
0x5357eb c_builtin_function_ext_scope(tree_node*)
    /home/cauchy/vcs/svn/gcc/trunk/gcc/c/c-decl.c:3633
0x75e618 add_builtin_function_common
    /home/cauchy/vcs/svn/gcc/trunk/gcc/langhooks.c:561
0x75eed3 add_builtin_function_ext_scope(char const*, tree_node*, int,
built_in_class, char const*, tree_node*)
    /home/cauchy/vcs/svn/gcc/trunk/gcc/langhooks.c:597
0xa12124 ix86_add_new_builtins
    /home/cauchy/vcs/svn/gcc/trunk/gcc/config/i386/i386.c:27199
0xa12124 ix86_valid_target_attribute_tree(tree_node*)
    /home/cauchy/vcs/svn/gcc/trunk/gcc/config/i386/i386.c:4512
0x5b5d90 ix86_pragma_target_parse
    /home/cauchy/vcs/svn/gcc/trunk/gcc/config/i386/i386-c.c:385
0x5a65ad handle_pragma_target
    /home/cauchy/vcs/svn/gcc/trunk/gcc/c-family/c-pragma.c:805
0x55b37e c_parser_pragma
    /home/cauchy/vcs/svn/gcc/trunk/gcc/c/c-parser.c:8749
0x56995b c_parser_external_declaration
    /home/cauchy/vcs/svn/gcc/trunk/gcc/c/c-parser.c:1345
0x56a2c7 c_parser_translation_unit
    /home/cauchy/vcs/svn/gcc/trunk/gcc/c/c-parser.c:1251
0x56a2c7 c_parse_file()
    /home/cauchy/vcs/svn/gcc/trunk/gcc/c/c-parser.c:11000
0x5a4104 c_common_parse_file()
    /home/cauchy/vcs/svn/gcc/trunk/gcc/c-family/c-opts.c:1046
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [intrincs/lib64_libkernel32_a-__movsb.o] Error 1
make[1]: Leaving directory
`/home/cauchy/obj/x86_64-w64-mingw32-gcc49/mingw-w64-crt'
make: *** [all] Error 2


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on build with mingw-w64
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
  2013-07-08  3:35 ` [Bug target/57848] " pinskia at gcc dot gnu.org
  2013-07-08  4:33 ` dongsheng.song at gmail dot com
@ 2013-07-08 10:45 ` mikpe at it dot uu.se
  2013-07-08 11:01 ` mikpe at it dot uu.se
                   ` (20 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: mikpe at it dot uu.se @ 2013-07-08 10:45 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu.se

--- Comment #2 from Mikael Pettersson <mikpe at it dot uu.se> ---
Reproducible with a 4.9 cross to x86_64-w64-mingw32.  Started with r200349, but
that may simply have triggered a latent problem.


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on build with mingw-w64
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (2 preceding siblings ...)
  2013-07-08 10:45 ` mikpe at it dot uu.se
@ 2013-07-08 11:01 ` mikpe at it dot uu.se
  2013-07-08 18:48 ` mikpe at it dot uu.se
                   ` (19 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: mikpe at it dot uu.se @ 2013-07-08 11:01 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

--- Comment #3 from Mikael Pettersson <mikpe at it dot uu.se> ---
Created attachment 30475
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30475&action=edit
reduced test case


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on build with mingw-w64
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (3 preceding siblings ...)
  2013-07-08 11:01 ` mikpe at it dot uu.se
@ 2013-07-08 18:48 ` mikpe at it dot uu.se
  2013-07-09 11:12 ` ktietz at gcc dot gnu.org
                   ` (18 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: mikpe at it dot uu.se @ 2013-07-08 18:48 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

--- Comment #4 from Mikael Pettersson <mikpe at it dot uu.se> ---
The reduced test case also ICEs 4.8-20130704, 4.7-20130706, and 4.6-20130405
(haven't checked older versions yet).


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on build with mingw-w64
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (4 preceding siblings ...)
  2013-07-08 18:48 ` mikpe at it dot uu.se
@ 2013-07-09 11:12 ` ktietz at gcc dot gnu.org
  2013-07-10  4:49 ` [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option dongsheng.song at gmail dot com
                   ` (17 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-07-09 11:12 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktietz at gcc dot gnu.org
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-07-09

--- Comment #5 from Kai Tietz <ktietz at gcc dot gnu.org> ---
This issue can be reproduces on linux too.


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (5 preceding siblings ...)
  2013-07-09 11:12 ` ktietz at gcc dot gnu.org
@ 2013-07-10  4:49 ` dongsheng.song at gmail dot com
  2013-08-18  1:26 ` edward.c.wang at compdigitec dot com
                   ` (16 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: dongsheng.song at gmail dot com @ 2013-07-10  4:49 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

--- Comment #6 from Dongsheng Song <dongsheng.song at gmail dot com> ---
Linux gcc 4.4.5 (Debian GNU/Linux 6.0), gcc 4.4.7 (Red Hat Enterprise Linux
Server release 6.4) failed too.


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (6 preceding siblings ...)
  2013-07-10  4:49 ` [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option dongsheng.song at gmail dot com
@ 2013-08-18  1:26 ` edward.c.wang at compdigitec dot com
  2013-08-31 15:41 ` jacek at codeweavers dot com
                   ` (15 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: edward.c.wang at compdigitec dot com @ 2013-08-18  1:26 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

Edward Wang <edward.c.wang at compdigitec dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |edward.c.wang at compdigitec dot c
                   |                            |om

--- Comment #7 from Edward Wang <edward.c.wang at compdigitec dot com> ---
Still reproducible for me as well with the 20130811 snapshot:

URL: svn://svn.code.sf.net/p/mingw-w64/code/trunk
Repository Root: svn://svn.code.sf.net/p/mingw-w64/code
Repository UUID: 4407c894-4637-0410-b4f5-ada5f102cad1
Revision: 6083
Node Kind: directory
Schedule: normal
Last Changed Author: ktietz70
Last Changed Rev: 6082
Last Changed Date: 2013-08-13 11:05:52 -0400 (Tue, 13 Aug 2013)

i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
-I../../../mingw-sources/mingw-w64/mingw-w64-crt  -m32
-I../../../mingw-sources/mingw-w64/mingw-w64-crt/include -D_CRTBLD
-I/usr/i686-w64-mingw32/include  -pipe -std=gnu99 -Wall -Wextra -Wformat
-Wstrict-aliasing -Wshadow -Wpacked -Winline -Wimplicit-function-declaration
-Wmissing-noreturn -Wmissing-prototypes -g -O2 -MT
intrincs/lib32_libkernel32_a-__movsb.o -MD -MP -MF
intrincs/.deps/lib32_libkernel32_a-__movsb.Tpo -c -o
intrincs/lib32_libkernel32_a-__movsb.o `test -f 'intrincs/__movsb.c' || echo
'../../../mingw-sources/mingw-w64/mingw-w64-crt/'`intrincs/__movsb.c
In file included from
/usr/i686-w64-mingw32/lib/gcc/i686-w64-mingw32/4.9.0/include/x86intrin.h:27:0,
                 from
/usr/i686-w64-mingw32/i686-w64-mingw32/include/intrin.h:59,
                 from
../../../mingw-sources/mingw-w64/mingw-w64-crt/intrincs/__movsb.c:1:
/usr/i686-w64-mingw32/lib/gcc/i686-w64-mingw32/4.9.0/include/ia32intrin.h:54:9:
internal compiler error: in c_builtin_function_ext_scope, at c/c-decl.c:3633
 #pragma GCC target("sse4.2")
         ^
0x813eb4b c_builtin_function_ext_scope(tree_node*)
    ../../../mingw-sources/gcc-4.9-20130811/gcc/c/c-decl.c:3633
0x8487a83 add_builtin_function_common
    ../../../mingw-sources/gcc-4.9-20130811/gcc/langhooks.c:561
0x8847827 ix86_add_new_builtins
    ../../../mingw-sources/gcc-4.9-20130811/gcc/config/i386/i386.c:27508
0x8847827 ix86_valid_target_attribute_tree(tree_node*)
    ../../../mingw-sources/gcc-4.9-20130811/gcc/config/i386/i386.c:4832
0x8206225 ix86_pragma_target_parse
    ../../../mingw-sources/gcc-4.9-20130811/gcc/config/i386/i386-c.c:385
0x81ea4e8 handle_pragma_target
    ../../../mingw-sources/gcc-4.9-20130811/gcc/c-family/c-pragma.c:805
0x81820f1 c_parser_pragma
    ../../../mingw-sources/gcc-4.9-20130811/gcc/c/c-parser.c:8972
0x8193324 c_parser_external_declaration
    ../../../mingw-sources/gcc-4.9-20130811/gcc/c/c-parser.c:1345
0x8193d43 c_parser_translation_unit
    ../../../mingw-sources/gcc-4.9-20130811/gcc/c/c-parser.c:1251
0x8193d43 c_parse_file()
    ../../../mingw-sources/gcc-4.9-20130811/gcc/c/c-parser.c:11223
0x81e7c94 c_common_parse_file()
    ../../../mingw-sources/gcc-4.9-20130811/gcc/c-family/c-opts.c:1046
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [intrincs/lib32_libkernel32_a-__movsb.o] Error 1
make[3]: Leaving directory
`/media/data/build/mingw-build/mingw-w64/mingw-w64-crt'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/media/data/build/mingw-build/mingw-w64/mingw-w64-crt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/data/build/mingw-build/mingw-w64'
make: *** [all] Error 2


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (7 preceding siblings ...)
  2013-08-18  1:26 ` edward.c.wang at compdigitec dot com
@ 2013-08-31 15:41 ` jacek at codeweavers dot com
  2013-09-01 20:31 ` ktietz at gcc dot gnu.org
                   ` (14 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: jacek at codeweavers dot com @ 2013-08-31 15:41 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

Jacek Caban <jacek at codeweavers dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jacek at codeweavers dot com

--- Comment #8 from Jacek Caban <jacek at codeweavers dot com> ---
*** Bug 58287 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (8 preceding siblings ...)
  2013-08-31 15:41 ` jacek at codeweavers dot com
@ 2013-09-01 20:31 ` ktietz at gcc dot gnu.org
  2013-09-03  3:01 ` dongsheng.song at gmail dot com
                   ` (13 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-09-01 20:31 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

--- Comment #9 from Kai Tietz <ktietz at gcc dot gnu.org> ---
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, but I can't
reproduce it.


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (9 preceding siblings ...)
  2013-09-01 20:31 ` ktietz at gcc dot gnu.org
@ 2013-09-03  3:01 ` dongsheng.song at gmail dot com
  2013-09-10 10:24 ` ktietz at gcc dot gnu.org
                   ` (12 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: dongsheng.song at gmail dot com @ 2013-09-03  3:01 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

--- Comment #10 from Dongsheng Song <dongsheng.song at gmail dot com> ---
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
error occurred:

$ i686-w64-mingw32-gcc -c -march=core2 pr57848.c
pr57848.c:2:9: internal compiler error: in c_builtin_function_ext_scope, at
c/c-decl.c:3633
 #pragma GCC target("sse4.2")
         ^
0x57024b c_builtin_function_ext_scope(tree_node*)
        /home/cauchy/vcs/svn/gcc/trunk/gcc/c/c-decl.c:3633
0x79f288 add_builtin_function_common
        /home/cauchy/vcs/svn/gcc/trunk/gcc/langhooks.c:561
0x79fb43 add_builtin_function_ext_scope(char const*, tree_node*, int,
built_in_class, char const*, tree_node*)
        /home/cauchy/vcs/svn/gcc/trunk/gcc/langhooks.c:597
0xa63224 ix86_add_new_builtins
        /home/cauchy/vcs/svn/gcc/trunk/gcc/config/i386/i386.c:27368
0xa63224 ix86_valid_target_attribute_tree(tree_node*)
        /home/cauchy/vcs/svn/gcc/trunk/gcc/config/i386/i386.c:4631
0x5f2000 ix86_pragma_target_parse
        /home/cauchy/vcs/svn/gcc/trunk/gcc/config/i386/i386-c.c:393
0x5e237d handle_pragma_target
        /home/cauchy/vcs/svn/gcc/trunk/gcc/c-family/c-pragma.c:805
0x59696e c_parser_pragma
        /home/cauchy/vcs/svn/gcc/trunk/gcc/c/c-parser.c:8972
0x5a4f5b c_parser_external_declaration
        /home/cauchy/vcs/svn/gcc/trunk/gcc/c/c-parser.c:1345
0x5a58c7 c_parser_translation_unit
        /home/cauchy/vcs/svn/gcc/trunk/gcc/c/c-parser.c:1251
0x5a58c7 c_parse_file()
        /home/cauchy/vcs/svn/gcc/trunk/gcc/c/c-parser.c:11223
0x5dfec4 c_common_parse_file()
        /home/cauchy/vcs/svn/gcc/trunk/gcc/c-family/c-opts.c:1046
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

i686-w64-mingw32-gcc -v
Using built-in specs.
COLLECT_GCC=i686-w64-mingw32-gcc
COLLECT_LTO_WRAPPER=/home/cauchy/cross/i686-windows-gcc49/libexec/gcc/i686-w64-mingw32/4.9.0/lto-wrapper
Target: i686-w64-mingw32
Configured with: /home/cauchy/vcs/svn/gcc/trunk/configure
--prefix=/home/cauchy/cross/i686-windows-gcc49
--with-sysroot=/home/cauchy/cross/i686-windows-gcc49
--build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu
--target=i686-w64-mingw32 --disable-multilib --disable-nls
--enable-checking=release --enable-languages=c,c++,fortran --with-arch=i686
--with-tune=generic
Thread model: win32
gcc version 4.9.0 20130902 (experimental) (GCC)


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (10 preceding siblings ...)
  2013-09-03  3:01 ` dongsheng.song at gmail dot com
@ 2013-09-10 10:24 ` ktietz at gcc dot gnu.org
  2013-09-11 11:00 ` ktietz at gcc dot gnu.org
                   ` (11 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-09-10 10:24 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |whitequill at abstractions dot me

--- Comment #11 from Kai Tietz <ktietz at gcc dot gnu.org> ---
*** Bug 58061 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (11 preceding siblings ...)
  2013-09-10 10:24 ` ktietz at gcc dot gnu.org
@ 2013-09-11 11:00 ` ktietz at gcc dot gnu.org
  2013-09-11 12:28 ` jacek at codeweavers dot com
                   ` (10 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-09-11 11:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

--- Comment #12 from Kai Tietz <ktietz at gcc dot gnu.org> ---
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 @@ c_builtin_function (tree decl)
   C_DECL_BUILTIN_PROTOTYPE (decl) = prototype_p (type);

   /* Should never be called on a symbol with a preexisting meaning.  */
-  gcc_assert (!I_SYMBOL_BINDING (id));
+  gcc_assert (TREE_CODE (decl) == CONST_DECL || !I_SYMBOL_BINDING (id));

   bind (id, decl, external_scope, /*invisible=*/true, /*nested=*/false,
        UNKNOWN_LOCATION);
@@ -3629,9 +3629,6 @@ c_builtin_function_ext_scope (tree decl)
   const char *name = IDENTIFIER_POINTER (id);
   C_DECL_BUILTIN_PROTOTYPE (decl) = prototype_p (type);

-  /* Should never be called on a symbol with a preexisting meaning.  */
-  gcc_assert (!I_SYMBOL_BINDING (id));
-
   bind (id, decl, external_scope, /*invisible=*/false, /*nested=*/false,
        UNKNOWN_LOCATION);


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (12 preceding siblings ...)
  2013-09-11 11:00 ` ktietz at gcc dot gnu.org
@ 2013-09-11 12:28 ` jacek at codeweavers dot com
  2013-09-12  9:26 ` dongsheng.song at gmail dot com
                   ` (9 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: jacek at codeweavers dot com @ 2013-09-11 12:28 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

--- Comment #13 from Jacek Caban <jacek at codeweavers dot com> ---
Yes, it helps. Thanks.


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (13 preceding siblings ...)
  2013-09-11 12:28 ` jacek at codeweavers dot com
@ 2013-09-12  9:26 ` dongsheng.song at gmail dot com
  2013-09-12  9:27 ` dongsheng.song at gmail dot com
                   ` (8 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: dongsheng.song at gmail dot com @ 2013-09-12  9:26 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

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


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (14 preceding siblings ...)
  2013-09-12  9:26 ` dongsheng.song at gmail dot com
@ 2013-09-12  9:27 ` dongsheng.song at gmail dot com
  2013-09-12  9:33 ` dongsheng.song at gmail dot com
                   ` (7 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: dongsheng.song at gmail dot com @ 2013-09-12  9:27 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

--- Comment #15 from Dongsheng Song <dongsheng.song at gmail dot com> ---
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/mingw-w64/code/trunk
Repository Root: svn://svn.code.sf.net/p/mingw-w64/code
Repository UUID: 4407c894-4637-0410-b4f5-ada5f102cad1
Revision: 6277
Node Kind: directory
Schedule: normal
Last Changed Author: snarfle
Last Changed Rev: 6277
Last Changed Date: 2013-09-12 03:13:55 +0800 (Thu, 12 Sep 2013)

$ svn info gcc/trunk/
Path: gcc/trunk
URL: svn://gcc.gnu.org/svn/gcc/trunk
Repository Root: svn://gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 202515
Node Kind: directory
Schedule: normal
Last Changed Author: amodra
Last Changed Rev: 202515
Last Changed Date: 2013-09-12 10:47:05 +0800 (Thu, 12 Sep 2013)

$ svn diff gcc/trunk/gcc/c/c-decl.c
Index: gcc/trunk/gcc/c/c-decl.c
===================================================================
--- gcc/trunk/gcc/c/c-decl.c    (revision 202515)
+++ gcc/trunk/gcc/c/c-decl.c    (working copy)
@@ -3604,7 +3604,7 @@
   C_DECL_BUILTIN_PROTOTYPE (decl) = prototype_p (type);

   /* Should never be called on a symbol with a preexisting meaning.  */
-  gcc_assert (!I_SYMBOL_BINDING (id));
+  gcc_assert (TREE_CODE (decl) == CONST_DECL || !I_SYMBOL_BINDING (id));

   bind (id, decl, external_scope, /*invisible=*/true, /*nested=*/false,
        UNKNOWN_LOCATION);
@@ -3629,9 +3629,6 @@
   const char *name = IDENTIFIER_POINTER (id);
   C_DECL_BUILTIN_PROTOTYPE (decl) = prototype_p (type);

-  /* Should never be called on a symbol with a preexisting meaning.  */
-  gcc_assert (!I_SYMBOL_BINDING (id));
-
   bind (id, decl, external_scope, /*invisible=*/false, /*nested=*/false,
        UNKNOWN_LOCATION);


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (15 preceding siblings ...)
  2013-09-12  9:27 ` dongsheng.song at gmail dot com
@ 2013-09-12  9:33 ` dongsheng.song at gmail dot com
  2013-09-12  9:34 ` jacek at codeweavers dot com
                   ` (6 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: dongsheng.song at gmail dot com @ 2013-09-12  9:33 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

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


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (16 preceding siblings ...)
  2013-09-12  9:33 ` dongsheng.song at gmail dot com
@ 2013-09-12  9:34 ` jacek at codeweavers dot com
  2013-09-12  9:35 ` dongsheng.song at gmail dot com
                   ` (5 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: jacek at codeweavers dot com @ 2013-09-12  9:34 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

--- Comment #17 from Jacek Caban <jacek at codeweavers dot com> ---
(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.


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (18 preceding siblings ...)
  2013-09-12  9:35 ` dongsheng.song at gmail dot com
@ 2013-09-12  9:35 ` jacek at codeweavers dot com
  2013-09-12  9:40 ` ktietz at gcc dot gnu.org
                   ` (3 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: jacek at codeweavers dot com @ 2013-09-12  9:35 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

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


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (17 preceding siblings ...)
  2013-09-12  9:34 ` jacek at codeweavers dot com
@ 2013-09-12  9:35 ` dongsheng.song at gmail dot com
  2013-09-12  9:35 ` jacek at codeweavers dot com
                   ` (4 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: dongsheng.song at gmail dot com @ 2013-09-12  9:35 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

--- Comment #19 from Dongsheng Song <dongsheng.song at gmail dot com> ---
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/x86intrin.h:27:0,
                 from
/home/cauchy/cross/x86_64-windows-gcc49/x86_64-w64-mingw32/include/winnt.h:1495,
                 from
/home/cauchy/cross/x86_64-windows-gcc49/x86_64-w64-mingw32/include/minwindef.h:146,
                 from
/home/cauchy/cross/x86_64-windows-gcc49/x86_64-w64-mingw32/include/windef.h:8,
                 from
/home/cauchy/cross/x86_64-windows-gcc49/x86_64-w64-mingw32/include/windows.h:69,
                 from
/home/cauchy/vcs/svn/gcc/trunk/gcc/config/i386/host-mingw32.c:29:
/home/cauchy/cross/x86_64-windows-gcc49/lib/gcc/x86_64-w64-mingw32/4.9.0/include/ia32intrin.h:54:28:
sorry, unimplemented: -mno-fentry isn't compatible with SEH
 #pragma GCC target("sse4.2")
                            ^
make[2]: *** [host-mingw32.o] Error 1
make[2]: Leaving directory `/home/cauchy/obj/native/gcc-4.9-win64/gcc/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/cauchy/obj/native/gcc-4.9-win64/gcc'
make: *** [all] Error 2

The full error log file in the attachment 30835.


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (19 preceding siblings ...)
  2013-09-12  9:35 ` jacek at codeweavers dot com
@ 2013-09-12  9:40 ` ktietz at gcc dot gnu.org
  2013-09-13 16:08 ` whitequill at abstractions dot me
                   ` (2 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-09-12  9:40 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

--- Comment #20 from Kai Tietz <ktietz at gcc dot gnu.org> ---
(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-jack this bug for another one. See for Dongshengs
subject-change the existing PR/56038.
And well, this bug can be work-a-rounded by mingw-w64, but finally solved it
can be only on gcc-side.


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (20 preceding siblings ...)
  2013-09-12  9:40 ` ktietz at gcc dot gnu.org
@ 2013-09-13 16:08 ` whitequill at abstractions dot me
  2013-09-13 17:28 ` ktietz at gcc dot gnu.org
  2013-09-13 17:30 ` ktietz at gcc dot gnu.org
  23 siblings, 0 replies; 25+ messages in thread
From: whitequill at abstractions dot me @ 2013-09-13 16:08 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

--- Comment #21 from Whitequill Riclo <whitequill at abstractions dot me> ---
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 "--enable-languages=c,c++" to
"--enable-languages=c", but I don't really want to, cause then I don't have a
c++ compiler.

checking whether the  /home/lfs/build.gcc1/./gcc/xgcc -shared-libgcc
-B/home/lfs/build.gcc1/./gcc -nostdinc++
-L/home/lfs/build.gcc1/x86_64-w64-mingw32/libstdc++-v3/src
-L/home/lfs/build.gcc1/x86_64-w64-mingw32/libstdc++-v3/src/.libs
-L/tools/x86_64-w64-mingw32/lib -L/tools/mingw/lib -isystem
/tools/x86_64-w64-mingw32/include -isystem /tools/mingw/include
-B/tools/x86_64-w64-mingw32/bin/ -B/tools/x86_64-w64-mingw32/lib/ -isystem
/tools/x86_64-w64-mingw32/include -isystem
/tools/x86_64-w64-mingw32/sys-include    linker
(/home/lfs/build.gcc1/./gcc/collect-ld) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking for exception model to use... call frame
checking for compiler with PCH support... yes
checking for enabled PCH... yes
checking for thread model used by GCC... single
checking for atomic builtins for bool... yes
checking for atomic builtins for short... yes
checking for atomic builtins for int... yes
checking for atomic builtins for long long... yes
checking for ISO/IEC TR 24733 ... no
checking for __int128... yes
checking for __float128... yes
checking for g++ that supports -ffunction-sections -fdata-sections... yes
checking for underlying I/O to use... stdio
checking for C locale to use... generic
checking for std::allocator base class... new
configure: "C" header strategy set to c_global
checking for enabled long long specializations... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for mbstate_t... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for enabled wchar_t specializations... yes
checking for ISO C99 support in <math.h>... yes
checking tgmath.h usability... yes
checking tgmath.h presence... yes
checking for tgmath.h... yes
checking complex.h usability... yes
checking complex.h presence... yes
checking for complex.h... yes
checking for ISO C99 support in <complex.h>... yes
checking for ISO C99 support in <stdio.h>... yes
checking for ISO C99 support in <stdlib.h>... yes
checking for ISO C99 support in <wchar.h>... yes
checking for fully enabled ISO C99 support... yes
configure: Debug build flags set to -gdwarf-4 -g3 -O0
checking for additional debug build... no
configure: target-libgomp not built
checking for parallel mode support... no
checking for extra compiler flags for building... 
checking for extern template support... yes
checking for custom python install directory... no
checking for -Werror... yes
checking for gets declaration... yes
checking for EOWNERDEAD... no
checking for ENOTRECOVERABLE... no
checking for ENOLINK... no
checking for EPROTO... no
checking for ENODATA... no
checking for ENOSR... no
checking for ENOSTR... no
checking for ETIME... no
checking for EBADMSG... no
checking for ECANCELED... no
checking for EOVERFLOW... no
checking for ENOTSUP... no
checking for EIDRM... no
checking for ETXTBSY... no
checking for ECHILD... yes
checking for ENOSPC... yes
checking for EPERM... yes
checking for ETIMEDOUT... no
checking for EWOULDBLOCK... no
checking for int64_t... yes
checking for int64_t as long... checking for int64_t as long long... yes
checking for LFS support... yes
checking sys/ioctl.h usability... no
checking sys/ioctl.h presence... no
checking for sys/ioctl.h... no
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for poll... no
checking for S_ISREG or S_IFREG... S_ISREG
checking sys/uio.h usability... no
checking sys/uio.h presence... no
checking for sys/uio.h... no
checking for writev... no
checking for complex.h... (cached) yes
checking for ISO C99 support to TR1 in <complex.h>... yes
checking for ISO C99 support to TR1 in <ctype.h>... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking for ISO C99 support to TR1 in <fenv.h>... yes
checking for ISO C99 support to TR1 in <stdint.h>... yes
checking for ISO C99 support to TR1 in <math.h>... yes
checking for ISO C99 support to TR1 in <inttypes.h>... yes
checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking stdalign.h usability... yes
checking stdalign.h presence... yes
checking for stdalign.h... yes
checking for the value of EOF... -1
checking for the value of SEEK_CUR... 1
checking for the value of SEEK_END... 2
checking for gettimeofday... checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for gettimeofday... yes
checking for sleep... no
checking for usleep... no
checking for Sleep... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... no
checking sys/sysinfo.h usability... no
checking sys/sysinfo.h presence... no
checking for sys/sysinfo.h... no
checking for get_nprocs... no
checking for unistd.h... (cached) yes
checking for _SC_NPROCESSORS_ONLN... no
checking for _SC_NPROC_ONLN... no
checking for pthreads_num_processors_np... yes
checking for hw.ncpu sysctl... no
for suitable sys/sdt.h
no
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking fp.h usability... no
checking fp.h presence... no
checking for fp.h... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for inttypes.h... (cached) yes
checking for locale.h... (cached) yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking machine/param.h usability... no
checking machine/param.h presence... no
checking for machine/param.h... no
checking nan.h usability... no
checking nan.h presence... no
checking for nan.h... no
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ipc.h usability... no
checking sys/ipc.h presence... no
checking for sys/ipc.h... no
checking sys/isa_defs.h usability... no
checking sys/isa_defs.h presence... no
checking for sys/isa_defs.h... no
checking sys/machine.h usability... no
checking sys/machine.h presence... no
checking for sys/machine.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... no
checking sys/resource.h presence... no
checking for sys/resource.h... no
checking sys/sem.h usability... no
checking sys/sem.h presence... no
checking for sys/sem.h... no
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for wchar.h... (cached) yes
checking for wctype.h... (cached) yes
checking for ld version... 22151
checking for ld that supports -Wl,--gc-sections... configure: error: Link tests
are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/home/lfs/build.gcc1'
make: *** [all] Error 2


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (21 preceding siblings ...)
  2013-09-13 16:08 ` whitequill at abstractions dot me
@ 2013-09-13 17:28 ` ktietz at gcc dot gnu.org
  2013-09-13 17:30 ` ktietz at gcc dot gnu.org
  23 siblings, 0 replies; 25+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-09-13 17:28 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

--- Comment #22 from Kai Tietz <ktietz at gcc dot gnu.org> ---
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
    wrong assumption that it is never called on prexisting
    symbol.


Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-decl.c


^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option
  2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
                   ` (22 preceding siblings ...)
  2013-09-13 17:28 ` ktietz at gcc dot gnu.org
@ 2013-09-13 17:30 ` ktietz at gcc dot gnu.org
  23 siblings, 0 replies; 25+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-09-13 17:30 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #23 from Kai Tietz <ktietz at gcc dot gnu.org> ---
So issue concerning this bug is fixed.  I close this bug.


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2013-09-13 17:30 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-08  3:31 [Bug c/57848] New: internal compiler error on build with mingw-w64 dongsheng.song at gmail dot com
2013-07-08  3:35 ` [Bug target/57848] " pinskia at gcc dot gnu.org
2013-07-08  4:33 ` dongsheng.song at gmail dot com
2013-07-08 10:45 ` mikpe at it dot uu.se
2013-07-08 11:01 ` mikpe at it dot uu.se
2013-07-08 18:48 ` mikpe at it dot uu.se
2013-07-09 11:12 ` ktietz at gcc dot gnu.org
2013-07-10  4:49 ` [Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option dongsheng.song at gmail dot com
2013-08-18  1:26 ` edward.c.wang at compdigitec dot com
2013-08-31 15:41 ` jacek at codeweavers dot com
2013-09-01 20:31 ` ktietz at gcc dot gnu.org
2013-09-03  3:01 ` dongsheng.song at gmail dot com
2013-09-10 10:24 ` ktietz at gcc dot gnu.org
2013-09-11 11:00 ` ktietz at gcc dot gnu.org
2013-09-11 12:28 ` jacek at codeweavers dot com
2013-09-12  9:26 ` dongsheng.song at gmail dot com
2013-09-12  9:27 ` dongsheng.song at gmail dot com
2013-09-12  9:33 ` dongsheng.song at gmail dot com
2013-09-12  9:34 ` jacek at codeweavers dot com
2013-09-12  9:35 ` dongsheng.song at gmail dot com
2013-09-12  9:35 ` jacek at codeweavers dot com
2013-09-12  9:40 ` ktietz at gcc dot gnu.org
2013-09-13 16:08 ` whitequill at abstractions dot me
2013-09-13 17:28 ` ktietz at gcc dot gnu.org
2013-09-13 17:30 ` ktietz 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).