https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552

--- Comment #35 from Roland Illig <roland.illig at gmx dot de> ---
(In reply to rsand...@gcc.gnu.org from comment #33)
> (In reply to Eric Gallager from comment #28)
> > (In reply to Roland Illig from comment #11)
> > > From aarch64-sve-builtins.cc:
> > > > passing %qT to argument %d of %qE, which expects a scalar integer
> > > 
> > > "scalar integer" sounds redundant, this may be a copy-and-paste mistake 
> > > from
> > > the message directly above, which says "scalar element".
> > 
> > Likewise.
> I think it's worth keeping, at least in English.  The error could
> otherwise end up being something like:
> 
>   passing “svint32_t” to argument 2 of foo, which expects an integer
> 
> which IMO isn't as obvious: the crucial scalar vs. vector distinction
> is now implicit rather than explicit.

Good point, makes perfect sense.  I didn't think of vector types, that's why I
thought the "scalar" could have been redundant.  Thank you for the example.

Reply via email to