warning: same canonical type node for different types - with long int
% /usr/lib/gcc-snapshot/bin/g++ -c -g -O2 icu-dtfmtsym.ii dtfmtsym.cpp: In member function 'void icu_3_6::DateFormatSymbols::setMonths(const icu_3_6::UnicodeStr ing*, int32_t, icu_3_6::DateFormatSymbols::DtContextType, icu_3_6::DateFormatSymbols::DtWidthType)': dtfmtsym.cpp:738: warning: same canonical type node for different types icu_3_6::UnicodeString [(long int)iftmp.95] and icu_3_6::UnicodeString [(long int)iftmp.95] <array_type 0x2b142b100600 type <record_type 0x2b142b13b600 UnicodeString sizes-gimplified addressable asm_written tree_2 nee ds-constructing type_1 type_4 type_5 type_6 BLK size <integer_cst 0x2b142ab7be40 constant invariant 320> unit size <integer_cst 0x2b142ab831e0 constant invariant 40> align 64 symtab 722782848 alias set 4 canonical type 0x2b142b13b600 fields <field_decl 0x2b142b1b2000 D.4165 type <record_type 0x2b142b13b6c0 Replaceable> ignored decl_6 BLK file ../common/unicode/unistr.h line 188 size <integer_cst 0x2b142aa0fb70 constant invariant 64> unit size <integer_cst 0x2b142aa0fba0 constant invariant 8> align 64 offset_align 128 offset <integer_cst 0x2b142aa0f720 constant invariant 0> bit offset <integer_cst 0x2b142aa30360 constant invariant 0> context <record_type 0x2b142b 13b600 UnicodeString> chain <const_decl 0x2b142b152280 kInvariant>> context <namespace_decl 0x2b142b11 a340 icu_3_6> needs-constructor needs-destructor X() X(constX&) new new[] delete delete[] this=(X&) n_parents =1 use_template=0 interface-only pointer_to_this <pointer_type 0x2b142b1739c0> reference_to_this <reference_type 0x2b142b13f240 > chain <type_decl 0x2b142b11add0 UnicodeString>> needs-constructing type_4 BLK size <mult_expr 0x2b142b593080 type <integer_type 0x2b142aa210c0 bit_size_type public unsigned sizetype DI size <integer_cst 0x2b142aa0fb70 64> unit size <integer_cst 0x2b142aa0fba0 8> align 64 symtab 0 alias set -1 canonical type 0x2b142aa21e40 precision 64 min <integer_cst 0x2b142aa30360 0> max <integer_cst 0x2b142aa30330 18446744073709551615>> side-effects invariant arg 0 <nop_expr 0x2b142b5930c0 type <integer_type 0x2b142aa210c0 bit_size_type> side-effects invariant ... -- Summary: [4.3 Regression] same canonical type node for different types with long int Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tbm at cyrius dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31103