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]

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


Author: nathan
Date: Tue Mar 26 20:17:19 2019
New Revision: 269955

URL: https://gcc.gnu.org/viewcvs?rev=269955&root=gcc&view=rev
Log:
	gcc/c-family/
	* c-opts.c (c_common_post_options): Invert sense of
	cpp_read_main_file arg.
	* parser.c (cp_parser_translation_unit): Reject include
	translation in module purview.
	libcpp/
	* files.c (_cpp_stack_file): Take include type parm.  Drop line
	parm. Do line-table adjusting here ...
	(_cpp_stack_include): ... not here.
	* include/cpplib.h (cpp_read_main_file): Invert final parm.
	* init.c (cpp_read_main_file): Adjust.
	* internal.h (include_type): Add more enumerations, and document.
	(_cpp_stack_file): Adjust prototype.
	gcc/testsuite/
	* g++.dg/modules/alias-2_[ab].[CH]: New.
	* g++.dg/modules/exp-xlate-1_[ab].[CH]: New.
	* g++.dg/modules/legacy-3_c.H: Robustify testing.

Added:
    branches/c++-modules/gcc/testsuite/g++.dg/modules/alias-2_a.H
    branches/c++-modules/gcc/testsuite/g++.dg/modules/alias-2_b.C
    branches/c++-modules/gcc/testsuite/g++.dg/modules/exp-xlate-1_a.H
    branches/c++-modules/gcc/testsuite/g++.dg/modules/exp-xlate-1_b.C
Modified:
    branches/c++-modules/ChangeLog.modules
    branches/c++-modules/gcc/c-family/c-opts.c
    branches/c++-modules/gcc/cp/parser.c
    branches/c++-modules/gcc/testsuite/g++.dg/modules/legacy-3_c.H
    branches/c++-modules/libcpp/files.c
    branches/c++-modules/libcpp/include/cpplib.h
    branches/c++-modules/libcpp/init.c
    branches/c++-modules/libcpp/internal.h


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