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/52577] __builtin_shuffle -Wunused-but-set-* false positives


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52577

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-13 21:19:56 UTC ---
Author: jakub
Date: Tue Mar 13 21:19:50 2012
New Revision: 185355

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185355
Log:
    PR c/52577
    * c-parser.c (c_parser_postfix_expression)
    <case RID_BUILTIN_SHUFFLE>: Call mark_exp_read on argument values.

    * gcc.dg/Wunused-var-3.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/Wunused-var-3.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-parser.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]