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