This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: vector conditional expression with scalar arguments
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Marc Glisse <marc dot glisse at inria dot fr>
- Cc: Jason Merrill <jason at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Sun, 4 Aug 2013 18:51:43 +0200 (CEST)
- Subject: Re: vector conditional expression with scalar arguments
- References: <alpine dot DEB dot 2 dot 02 dot 1307071343320 dot 31289 at stedding dot saclay dot inria dot fr> <51DAE2FE dot 1040707 at redhat dot com> <alpine dot DEB dot 2 dot 10 dot 1307081810170 dot 17629 at stedding dot saclay dot inria dot fr> <51DB7FA0 dot 8090601 at redhat dot com> <alpine dot DEB dot 2 dot 02 dot 1307132114160 dot 18427 at stedding dot saclay dot inria dot fr>
On Sat, 13 Jul 2013, Marc Glisse wrote:
2013-07-14 Marc Glisse <marc.glisse@inria.fr>
gcc/cp/
* call.c (build_conditional_expr_1): Handle the case with 1 vector
and 2 scalars. Call save_expr before building a vector.
* typeck.c (cp_build_binary_op): Check complain before complaining.
Shouldn't this be documented somewhere (gcc/doc/*.texi and our
web based release notes)?
Gerald