This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31103] [4.3 Regression] same canonical type node for different types with long int
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Mar 2007 13:06:58 -0000
- Subject: [Bug c++/31103] [4.3 Regression] same canonical type node for different types with long int
- References: <bug-31103-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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