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

Re: PR optimization/185


On Wed, May 16, 2001 at 07:49:35PM +0200, Jan Hubicka wrote:
> 
> Fixes testcase
> 
> r_function(void)
> {
> 	char c;
> 	asm( "mov %0, %%eax"
> 			:
> 			:"m" (&c)
> 			: "eax" ); 
> }

Can you actually include the testcase into the testsuite (probably with asm
volatile and "" instead of "mov ..." and no clobbers)?

	Jakub


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