Re: [C] Add a target hook that allows targets to verify type usage

2019-11-29 Thread Joseph Myers
On Fri, 29 Nov 2019, Richard Sandiford wrote: > Ping > > Richard Sandiford writes: > > This patch adds a new target hook to check whether there are any > > target-specific reasons why a type cannot be used in a certain > > source-language context. It works in a similar way to existing > > hooks

Re: [C] Add a target hook that allows targets to verify type usage

2019-11-29 Thread Richard Sandiford
Ping Richard Sandiford writes: > This patch adds a new target hook to check whether there are any > target-specific reasons why a type cannot be used in a certain > source-language context. It works in a similar way to existing > hooks like TARGET_INVALID_CONVERSION and TARGET_INVALID_UNARY_OP.

[C] Add a target hook that allows targets to verify type usage

2019-11-12 Thread Richard Sandiford
This patch adds a new target hook to check whether there are any target-specific reasons why a type cannot be used in a certain source-language context. It works in a similar way to existing hooks like TARGET_INVALID_CONVERSION and TARGET_INVALID_UNARY_OP. The reason for adding the hook is to rep