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] Properly check for _Cilk_spawn in return stmt (PR c/60197)


> Yeah, it passed regtesting.  Note that we also ICE on e.g.
> int
> foo (void)
> {
>   int i;
>   i = (_Cilk_spawn foo ()) + 1;
>   return i;
> }
> 
> I don't know whether this is valid use of _Cilk_spawn though.  In any case,
> this patch addresses only _Cilk_spawn in return statements.

This is invalid.

Thanks,

Balaji V. Iyer.


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