public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/18249] C++ parser i18n problems
[not found] <bug-18249-230@http.gcc.gnu.org/bugzilla/>
@ 2010-05-25 6:26 ` pzhao at gcc dot gnu dot org
2010-05-25 6:57 ` pzhao at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pzhao at gcc dot gnu dot org @ 2010-05-25 6:26 UTC (permalink / raw)
To: gcc-bugs
------- 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 <pearly.zhao@oracle.com>
PR c++/18249
* parser.c: Remove inclusion of dyn-string.h.
(non_integral_constant): New enum.
(name_lookup_error): New enum.
(required_token): New enum.
(cp_parser_required_error): New function.
(cp_parser_require): Change the type of variable token_desc to
required_token and use cp_parser_required_error.
(cp_parser_require_keyword): Likewise.
(cp_parser_error): Use gmsgid as parameter.
(cp_parser_name_lookup_error): Change the type of variable desired to
name_lookup_error and put the diagnostic in the full sentences. Change
caller.
(cp_parser_non_integral_constant_expression): Change the type of the
variable thing to non_integral_constant and put the diagnostics in
full sentences. Change caller.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18249
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/18249] C++ parser i18n problems
[not found] <bug-18249-230@http.gcc.gnu.org/bugzilla/>
2010-05-25 6:26 ` [Bug c++/18249] C++ parser i18n problems pzhao at gcc dot gnu dot org
@ 2010-05-25 6:57 ` pzhao at gcc dot gnu dot org
2010-05-25 6:58 ` pzhao at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pzhao at gcc dot gnu dot org @ 2010-05-25 6:57 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/18249] C++ parser i18n problems
[not found] <bug-18249-230@http.gcc.gnu.org/bugzilla/>
2010-05-25 6:26 ` [Bug c++/18249] C++ parser i18n problems pzhao at gcc dot gnu dot org
2010-05-25 6:57 ` pzhao at gcc dot gnu dot org
@ 2010-05-25 6:58 ` pzhao at gcc dot gnu dot org
2010-05-25 9:23 ` paolo dot carlini at oracle dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pzhao at gcc dot gnu dot org @ 2010-05-25 6:58 UTC (permalink / raw)
To: gcc-bugs
------- 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 |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18249
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/18249] C++ parser i18n problems
[not found] <bug-18249-230@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2010-05-25 6:58 ` pzhao at gcc dot gnu dot org
@ 2010-05-25 9:23 ` paolo dot carlini at oracle dot com
2010-05-25 12:09 ` amylaar at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-05-25 9:23 UTC (permalink / raw)
To: gcc-bugs
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18249
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/18249] C++ parser i18n problems
[not found] <bug-18249-230@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2010-05-25 9:23 ` paolo dot carlini at oracle dot com
@ 2010-05-25 12:09 ` amylaar at gcc dot gnu dot org
2010-05-25 12:22 ` jakub at gcc dot gnu dot org
2010-05-25 16:18 ` jakub at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-05-25 12:09 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2667 bytes --]
------- Comment #4 from amylaar at gcc dot gnu dot org 2010-05-25 12:09 -------
(In reply to comment #1)
> 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 <pearly.zhao@oracle.com>
>
> PR c++/18249
> * parser.c: Remove inclusion of dyn-string.h.
> (non_integral_constant): New enum.
> (name_lookup_error): New enum.
> (required_token): New enum.
> (cp_parser_required_error): New function.
> (cp_parser_require): Change the type of variable token_desc to
> required_token and use cp_parser_required_error.
> (cp_parser_require_keyword): Likewise.
> (cp_parser_error): Use gmsgid as parameter.
> (cp_parser_name_lookup_error): Change the type of variable desired to
> name_lookup_error and put the diagnostic in the full sentences. Change
> caller.
> (cp_parser_non_integral_constant_expression): Change the type of the
> variable thing to non_integral_constant and put the diagnostics in
> full sentences. Change caller.
>
> Modified:
> trunk/gcc/cp/ChangeLog
> trunk/gcc/cp/parser.c
>
This broke bootstrap on i686-pc-linux-gnu:
/user/inria/fsf/bld-20100525/./prev-gcc/xgcc
-B/user/inria/fsf/bld-20100525/./prev-gcc/ -B/user/inria/i686-pc-linux-gnu/bin/
-B/user/inria/i686-pc-linux-gnu/bin/ -B/user/inria/i686-pc-linux-gnu/lib/
-isystem /user/inria/i686-pc-linux-gnu/include -isystem
/user/inria/i686-pc-linux-gnu/sys-include -c -g -O2 -fomit-frame-pointer
-gtoggle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition
-Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../gcc/gcc
-I../../gcc/gcc/cp -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
-I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/bid
-I../libdecnumber -DCLOOG_PPL_BACKEND -I/usr/include/libelf
../../gcc/gcc/cp/parser.c -o cp/parser.o
../../gcc/gcc/cp/parser.c: In function cp_parser_unary_expression:
../../gcc/gcc/cp/parser.c:5898:7: error: enum conversion in initialization is
invalid in C++ [-Werror=c++-compat]
../../gcc/gcc/cp/parser.c: In function cp_parser_asm_definition:
../../gcc/gcc/cp/parser.c:13478:3: error: enum conversion in initialization is
invalid in C++ [-Werror=c++-compat]
cc1: all warnings being treated as errors
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18249
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/18249] C++ parser i18n problems
[not found] <bug-18249-230@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2010-05-25 12:09 ` amylaar at gcc dot gnu dot org
@ 2010-05-25 12:22 ` jakub at gcc dot gnu dot org
2010-05-25 16:18 ` jakub at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-05-25 12:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jakub at gcc dot gnu dot org 2010-05-25 12:22 -------
http://gcc.gnu.org/ml/gcc-patches/2010-05/msg01837.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18249
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/18249] C++ parser i18n problems
[not found] <bug-18249-230@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2010-05-25 12:22 ` jakub at gcc dot gnu dot org
@ 2010-05-25 16:18 ` jakub at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-05-25 16:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jakub at gcc dot gnu dot org 2010-05-25 16:18 -------
Subject: Bug 18249
Author: jakub
Date: Tue May 25 16:17:32 2010
New Revision: 159827
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159827
Log:
PR c++/18249
* parser.c (non_integral_constant): Add NIC_NONE.
(required_token): Add RT_NONE.
(cp_parser_unary_expression): Initialize non_constant_p
to NIC_NONE.
(cp_parser_asm_definition): Initialize missing to RT_NONE.
(cp_parser_primary_expression, cp_parser_postfix_expression,
cp_parser_cast_expression, cp_parser_binary_expression,
cp_parser_functional_cast): Fix formatting.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18249
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/18249] C++ parser i18n problems
2004-10-31 10:35 [Bug c++/18249] New: " jsm28 at gcc dot gnu dot org
@ 2004-12-06 22:04 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-06 22:04 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-12-06 22:04:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18249
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-05-25 16:18 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-18249-230@http.gcc.gnu.org/bugzilla/>
2010-05-25 6:26 ` [Bug c++/18249] C++ parser i18n problems pzhao at gcc dot gnu dot org
2010-05-25 6:57 ` pzhao at gcc dot gnu dot org
2010-05-25 6:58 ` pzhao at gcc dot gnu dot org
2010-05-25 9:23 ` paolo dot carlini at oracle dot com
2010-05-25 12:09 ` amylaar at gcc dot gnu dot org
2010-05-25 12:22 ` jakub at gcc dot gnu dot org
2010-05-25 16:18 ` jakub at gcc dot gnu dot org
2004-10-31 10:35 [Bug c++/18249] New: " jsm28 at gcc dot gnu dot org
2004-12-06 22:04 ` [Bug c++/18249] " pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).