This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/37177] ICE on decltype(rel_ops::operator><int>);



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-08-29 05:42 -------
Confirmed, we have the following TREE:
 <template_id_expr 0x434e0660
    type <lang_type 0x434dcd20 unknown type type <lang_type 0x434dcd20 unknown
type>
        VOID
        align 1 symtab 0 alias set -1 canonical type 0x434dcd20
        pointer_to_this <lang_type 0x434dcd20 unknown type> reference_to_this
<lang_type 0x434dcd20 unknown type>>

    arg 0 <overload 0x434ea7e0 type <lang_type 0x434dcd20 unknown type>

        function <template_decl 0x434e3d90 foo type <function_type 0x434293f0>
            VOID file t.cc line 3 col 30
            align 1 context <namespace_decl 0x434e3bd0 N1>
            arguments <tree_list 0x434ea760
                purpose <integer_cst 0x430f4450 constant 1>
                value <tree_vec 0x434ea740 type <template_decl 0x434e3d90 foo>

                    elt 0 <tree_list 0x434ea720>>> result <function_decl
0x434e4b00 foo>
           >>
    arg 1 <tree_vec 0x434ea8a0
        elt 0 <integer_type 0x4341c310 int>>>

Which needs to be resolved still.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2008-08-29 05:42:33
               date|                            |
            Summary|ICE on                      |ICE on
                   |decltype(rel_ops::operator><|decltype(rel_ops::operator><
                   |int>);                      |int>);


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]