diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-04-04 21:55:56 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-04-04 21:55:56 +0200 |
commit | 2ff7172ad6faa734cf7d55a06bffe6a0438626f0 (patch) | |
tree | ef0944e597f17c044b6d2f0805d36c25dc9412bb /gcc/expr.c | |
parent | 628a15343e494e457c647347e879c69a62016e0c (diff) | |
download | gcc-2ff7172ad6faa734cf7d55a06bffe6a0438626f0.zip gcc-2ff7172ad6faa734cf7d55a06bffe6a0438626f0.tar.gz gcc-2ff7172ad6faa734cf7d55a06bffe6a0438626f0.tar.bz2 |
re PR inline-asm/85172 (internal compiler error: unexpected expression '<statement>' of kind asm_expr)
PR inline-asm/85172
* constexpr.c (cxx_eval_builtin_function_call): For calls to
builtin_valid_in_constant_expr_p functions, don't call
cxx_eval_constant_expression if argument is not
potential_constant_expression.
* g++.dg/ext/builtin13.C: New test.
* g++.dg/ext/atomic-4.C: New test.
From-SVN: r259104
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions