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 tree-optimization/78586] [7 Regression] Wrong code caused by printf-return-value


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

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Dec  1 23:15:57 2016
New Revision: 243145

URL: https://gcc.gnu.org/viewcvs?rev=243145&root=gcc&view=rev
Log:
        PR tree-optimization/78586
        * gimple-ssa-sprintf.c (format_integer): Don't handle NOP_EXPR,
        CONVERT_EXPR or COMPONENT_REF here.  Formatting fix.  For
        SSA_NAME_DEF_STMT with NOP_EXPR only change argtype if the rhs1's
        type is INTEGER_TYPE or POINTER_TYPE.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-ssa-sprintf.c

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