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++/78949] incorrect "unused variable" warning with SSE2


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

prathamesh3492 at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |prathamesh3492 at gcc dot gnu.org

--- Comment #2 from prathamesh3492 at gcc dot gnu.org ---
Hi,
I am able to reproduce with r243961.

../stage1-build/gcc/cc1plus -Wunused 78949.c
 void f()
78949.c:6:10: warning: variable ‘x’ set but not used
[-Wunused-but-set-variable]
   xmmb_t x = { };

However not reproducible with cc1.

Thanks,
Prathamesh

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