public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile
@ 2009-09-07 4:00 ami_stuff at o2 dot pl
2009-09-07 4:01 ` [Bug c++/41290] " ami_stuff at o2 dot pl
` (19 more replies)
0 siblings, 20 replies; 21+ messages in thread
From: ami_stuff at o2 dot pl @ 2009-09-07 4:00 UTC (permalink / raw)
To: gcc-bugs
Hi,
I found problematic file in libdirac package which don't want to compile with
GCC 4.5.0 (20090827), but compiles fine with GCC 4.4.2 (20090825).
The problematic file is "libdirac_common/common.cpp". I include preprocessed
file.
$ make_68k_v45
Making all in libdirac_byteio
make[1]: Entering directory `/bin/libdirac4/libdirac_byteio'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/bin/libdirac4/libdirac_byteio'
Making all in libdirac_common
make[1]: Entering directory `/bin/libdirac4/libdirac_common'
source='common.cpp' object='libdirac_common_la-common.lo' libtool=yes \
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --tag=CXX --mode=compile
/usr/local/amiga/bin/m68k-
amigaos-g++ -V 4.5.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSIO
N=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
-DHAVE_SY
S_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMOR
Y_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1
-DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1
-DSIZ
EOF_CHAR=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DSIZEOF_VOIDP=4 -I.
-I.. -I. -I.. -s -m68060 -fomit-frame-pointer -O2 -finline-functions -c -o
li
bdirac_common_la-common.lo `test -f 'common.cpp' || echo './'`common.cpp
libtool: compile: /usr/local/amiga/bin/m68k-amigaos-g++ -V 4.5.0
-DPACKAGE_NAME
=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACK
AGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DH
AVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INT
TYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\"
-DSTDC_HEAD
ERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DSIZEOF_CHAR=1 -DSIZEOF_SHORT=2
-DSIZEO
F_INT=4 -DSIZEOF_LONG=4 -DSIZEOF_VOIDP=4 -I. -I.. -I. -I.. -s -m68060
-fomit-fra
me-pointer -O2 -finline-functions -c common.cpp
-Wp,-MD,.deps/libdirac_common_la
-common.TPlo -o .libs/libdirac_common_la-common.o
common.cpp:1143:1: error: edge points to wrong declaration:
<function_decl 0x7f29ef00
_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc.clone.4
type <method_type 0x7f43ad40
type <integer_type 0x7fba79a0 char_type sizes-gimplified public
string-f
lag type_6 QI
size <integer_cst 0x7fef03a0 constant 8>
unit size <integer_cst 0x7fef03c0 constant 1>
align 8 symtab 0 alias set -1 canonical type 0x7ff901c0 precision 8
min <integer_cst 0x7fef0360 -128> max <integer_cst 0x7fef0440 127>>
HI
size <integer_cst 0x7fef04a0 constant 16>
unit size <integer_cst 0x7fef04c0 constant 2>
align 16 symtab 0 alias set -1 canonical type 0x7fba93e0 method
basetype
<record_type 0x7ff9a170 basic_ios>
arg-types <tree_list 0x7f0f1740 value <pointer_type 0x7fba83b0>
chain <tree_list 0x7fef0ae0 value <void_type 0x7ff91650 void>>>
pointer_to_this <pointer_type 0x7f432d80>>
addressable used static in_system_header autoinline no-static-chain decl_1
d
ecl_5 QI defer-output file
/usr/local/amiga/lib/gcc/m68k-amigaos/4.5.0/../../../
../m68k-amigaos/include/c++/4.5.0/bits/basic_ios.h line 443 col 7 align 16
conte
xt <record_type 0x7ff9a170 basic_ios> initial <block 0x7f2552b0>
abstract_origin
<function_decl 0x7fd2d900 widen>
arguments <parm_decl 0x7fca67d0 this
type <pointer_type 0x7fba8490 type <record_type 0x7fba8340 basic_ios>
readonly unsigned SI
size <integer_cst 0x7fef0560 constant 32>
unit size <integer_cst 0x7fef0300 constant 4>
align 16 symtab 0 alias set -1 canonical type 0x7fba8490>
readonly used unsigned SI file
/usr/local/amiga/lib/gcc/m68k-amigaos/4.5
.0/../../../../m68k-amigaos/include/c++/4.5.0/bits/basic_ios.h line 443 col 23
s
ize <integer_cst 0x7fef0560 32> unit size <integer_cst 0x7fef0300 4>
align 16 context <function_decl 0x7f29ef00
_ZNKSt9basic_iosIcSt11char_tr
aitsIcEE5widenEc.clone.4> abstract_origin <parm_decl 0x7fb944c0 this> arg-type
<
pointer_type 0x7fba8490>>
result <result_decl 0x7fca68d8 D.32917 type <integer_type 0x7fba79a0
char_ty
pe>
used ignored QI file
/usr/local/amiga/lib/gcc/m68k-amigaos/4.5.0/../../.
./../m68k-amigaos/include/c++/4.5.0/bits/basic_ios.h line 443 col 7 size
<intege
r_cst 0x7fef03a0 8> unit size <integer_cst 0x7fef03c0 1>
align 8 context <function_decl 0x7f29ef00
_ZNKSt9basic_iosIcSt11char_tra
itsIcEE5widenEc.clone.4> abstract_origin <result_decl 0x7f1dce40 D.26887>>
full-name "char_type std::basic_ios<_CharT, _Traits>::widen(char) const
[wit
h _CharT = char, _Traits = std::char_traits<char>, char_type = char]"
pending-inline-info 0x7f1eade8 template-info 0x7fbb9580
saved-insns 0x7fca6250>
Instead of: <function_decl 0x7fd2d900 widen
type <method_type 0x7fba9370
type <integer_type 0x7fba79a0 char_type sizes-gimplified public
string-f
lag type_6 QI
size <integer_cst 0x7fef03a0 constant 8>
unit size <integer_cst 0x7fef03c0 constant 1>
align 8 symtab 0 alias set -1 canonical type 0x7ff901c0 precision 8
min <integer_cst 0x7fef0360 -128> max <integer_cst 0x7fef0440 127>>
HI
size <integer_cst 0x7fef04a0 constant 16>
unit size <integer_cst 0x7fef04c0 constant 2>
align 16 symtab 0 alias set -1 canonical type 0x7fba93e0 method
basetype
<record_type 0x7ff9a170 basic_ios>
arg-types <tree_list 0x7fbb94e0 value <pointer_type 0x7fba83b0>
chain <tree_list 0x7f6b9ca0 value <integer_type 0x7ff901c0 char>
chain <tree_list 0x7fef0ae0 value <void_type 0x7ff91650
void>>>>
pointer_to_this <pointer_type 0x7f432d80>>
addressable used public static external in_system_header autoinline
no-stati
c-chain decl_1 decl_5 QI defer-output file
/usr/local/amiga/lib/gcc/m68k-amigaos
/4.5.0/../../../../m68k-amigaos/include/c++/4.5.0/bits/basic_ios.h line 443 col
7 align 16 context <record_type 0x7ff9a170 basic_ios> initial <block
0x7f1eadb0>
arguments <parm_decl 0x7fb944c0 this
type <pointer_type 0x7fba8490 type <record_type 0x7fba8340 basic_ios>
readonly unsigned SI
size <integer_cst 0x7fef0560 constant 32>
unit size <integer_cst 0x7fef0300 constant 4>
align 16 symtab 0 alias set -1 canonical type 0x7fba8490>
readonly used unsigned SI file
/usr/local/amiga/lib/gcc/m68k-amigaos/4.5
.0/../../../../m68k-amigaos/include/c++/4.5.0/bits/basic_ios.h line 443 col 23
s
ize <integer_cst 0x7fef0560 32> unit size <integer_cst 0x7fef0300 4>
align 16 context <function_decl 0x7fd2d900 widen> arg-type
<pointer_type
0x7fba8490>
chain <parm_decl 0x7fb94518 __c type <integer_type 0x7ff901c0 char>
used QI file
/usr/local/amiga/lib/gcc/m68k-amigaos/4.5.0/../../../..
/m68k-amigaos/include/c++/4.5.0/bits/basic_ios.h line 443 col 18 size
<integer_c
st 0x7fef03a0 8> unit size <integer_cst 0x7fef03c0 1>
align 8 context <function_decl 0x7fd2d900 widen>
arg-type <integer_type 0x7ff90310 int>>>
result <result_decl 0x7f1dce40 D.26887 type <integer_type 0x7fba79a0
char_ty
pe>
ignored QI file
/usr/local/amiga/lib/gcc/m68k-amigaos/4.5.0/../../../../
m68k-amigaos/include/c++/4.5.0/bits/basic_ios.h line 443 col 7 size
<integer_cst
0x7fef03a0 8> unit size <integer_cst 0x7fef03c0 1>
align 8 context <function_decl 0x7fd2d900 widen>>
full-name "char_type std::basic_ios<_CharT, _Traits>::widen(char) const
[wit
h _CharT = char, _Traits = std::char_traits<char>, char_type = char]"
pending-inline-info 0x7f1eade8 template-info 0x7fbb9580
saved-insns 0x7f1dce98 chain <function_decl 0x7fd2d980 basic_ios>>
make[1]: *** [libdirac_common_la-common.lo] Error 1
--
Summary: [4.5 regression] C++ - libdirac don't want to compile
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ami_stuff at o2 dot pl
GCC host triplet: i686-cygwin
GCC target triplet: m68k-amigaos
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug c++/41290] [4.5 regression] C++ - libdirac don't want to compile
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
@ 2009-09-07 4:01 ` ami_stuff at o2 dot pl
2009-09-07 9:51 ` [Bug middle-end/41290] " rguenth at gcc dot gnu dot org
` (18 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: ami_stuff at o2 dot pl @ 2009-09-07 4:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from ami_stuff at o2 dot pl 2009-09-07 04:01 -------
Created an attachment (id=18523)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18523&action=view)
preprocessed file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] C++ - libdirac don't want to compile
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
2009-09-07 4:01 ` [Bug c++/41290] " ami_stuff at o2 dot pl
@ 2009-09-07 9:51 ` rguenth at gcc dot gnu dot org
2009-09-07 10:14 ` rguenth at gcc dot gnu dot org
` (17 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-07 9:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-09-07 09:50 -------
Reducing.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
Component|c++ |middle-end
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] C++ - libdirac don't want to compile
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
2009-09-07 4:01 ` [Bug c++/41290] " ami_stuff at o2 dot pl
2009-09-07 9:51 ` [Bug middle-end/41290] " rguenth at gcc dot gnu dot org
@ 2009-09-07 10:14 ` rguenth at gcc dot gnu dot org
2009-09-07 10:15 ` rguenth at gcc dot gnu dot org
` (16 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-07 10:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-09-07 10:14 -------
Created an attachment (id=18527)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18527&action=view)
reduced testcase
Fails at -O2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] C++ - libdirac don't want to compile
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (2 preceding siblings ...)
2009-09-07 10:14 ` rguenth at gcc dot gnu dot org
@ 2009-09-07 10:15 ` rguenth at gcc dot gnu dot org
2009-09-18 9:17 ` rguenth at gcc dot gnu dot org
` (15 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-07 10:15 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC target triplet|m68k-amigaos |m68k-amigaos, i?86-*-*
Last reconfirmed|0000-00-00 00:00:00 |2009-09-07 10:14:48
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] C++ - libdirac don't want to compile
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (3 preceding siblings ...)
2009-09-07 10:15 ` rguenth at gcc dot gnu dot org
@ 2009-09-18 9:17 ` rguenth at gcc dot gnu dot org
2009-10-30 2:42 ` foom at fuhm dot net
` (14 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-18 9:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2009-09-18 09:16 -------
Honza, this is yours.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |hubicka at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Keywords| |ice-on-valid-code
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] C++ - libdirac don't want to compile
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (4 preceding siblings ...)
2009-09-18 9:17 ` rguenth at gcc dot gnu dot org
@ 2009-10-30 2:42 ` foom at fuhm dot net
2009-11-09 13:52 ` rguenth at gcc dot gnu dot org
` (13 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: foom at fuhm dot net @ 2009-10-30 2:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from foom at fuhm dot net 2009-10-30 02:42 -------
An error very much like this is also causing a bunch of files in my program to
fail to compile with 4.5 with -O1 and above. I was unable to reduce a simple
test case from my (private) code, though: many changes that seem like they
should be unrelated cause the bug to go away. So I really hope my bug is
actually the same thing as this already-somewhat-reduced test case. :)
I'm using the ubuntu gcc-snapshot 20091018 package, on x86-64.
The error message is a little bit different, so I'm including it below, just in
case you might think it indicates a different underlying cause.
error: edge points to wrong declaration:
<function_decl 0x2ab0adeb6600 _ZNSdD2Ev.clone.5
type <method_type 0x2ab0ae8f5cc0
type <void_type 0x2ab09c4476c0 void asm_written type_6 VOID
align 8 symtab 0 alias set -1 canonical type 0x2ab09c4476c0
pointer_to_this <pointer_type 0x2ab09c447780>>
QI
size <integer_cst 0x2ab09c421840 constant 8>
unit size <integer_cst 0x2ab09c421870 constant 1>
align 8 symtab 0 alias set -1 canonical type 0x2ab09e701240 method
basetype <record_type 0x2ab0a06a9c00 basic_iostream>
arg-types <tree_list 0x2ab0aea8a750 value <pointer_type 0x2ab09e6fdb40>
chain <tree_list 0x2ab09c445960 value <void_type 0x2ab09c4476c0
void>>>
pointer_to_this <pointer_type 0x2ab0a4991cc0>>
addressable used nothrow static in_system_header autoinline decl_5 QI
defer-output file
/usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.5.0/../../../../include/c++/4.5.0/istream
line 798 col 7 align 16 context <record_type 0x2ab0a06a9c00 basic_iostream>
initial <block 0x2ab0aea8cf00> abstract_origin <function_decl 0x2ab09e6f7d00
basic_iostream>
arguments <parm_decl 0x2ab0aea82510 this
type <pointer_type 0x2ab09e6fdcc0 type <record_type 0x2ab0a06a9c00
basic_iostream>
readonly unsigned DI
size <integer_cst 0x2ab09c421bd0 constant 64>
unit size <integer_cst 0x2ab09c421c00 constant 8>
align 64 symtab -1364669056 alias set -1 canonical type
0x2ab09e6fdcc0>
readonly used unsigned DI file
/usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.5.0/../../../../include/c++/4.5.0/istream
line 798 col 23 size <integer_cst 0x2ab09c421bd0 64> unit size <integer_cst
0x2ab09c421c00 8>
align 64 context <function_decl 0x2ab0adeb6600 _ZNSdD2Ev.clone.5>
abstract_origin <parm_decl 0x2ab09e6fe240 this> arg-type <pointer_type
0x2ab09e6fdcc0>>
result <result_decl 0x2ab0acb8cf80 D.395631 type <void_type 0x2ab09c4476c0
void>
used ignored VOID file
/usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.5.0/../../../../include/c++/4.5.0/istream
line 798 col 27
align 8 context <function_decl 0x2ab0adeb6600 _ZNSdD2Ev.clone.5>
abstract_origin <result_decl 0x2ab0ab71c980 D.304296>>
full-name "std::basic_iostream<_CharT, _Traits>::~basic_iostream() [with
_CharT = char, _Traits = std::char_traits<char>]"
pending-inline-info 0x2ab0ab72f000 template-info 0x2ab09e6faf90
struct-function 0x2ab0ab58f6e0>
Instead of: <function_decl 0x2ab09e702400 __base_dtor
type <method_type 0x2ab09e701240
type <void_type 0x2ab09c4476c0 void asm_written type_6 VOID
align 8 symtab 0 alias set -1 canonical type 0x2ab09c4476c0
pointer_to_this <pointer_type 0x2ab09c447780>>
QI
size <integer_cst 0x2ab09c421840 constant 8>
unit size <integer_cst 0x2ab09c421870 constant 1>
align 8 symtab 0 alias set -1 canonical type 0x2ab09e701240 method
basetype <record_type 0x2ab0a06a9c00 basic_iostream>
arg-types <tree_list 0x2ab09e700180 value <pointer_type 0x2ab09e6fdb40>
chain <tree_list 0x2ab09e48ede0 value <pointer_type 0x2ab09d8c9480>
chain <tree_list 0x2ab09c445960 value <void_type 0x2ab09c4476c0
void>>>>
pointer_to_this <pointer_type 0x2ab0a4991cc0>>
addressable used nothrow public static external in_system_header autoinline
decl_5 QI defer-output file
/usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.5.0/../../../../include/c++/4.5.0/istream
line 798 col 7 align 16 context <record_type 0x2ab0a06a9c00 basic_iostream>
initial <block 0x2ab0ab72c2a0> abstract_origin <function_decl 0x2ab09e6f7d00
basic_iostream>
arguments <parm_decl 0x2ab09e703120 this
type <pointer_type 0x2ab09e6fdcc0 type <record_type 0x2ab0a06a9c00
basic_iostream>
readonly unsigned DI
size <integer_cst 0x2ab09c421bd0 constant 64>
unit size <integer_cst 0x2ab09c421c00 constant 8>
align 64 symtab -1364669056 alias set -1 canonical type
0x2ab09e6fdcc0>
readonly unsigned DI file
/usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.5.0/../../../../include/c++/4.5.0/istream
line 798 col 23 size <integer_cst 0x2ab09c421bd0 64> unit size <integer_cst
0x2ab09c421c00 8>
align 64 context <function_decl 0x2ab09e702400 __base_dtor >
abstract_origin <parm_decl 0x2ab09e6fe240 this> arg-type <pointer_type
0x2ab09e6fdcc0>
chain <parm_decl 0x2ab09e703240 __vtt_parm type <pointer_type
0x2ab09d8c9480>
readonly unsigned DI file
/usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.5.0/../../../../include/c++/4.5.0/istream
line 798 col 7 size <integer_cst 0x2ab09c421bd0 64> unit size <integer_cst
0x2ab09c421c00 8>
align 64 context <function_decl 0x2ab09e702400 __base_dtor >
abstract_origin <parm_decl 0x2ab09e6fe2d0 __vtt_parm> arg-type <pointer_type
0x2ab09d8c9480>>>
result <result_decl 0x2ab0ab71c980 D.304296 type <void_type 0x2ab09c4476c0
void>
ignored VOID file
/usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.5.0/../../../../include/c++/4.5.0/istream
line 798 col 27
align 8 context <function_decl 0x2ab09e702400 __base_dtor >>
full-name "std::basic_iostream<_CharT, _Traits>::~basic_iostream() [with
_CharT = char, _Traits = std::char_traits<char>]"
pending-inline-info 0x2ab0ab72f000 template-info 0x2ab09e6faf90
struct-function 0x2ab0ab71ed20 chain <function_decl 0x2ab09e702300
__comp_dtor >>
--
foom at fuhm dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |foom at fuhm dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] C++ - libdirac don't want to compile
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (5 preceding siblings ...)
2009-10-30 2:42 ` foom at fuhm dot net
@ 2009-11-09 13:52 ` rguenth at gcc dot gnu dot org
2009-11-09 15:15 ` reichelt at gcc dot gnu dot org
` (12 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-11-09 13:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2009-11-09 13:51 -------
Seems to be fixed with current trunk. Please open if it is not.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] C++ - libdirac don't want to compile
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (6 preceding siblings ...)
2009-11-09 13:52 ` rguenth at gcc dot gnu dot org
@ 2009-11-09 15:15 ` reichelt at gcc dot gnu dot org
2009-11-09 15:16 ` reichelt at gcc dot gnu dot org
` (11 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-11-09 15:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from reichelt at gcc dot gnu dot org 2009-11-09 15:15 -------
Unfortunately the problem still persists, see following testcase
which crashes in the same fashion when compiled with "-O3 -m32"
on x86_64-unknown-linux-gnu.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] C++ - libdirac don't want to compile
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (7 preceding siblings ...)
2009-11-09 15:15 ` reichelt at gcc dot gnu dot org
@ 2009-11-09 15:16 ` reichelt at gcc dot gnu dot org
2009-11-09 15:19 ` reichelt at gcc dot gnu dot org
` (10 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-11-09 15:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from reichelt at gcc dot gnu dot org 2009-11-09 15:16 -------
Created an attachment (id=18998)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18998&action=view)
Self-contained testcase that crashes with "-O3 -m32"
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] C++ - libdirac don't want to compile
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (8 preceding siblings ...)
2009-11-09 15:16 ` reichelt at gcc dot gnu dot org
@ 2009-11-09 15:19 ` reichelt at gcc dot gnu dot org
2009-11-09 15:55 ` [Bug middle-end/41290] [4.5 regression] ICE: edge points to wrong declaration rguenth at gcc dot gnu dot org
` (9 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-11-09 15:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from reichelt at gcc dot gnu dot org 2009-11-09 15:19 -------
Created an attachment (id=18999)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18999&action=view)
Pre-processed version of previous testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] ICE: edge points to wrong declaration
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (9 preceding siblings ...)
2009-11-09 15:19 ` reichelt at gcc dot gnu dot org
@ 2009-11-09 15:55 ` rguenth at gcc dot gnu dot org
2009-11-27 12:00 ` jamborm at gcc dot gnu dot org
` (8 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-11-09 15:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from rguenth at gcc dot gnu dot org 2009-11-09 15:55 -------
Confirmed. It passes if I add -fno-ipa-cp, maybe martin can have a look.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mjambor at suse dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] ICE: edge points to wrong declaration
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (10 preceding siblings ...)
2009-11-09 15:55 ` [Bug middle-end/41290] [4.5 regression] ICE: edge points to wrong declaration rguenth at gcc dot gnu dot org
@ 2009-11-27 12:00 ` jamborm at gcc dot gnu dot org
2009-11-27 12:44 ` rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2009-11-27 12:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from jamborm at gcc dot gnu dot org 2009-11-27 12:00 -------
I can't reproduce this with revision 154673. Maybe it is fixed
already? (perhaps by a fix for PR 42151?)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] ICE: edge points to wrong declaration
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (11 preceding siblings ...)
2009-11-27 12:00 ` jamborm at gcc dot gnu dot org
@ 2009-11-27 12:44 ` rguenth at gcc dot gnu dot org
2010-01-12 6:27 ` foom at fuhm dot net
` (6 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-11-27 12:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from rguenth at gcc dot gnu dot org 2009-11-27 12:43 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] ICE: edge points to wrong declaration
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (12 preceding siblings ...)
2009-11-27 12:44 ` rguenth at gcc dot gnu dot org
@ 2010-01-12 6:27 ` foom at fuhm dot net
2010-02-09 19:44 ` jamborm at gcc dot gnu dot org
` (5 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: foom at fuhm dot net @ 2010-01-12 6:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from foom at fuhm dot net 2010-01-12 06:27 -------
The crash is still present for my code. I'm using:
g++ (Debian 20091228-2) 4.5.0 20091228 (experimental) [trunk revision 155486]
on AMD64.
Passing -fno-ipa-cp also makes the bug disappear for me. But apparently r154673
did not fix the underlying issue, only make it unreproducible with the test
case here. I can try again to minimize, but I'm not optimistic: this bug seems
to appear and disappear almost randomly with minor adjustments to the code, and
unfortunately I cannot post my complete code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] ICE: edge points to wrong declaration
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (13 preceding siblings ...)
2010-01-12 6:27 ` foom at fuhm dot net
@ 2010-02-09 19:44 ` jamborm at gcc dot gnu dot org
2010-02-10 23:24 ` foom at fuhm dot net
` (4 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-02-09 19:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from jamborm at gcc dot gnu dot org 2010-02-09 19:44 -------
Do your problems go away with -fno-indirect-inlining ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] ICE: edge points to wrong declaration
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (14 preceding siblings ...)
2010-02-09 19:44 ` jamborm at gcc dot gnu dot org
@ 2010-02-10 23:24 ` foom at fuhm dot net
2010-02-12 18:29 ` jamborm at gcc dot gnu dot org
` (3 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: foom at fuhm dot net @ 2010-02-10 23:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from foom at fuhm dot net 2010-02-10 23:24 -------
Nope, adding -fno-indirect-inlining has no effect.
I'm now using:
g++-4.5 (Debian 4.5-20100202-1) 4.5.0 20100202 (experimental) [trunk revision
156452]
Problem still occurs, -fno-ipa-cp still makes it go away.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] ICE: edge points to wrong declaration
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (15 preceding siblings ...)
2010-02-10 23:24 ` foom at fuhm dot net
@ 2010-02-12 18:29 ` jamborm at gcc dot gnu dot org
2010-02-12 21:46 ` foom at fuhm dot net
` (2 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-02-12 18:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from jamborm at gcc dot gnu dot org 2010-02-12 18:29 -------
Created an attachment (id=19852)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19852&action=view)
Patch making call statement redirection based on cgraph edges clearer
You may (or may not) be seeing an issue that I ran into when working
on devirtualization. The attached patch should address it. Can you
please try to compile your source with a patched gcc and see whthr it
helps? If so, I'll try to push this change to 4.5. If not, I'll keep
it for 4.6. Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] ICE: edge points to wrong declaration
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (16 preceding siblings ...)
2010-02-12 18:29 ` jamborm at gcc dot gnu dot org
@ 2010-02-12 21:46 ` foom at fuhm dot net
2010-03-10 20:32 ` foom at fuhm dot net
2010-03-10 23:52 ` jamborm at gcc dot gnu dot org
19 siblings, 0 replies; 21+ messages in thread
From: foom at fuhm dot net @ 2010-02-12 21:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from foom at fuhm dot net 2010-02-12 21:46 -------
Thanks, I will try doing that.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] ICE: edge points to wrong declaration
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (17 preceding siblings ...)
2010-02-12 21:46 ` foom at fuhm dot net
@ 2010-03-10 20:32 ` foom at fuhm dot net
2010-03-10 23:52 ` jamborm at gcc dot gnu dot org
19 siblings, 0 replies; 21+ messages in thread
From: foom at fuhm dot net @ 2010-03-10 20:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from foom at fuhm dot net 2010-03-10 20:32 -------
Sorry for the extreme delay in responding. I can confirm that applying that
patch on top of:
gcc-4.5 (Debian 4.5-20100227-1) 4.5.0 20100227 (experimental) [trunk revision
157109]
*does* make my issue go away, and my program compile correctly without
requiring the -fno-ipa-cp argument.
Thank you.
Should this report be reopened for that patch to be applied? I don't have the
reopen option.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/41290] [4.5 regression] ICE: edge points to wrong declaration
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
` (18 preceding siblings ...)
2010-03-10 20:32 ` foom at fuhm dot net
@ 2010-03-10 23:52 ` jamborm at gcc dot gnu dot org
19 siblings, 0 replies; 21+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-03-10 23:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #19 from jamborm at gcc dot gnu dot org 2010-03-10 23:51 -------
Good to hear that. I don't think there is a need to reopen the bug since it is
most probably a duplicate of PR 42450 which has a testcase and is being dealt
with.
Thanks for testing, though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41290
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2010-03-10 23:52 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-07 4:00 [Bug c++/41290] New: [4.5 regression] C++ - libdirac don't want to compile ami_stuff at o2 dot pl
2009-09-07 4:01 ` [Bug c++/41290] " ami_stuff at o2 dot pl
2009-09-07 9:51 ` [Bug middle-end/41290] " rguenth at gcc dot gnu dot org
2009-09-07 10:14 ` rguenth at gcc dot gnu dot org
2009-09-07 10:15 ` rguenth at gcc dot gnu dot org
2009-09-18 9:17 ` rguenth at gcc dot gnu dot org
2009-10-30 2:42 ` foom at fuhm dot net
2009-11-09 13:52 ` rguenth at gcc dot gnu dot org
2009-11-09 15:15 ` reichelt at gcc dot gnu dot org
2009-11-09 15:16 ` reichelt at gcc dot gnu dot org
2009-11-09 15:19 ` reichelt at gcc dot gnu dot org
2009-11-09 15:55 ` [Bug middle-end/41290] [4.5 regression] ICE: edge points to wrong declaration rguenth at gcc dot gnu dot org
2009-11-27 12:00 ` jamborm at gcc dot gnu dot org
2009-11-27 12:44 ` rguenth at gcc dot gnu dot org
2010-01-12 6:27 ` foom at fuhm dot net
2010-02-09 19:44 ` jamborm at gcc dot gnu dot org
2010-02-10 23:24 ` foom at fuhm dot net
2010-02-12 18:29 ` jamborm at gcc dot gnu dot org
2010-02-12 21:46 ` foom at fuhm dot net
2010-03-10 20:32 ` foom at fuhm dot net
2010-03-10 23:52 ` jamborm at gcc dot gnu dot 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).