https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64791
--- Comment #9 from Ville Voutilainen ville.voutilainen at gmail dot com ---
I can't see any warnings with my trunk build from today, either.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64791
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64791
--- Comment #8 from Paolo Carlini paolo.carlini at oracle dot com ---
Weird, I tried on my machine yesterday's r220267 and same result, no warning
(with -std=gnu++1z -Wall -Wextra). I guess that before closing this bug we need
either to figure
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64791
--- Comment #6 from Ville Voutilainen ville.voutilainen at gmail dot com ---
I ran it with this thing:
http://melpon.org/wandbox/permlink/gAsh89NaSSFspYjq
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64791
--- Comment #5 from Paolo Carlini paolo.carlini at oracle dot com ---
Hi ville. With r220303 I don't see the warning, at any optimization level and
various combinations of other flags + -Wunused-but-set-variable of course. Can
you please double
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64791
--- Comment #7 from Paolo Carlini paolo.carlini at oracle dot com ---
I know that web page, but today, 20150131, I can't reproduce the issue with the
current tree on my machine.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64791
Ville Voutilainen ville.voutilainen at gmail dot com changed:
What|Removed |Added
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64791
--- Comment #4 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Oh, wait a minute, with trunk, I see an incorrect warning:
prog.cc: In function 'int main()':
prog.cc:7:15: warning: variable 'a' set but not used
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64791
--- Comment #1 from Tomalak Geret'kal tom at kera dot name ---
Build error:
/
main.cpp: In instantiation of 'main()::lambda(auto:1) [with auto:1 = int]':
/usr/local/include/c++/4.9.2/functional:2149:71: required by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64791
--- Comment #2 from Tomalak Geret'kal tom at kera dot name ---
Actually, I'm no longer sure that `a` *is* odr-used...
10 matches
Mail list logo