public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/55014] New: ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32
@ 2012-10-22 1:07 coolypf at qq dot com
2012-10-22 1:09 ` [Bug target/55014] " coolypf at qq dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: coolypf at qq dot com @ 2012-10-22 1:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55014
Bug #: 55014
Summary: ICE: Segmentation fault while compiling complex_io.cc
on x86_64-w64-mingw32
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: coolypf@qq.com
Revision: 192664
Host & Target: x86_64-w64-mingw32
/bin/sh ../../libtool --tag CXX --tag disable-shared --mode=compile
/build/./gcc/xgcc -shared-libgcc -B/build/./gcc -nostdinc++
-L/build/x86_64-w64-mingw32/32/libstdc++-v3/src
-L/build/x86_64-w64-mingw32/32/libstdc++-v3/src/.libs
-L/gcc/x86_64-w64-mingw32/lib -L/gcc/mingw/lib -isystem
/gcc/x86_64-w64-mingw32/include -isystem /gcc/mingw/include
-B/gcc/x86_64-w64-mingw32/bin/ -B/gcc/x86_64-w64-mingw32/lib/ -isystem
/gcc/x86_64-w64-mingw32/include -isystem /gcc/x86_64-w64-mingw32/sys-include
-m32 -I/gcc-svn/libstdc++-v3/../libgcc
-I/build/x86_64-w64-mingw32/32/libstdc++-v3/include/x86_64-w64-mingw32
-I/build/x86_64-w64-mingw32/32/libstdc++-v3/include
-I/gcc-svn/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra
-Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -frandom-seed=complex_io.lo -g -O2 -m32
-c -o complex_io.lo
../../../../../../gcc-svn/libstdc++-v3/src/c++98/complex_io.cc
libtool: compile: /build/./gcc/xgcc -shared-libgcc -B/build/./gcc -nostdinc++
-L/build/x86_64-w64-mingw32/32/libstdc++-v3/src
-L/build/x86_64-w64-mingw32/32/libstdc++-v3/src/.libs
-L/gcc/x86_64-w64-mingw32/lib -L/gcc/mingw/lib -isystem
/gcc/x86_64-w64-mingw32/include -isystem /gcc/mingw/include
-B/gcc/x86_64-w64-mingw32/bin/ -B/gcc/x86_64-w64-mingw32/lib/ -isystem
/gcc/x86_64-w64-mingw32/include -isystem /gcc/x86_64-w64-mingw32/sys-include
-m32 -I/gcc-svn/libstdc++-v3/../libgcc
-I/build/x86_64-w64-mingw32/32/libstdc++-v3/include/x86_64-w64-mingw32
-I/build/x86_64-w64-mingw32/32/libstdc++-v3/include
-I/gcc-svn/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra
-Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -frandom-seed=complex_io.lo -g -O2 -m32 -c
../../../../../../gcc-svn/libstdc++-v3/src/c++98/complex_io.cc -o complex_io.o
In file included from
../../../../../../gcc-svn/libstdc++-v3/src/c++98/complex_io.cc:25:0:
D:/MinGW/build/x86_64-w64-mingw32/32/libstdc++-v3/include/complex: In function
'std::basic_ostream<_CharT, _Traits>&
std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::complex<_Tp>&)
[with _Tp = float; _CharT = char; _Traits = std::char_traits<char>]':
D:/MinGW/build/x86_64-w64-mingw32/32/libstdc++-v3/include/complex:529:5:
internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[7]: *** [complex_io.lo] Error 1
make[7]: Leaving directory
`/build/x86_64-w64-mingw32/32/libstdc++-v3/src/c++98'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/build/x86_64-w64-mingw32/32/libstdc++-v3/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/build/x86_64-w64-mingw32/32/libstdc++-v3'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/build/x86_64-w64-mingw32/32/libstdc++-v3'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/build/x86_64-w64-mingw32/libstdc++-v3'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory `/build/x86_64-w64-mingw32/libstdc++-v3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/x86_64-w64-mingw32/libstdc++-v3'
make: *** [all] Error 2
Reduced command line for prepocessed source:
/build/gcc/xgcc -B/build/gcc -O2 -m32 -c complex_io.cpp
Compiling at -O1 or -O2 triggers ICE.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/55014] ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32
2012-10-22 1:07 [Bug target/55014] New: ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32 coolypf at qq dot com
@ 2012-10-22 1:09 ` coolypf at qq dot com
2012-10-24 13:05 ` squallatf at gmail dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: coolypf at qq dot com @ 2012-10-22 1:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55014
--- Comment #1 from coolypf <coolypf at qq dot com> 2012-10-22 01:09:01 UTC ---
Created attachment 28501
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28501
preprocessed source
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/55014] ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32
2012-10-22 1:07 [Bug target/55014] New: ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32 coolypf at qq dot com
2012-10-22 1:09 ` [Bug target/55014] " coolypf at qq dot com
@ 2012-10-24 13:05 ` squallatf at gmail dot com
2012-10-24 14:03 ` mikpe at it dot uu.se
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: squallatf at gmail dot com @ 2012-10-24 13:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55014
SquallATF <squallatf at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |squallatf at gmail dot com
--- Comment #2 from SquallATF <squallatf at gmail dot com> 2012-10-24 13:04:48 UTC ---
I get the same ICE when compiling i686-w64-mingw32 rev 192488 and beyond
this gdb info
Analyzing compilation unit
Performing interprocedural optimizations
<*free_lang_data> <visibility> <early_local_cleanups> {GC 10079k -> 7915k}
<*free_inline_summary> <emutls> <whole-program> <profile_estimate> <cp>
<inline> <pure-const> <static-var>Assembling functions:
virtual std::basic_stringbuf<wchar_t>::~basic_stringbuf() virtual
std::basic_stringbuf<char>::~basic_stringbuf() std::basic_istream<_CharT,
_Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&,
std::complex<_Tp>&) [with _Tp = float; _CharT = char; _Traits =
std::char_traits<char>] std::basic_ostream<_CharT, _Traits>&
std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::complex<_Tp>&)
[with _Tp = float; _CharT = char; _Traits = std::char_traits<char>]
Program received signal SIGSEGV, Segmentation fault.
0x00a2afc5 in emit_case_dispatch_table(tree_node*, tree_node*, case_node*,
rtx_def*, tree_node*, tree_node*, tree_node*, basic_block_def*) ()
at ../../gcc/stmt.c:1919
1919 edge default_edge = EDGE_SUCC(stmt_bb, 0);
(gdb) warning: (Internal error: pc 0xa2afc5 in read in psymtab, but not in
symtab.)
warning: (Internal error: pc 0xa2afc5 in read in psymtab, but not in symtab.)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/55014] ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32
2012-10-22 1:07 [Bug target/55014] New: ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32 coolypf at qq dot com
2012-10-22 1:09 ` [Bug target/55014] " coolypf at qq dot com
2012-10-24 13:05 ` squallatf at gmail dot com
@ 2012-10-24 14:03 ` mikpe at it dot uu.se
2012-10-24 14:06 ` squallatf at gmail dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mikpe at it dot uu.se @ 2012-10-24 14:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55014
Mikael Pettersson <mikpe at it dot uu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpe at it dot uu.se
--- Comment #3 from Mikael Pettersson <mikpe at it dot uu.se> 2012-10-24 14:03:02 UTC ---
I got the same ICE while trying to bootstrap gcc-4.8-20121021 for
x86_64-w64-mingw32. gcc-4.8-20121014 bootstrapped Ok so this is a recent
regression.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/55014] ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32
2012-10-22 1:07 [Bug target/55014] New: ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32 coolypf at qq dot com
` (2 preceding siblings ...)
2012-10-24 14:03 ` mikpe at it dot uu.se
@ 2012-10-24 14:06 ` squallatf at gmail dot com
2012-10-27 15:09 ` mikpe at it dot uu.se
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: squallatf at gmail dot com @ 2012-10-24 14:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55014
--- Comment #4 from SquallATF <squallatf at gmail dot com> 2012-10-24 14:06:29 UTC ---
may be this bus same as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54957
there have a path in that post can solve this bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/55014] ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32
2012-10-22 1:07 [Bug target/55014] New: ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32 coolypf at qq dot com
` (3 preceding siblings ...)
2012-10-24 14:06 ` squallatf at gmail dot com
@ 2012-10-27 15:09 ` mikpe at it dot uu.se
2012-11-11 7:56 ` mikpe at it dot uu.se
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mikpe at it dot uu.se @ 2012-10-27 15:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55014
--- Comment #5 from Mikael Pettersson <mikpe at it dot uu.se> 2012-10-27 15:09:20 UTC ---
(In reply to comment #4)
> may be this bus same as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54957
> there have a path in that post can solve this bug.
Indeed it does. Thanks.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/55014] ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32
2012-10-22 1:07 [Bug target/55014] New: ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32 coolypf at qq dot com
` (4 preceding siblings ...)
2012-10-27 15:09 ` mikpe at it dot uu.se
@ 2012-11-11 7:56 ` mikpe at it dot uu.se
2012-11-22 18:51 ` [Bug c++/55014] " ktietz at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mikpe at it dot uu.se @ 2012-11-11 7:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55014
Mikael Pettersson <mikpe at it dot uu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|mikpe at it dot uu.se |
--- Comment #6 from Mikael Pettersson <mikpe at it dot uu.se> 2012-11-11 07:55:49 UTC ---
Fixed by r193052, aka PR54957. However, testing is now made more difficult due
to r193032, aka PR52015 -- apparently one now needs bleeding edge mingw-w64
headers to build gcc-4.8 for x86_64-w64-mingw32.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/55014] ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32
2012-10-22 1:07 [Bug target/55014] New: ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32 coolypf at qq dot com
` (5 preceding siblings ...)
2012-11-11 7:56 ` mikpe at it dot uu.se
@ 2012-11-22 18:51 ` ktietz at gcc dot gnu.org
2012-11-22 18:53 ` ktietz at gcc dot gnu.org
2012-12-10 11:28 ` [Bug target/55014] " ktietz at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2012-11-22 18:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55014
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-11-22
CC| |ktietz at gcc dot gnu.org
Component|target |c++
Ever Confirmed|0 |1
Known to fail| |4.4.0, 4.5.0, 4.6.0, 4.7.0
--- Comment #7 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-11-22 18:51:35 UTC ---
it is actual not a target issue. it is more a general c++ issue as
calling-convention (call-abi attributes) aren't part of signature.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/55014] ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32
2012-10-22 1:07 [Bug target/55014] New: ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32 coolypf at qq dot com
` (6 preceding siblings ...)
2012-11-22 18:51 ` [Bug c++/55014] " ktietz at gcc dot gnu.org
@ 2012-11-22 18:53 ` ktietz at gcc dot gnu.org
2012-12-10 11:28 ` [Bug target/55014] " ktietz at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2012-11-22 18:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55014
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |UNCONFIRMED
Ever Confirmed|1 |0
Known to fail|4.4.0, 4.5.0, 4.6.0, 4.7.0 |
--- Comment #8 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-11-22 18:53:30 UTC ---
Ups, wrong bug. please ignore last comment here
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/55014] ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32
2012-10-22 1:07 [Bug target/55014] New: ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32 coolypf at qq dot com
` (7 preceding siblings ...)
2012-11-22 18:53 ` ktietz at gcc dot gnu.org
@ 2012-12-10 11:28 ` ktietz at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2012-12-10 11:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55014
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WORKSFORME
--- Comment #9 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-12-10 11:28:43 UTC ---
Re-tested this testcase. Seems to be fixed with current trunk. With older
revision it failed as described.
I close this as worksforme.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2012-12-10 11:28 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-22 1:07 [Bug target/55014] New: ICE: Segmentation fault while compiling complex_io.cc on x86_64-w64-mingw32 coolypf at qq dot com
2012-10-22 1:09 ` [Bug target/55014] " coolypf at qq dot com
2012-10-24 13:05 ` squallatf at gmail dot com
2012-10-24 14:03 ` mikpe at it dot uu.se
2012-10-24 14:06 ` squallatf at gmail dot com
2012-10-27 15:09 ` mikpe at it dot uu.se
2012-11-11 7:56 ` mikpe at it dot uu.se
2012-11-22 18:51 ` [Bug c++/55014] " ktietz at gcc dot gnu.org
2012-11-22 18:53 ` ktietz at gcc dot gnu.org
2012-12-10 11:28 ` [Bug target/55014] " 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).