[Bug c++/31103] [4.3 Regression] same canonical type node for different types with long int

tbm at cyrius dot com gcc-bugzilla@gcc.gnu.org
Fri Mar 9 13:07:00 GMT 2007



------- Comment #2 from tbm at cyrius dot com  2007-03-09 13:06 -------
Created an attachment (id=13178)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13178&action=view)
testcase

I should mention that this warning doesn't show up all the time, but it'll
eventually show when you try long enough.  This applies both to the smaller
testcase and the original preprocessed source.

See e.g. here:
(sid)4419:tbm@em64t: ~] rm -f icu*.o; g++ -c -g -O2 icu*.cc > x 2>&1 ; ls -l x
-rw-r--r-- 1 tbm users 0 2007-03-09 13:00 x
(sid)4420:tbm@em64t: ~] rm -f icu*.o; g++ -c -g -O2 icu*.cc > x 2>&1 ; ls -l x
-rw-r--r-- 1 tbm users 0 2007-03-09 13:00 x
(sid)4421:tbm@em64t: ~] rm -f icu*.o; g++ -c -g -O2 icu*.cc > x 2>&1 ; ls -l x
-rw-r--r-- 1 tbm users 0 2007-03-09 13:00 x
(sid)4422:tbm@em64t: ~] rm -f icu*.o; g++ -c -g -O2 icu*.cc > x 2>&1 ; ls -l x
-rw-r--r-- 1 tbm users 55766 2007-03-09 13:00 x
(sid)4423:tbm@em64t: ~] head -3 x
icu-dtfmtsym.cc: In member function 'void
icu_3_6::DateFormatSymbols::initZoneStrings(UErrorCode&)':
icu-dtfmtsym.cc:166: warning: same canonical type node for different types
icu_3_6::UnicodeString [(long int)iftmp.10] and icu_3_6::UnicodeString [(long
int)iftmp.10]
 <array_type 0x2b9eeb353a80
(sid)4424:tbm@em64t: ~]


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31103



More information about the Gcc-bugs mailing list