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/69819] [4.9/5/6 Regression] ICE on invalid code on x86_64-linux-gnu in tree check: expected function_type or method_type, have array_type in function_args_iter_init, at tree.h:4536


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69819

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Surely not the former.  But

(gdb) p debug_tree (current_function_decl)
 <function_decl 0x7ffff6995d20 foo
    type <array_type 0x7ffff698f498
        type <integer_type 0x7ffff688f7e0 int public SI
            size <integer_cst 0x7ffff688bee8 constant 32>
            unit size <integer_cst 0x7ffff688bf00 constant 4>
            align 32 symtab 0 alias set -1 canonical type 0x7ffff688f7e0
precision 32 min <integer_cst 0x7ffff688bea0 -2147483648> max <integer_cst
0x7ffff688beb8 2147483647>
            pointer_to_this <pointer_type 0x7ffff68a9930>>

is clearly bogus.

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