This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/78949] incorrect "unused variable" warning with SSE2
- From: "prathamesh3492 at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 29 Dec 2016 12:22:23 +0000
- Subject: [Bug c++/78949] incorrect "unused variable" warning with SSE2
- Auto-submitted: auto-generated
- References: <bug-78949-4@http.gcc.gnu.org/bugzilla/>
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