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++/84444] ICE with __builtin_launder and cast


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84444

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb 19 19:36:41 2018
New Revision: 257822

URL: https://gcc.gnu.org/viewcvs?rev=257822&root=gcc&view=rev
Log:
        PR c++/84444
        * builtins.c (builtin_mathfn_code): Don't check if CALL_EXPR_FN (t)
        is ADDR_EXPR.

        * g++.dg/cpp1z/launder8.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/launder8.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/testsuite/ChangeLog

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