OK。 Is it possible to include NULL_RTX check into if-condition which looks 
neater in coding.
> From: "Robin Dapp"<[email protected]>
> Date:  Tue, Oct 28, 2025, 18:25
> Subject:  Re: [PATCH] RISC-V: avlprop: Scale AVL by subreg ratio [PR122445].
> To: "钟居哲"<[email protected]>, "Robin Dapp"<[email protected]>
> Cc: <[email protected]>, <[email protected]>, 
> <[email protected]>, <[email protected]>, "Robin 
> Dapp"<[email protected]>
> >>>                      const_rtx x = *iter;

> >>>                     if (!x)

> >>>                      break;

> >

> > Is this code necessary ?

> 
> I thought it shouldn't be necessary before adding it... But without it I'm 

> seeing segmentation faults in the Fortran test suite when x is indeed NULL.

> 
> -- 

> Regards

>  Robin
> 

Reply via email to