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] for PR 17531


Not really.  expand_binop does not assume that its operands have the
same type as result, so the patch would be a proper fix for the function
anyway.

Then the same thing should be done in expand_twoval_binop and prepare_cmp_insn, or the bug would stay latent there. Assuming it is the right fix, of course.


Paolo


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