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]

[PATCH][compare-elim] Fix PR rtl-optimization/82597


This patch fixes an ICE on x86 because we were not constraining the operands
of a recognized insn. Bootstrapped and tested on aarch64-none-linux-gnu and x86_64.

Also successfully compiled the failing test cases in 82597 and duplicate 82592.

Ok for trunk?

2017-10-18  Michael Collison  <michael.collison@arm.com>

	PR rtl-optimization/82597
	* compare-elim.c: (try_validate_parallel): Constrain operands
	of recognized insn.

2017-10-18  Michael Collison  <michael.collison@arm.com>
	* gcc.dg/pr82597.c: New test.

Attachment: rb8338.patch
Description: rb8338.patch


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