Re: [PATCH] Fix another match_asm_constraints_1 issue (PR PR inline-asm/85034)

2018-03-23 Thread Richard Biener
On Thu, 22 Mar 2018, Jakub Jelinek wrote: > Hi! > > match_asm_constraints_1 verifies that the mode of input and output > is the same, with one exception - when input is VOIDmode. > It isn't correct to allow that blindly VOIDmode CONST_INT/CONST_DOUBLE > is only ok if the output mode is scalar int

[PATCH] Fix another match_asm_constraints_1 issue (PR PR inline-asm/85034)

2018-03-22 Thread Jakub Jelinek
Hi! match_asm_constraints_1 verifies that the mode of input and output is the same, with one exception - when input is VOIDmode. It isn't correct to allow that blindly VOIDmode CONST_INT/CONST_DOUBLE is only ok if the output mode is scalar integer mode, on the testcase below output is (reg:SF), wh