This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/69257] g++ ICE in "create_tmp_var" on invalid inline-asm


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]