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++/70084] [6 Regression] va_arg ((ap), int) regression on s390*-*


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Mar  5 06:50:23 2016
New Revision: 234004

URL: https://gcc.gnu.org/viewcvs?rev=234004&root=gcc&view=rev
Log:
        PR c++/70084
        * tree-inline.c (copy_tree_body_r): When cancelling ADDR_EXPR
        of INDIRECT_REF and ADDR_EXPR changed type, fold_convert it
        to the right type.

        * g++.dg/expr/stdarg3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/expr/stdarg3.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-inline.c

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