r274050 - in /branches/gcc-9-branch/gcc: objc/C...

iains@gcc.gnu.org iains@gcc.gnu.org
Sat Aug 3 20:21:00 GMT 2019


Author: iains
Date: Sat Aug  3 20:21:44 2019
New Revision: 274050

URL: https://gcc.gnu.org/viewcvs?rev=274050&root=gcc&view=rev
Log:
Objective-C, backport fix for recognition of instancetype.

This addresses a number of test fails that occur for the
NeXT runtime.

gcc/objc/
2019-08-03  Iain Sandoe  <iain@sandoe.co.uk>

	Backport from mainline.
	2019-05-18  Iain Sandoe  <iain@sandoe.co.uk>

	* objc/objc-act.h (OCTI_INSTANCE_TYPE, OCTI_INSTANCETYPE_NAME): New.
	(objc_global_trees): Add instance type and name.
	(INSTANCE_TYPEDEF_NAME): New.
	* objc/objc-act.c (synth_module_prologue): Build decls for
	objc_instancetype_type and objc_instancetype_name.

gcc/testsuite/
2019-08-03  Iain Sandoe  <iain@sandoe.co.uk>

	Backport from mainline.
	2019-05-18  Iain Sandoe  <iain@sandoe.co.uk>

	* objc.dg/instancetype-0.m: New.


Added:
    branches/gcc-9-branch/gcc/testsuite/objc.dg/instancetype-0.m
Modified:
    branches/gcc-9-branch/gcc/objc/ChangeLog
    branches/gcc-9-branch/gcc/objc/objc-act.c
    branches/gcc-9-branch/gcc/objc/objc-act.h
    branches/gcc-9-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list