[Bug c/98852] New: [11 Regression] Conditional expression wrongly rejected for arm_neon.h vectors
rsandifo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 27 12:07:01 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98852
Bug ID: 98852
Summary: [11 Regression] Conditional expression wrongly
rejected for arm_neon.h vectors
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: rsandifo at gcc dot gnu.org
Target Milestone: ---
Target: aarch64*-*-*
#include <arm_neon.h>
uint8x16_t
foo (int c, uint8x16_t x, uint8x16_t y)
{
return c ? x + 1 : y;
}
is wrongly rejected for C, but not C++. This is extracted from
comment 8 of PR96377.
More information about the Gcc-bugs
mailing list