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: fix crash on legal code


On Fri, Dec 06, 2002 at 01:04:29PM +0000, Richard Sandiford wrote:
>       case CALL_EXPR:
> -       tmp = unsafe_for_reeval (TREE_OPERAND (expr, 1));
> -       return MAX (tmp, 1);
> - 
>       case TARGET_EXPR:
>         unsafeness = 1;

Nope.  One of the call operands could be unsafeness 2.


r~


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