Commit b291a202 by Jeff Law

re PR target/58400 (gcc for h8300 internal compiler error: insn does not satisfy…

re PR target/58400 (gcc for h8300 internal compiler error: insn does not satisfy its constraints at  fs/ext4/mballoc.c: In function 'mb_free_blocks':)

	* config/h8300/constraints.md ("U" constraint): Use strict
	variant of REG_OK_FOR_BASE_P after reload has started.

	PR target/58400
	gcc.target/h8300/pr58400.c: New test.

From-SVN: r220457
parent 29e1d31b
2015-02-05 Joern Rennecke <joern.rennecke@embecosm.com>
* config/h8300/constraints.md ("U" constraint): Use strict
variant of REG_OK_FOR_BASE_P after reload has started.
2015-02-04 Mantas Mikaitis <mantas.mikaitis@arm.com> 2015-02-04 Mantas Mikaitis <mantas.mikaitis@arm.com>
* config/arm/arm.h (TARGET_NEON_FP): Removed conditional definition, * config/arm/arm.h (TARGET_NEON_FP): Removed conditional definition,
......
...@@ -171,10 +171,14 @@ ...@@ -171,10 +171,14 @@
(define_constraint "U" (define_constraint "U"
"An operand valid for a bset destination." "An operand valid for a bset destination."
(ior (and (match_code "reg") (ior (and (match_code "reg")
(match_test "REG_OK_FOR_BASE_P (op)")) (match_test "(reload_in_progress || reload_completed)
? REG_OK_FOR_BASE_STRICT_P (op)
: REG_OK_FOR_BASE_P (op)"))
(and (match_code "mem") (and (match_code "mem")
(match_code "reg" "0") (match_code "reg" "0")
(match_test "REG_OK_FOR_BASE_P (XEXP (op, 0))")) (match_test "(reload_in_progress || reload_completed)
? REG_OK_FOR_BASE_STRICT_P (XEXP (op, 0))
: REG_OK_FOR_BASE_P (XEXP (op, 0))"))
(and (match_code "mem") (and (match_code "mem")
(match_code "symbol_ref" "0") (match_code "symbol_ref" "0")
(match_test "TARGET_H8300S")) (match_test "TARGET_H8300S"))
......
2015-02-05 Jeff Law <law@redhat.com>
PR target/58400
gcc.target/h8300/pr58400.c: New test.
2015-02-05 Mantas Mikaitis <mantas.mikaitis@arm.com> 2015-02-05 Mantas Mikaitis <mantas.mikaitis@arm.com>
* gcc.target/arm/macro_defs0.c: New test. * gcc.target/arm/macro_defs0.c: New test.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment