public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/31103] New: [4.3 Regression] same canonical type node for different types with long int
@ 2007-03-09 12:45 tbm at cyrius dot com
2007-03-09 12:46 ` [Bug c++/31103] " tbm at cyrius dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: tbm at cyrius dot com @ 2007-03-09 12:45 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/31103] [4.3 Regression] same canonical type node for different types with long int
2007-03-09 12:45 [Bug c++/31103] New: [4.3 Regression] same canonical type node for different types with long int tbm at cyrius dot com
@ 2007-03-09 12:46 ` tbm at cyrius dot com
2007-03-09 13:07 ` tbm at cyrius dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tbm at cyrius dot com @ 2007-03-09 12:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tbm at cyrius dot com 2007-03-09 12:46 -------
Created an attachment (id=13176)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13176&action=view)
preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31103
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/31103] [4.3 Regression] same canonical type node for different types with long int
2007-03-09 12:45 [Bug c++/31103] New: [4.3 Regression] same canonical type node for different types with long int tbm at cyrius dot com
2007-03-09 12:46 ` [Bug c++/31103] " tbm at cyrius dot com
@ 2007-03-09 13:07 ` tbm at cyrius dot com
2007-03-09 15:17 ` [Bug c++/31103] [4.3 Regression] same canonical type node for VLAs pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tbm at cyrius dot com @ 2007-03-09 13:07 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/31103] [4.3 Regression] same canonical type node for VLAs
2007-03-09 12:45 [Bug c++/31103] New: [4.3 Regression] same canonical type node for different types with long int tbm at cyrius dot com
2007-03-09 12:46 ` [Bug c++/31103] " tbm at cyrius dot com
2007-03-09 13:07 ` tbm at cyrius dot com
@ 2007-03-09 15:17 ` pinskia at gcc dot gnu dot org
2007-04-03 23:22 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-09 15:17 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.3 Regression] same |[4.3 Regression] same
|canonical type node for |canonical type node for VLAs
|different types with long |
|int |
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31103
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/31103] [4.3 Regression] same canonical type node for VLAs
2007-03-09 12:45 [Bug c++/31103] New: [4.3 Regression] same canonical type node for different types with long int tbm at cyrius dot com
` (2 preceding siblings ...)
2007-03-09 15:17 ` [Bug c++/31103] [4.3 Regression] same canonical type node for VLAs pinskia at gcc dot gnu dot org
@ 2007-04-03 23:22 ` pinskia at gcc dot gnu dot org
2007-04-05 3:40 ` dgregor at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-03 23:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-04-04 00:21 -------
*** Bug 31104 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31103
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/31103] [4.3 Regression] same canonical type node for VLAs
2007-03-09 12:45 [Bug c++/31103] New: [4.3 Regression] same canonical type node for different types with long int tbm at cyrius dot com
` (3 preceding siblings ...)
2007-04-03 23:22 ` pinskia at gcc dot gnu dot org
@ 2007-04-05 3:40 ` dgregor at gcc dot gnu dot org
2007-04-12 11:48 ` dgregor at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dgregor at gcc dot gnu dot org @ 2007-04-05 3:40 UTC (permalink / raw)
To: gcc-bugs
--
dgregor at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|doug dot gregor at gmail dot|
|com |
AssignedTo|unassigned at gcc dot gnu |dgregor at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-04-05 04:40:40
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31103
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/31103] [4.3 Regression] same canonical type node for VLAs
2007-03-09 12:45 [Bug c++/31103] New: [4.3 Regression] same canonical type node for different types with long int tbm at cyrius dot com
` (4 preceding siblings ...)
2007-04-05 3:40 ` dgregor at gcc dot gnu dot org
@ 2007-04-12 11:48 ` dgregor at gcc dot gnu dot org
2007-04-12 11:51 ` dgregor at gcc dot gnu dot org
2007-04-12 11:53 ` dgregor at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: dgregor at gcc dot gnu dot org @ 2007-04-12 11:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dgregor at gcc dot gnu dot org 2007-04-12 12:48 -------
Subject: Bug 31103
Author: dgregor
Date: Thu Apr 12 12:47:56 2007
New Revision: 123740
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123740
Log:
2007-04-12 Douglas Gregor <doug.gregor@gmail.com>
PR c++/31078
PR c++/31103
* c-common.c (c_build_qualified_type): Set canonical type
appropriately.
2007-04-12 Douglas Gregor <doug.gregor@gmail.com>
PR c++/31078
* g++.dg/other/pr31078.C: New.
Added:
trunk/gcc/testsuite/g++.dg/other/pr31078.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-common.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31103
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/31103] [4.3 Regression] same canonical type node for VLAs
2007-03-09 12:45 [Bug c++/31103] New: [4.3 Regression] same canonical type node for different types with long int tbm at cyrius dot com
` (5 preceding siblings ...)
2007-04-12 11:48 ` dgregor at gcc dot gnu dot org
@ 2007-04-12 11:51 ` dgregor at gcc dot gnu dot org
2007-04-12 11:53 ` dgregor at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: dgregor at gcc dot gnu dot org @ 2007-04-12 11:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from dgregor at gcc dot gnu dot org 2007-04-12 12:50 -------
Fixed on mainline
--
dgregor at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31103
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/31103] [4.3 Regression] same canonical type node for VLAs
2007-03-09 12:45 [Bug c++/31103] New: [4.3 Regression] same canonical type node for different types with long int tbm at cyrius dot com
` (6 preceding siblings ...)
2007-04-12 11:51 ` dgregor at gcc dot gnu dot org
@ 2007-04-12 11:53 ` dgregor at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: dgregor at gcc dot gnu dot org @ 2007-04-12 11:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from dgregor at gcc dot gnu dot org 2007-04-12 12:52 -------
*** Bug 31505 has been marked as a duplicate of this bug. ***
--
dgregor at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at dealii dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31103
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-04-12 11:53 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-09 12:45 [Bug c++/31103] New: [4.3 Regression] same canonical type node for different types with long int tbm at cyrius dot com
2007-03-09 12:46 ` [Bug c++/31103] " tbm at cyrius dot com
2007-03-09 13:07 ` tbm at cyrius dot com
2007-03-09 15:17 ` [Bug c++/31103] [4.3 Regression] same canonical type node for VLAs pinskia at gcc dot gnu dot org
2007-04-03 23:22 ` pinskia at gcc dot gnu dot org
2007-04-05 3:40 ` dgregor at gcc dot gnu dot org
2007-04-12 11:48 ` dgregor at gcc dot gnu dot org
2007-04-12 11:51 ` dgregor at gcc dot gnu dot org
2007-04-12 11:53 ` dgregor 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).