r172298 - in /trunk/gcc: ChangeLog c-typeck.c t...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Tue Apr 12 06:27:00 GMT 2011


Author: jakub
Date: Tue Apr 12 06:27:23 2011
New Revision: 172298

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172298
Log:
	PR c/48552
	* c-typeck.c (build_asm_expr): Error out on attempts to use
	void type outputs or inputs for constraints that allow reg or
	don't allow memory.

	* gcc.dg/pr48552-1.c: New test.
	* gcc.dg/pr48552-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr48552-1.c
    trunk/gcc/testsuite/gcc.dg/pr48552-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-typeck.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list