[Bug c++/44128] New: C++ frontend not warn on type shadowing with -Wshadow

2010-05-13 Thread lcwu at gcc dot gnu dot org
dot org ReportedBy: lcwu at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44128

[Bug bootstrap/39968] [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used

2009-04-29 Thread lcwu at gcc dot gnu dot org
--- Comment #2 from lcwu at gcc dot gnu dot org 2009-04-30 00:34 --- The sole use of gcc_version in plugin.c is in function try_init_one_plugin, which is guarded by the macro ENABLE_PLUGIN. Since ENABLE_PLUGIN is set to 0 on the Darwin systems, the function was compiled out. I think we

[Bug c++/39803] Bogus 'unused value' warning on declarations of non-POD arrays

2009-04-20 Thread lcwu at gcc dot gnu dot org
--- Comment #3 from lcwu at gcc dot gnu dot org 2009-04-20 21:45 --- The fix for this bug was committed to mainline at revision 146454. -- lcwu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/39803] Bogus 'unused value' warning on declarations of non-POD arrays

2009-04-20 Thread lcwu at gcc dot gnu dot org
--- Comment #2 from lcwu at gcc dot gnu dot org 2009-04-20 21:13 --- Subject: Bug 39803 Author: lcwu Date: Mon Apr 20 21:13:08 2009 New Revision: 146454 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146454 Log: PR c++/39803 * gcc/cp/init.c (build_vec_in

[Bug c++/39803] Bogus 'unused value' warning on declarations of non-POD arrays

2009-04-17 Thread lcwu at gcc dot gnu dot org
--- Comment #1 from lcwu at gcc dot gnu dot org 2009-04-17 23:07 --- This bogus warning started to show up after the fix for PR c++/39551 was submitted (at revision 146132). And the root cause for the issue is that C++ front-end generates the following code to initialize the local '

[Bug c++/39803] New: Bogus 'unused value' warning on declarations of non-POD arrays

2009-04-17 Thread lcwu at gcc dot gnu dot org
;unused value' warning on declarations of non-POD arrays Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedB

[Bug c++/39551] C++ frontend not warn about unused dereference operator with -Wunused-value

2009-04-15 Thread lcwu at gcc dot gnu dot org
--- Comment #2 from lcwu at gcc dot gnu dot org 2009-04-15 18:03 --- The fix for this bug was committed at revision 146132. -- lcwu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/39551] C++ frontend not warn about unused dereference operator with -Wunused-value

2009-04-15 Thread lcwu at gcc dot gnu dot org
--- Comment #1 from lcwu at gcc dot gnu dot org 2009-04-15 17:56 --- Subject: Bug 39551 Author: lcwu Date: Wed Apr 15 17:55:50 2009 New Revision: 146132 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146132 Log: PR c++/39551 * gcc/cp/call.c (build_o

[Bug c++/39551] New: C++ frontend not warn about unused dereference operator with -Wunused-value

2009-03-24 Thread lcwu at gcc dot gnu dot org
with -Wunused-value Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: lcwu at gcc dot gnu dot org GCC build triplet