[Bug c/110737] GCC: internal compiler error: Segmentation fault when processing __builtin_isinf and _Atomic long double together
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 19 22:29:28 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110737
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
build_atomic_assign does not handle this in a reasonable fashion.
Note there is code like :
if (modifycode != NOP_EXPR)
add_stmt (rhs);
/* NOP_EXPR indicates it's a straight store of the RHS. Simply issue
an atomic_store. */
if (modifycode == NOP_EXPR)
{
...
/* VAL is the value which was stored, return a COMPOUND_STMT of
the statement and that value. */
return build2 (COMPOUND_EXPR, nonatomic_lhs_type, compound_stmt, val);
}
Which definitely could be improved too.
More information about the Gcc-bugs
mailing list