r275136 - in /branches/gcc-7-branch/gcc: Change...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Aug 30 12:27:00 GMT 2019


Author: jakub
Date: Fri Aug 30 12:27:21 2019
New Revision: 275136

URL: https://gcc.gnu.org/viewcvs?rev=275136&root=gcc&view=rev
Log:
	Backported from mainline
	2019-03-19  Jakub Jelinek  <jakub@redhat.com>

	PR target/89752
	* gimplify.c (gimplify_asm_expr): For output argument with
	TREE_ADDRESSABLE type, clear allows_reg if it allows memory, otherwise
	diagnose error.

	* g++.dg/ext/asm15.C: Check for particular diagnostic wording.
	* g++.dg/ext/asm16.C: Likewise.
	* g++.dg/ext/asm17.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/ext/asm17.C
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/gimplify.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/g++.dg/ext/asm15.C
    branches/gcc-7-branch/gcc/testsuite/g++.dg/ext/asm16.C



More information about the Gcc-cvs mailing list