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]
Other format: [Raw text]

Re: [PATCH] Add PAREN_EXPR


On Wed, Feb 20, 2008 at 11:47:54AM +0100, Richard Guenther wrote:
> > > + + ! { dg-final { scan-tree-dump "\\\+ 5.*\\\)\\\) - 5" "optimized" } }
> > 
> Hm, actually this is what happens:
> 
> <bb 2>:
>   b.0 = *a + 5.0e+0;
>   b = b.0;
>   foo (&b);
>   return ((b.0)) - 5.0e+0;
> 
> no idea why my pattern matches this ;)  I'll adjust it as you suggested.

.* above matches even end of line (several in fact).

	Jakub


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