This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69257] g++ ICE in "create_tmp_var" on invalid inline-asm
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Jan 2016 15:57:39 +0000
- Subject: [Bug c++/69257] g++ ICE in "create_tmp_var" on invalid inline-asm
- Auto-submitted: auto-generated
- References: <bug-69257-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69257
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jan 15 15:57:07 2016
New Revision: 232436
URL: https://gcc.gnu.org/viewcvs?rev=232436&root=gcc&view=rev
Log:
PR c++/69257
* typeck.c (decay_conversion): Don't call mark_rvalue_use for
array/function-to-pointer conversion. Call
complete_type_or_maybe_complain for lvalue-to-rvalue conversion.
* call.c (convert_like_real): Print call context if
decay_conversion errors.
Added:
trunk/gcc/testsuite/g++.dg/ext/asm13.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/typeck.c