[Bug c/79730] ICE tree check: expected var_decl, have function_decl in finish_decl, at c/c-decl.c:5063
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 27 17:41:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79730
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with
commit 2be90eed86f43591d0e182b258156356abb7f18f
Author: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed Jul 6 14:05:54 2011 +0000
2011-07-06 Richard Guenther <rguenther@suse.de>
PR tree-optimization/49645
* c-decl.c (finish_decl): Also set DECL_HARD_REGISTER for global
register variables.
* tree-ssa-sccvn.c (vn_reference_op_eq): Disregard differences
in type qualification here ...
(copy_reference_ops_from_ref): ... not here.
(vn_reference_lookup_3): ... or here.
(copy_reference_ops_from_ref): Record decl bases as MEM[&decl].
(vn_reference_lookup): Do the lookup with a valueized ao-ref.
* g++.dg/tree-ssa/pr8781.C: Disable SRA.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175916
138bc75d-0d04-0410-961f-82ee72b054a4
More information about the Gcc-bugs
mailing list