[Bug c/36367] warning for questionable compound expression

2010-03-31 Thread pzhao at gcc dot gnu dot org
--- Comment #2 from pzhao at gcc dot gnu dot org 2010-03-31 09:58 --- Author: ebotcazou Date: Thu May 29 11:33:17 2008 New Revision: 136154 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136154 Log: * tree-nested.c (check_for_nested_with_variably_modified):

[Bug c/36367] warning for questionable compound expression

2010-04-01 Thread pzhao at gcc dot gnu dot org
--- Comment #4 from pzhao at gcc dot gnu dot org 2010-04-01 09:19 --- Sorry! I have misunderstood this issue before. Is it to ask for warn at the following test case? = int foo (int a) { return a; } int bar (int c) { if (foo (1), c) // Warn foo(1) don't

[Bug c/36774] -Wmissing-prototypes triggers on nested functions

2010-04-01 Thread pzhao at gcc dot gnu dot org
--- Comment #4 from pzhao at gcc dot gnu dot org 2010-04-02 02:53 --- Testing patch -- pzhao at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug c/36774] -Wmissing-prototypes triggers on nested functions

2010-04-05 Thread pzhao at gcc dot gnu dot org
--- Comment #5 from pzhao at gcc dot gnu dot org 2010-04-05 13:44 --- Proposed patch http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00078.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36774

[Bug c/36774] -Wmissing-prototypes triggers on nested functions

2010-04-11 Thread pzhao at gcc dot gnu dot org
--- Comment #6 from pzhao at gcc dot gnu dot org 2010-04-12 03:43 --- Subject: Bug 36774 Author: pzhao Date: Mon Apr 12 03:43:21 2010 New Revision: 158214 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158214 Log: gcc/ 2010-04-12 Shujing Zhao PR c/36774

[Bug c/36774] -Wmissing-prototypes triggers on nested functions

2010-04-11 Thread pzhao at gcc dot gnu dot org
--- Comment #7 from pzhao at gcc dot gnu dot org 2010-04-12 04:00 --- Fixed on trunk. -- pzhao at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c/32207] missing warnings about address of 'x'.

2010-04-26 Thread pzhao at gcc dot gnu dot org
--- Comment #3 from pzhao at gcc dot gnu dot org 2010-04-27 02:40 --- Subject: Bug 32207 Author: pzhao Date: Tue Apr 27 02:40:19 2010 New Revision: 158765 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158765 Log: gcc/ 2010-04-27 Shujing Zhao PR c/32207

[Bug c/32207] missing warnings about address of 'x'.

2010-04-26 Thread pzhao at gcc dot gnu dot org
--- Comment #4 from pzhao at gcc dot gnu dot org 2010-04-27 02:42 --- Fix for trunk. -- pzhao at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c++/43906] New: missing warnings the comparison between an address with a null pointer constant

2010-04-26 Thread pzhao at gcc dot gnu dot org
Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pzhao at gcc dot gnu dot org http://gcc.gnu.org

[Bug c++/43779] Parts of message not available for translation

2010-04-28 Thread pzhao at gcc dot gnu dot org
-- pzhao at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pzhao at gcc dot gnu dot org |dot org

[Bug c/40885] build_indirect_ref i18n problems

2009-12-16 Thread pzhao at gcc dot gnu dot org
--- Comment #2 from pzhao at gcc dot gnu dot org 2009-12-17 03:22 --- Subject: Bug 40885 Author: pzhao Date: Thu Dec 17 03:22:22 2009 New Revision: 155302 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155302 Log: 2009-12-17 Shujing Zhao PR c/40885

[Bug c/40885] build_indirect_ref i18n problems

2009-12-16 Thread pzhao at gcc dot gnu dot org
--- Comment #3 from pzhao at gcc dot gnu dot org 2009-12-17 03:31 --- Fixed for 4.5.0. -- pzhao at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c++/31665] %s substituted with "built-in"/"library" can't be properly translated

2009-12-18 Thread pzhao at gcc dot gnu dot org
--- Comment #1 from pzhao at gcc dot gnu dot org 2009-12-18 08:50 --- Subject: Bug 31665 Author: pzhao Date: Fri Dec 18 08:50:24 2009 New Revision: 155340 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155340 Log: cp/ 2009-12-16 Shujing Zhao PR c

[Bug translation/42467] exgettext should not remove TABs from option help strings

2010-01-07 Thread pzhao at gcc dot gnu dot org
-- pzhao at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pzhao at gcc dot gnu dot org |dot org

[Bug translation/42469] option help strings not properly using TAB

2010-01-07 Thread pzhao at gcc dot gnu dot org
-- pzhao at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pzhao at gcc dot gnu dot org |dot org

[Bug translation/39521] specs diagnostics translation problems

2010-01-08 Thread pzhao at gcc dot gnu dot org
-- pzhao at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pzhao at gcc dot gnu dot org |dot org

[Bug translation/42469] option help strings not properly using TAB

2010-01-10 Thread pzhao at gcc dot gnu dot org
--- Comment #2 from pzhao at gcc dot gnu dot org 2010-01-11 04:28 --- Subject: Bug 42469 Author: pzhao Date: Mon Jan 11 04:28:36 2010 New Revision: 155801 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155801 Log: gcc/po/ 2010-01-11 Joseph Myers Shuj

[Bug translation/42467] exgettext should not remove TABs from option help strings

2010-01-10 Thread pzhao at gcc dot gnu dot org
--- Comment #5 from pzhao at gcc dot gnu dot org 2010-01-11 04:28 --- Subject: Bug 42467 Author: pzhao Date: Mon Jan 11 04:28:36 2010 New Revision: 155801 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155801 Log: gcc/po/ 2010-01-11 Joseph Myers Shuj

[Bug translation/42467] exgettext should not remove TABs from option help strings

2010-01-11 Thread pzhao at gcc dot gnu dot org
--- Comment #6 from pzhao at gcc dot gnu dot org 2010-01-11 09:33 --- Fixed for 4.5.0 -- pzhao at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug translation/42469] option help strings not properly using TAB

2010-01-11 Thread pzhao at gcc dot gnu dot org
--- Comment #3 from pzhao at gcc dot gnu dot org 2010-01-11 09:34 --- Fixed for 4.5.0 -- pzhao at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug translation/39521] specs diagnostics translation problems

2010-01-13 Thread pzhao at gcc dot gnu dot org
--- Comment #2 from pzhao at gcc dot gnu dot org 2010-01-14 06:28 --- Subject: Bug 39521 Author: pzhao Date: Thu Jan 14 06:28:27 2010 New Revision: 155878 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155878 Log: po/ 2010-01-14 Shujing Zhao PR translati

[Bug translation/39521] specs diagnostics translation problems

2010-01-13 Thread pzhao at gcc dot gnu dot org
--- Comment #3 from pzhao at gcc dot gnu dot org 2010-01-14 06:36 --- Fixed for 4.5.0. -- pzhao at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c/40563] -Wc++-compat does not warn about uninitialized const field in struct

2010-07-20 Thread pzhao at gcc dot gnu dot org
-- pzhao at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pzhao at gcc dot gnu dot org |dot org

[Bug c/40563] -Wc++-compat does not warn about uninitialized const field in struct

2010-08-17 Thread pzhao at gcc dot gnu dot org
--- Comment #1 from pzhao at gcc dot gnu dot org 2010-08-17 08:25 --- Subject: Bug 40563 Author: pzhao Date: Tue Aug 17 08:25:20 2010 New Revision: 163296 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163296 Log: /gcc 2010-08-17 Shujing Zhao PR c/40563

[Bug c/40563] -Wc++-compat does not warn about uninitialized const field in struct

2010-08-17 Thread pzhao at gcc dot gnu dot org
--- Comment #2 from pzhao at gcc dot gnu dot org 2010-08-17 08:28 --- Fix on trunk -- pzhao at gcc dot gnu dot org changed: What|Removed |Added Target Milestone

[Bug c/40563] -Wc++-compat does not warn about uninitialized const field in struct

2010-08-17 Thread pzhao at gcc dot gnu dot org
--- Comment #3 from pzhao at gcc dot gnu dot org 2010-08-17 08:30 --- Fix on trunk -- pzhao at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c++/43779] Parts of message not available for translation

2010-04-29 Thread pzhao at gcc dot gnu dot org
--- Comment #2 from pzhao at gcc dot gnu dot org 2010-04-30 06:16 --- Subject: Bug 43779 Author: pzhao Date: Fri Apr 30 06:16:26 2010 New Revision: 158919 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158919 Log: 2010-04-30 Shujing Zhao PR c

[Bug c++/43779] Parts of message not available for translation

2010-05-05 Thread pzhao at gcc dot gnu dot org
--- Comment #3 from pzhao at gcc dot gnu dot org 2010-05-05 14:18 --- fixed for 4.6.0 -- pzhao at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c++/30566] -Wshadow warns about clashes between nested function parameters in C++

2010-05-13 Thread pzhao at gcc dot gnu dot org
--- Comment #3 from pzhao at gcc dot gnu dot org 2010-05-14 03:19 --- Subject: Bug 30566 Author: pzhao Date: Fri May 14 03:19:32 2010 New Revision: 159383 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159383 Log: gcc/cp/ 2010-05-14 Shujing Zhao PR c

[Bug c++/18249] C++ parser i18n problems

2010-05-24 Thread pzhao at gcc dot gnu dot org
--- Comment #1 from pzhao at gcc dot gnu dot org 2010-05-25 06:26 --- Subject: Bug 18249 Author: pzhao Date: Tue May 25 06:26:07 2010 New Revision: 159808 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159808 Log: 2010-05-25 Shujing Zhao PR c

[Bug c++/18249] C++ parser i18n problems

2010-05-24 Thread pzhao at gcc dot gnu dot org
--- Comment #2 from pzhao at gcc dot gnu dot org 2010-05-25 06:57 --- Fixed for 4.6.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18249

[Bug c++/18249] C++ parser i18n problems

2010-05-24 Thread pzhao at gcc dot gnu dot org
--- Comment #3 from pzhao at gcc dot gnu dot org 2010-05-25 06:57 --- Fixed. -- pzhao at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c++/38468] Bad order of error messages for function call with wrong number of arguments

2010-06-01 Thread pzhao at gcc dot gnu dot org
--- Comment #2 from pzhao at gcc dot gnu dot org 2010-06-02 06:53 --- *** This bug has been marked as a duplicate of 43126 *** -- pzhao at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/43126] "at this point in file" warnings are upside down

2010-06-01 Thread pzhao at gcc dot gnu dot org
--- Comment #9 from pzhao at gcc dot gnu dot org 2010-06-02 06:53 --- *** Bug 38468 has been marked as a duplicate of this bug. *** -- pzhao at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/37724] "initialization from incompatible pointer type" does not say which field is being initialized

2010-06-07 Thread pzhao at gcc dot gnu dot org
--- Comment #8 from pzhao at gcc dot gnu dot org 2010-06-08 03:56 --- Subject: Bug 37724 Author: pzhao Date: Tue Jun 8 03:56:40 2010 New Revision: 160418 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160418 Log: gcc/ 2010-06-08 Andrew Pinski Shuj

[Bug c/37724] "initialization from incompatible pointer type" does not say which field is being initialized

2010-06-07 Thread pzhao at gcc dot gnu dot org
--- Comment #9 from pzhao at gcc dot gnu dot org 2010-06-08 04:02 --- Fixed for trunk. -- pzhao at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c/44517] improve diagnostic for mispelled typename in function declaration

2010-06-18 Thread pzhao at gcc dot gnu dot org
--- Comment #1 from pzhao at gcc dot gnu dot org 2010-06-18 10:18 --- Confirmed. The diagnostic of clang is better. -- pzhao at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/44517] improve diagnostic for mispelled typename in function declaration

2010-06-25 Thread pzhao at gcc dot gnu dot org
--- Comment #2 from pzhao at gcc dot gnu dot org 2010-06-25 07:32 --- Subject: Bug 44517 Author: pzhao Date: Fri Jun 25 07:31:49 2010 New Revision: 161363 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161363 Log: gcc/ 2010-06-25 Shujing Zhao PR c/44517

[Bug c/44519] improve message for missing ";" after struct

2010-06-29 Thread pzhao at gcc dot gnu dot org
--- Comment #1 from pzhao at gcc dot gnu dot org 2010-06-29 08:34 --- Confirmed. -- pzhao at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c/44519] improve message for missing ";" after struct

2010-06-29 Thread pzhao at gcc dot gnu dot org
--- Comment #2 from pzhao at gcc dot gnu dot org 2010-06-30 03:55 --- C++ has the same problem. Testcase: class foo { int x; } typedef int bar; g++-4.6: a.C:3:13: error: two or more data types in declaration of ‘bar’ clang++: a.C:1:21: error: expected ';' after class class

[Bug c++/22138] Better error message for rejecting local template declaration.

2010-07-04 Thread pzhao at gcc dot gnu dot org
--- Comment #2 from pzhao at gcc dot gnu dot org 2010-07-05 05:36 --- Subject: Bug 22138 Author: pzhao Date: Mon Jul 5 05:36:02 2010 New Revision: 161818 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161818 Log: gcc/cp/ 2010-07-05 Shujing Zhao PR c

[Bug c++/22138] Better error message for rejecting local template declaration.

2010-07-04 Thread pzhao at gcc dot gnu dot org
--- Comment #3 from pzhao at gcc dot gnu dot org 2010-07-05 06:13 --- Fixed for trunk. -- pzhao at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c/44854] New: Improve diagnostic for missing member name or ';' in a struct

2010-07-07 Thread pzhao at gcc dot gnu dot org
Keywords: diagnostic Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pzhao at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44854