On Wed, Nov 20, 2024 at 10:18 PM Richard Biener
wrote:
> On Sun, Nov 10, 2024 at 1:55 PM H.J. Lu wrote:
> >
> > Since the C/C++/Ada frontends no longer promote integer argument smaller
> > than int, add expand_promote_outgoing_argument to promote it when
> expanding
> > builtin functions.
>
> I
On Sun, Nov 10, 2024 at 1:55 PM H.J. Lu wrote:
>
> Since the C/C++/Ada frontends no longer promote integer argument smaller
> than int, add expand_promote_outgoing_argument to promote it when expanding
> builtin functions.
I wonder if we should instead handle this in the generic builtin expansion
Since the C/C++/Ada frontends no longer promote integer argument smaller
than int, add expand_promote_outgoing_argument to promote it when expanding
builtin functions.
PR middle-end/14907
* expr.cc (expand_promote_outgoing_argument): New function.
* expr.h (expand_promote_o