Re: [PATCH] Make some smallest_int_mode_for_size calls cope with failure

2024-08-29 Thread Richard Biener
On Wed, Aug 28, 2024 at 4:35 PM Richard Sandiford wrote: > > smallest_int_mode_for_size now returns an optional mode rather > than aborting on failure. This patch adjusts a couple of callers > so that they fail gracefully when no mode exists. > > There should be no behavioural change, since anyth

[PATCH] Make some smallest_int_mode_for_size calls cope with failure

2024-08-28 Thread Richard Sandiford
smallest_int_mode_for_size now returns an optional mode rather than aborting on failure. This patch adjusts a couple of callers so that they fail gracefully when no mode exists. There should be no behavioural change, since anything that triggers the new return paths would previously have aborted.