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 PR rtl-opt/38281 ICE in reg_referenced_p with combine


>   The problem here is that distribute_notes assumes that if the i2 is
> not NULL, INSN_P is true but it could have been a deleted instruction
> note which case we could get an ICE on PATTERN of it (or get a NULL
> from it without RTL checking enabled).

i2 is not NULL because newi2pat is not either, which is a little strange if i2 
has been deleted.  Why is newi2pat not NULL?

-- 
Eric Botcazou


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