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 #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-22 10:08:56 UTC ---
Author: jakub
Date: Thu Mar 22 10:08:49 2012
New Revision: 185682

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185682
Log:
    Backported from mainline
    2012-03-13  Jakub Jelinek  <jakub@redhat.com>

    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:
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/Wunused-var-3.c
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/c-parser.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog


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