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 sanitizer/79993] ICE in tree_to_uhwi, at tree.c:7344


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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with

commit d680c844a90ba12a0b12f7d206d697dc32d2cfee
Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu May 9 16:43:43 2013 +0000

            N3639 C++1y VLA diagnostics

            * decl.c (grokdeclarator): Complain about reference, pointer, or
            typedef to VLA.
            (create_array_type_for_decl): Complain about array of VLA.
            * pt.c (tsubst): Likewise.
            * rtti.c (get_tinfo_decl): Talk about "array of runtime bound".
            * semantics.c (finish_decltype_type): Complain about decltype of
VLA.
            * typeck.c (cp_build_addr_expr_1): Complain about VLA.
            (cxx_sizeof_or_alignof_type): Likewise.

    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198746
138bc75d-0d04-0410-961f-82ee72b054a4

before that:
pr78201.C:11:15: error: variable-sized object ‘a’ may not be initialized
   char a[e] = "";
               ^

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