This is the mail archive of the gcc-cvs@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]

r272521 - in /branches/c++-modules: ChangeLog.m...


Author: nathan
Date: Thu Jun 20 20:29:51 2019
New Revision: 272521

URL: https://gcc.gnu.org/viewcvs?rev=272521&root=gcc&view=rev
Log:
	Thunks.
	gcc/cp/
	* module.cc (enum tree_tag): Add tt_thunk.
	(trees_out::tree_decl): Emit it.
	(trees_out::tree_value): Assert we don't accidentally meet a
	thunk.
	(trees_in::tree_node): Read it.
	(trees_out::{mark,write}_class_def): Emit thunks by value.
	(trees_in::read_class_def): Install thunks.
	gcc/testsuite/
	* g++.dg/modules/thunk-1_[ab].C: New.

Added:
    branches/c++-modules/gcc/testsuite/g++.dg/modules/thunk-1_a.C
    branches/c++-modules/gcc/testsuite/g++.dg/modules/thunk-1_b.C
Modified:
    branches/c++-modules/ChangeLog.modules
    branches/c++-modules/gcc/cp/module.cc


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