public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error
@ 2004-09-16 20:54 wanderer at rsu dot ru
2004-09-16 21:07 ` [Bug bootstrap/17526] " wanderer at rsu dot ru
` (35 more replies)
0 siblings, 36 replies; 37+ messages in thread
From: wanderer at rsu dot ru @ 2004-09-16 20:54 UTC (permalink / raw)
To: gcc-bugs
Current mainline CVS GCC version bootsrap terminated with error:
---8X----------------------------------------------
/bin/sh ../libtool --tag CXX --
mode=compile /usr/home/wanderer/pkg/build/gcc/obj/gcc/xgcc -shared-libgcc -
B/usr/home/wanderer/pkg/build/gcc/obj/gcc/ -nostdinc++ -
L/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-freebsd5.1/libstdc++-
v3/src -L/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-
freebsd5.1/libstdc++-v3/src/.libs -B/home/wanderer/pkg/gcc/i386-unknown-
freebsd5.1/bin/ -B/home/wanderer/pkg/gcc/i386-unknown-freebsd5.1/lib/ -
isystem /home/wanderer/pkg/gcc/i386-unknown-freebsd5.1/include -
isystem /home/wanderer/pkg/gcc/i386-unknown-freebsd5.1/sys-include -
I/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-freebsd5.1/libstdc++-
v3/include/i386-unknown-freebsd5.1 -I/usr/home/wanderer/pkg/build/gcc/obj/i386-
unknown-freebsd5.1/libstdc++-v3/include -
I/home/wanderer/pkg/build/gcc/src/gcc/gcc/libstdc++-v3/libsupc++ -O2 -g -O2 -
g -O2 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -
fdiagnostics-show-location=once -ffunction-sections -fdata-sections -c -o
locale_facets.lo /home/wanderer/pkg/build/gcc/src/gcc/gcc/libstdc++-
v3/src/locale_facets.cc
/usr/home/wanderer/pkg/build/gcc/obj/gcc/xgcc -shared-libgcc -
B/usr/home/wanderer/pkg/build/gcc/obj/gcc/ -nostdinc++ -
L/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-freebsd5.1/libstdc++-
v3/src -L/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-
freebsd5.1/libstdc++-v3/src/.libs -B/home/wanderer/pkg/gcc/i386-unknown-
freebsd5.1/bin/ -B/home/wanderer/pkg/gcc/i386-unknown-freebsd5.1/lib/ -
isystem /home/wanderer/pkg/gcc/i386-unknown-freebsd5.1/include -
isystem /home/wanderer/pkg/gcc/i386-unknown-freebsd5.1/sys-include -
I/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-freebsd5.1/libstdc++-
v3/include/i386-unknown-freebsd5.1 -I/usr/home/wanderer/pkg/build/gcc/obj/i386-
unknown-freebsd5.1/libstdc++-v3/include -
I/home/wanderer/pkg/build/gcc/src/gcc/gcc/libstdc++-v3/libsupc++ -O2 -g -O2 -
g -O2 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -
fdiagnostics-show-location=once -ffunction-sections -fdata-sections -
c /home/wanderer/pkg/build/gcc/src/gcc/gcc/libstdc++-v3/src/locale_facets.cc -
fPIC -DPIC -o .libs/locale_facets.o
/home/wanderer/pkg/build/gcc/src/gcc/gcc/libstdc++-v3/src/locale_facets.cc:47:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[4]: *** [locale_facets.lo] Error 1
gmake[4]: Leaving directory `/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-
freebsd5.1/libstdc++-v3/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-
freebsd5.1/libstdc++-v3'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-
freebsd5.1/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/usr/home/wanderer/pkg/build/gcc/obj'
gmake: *** [bootstrap] Error 2
---X8--------------------------
Version gcc version 4.0.0 20040914 (experimental) bootstrap succesfully.
--
Summary: locale_facets.cc:47: internal compiler error
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wanderer at rsu dot ru
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i386-unknown-freebsd5.1
GCC host triplet: i386-unknown-freebsd5.1
GCC target triplet: i386-unknown-freebsd5.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug bootstrap/17526] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
@ 2004-09-16 21:07 ` wanderer at rsu dot ru
2004-09-16 21:44 ` [Bug bootstrap/17526] [4.0 Regression] " pinskia at gcc dot gnu dot org
` (34 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: wanderer at rsu dot ru @ 2004-09-16 21:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From wanderer at rsu dot ru 2004-09-16 21:07 -------
Created an attachment (id=7155)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7155&action=view)
compressed .ii file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug bootstrap/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
2004-09-16 21:07 ` [Bug bootstrap/17526] " wanderer at rsu dot ru
@ 2004-09-16 21:44 ` pinskia at gcc dot gnu dot org
2004-09-17 8:53 ` [Bug c++/17526] " pinskia at gcc dot gnu dot org
` (33 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-16 21:44 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Keywords| |build, ice-on-valid-code
Summary|locale_facets.cc:47: |[4.0 Regression]
|internal compiler error |locale_facets.cc:47:
| |internal compiler error
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug c++/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
2004-09-16 21:07 ` [Bug bootstrap/17526] " wanderer at rsu dot ru
2004-09-16 21:44 ` [Bug bootstrap/17526] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-09-17 8:53 ` pinskia at gcc dot gnu dot org
2004-09-18 21:57 ` bangerth at dealii dot org
` (32 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-17 8:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-17 08:53 -------
#1 0x005c0e14 in cpp_interpret_string () at /home/gates/pinskia/src/gnu/gcc/src/libcpp/charset.c:
1163
#2 0x0015fe77 in lex_string () at /home/gates/pinskia/src/gnu/gcc/src/gcc/c-lex.c:731
#3 0x001606dd in c_lex_with_flags () at /home/gates/pinskia/src/gnu/gcc/src/gcc/c-lex.c:431
#4 0x000adef1 in cp_lexer_get_preprocessor_token () at /home/gates/pinskia/src/gnu/gcc/src/gcc/
cp/parser.c:628
#5 0x000adff1 in cp_lexer_read_token () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:
509
#6 0x000ae52a in cp_lexer_peek_token () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:
715
#7 0x000b29a6 in cp_lexer_next_token_is_not () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:698
#8 0x000b3629 in cp_parser_initializer_clause () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:12106
#9 0x000bf395 in cp_parser_init_declarator () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:12049
#10 0x000bfe86 in cp_parser_single_declaration () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:15042
#11 0x000bffd3 in cp_parser_explicit_specialization () at /home/gates/pinskia/src/gnu/gcc/src/gcc/
cp/parser.c:9204
Confirmed but not reduded yet (but I don't have a gdb to debug this).
--
What |Removed |Added
----------------------------------------------------------------------------
Component|bootstrap |c++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug c++/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (2 preceding siblings ...)
2004-09-17 8:53 ` [Bug c++/17526] " pinskia at gcc dot gnu dot org
@ 2004-09-18 21:57 ` bangerth at dealii dot org
2004-09-19 5:30 ` pinskia at gcc dot gnu dot org
` (31 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: bangerth at dealii dot org @ 2004-09-18 21:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-09-18 21:57 -------
I can't reproduce this with mainline on linux x86 from 20040917. What flags
did
you use?
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug c++/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (3 preceding siblings ...)
2004-09-18 21:57 ` bangerth at dealii dot org
@ 2004-09-19 5:30 ` pinskia at gcc dot gnu dot org
2004-09-23 9:13 ` wanderer at rsu dot ru
` (30 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-19 5:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-19 05:30 -------
This was on x86-openbsd which is close to freebsd as I can get.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug c++/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (4 preceding siblings ...)
2004-09-19 5:30 ` pinskia at gcc dot gnu dot org
@ 2004-09-23 9:13 ` wanderer at rsu dot ru
2004-09-23 9:14 ` wanderer at rsu dot ru
` (29 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: wanderer at rsu dot ru @ 2004-09-23 9:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From wanderer at rsu dot ru 2004-09-23 09:13 -------
I extract from locale_facets.cc small tescase:
--8X----------------
const wchar_t*
_S_timezones[14] =
{
L"GMT", L"HST", L"AKST", L"PST", L"MST", L"CST", L"EST", L"AST",
L"NST", L"CET", L"IST", L"EET", L"CST", L"JST"
};
--X8----------------
Note: This simplifed code guarded in original source code by
#ifdef _GLIBCXX_USE_WCHAR_T check
xgcc ICE at it with command line
/usr/home/wanderer/pkg/build/gcc/obj/gcc/xgcc -
B/usr/home/wanderer/pkg/build/gcc/obj/gcc/ -c test.cc
Error:
test.cc:4: internal compiler error: Segmentation fault
Please submit a full bug report,
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug c++/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (5 preceding siblings ...)
2004-09-23 9:13 ` wanderer at rsu dot ru
@ 2004-09-23 9:14 ` wanderer at rsu dot ru
2004-09-23 9:26 ` wanderer at rsu dot ru
` (28 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: wanderer at rsu dot ru @ 2004-09-23 9:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From wanderer at rsu dot ru 2004-09-23 09:14 -------
Created an attachment (id=7200)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7200&action=view)
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug c++/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (6 preceding siblings ...)
2004-09-23 9:14 ` wanderer at rsu dot ru
@ 2004-09-23 9:26 ` wanderer at rsu dot ru
2004-09-23 11:52 ` pinskia at gcc dot gnu dot org
` (27 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: wanderer at rsu dot ru @ 2004-09-23 9:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From wanderer at rsu dot ru 2004-09-23 09:26 -------
Also /usr/home/wanderer/pkg/build/gcc/obj/gcc/stage1/xgcc
and /usr/home/wanderer/pkg/build/gcc/obj/gcc/stage2/xgcc
with smae options ICE with same output.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug c++/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (7 preceding siblings ...)
2004-09-23 9:26 ` wanderer at rsu dot ru
@ 2004-09-23 11:52 ` pinskia at gcc dot gnu dot org
2004-09-23 13:18 ` [Bug preprocessor/17526] " pinskia at gcc dot gnu dot org
` (26 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-23 11:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-23 11:52 -------
Confirmed, I had saw the wide testcases in the testsuite seg faulting and I wondered why.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-09-23 11:52:51
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug preprocessor/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (8 preceding siblings ...)
2004-09-23 11:52 ` pinskia at gcc dot gnu dot org
@ 2004-09-23 13:18 ` pinskia at gcc dot gnu dot org
2004-09-23 13:19 ` pinskia at gcc dot gnu dot org
` (25 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-23 13:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-23 13:17 -------
Here is the full back trace:
#0 0x00000000 in ?? ()
#1 0x007f9400 in cpp_interpret_string () at /home/gates/pinskia/src/gnu/gcc/src/libcpp/charset.c:
1168
#2 0x0011aaca in cp_parser_string_literal () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:2548
#3 0x0011af7b in cp_parser_primary_expression () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:2695
#4 0x0011ce12 in cp_parser_postfix_expression () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:3946
#5 0x0011e22d in cp_parser_unary_expression () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:4722
#6 0x0011ecd4 in cp_parser_cast_expression () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:5215
#7 0x0012e984 in cp_parser_simple_cast_expression () at /home/gates/pinskia/src/gnu/gcc/src/gcc/
cp/parser.c:14852
#8 0x0011ed1e in cp_parser_binary_expression () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:5305
#9 0x0011efe4 in cp_parser_assignment_expression () at /home/gates/pinskia/src/gnu/gcc/src/gcc/
cp/parser.c:5453
#10 0x0011f2de in cp_parser_constant_expression () at /home/gates/pinskia/src/gnu/gcc/src/gcc/
cp/parser.c:5677
#11 0x00128b5b in cp_parser_initializer_clause () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:11955
#12 0x00128d42 in cp_parser_initializer_list () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:12034
#13 0x00128c64 in cp_parser_initializer_clause () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:11972
#14 0x00128ab6 in cp_parser_initializer () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:
11912
#15 0x00126177 in cp_parser_init_declarator () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:10576
#16 0x00120e39 in cp_parser_simple_declaration () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:6912
#17 0x00120ce9 in cp_parser_block_declaration () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:6822
#18 0x00120b67 in cp_parser_declaration () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:
6739
#19 0x001208b6 in cp_parser_declaration_seq_opt () at /home/gates/pinskia/src/gnu/gcc/src/gcc/
cp/parser.c:6643
#20 0x0011ac5d in cp_parser_translation_unit () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:2600
#21 0x00130674 in c_parse_file () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:15777
#22 0x0022bf3a in c_common_parse_file () at /home/gates/pinskia/src/gnu/gcc/src/gcc/c-opts.c:
1097
#23 0x006c7657 in compile_file () at /home/gates/pinskia/src/gnu/gcc/src/gcc/toplev.c:991
#24 0x006c99d7 in do_compile () at /home/gates/pinskia/src/gnu/gcc/src/gcc/toplev.c:2079
#25 0x006c9a39 in toplev_main () at /home/gates/pinskia/src/gnu/gcc/src/gcc/toplev.c:2111
#26 0x00240bb3 in main (argc=2, argv=0xdfbfd8bc) at /home/gates/pinskia/src/gnu/gcc/src/gcc/
main.c:35
Seg faulting here (well after jumping to cvt.func).
1168 if (!APPLY_CONVERSION (cvt, base, p - base, &tbuf))
This is a bug in the preprocessor but I cannot debug it any further as my gdb does not work well at all
on my openbsd box.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |preprocessor
GCC build triplet|i386-unknown-freebsd5.1 |i386-freebsd5.1, i?86-
| |openbsd
GCC host triplet|i386-unknown-freebsd5.1 |i386-freebsd5.1, i?86-
| |openbsd
GCC target triplet|i386-unknown-freebsd5.1 |i386-freebsd5.1, i?86-
| |openbsd
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug preprocessor/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (9 preceding siblings ...)
2004-09-23 13:18 ` [Bug preprocessor/17526] " pinskia at gcc dot gnu dot org
@ 2004-09-23 13:19 ` pinskia at gcc dot gnu dot org
2004-09-23 13:36 ` pinskia at gcc dot gnu dot org
` (24 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-23 13:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-23 13:19 -------
I should note that I used --disable-nls but that should not matter.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug preprocessor/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (10 preceding siblings ...)
2004-09-23 13:19 ` pinskia at gcc dot gnu dot org
@ 2004-09-23 13:36 ` pinskia at gcc dot gnu dot org
2004-09-26 15:38 ` wanderer at rsu dot ru
` (23 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-23 13:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-23 13:36 -------
Hmm, this is host related because a cross compiler will not work.
So what that means is that I cannot debug it at all :(.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|i386-freebsd5.1, i?86- |
|openbsd |
GCC host triplet|i386-freebsd5.1, i?86- |i386-freebsd5.1, i?86-
|openbsd |openbsd3.1
GCC target triplet|i386-freebsd5.1, i?86- |
|openbsd |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug preprocessor/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (11 preceding siblings ...)
2004-09-23 13:36 ` pinskia at gcc dot gnu dot org
@ 2004-09-26 15:38 ` wanderer at rsu dot ru
2004-09-26 15:41 ` pinskia at gcc dot gnu dot org
` (22 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: wanderer at rsu dot ru @ 2004-09-26 15:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From wanderer at rsu dot ru 2004-09-26 15:38 -------
Additinal information:
I can now (and may be early) bootstrap current mainline CVS version GCC
using system FreeBSD compiler (gcc version 3.2.2 [FreeBSD] 20030205 (release)).
Buf AFTER install bootstraped gcc i can't successfully finish gcc bootstrap
from same sources (same error: ICE at locale_facets.cc:47)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug preprocessor/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (12 preceding siblings ...)
2004-09-26 15:38 ` wanderer at rsu dot ru
@ 2004-09-26 15:41 ` pinskia at gcc dot gnu dot org
2004-09-26 17:23 ` [Bug regression/17526] " pinskia at gcc dot gnu dot org
` (21 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-26 15:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-26 15:41 -------
So that is why I cannot reproduce it with a cross compiler is because this is wrong code.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug regression/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (13 preceding siblings ...)
2004-09-26 15:41 ` pinskia at gcc dot gnu dot org
@ 2004-09-26 17:23 ` pinskia at gcc dot gnu dot org
2004-09-26 19:41 ` pinskia at gcc dot gnu dot org
` (20 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-26 17:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-26 17:23 -------
Someone needs to try to reduce this problem, it is a miscompiling in libcpp.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|preprocessor |regression
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug regression/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (14 preceding siblings ...)
2004-09-26 17:23 ` [Bug regression/17526] " pinskia at gcc dot gnu dot org
@ 2004-09-26 19:41 ` pinskia at gcc dot gnu dot org
2004-10-06 16:47 ` wanderer at rsu dot ru
` (19 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-26 19:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-26 19:41 -------
Hmm, must be only on x86 :( because on powerpc-apple-darwin we don't miscompile libcpp. So this
might be even worse than that, we miscompile a part which is used on x86 but not on powerpc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug regression/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (15 preceding siblings ...)
2004-09-26 19:41 ` pinskia at gcc dot gnu dot org
@ 2004-10-06 16:47 ` wanderer at rsu dot ru
2004-10-07 9:38 ` [Bug c++/17526] " wanderer at rsu dot ru
` (18 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: wanderer at rsu dot ru @ 2004-10-06 16:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From wanderer at rsu dot ru 2004-10-06 16:47 -------
I found time window when problem created.
Used step sequence for all tests:
1)bootstrap and install GCC (using system FreeBSD complier)
2)bootstrap GCC (from same sources using installed GCC)
Test for GCC CVS sources at 2004-07-14 18:00 GMT is ok
(second GCC bootstrap finished without problems)
But test for GCC CVS sources at 2004-07-14 18:20 GMT failed with error:
../../../../src/gcc/libstdc++-v3/src/locale_facets.cc:47: internal compiler
error: Segmentation fault
Only single path listed in this time range:
> CVSROOT: /cvs/gcc
> Module name: gcc
> Changes by: jason@gcc.gnu.org 2004-07-14 18:16:50
>
> Modified files:
> gcc : ChangeLog tree-gimple.c tree-gimple.h
> gimplify.c
>
> Log message:
> * tree-gimple.c (is_gimple_reg_rhs, is_gimple_mem_rhs): New fns.
> (rhs_test_for): New fn.
> (is_gimple_tmp_rhs): Rename from is_gimple_rhs.
> * tree-gimple.h: Declare them.
> * gimplify.c (gimplify_modify_expr): Use the new fns.
I attempt but fail check patch reverting affect: source changes block clean
revert.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug c++/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (16 preceding siblings ...)
2004-10-06 16:47 ` wanderer at rsu dot ru
@ 2004-10-07 9:38 ` wanderer at rsu dot ru
2004-10-25 11:41 ` pinskia at gcc dot gnu dot org
` (17 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: wanderer at rsu dot ru @ 2004-10-07 9:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From wanderer at rsu dot ru 2004-10-07 09:38 -------
Base at steps requared for bug reproducing and related CVS changes in
gimplification I think recent changes component in bug report to C++ are wrong.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug c++/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (17 preceding siblings ...)
2004-10-07 9:38 ` [Bug c++/17526] " wanderer at rsu dot ru
@ 2004-10-25 11:41 ` pinskia at gcc dot gnu dot org
2004-10-25 19:48 ` aaronavay62 at aaronwl dot com
` (16 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-25 11:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 11:41 -------
*** Bug 18139 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |aaronavay62 at aaronwl dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug c++/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (18 preceding siblings ...)
2004-10-25 11:41 ` pinskia at gcc dot gnu dot org
@ 2004-10-25 19:48 ` aaronavay62 at aaronwl dot com
2004-10-25 19:55 ` [Bug regression/17526] " pinskia at gcc dot gnu dot org
` (15 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2004-10-25 19:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From aaronavay62 at aaronwl dot com 2004-10-25 19:48 -------
I also don't think this is a C++ bug: its a bug in whatever compiled libcpp,
which probably wasn't a C++ compiler.
Also, does this affect all x86 targets? Does it affect i?86-pc-linux*?
The testcase can be simplified; parsing any wide character literal with the
miscompiled libcpp will cause the ICE, such as simply L'c'.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|i386-freebsd5.1, i?86- |i386-freebsd5.1, i?86-
|openbsd3.1 |openbsd3.1, i?86-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug regression/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (19 preceding siblings ...)
2004-10-25 19:48 ` aaronavay62 at aaronwl dot com
@ 2004-10-25 19:55 ` pinskia at gcc dot gnu dot org
2004-10-25 19:59 ` pinskia at gcc dot gnu dot org
` (14 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-25 19:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 19:55 -------
I also note I can reproduce this when using the C compiler so it definitely has nothing to do with the
C++ compiler.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug regression/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (20 preceding siblings ...)
2004-10-25 19:55 ` [Bug regression/17526] " pinskia at gcc dot gnu dot org
@ 2004-10-25 19:59 ` pinskia at gcc dot gnu dot org
2004-10-26 2:26 ` dannysmith at users dot sourceforge dot net
` (13 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-25 19:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 19:59 -------
I should note that it does not effect i686-pc-linux-gnu for some reason
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug regression/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (21 preceding siblings ...)
2004-10-25 19:59 ` pinskia at gcc dot gnu dot org
@ 2004-10-26 2:26 ` dannysmith at users dot sourceforge dot net
2004-10-26 2:48 ` pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2004-10-26 2:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dannysmith at users dot sourceforge dot net 2004-10-26 02:26 -------
A data point:
Free/OpenBsd and windows targets differ drom i386-linux in defining
#define DEFAULT_PCC_STRUCT_RETURN 0
which affect aggregate_value_p and thus gimplify_return_expr.
Compiling charset.c with -O2 -funit-at-a-time -fpcc-struct-return on mingw
builds a "good" cc1.exe
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug regression/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (22 preceding siblings ...)
2004-10-26 2:26 ` dannysmith at users dot sourceforge dot net
@ 2004-10-26 2:48 ` pinskia at gcc dot gnu dot org
2004-10-26 3:13 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-26 2:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-26 02:48 -------
Thanks Danny for looking into what causes correct code, I will look into it soon (after I build a new
cross compiler from powerpc-darwin).
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug regression/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (23 preceding siblings ...)
2004-10-26 2:48 ` pinskia at gcc dot gnu dot org
@ 2004-10-26 3:13 ` pinskia at gcc dot gnu dot org
2004-10-26 4:23 ` [Bug middle-end/17526] " pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-26 3:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-26 03:13 -------
It looks like init_iconv_desc is miscompiled.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug middle-end/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (24 preceding siblings ...)
2004-10-26 3:13 ` pinskia at gcc dot gnu dot org
@ 2004-10-26 4:23 ` pinskia at gcc dot gnu dot org
2004-10-26 4:35 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-26 4:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-26 04:23 -------
And here is a semi reduced/self-contained source which I came up after debuggin this a little bit:
struct cset_converter { int func; int cd; };
void abort(void); int puts(const char*);
int f(int i){return i;}
void g(void){puts("hi");}
struct conversion
{
int pair;
int func;
int fake_cd;
};
static const struct conversion conversion_tab[] = {
{ 2, 2, 2 },
{ 3, 3, 3 }
};
static struct cset_converter
init_iconv_desc (int i)
{
struct cset_converter ret;
unsigned i1;
char *pair;
if (!i)
{
ret.func = 0;
ret.cd = 0;
return ret;
}
pair = __builtin_alloca(i*3);
for (i1 = 0; i1 < (sizeof (conversion_tab) / sizeof ((conversion_tab)[0])); i1++)
if (i == conversion_tab[i1].pair)
{
ret.func = conversion_tab[i1].func;
ret.cd = conversion_tab[i1].fake_cd;
return ret;
}
ret.func = 2;
ret.cd = f(i);
if (ret.cd == 4)
{
g();
ret.func = 4;
}
return ret;
}
struct f
{
struct cset_converter a;
struct cset_converter b;
};
void ff(struct f *a)
{
a->a = init_iconv_desc(0);
a->b = init_iconv_desc(1);
}
int main(void)
{
struct f a;
ff (&a);
if (a.a.func!=0 || a.a.cd !=0)
abort();
if (a.b.func!=2 || a.b.cd !=1)
abort();
return 0;
}
--
What |Removed |Added
----------------------------------------------------------------------------
Component|regression |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug middle-end/17526] [4.0 Regression] locale_facets.cc:47: internal compiler error
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (25 preceding siblings ...)
2004-10-26 4:23 ` [Bug middle-end/17526] " pinskia at gcc dot gnu dot org
@ 2004-10-26 4:35 ` pinskia at gcc dot gnu dot org
2004-10-26 9:19 ` [Bug middle-end/17526] [4.0 Regression] libcpp is miscompiled with -fno-pcc-struct-return -O2 reichelt at gcc dot gnu dot org
` (8 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-26 4:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-26 04:35 -------
Here is it reduced further, maybe now someone will look into it now (I can reproduce it with -O2 -fno-
pcc-struct-return on i686-pc-linux-gnu):
struct cset_converter { int func; int cd; };
void abort(void);
struct cset_converter
init_iconv_desc (int i)
{
struct cset_converter ret;
unsigned i1;
char *pair;
if (!i)
{
ret.func = 0;
ret.cd = 0;
return ret;
}
ret.func = 2;
ret.cd = 2;
return ret;
}
struct f
{
struct cset_converter a;
struct cset_converter b;
};
void ff(struct f *a)
{
a->a = init_iconv_desc(0);
a->b = init_iconv_desc(1);
}
int main(void)
{
struct f a;
ff (&a);
if (a.a.func!=0 || a.a.cd !=0)
abort();
if (a.b.func!=2 || a.b.cd !=1)
abort();
return 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug middle-end/17526] [4.0 Regression] libcpp is miscompiled with -fno-pcc-struct-return -O2
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (26 preceding siblings ...)
2004-10-26 4:35 ` pinskia at gcc dot gnu dot org
@ 2004-10-26 9:19 ` reichelt at gcc dot gnu dot org
2004-10-26 9:45 ` reichelt at gcc dot gnu dot org
` (7 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-26 9:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-26 09:18 -------
Andrew's example in comment #26 is broken.
ret.cd is set to 2 and therefore we have a.b.cd!=1 which triggers the abort.
Nevertheless, here's a reduced testcase derived from comment #25:
================================
void abort(void);
typedef struct { int i; } A;
A foo(void)
{
A a = { 1 };
int j;
for (j=0; j<2; j++) ;
return a;
}
void bar(A *p)
{
*p = foo();
}
int main(void)
{
A a;
bar(&a);
if (a.i != 1)
abort();
return 0;
}
================================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug middle-end/17526] [4.0 Regression] libcpp is miscompiled with -fno-pcc-struct-return -O2
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (27 preceding siblings ...)
2004-10-26 9:19 ` [Bug middle-end/17526] [4.0 Regression] libcpp is miscompiled with -fno-pcc-struct-return -O2 reichelt at gcc dot gnu dot org
@ 2004-10-26 9:45 ` reichelt at gcc dot gnu dot org
2004-10-26 19:08 ` jason at gcc dot gnu dot org
` (6 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-26 9:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-26 09:45 -------
I can confirm that the bug was introduced with Jason's patch
http://gcc.gnu.org/ml/gcc-cvs/2004-07/msg00788.html
as pointed out in comment #16.
Jason, could you please have a look?
Btw, here's an even shorter testcase:
===============================
void abort(void);
typedef struct { int i; } A;
A foo(void)
{
A a = { 0 };
return a;
}
void bar(A *p)
{
*p = foo();
}
int main(void)
{
A a;
bar(&a);
if (a.i) abort();
return 0;
}
===============================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug middle-end/17526] [4.0 Regression] libcpp is miscompiled with -fno-pcc-struct-return -O2
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (28 preceding siblings ...)
2004-10-26 9:45 ` reichelt at gcc dot gnu dot org
@ 2004-10-26 19:08 ` jason at gcc dot gnu dot org
2004-10-29 21:46 ` jason at gcc dot gnu dot org
` (5 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: jason at gcc dot gnu dot org @ 2004-10-26 19:08 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug middle-end/17526] [4.0 Regression] libcpp is miscompiled with -fno-pcc-struct-return -O2
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (29 preceding siblings ...)
2004-10-26 19:08 ` jason at gcc dot gnu dot org
@ 2004-10-29 21:46 ` jason at gcc dot gnu dot org
2004-10-31 9:17 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: jason at gcc dot gnu dot org @ 2004-10-29 21:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jason at gcc dot gnu dot org 2004-10-29 21:46 -------
The problem seems to be an incorrect tailcall. Before my patch, "*p = foo()"
was turned into "T.1 = foo(); *p = T.1;". After my patch, the gimplifier no
longer introduced a temporary. If A is returned in memory the tailcall pass
then marks the line "*p = foo()" as a tailcall, losing the assignment in the
process.
I think I'll fix this by using a temporary for all non-BLKmode types, but this
also seems like a bug in the tailcall pass.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug middle-end/17526] [4.0 Regression] libcpp is miscompiled with -fno-pcc-struct-return -O2
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (30 preceding siblings ...)
2004-10-29 21:46 ` jason at gcc dot gnu dot org
@ 2004-10-31 9:17 ` cvs-commit at gcc dot gnu dot org
2004-10-31 15:09 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-31 9:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-10-31 09:17 -------
Subject: Bug 17526
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jason@gcc.gnu.org 2004-10-31 09:17:42
Modified files:
gcc : ChangeLog tree-gimple.c
Log message:
PR middle-end/17526
* tree-gimple.c (is_gimple_mem_rhs): Also require a val for
aggregate types that are not BLKmode.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6111&r2=2.6112
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-gimple.c.diff?cvsroot=gcc&r1=2.29&r2=2.30
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug middle-end/17526] [4.0 Regression] libcpp is miscompiled with -fno-pcc-struct-return -O2
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (31 preceding siblings ...)
2004-10-31 9:17 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-31 15:09 ` pinskia at gcc dot gnu dot org
2005-03-03 23:52 ` olh at suse dot de
` (2 subsequent siblings)
35 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-31 15:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-31 15:09 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug middle-end/17526] [4.0 Regression] libcpp is miscompiled with -fno-pcc-struct-return -O2
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (32 preceding siblings ...)
2004-10-31 15:09 ` pinskia at gcc dot gnu dot org
@ 2005-03-03 23:52 ` olh at suse dot de
2005-03-04 10:43 ` wanderer at rsu dot ru
2005-03-04 11:27 ` wanderer at rsu dot ru
35 siblings, 0 replies; 37+ messages in thread
From: olh at suse dot de @ 2005-03-03 23:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From olh at suse dot de 2005-03-03 23:52 -------
can these errors still be reproduced with current gcc 4.0 branch?
the applied patch causes regressions:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20282
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20305
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug middle-end/17526] [4.0 Regression] libcpp is miscompiled with -fno-pcc-struct-return -O2
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (33 preceding siblings ...)
2005-03-03 23:52 ` olh at suse dot de
@ 2005-03-04 10:43 ` wanderer at rsu dot ru
2005-03-04 11:27 ` wanderer at rsu dot ru
35 siblings, 0 replies; 37+ messages in thread
From: wanderer at rsu dot ru @ 2005-03-04 10:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From wanderer at rsu dot ru 2005-03-04 10:43 -------
Current CVS mainline bootstrap fine at self with and without reverting patch
in #30.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Bug middle-end/17526] [4.0 Regression] libcpp is miscompiled with -fno-pcc-struct-return -O2
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
` (34 preceding siblings ...)
2005-03-04 10:43 ` wanderer at rsu dot ru
@ 2005-03-04 11:27 ` wanderer at rsu dot ru
35 siblings, 0 replies; 37+ messages in thread
From: wanderer at rsu dot ru @ 2005-03-04 11:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From wanderer at rsu dot ru 2005-03-04 11:27 -------
Ops... sorry.
I withdraw my prev. note.
Current mainline CVS GCC fail bootstrap with reverted patch in #30
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |olh at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17526
^ permalink raw reply [flat|nested] 37+ messages in thread
end of thread, other threads:[~2005-03-04 11:27 UTC | newest]
Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-16 20:54 [Bug bootstrap/17526] New: locale_facets.cc:47: internal compiler error wanderer at rsu dot ru
2004-09-16 21:07 ` [Bug bootstrap/17526] " wanderer at rsu dot ru
2004-09-16 21:44 ` [Bug bootstrap/17526] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-09-17 8:53 ` [Bug c++/17526] " pinskia at gcc dot gnu dot org
2004-09-18 21:57 ` bangerth at dealii dot org
2004-09-19 5:30 ` pinskia at gcc dot gnu dot org
2004-09-23 9:13 ` wanderer at rsu dot ru
2004-09-23 9:14 ` wanderer at rsu dot ru
2004-09-23 9:26 ` wanderer at rsu dot ru
2004-09-23 11:52 ` pinskia at gcc dot gnu dot org
2004-09-23 13:18 ` [Bug preprocessor/17526] " pinskia at gcc dot gnu dot org
2004-09-23 13:19 ` pinskia at gcc dot gnu dot org
2004-09-23 13:36 ` pinskia at gcc dot gnu dot org
2004-09-26 15:38 ` wanderer at rsu dot ru
2004-09-26 15:41 ` pinskia at gcc dot gnu dot org
2004-09-26 17:23 ` [Bug regression/17526] " pinskia at gcc dot gnu dot org
2004-09-26 19:41 ` pinskia at gcc dot gnu dot org
2004-10-06 16:47 ` wanderer at rsu dot ru
2004-10-07 9:38 ` [Bug c++/17526] " wanderer at rsu dot ru
2004-10-25 11:41 ` pinskia at gcc dot gnu dot org
2004-10-25 19:48 ` aaronavay62 at aaronwl dot com
2004-10-25 19:55 ` [Bug regression/17526] " pinskia at gcc dot gnu dot org
2004-10-25 19:59 ` pinskia at gcc dot gnu dot org
2004-10-26 2:26 ` dannysmith at users dot sourceforge dot net
2004-10-26 2:48 ` pinskia at gcc dot gnu dot org
2004-10-26 3:13 ` pinskia at gcc dot gnu dot org
2004-10-26 4:23 ` [Bug middle-end/17526] " pinskia at gcc dot gnu dot org
2004-10-26 4:35 ` pinskia at gcc dot gnu dot org
2004-10-26 9:19 ` [Bug middle-end/17526] [4.0 Regression] libcpp is miscompiled with -fno-pcc-struct-return -O2 reichelt at gcc dot gnu dot org
2004-10-26 9:45 ` reichelt at gcc dot gnu dot org
2004-10-26 19:08 ` jason at gcc dot gnu dot org
2004-10-29 21:46 ` jason at gcc dot gnu dot org
2004-10-31 9:17 ` cvs-commit at gcc dot gnu dot org
2004-10-31 15:09 ` pinskia at gcc dot gnu dot org
2005-03-03 23:52 ` olh at suse dot de
2005-03-04 10:43 ` wanderer at rsu dot ru
2005-03-04 11:27 ` wanderer at rsu dot ru
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).