This is the mail archive of the gcc@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: gimple question


> > Geez, this is valid C?!  What is it _supposed_ to return?
> 
> This pattern appears in the gcc testsuite, in 
> gcc.c-torture/execute/970217-1.c 
> so I guess it is valid.
> It is supposed to return the value of i after it's been 
> incremented. 
Weird testcase ;)
I think it will be marked as has_hidden_use of the gimple register and
the increment will likely be in the PARM_DECL.  I think however that it
is gimplifier bug to not convert this into sane representation of the
semantics.

Honza
> 
> Razya
> 


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