* [PATCH] Fix LTO with Java some more
@ 2016-09-22 10:55 Richard Biener
0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2016-09-22 10:55 UTC (permalink / raw)
To: gcc-patches
Ok, I know... (I'll eventually backport this and the earlier change)
Thus, committed as obvious.
Richard.
2016-09-22 Richard Biener <rguenther@suse.de>
java/
* class.c (push_super_field): Set DECL_CONTEXT.
Index: gcc/java/class.c
===================================================================
--- gcc/java/class.c (revision 240310)
+++ gcc/java/class.c (working copy)
@@ -2365,6 +2365,7 @@ push_super_field (tree this_class, tree
base_decl = build_decl (input_location,
FIELD_DECL, NULL_TREE, super_class);
DECL_IGNORED_P (base_decl) = 1;
+ DECL_CONTEXT (base_decl) = this_class;
DECL_CHAIN (base_decl) = TYPE_FIELDS (this_class);
TYPE_FIELDS (this_class) = base_decl;
DECL_SIZE (base_decl) = TYPE_SIZE (super_class);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-22 10:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-22 10:55 [PATCH] Fix LTO with Java some more Richard Biener
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).