public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/31104]  New: [4.3 Regression] same canonical type node for different types with anonymous
@ 2007-03-09 12:49 tbm at cyrius dot com
  2007-03-09 12:50 ` [Bug c++/31104] " tbm at cyrius dot com
  2007-04-03 23:22 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: tbm at cyrius dot com @ 2007-03-09 12:49 UTC (permalink / raw)
  To: gcc-bugs

warning: same canonical type node for different types - anonymous

% /usr/lib/gcc-snapshot/bin/g++ -c -g -O2 dosbox-sdl_mapper.ii
sdl_mapper.cpp: In function 'void CreateBindGroups()':
sdl_mapper.cpp:1554: warning: same canonical type node for different types
CBindList [(long int)<anonymous>] and CBindList [(long int)<anonymous>]
 <array_type 0x2b3867154000
    type <record_type 0x2b3867280f00 CBindList addressable asm_written
needs-constructing type_1 type_
4 type_5 BLK
        size <integer_cst 0x2b3865ae9de0 constant invariant 128>
        unit size <integer_cst 0x2b3865ae9e10 constant invariant 16>
        align 64 symtab 1730749184 alias set -1 canonical type 0x2b3867280e40
        fields <field_decl 0x2b38673460c0 D.26723 type <record_type
0x2b38672d86c0 _List_base>
            ignored decl_6 BLK file
/usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.3.0/../../../../i
nclude/c++/4.3.0/bits/stl_list.h line 408 size <integer_cst 0x2b3865ae9de0 128>
unit size <integer_cst
 0x2b3865ae9e10 16>
            align 64 offset_align 128
            offset <integer_cst 0x2b3865ae9720 constant invariant 0>
            bit offset <integer_cst 0x2b3865b0a360 constant invariant 0>
context <record_type 0x2b3867
280e40 list> chain <type_decl 0x2b3867314410 list>> context <namespace_decl
0x2b3865b080d0 std>
       needs-constructor needs-destructor X() X(constX&) this=(X&) n_parents=1
use_template=1 interfac
e-unknown
        pointer_to_this <pointer_type 0x2b386735f600> reference_to_this
<reference_type 0x2b38673ae600
> chain <type_decl 0x2b386727f410 list>>
    needs-constructing type_4 BLK
    size <mult_expr 0x2b3867368980
        type <integer_type 0x2b3865afb0c0 bit_size_type public unsigned
sizetype DI
            size <integer_cst 0x2b3865ae9b70 constant invariant 64>
            unit size <integer_cst 0x2b3865ae9ba0 constant invariant 8>
            align 64 symtab 0 alias set -1 canonical type 0x2b3865afbe40
precision 64 min <integer_cst
 0x2b3865b0a360 0> max <integer_cst 0x2b3865b0a330 18446744073709551615>>
        side-effects invariant
...


-- 
           Summary: [4.3 Regression] same canonical type node for different
                    types with anonymous
           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=31104


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/31104] [4.3 Regression] same canonical type node for different types with anonymous
  2007-03-09 12:49 [Bug c++/31104] New: [4.3 Regression] same canonical type node for different types with anonymous tbm at cyrius dot com
@ 2007-03-09 12:50 ` tbm at cyrius dot com
  2007-04-03 23:22 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tbm at cyrius dot com @ 2007-03-09 12:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2007-03-09 12:50 -------
Created an attachment (id=13177)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13177&action=view)
preprocessed source


-- 


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/31104] [4.3 Regression] same canonical type node for different types with anonymous
  2007-03-09 12:49 [Bug c++/31104] New: [4.3 Regression] same canonical type node for different types with anonymous tbm at cyrius dot com
  2007-03-09 12:50 ` [Bug c++/31104] " tbm at cyrius dot com
@ 2007-04-03 23:22 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-03 23:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-04-04 00:21 -------
This is the same problem as PR 31103, VLAs.

*** This bug has been marked as a duplicate of 31103 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-03 23:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-09 12:49 [Bug c++/31104] New: [4.3 Regression] same canonical type node for different types with anonymous tbm at cyrius dot com
2007-03-09 12:50 ` [Bug c++/31104] " tbm at cyrius dot com
2007-04-03 23:22 ` pinskia 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).