public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/15586] gfortran should support i18n in its compiler messages
       [not found] <bug-15586-230@http.gcc.gnu.org/bugzilla/>
@ 2005-10-23 19:39 ` fxcoudert at gcc dot gnu dot org
  2005-10-24  9:12 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-10-23 19:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from fxcoudert at gcc dot gnu dot org  2005-10-23 19:39 -------
> Keeping open for translation problems remaining (diagnostics built from
> pieces).

I have patch that adresses most of those. As said in
http://gcc.gnu.org/ml/gcc-patches/2005-10/msg01407.html, the only remaining
issue after that will be the whynot variable in resolve_symbol(), in resolve.c


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |10/msg01407.html
   Last reconfirmed|2005-07-15 03:09:34         |2005-10-23 19:39:07
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15586


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15586] gfortran should support i18n in its compiler messages
       [not found] <bug-15586-230@http.gcc.gnu.org/bugzilla/>
  2005-10-23 19:39 ` [Bug fortran/15586] gfortran should support i18n in its compiler messages fxcoudert at gcc dot gnu dot org
@ 2005-10-24  9:12 ` cvs-commit at gcc dot gnu dot org
  2005-10-26 11:02 ` cvs-commit at gcc dot gnu dot org
  2005-10-26 11:05 ` fxcoudert at gcc dot gnu dot org
  3 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-24  9:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from cvs-commit at gcc dot gnu dot org  2005-10-24 09:11 -------
Subject: Bug 15586

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     fxcoudert@gcc.gnu.org   2005-10-24 09:11:52

Modified files:
        gcc/fortran    : ChangeLog arith.c check.c decl.c parse.c 
                         parse.h 

Log message:
        PR fortran/15586
        * arith.c (gfc_arith_error): Change message to include locus.
        (check_result, eval_intrinsic, gfc_int2int, gfc_real2real,
        gfc_real2complex, gfc_complex2real, gfc_complex2complex): Use
        the new gfc_arith_error.
        (arith_error): Rewrite full error messages instead of building
        them from pieces.
        * check.c (must_be): Removed.
        (type_check, numeric_check, int_or_real_check, real_or_complex_check,
        kind_check, double_check, logical_array_check, array_check,
        scalar_check, same_type_check, rank_check, kind_value_check,
        variable_check, gfc_check_allocated, gfc_check_associated,
        gfc_check_cmplx, gfc_check_dcmplx, gfc_check_dot_product,
        gfc_check_index, gfc_check_kind, gfc_check_matmul, gfc_check_null,
        gfc_check_pack, gfc_check_precision, gfc_check_present,
        gfc_check_spread): Rewrite full error messages instead of
        building them from pieces.
        * decl.c (gfc_match_entry): Rewrite full error messages instead
        of building them from pieces.
        * parse.c (gfc_state_name): Remove.
        * parse.h: Remove prototype for gfc_state_name.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.595&r2=1.596
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/arith.c.diff?cvsroot=gcc&r1=1.31&r2=1.32
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/check.c.diff?cvsroot=gcc&r1=1.35&r2=1.36
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/decl.c.diff?cvsroot=gcc&r1=1.45&r2=1.46
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/parse.c.diff?cvsroot=gcc&r1=1.32&r2=1.33
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/parse.h.diff?cvsroot=gcc&r1=1.7&r2=1.8


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15586


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15586] gfortran should support i18n in its compiler messages
       [not found] <bug-15586-230@http.gcc.gnu.org/bugzilla/>
  2005-10-23 19:39 ` [Bug fortran/15586] gfortran should support i18n in its compiler messages fxcoudert at gcc dot gnu dot org
  2005-10-24  9:12 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-26 11:02 ` cvs-commit at gcc dot gnu dot org
  2005-10-26 11:05 ` fxcoudert at gcc dot gnu dot org
  3 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-26 11:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from cvs-commit at gcc dot gnu dot org  2005-10-26 11:02 -------
Subject: Bug 15586

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     fxcoudert@gcc.gnu.org   2005-10-26 11:02:00

Modified files:
        gcc/fortran    : ChangeLog resolve.c 

Log message:
        PR fortran/15586
        * resolve.c (resolve_symbol): Remove the use of whynot, so that
        error messages are not built from pieces.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.601&r2=1.602
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcc&r1=1.65&r2=1.66


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15586


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15586] gfortran should support i18n in its compiler messages
       [not found] <bug-15586-230@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-10-26 11:02 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-26 11:05 ` fxcoudert at gcc dot gnu dot org
  3 siblings, 0 replies; 9+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-10-26 11:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from fxcoudert at gcc dot gnu dot org  2005-10-26 11:05 -------
Fixed, now no message is built from pieces anymore.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://gcc.gnu.org/ml/gcc-  |
                   |patches/2005-               |
                   |10/msg01407.html            |
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15586


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15586] gfortran should support i18n in its compiler messages
  2004-05-23 10:00 [Bug fortran/15586] New: gfortran should support i18n jsm28 at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-09-17 18:58 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-17 19:02 ` fxcoudert at gcc dot gnu dot org
  4 siblings, 0 replies; 9+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-09-17 19:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-09-17 19:01 -------
Keeping open for translation problems remaining (diagnostics built from pieces).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|19292                       |
              nThis|                            |
                URL|http://gcc.gnu.org/ml/gcc-  |
                   |patches/2005-               |
                   |09/msg00062.html            |
           Keywords|patch                       |
            Version|4.0.0                       |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15586


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15586] gfortran should support i18n in its compiler messages
  2004-05-23 10:00 [Bug fortran/15586] New: gfortran should support i18n jsm28 at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-09-04 20:42 ` fxcoudert at gcc dot gnu dot org
@ 2005-09-17 18:58 ` cvs-commit at gcc dot gnu dot org
  2005-09-17 19:02 ` fxcoudert at gcc dot gnu dot org
  4 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-17 18:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-17 18:58 -------
Subject: Bug 15586

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	fxcoudert@gcc.gnu.org	2005-09-17 18:58:11

Modified files:
	gcc/fortran    : ChangeLog arith.c array.c check.c error.c 
	                 expr.c gfortran.h gfortranspec.c io.c 
	                 matchexp.c misc.c module.c parse.c primary.c 
	                 resolve.c symbol.c trans-const.c 
	gcc/po         : ChangeLog exgettext gcc.pot 

Log message:
	PR fortran/15586
	
	* arith.c (gfc_arith_error): Add translation support
	for error messages.
	* array.c (gfc_match_array_ref): Likewise.
	(gfc_match_array_spec): Likewise.
	* check.c (must_be): Add msgid convention to third argument.
	(same_type_check): Add translation support for error message.
	(rank_check): Likewise.
	(kind_value_check): Likewise.
	(gfc_check_associated): Correct typo.
	(gfc_check_reshape): Add translation support for error message.
	(gfc_check_spread): Likewise.
	* error.c (error_printf): Add nocmsgid convention to argument.
	(gfc_warning, gfc_notify_std, gfc_warning_now, gfc_warning_check)
	(gfc_error, gfc_error_now): Likewise.
	(gfc_status): Add cmsgid convention to argument.
	* expr.c (gfc_extract_int): Add translation support
	for error messages.
	(gfc_check_conformance): Add msgid convention to argument.
	(gfc_check_pointer_assign): Correct tabbing.
	* gfortran.h: Include intl.h header. Remove prototype
	for gfc_article.
	* gfortranspec.c: Include intl.h header.
	(lang_specific_driver): Add translation support for --version.
	* io.c (check_format): Add translation support for
	error message.
	(format_item_1): Likewise.
	(data_desc): Likewise.
	* matchexp.c: Likewise.
	* misc.c (gfc_article): Remove function.
	* module.c (bad_module): Use msgid convention. Add
	translation support for error messages.
	(require_atom): Add translation support for error messages.
	* parse.c (gfc_ascii_statement): Likewise.
	(gfc_state_name): Likewise.
	* primary.c (match_boz_constant): Reorganise error
	messages for translations.
	* resolve.c (resolve_entries): Likewise.
	(resolve_operator): Add translation support for error messages.
	(gfc_resolve_expr): Use msgid convention. Reorganise error
	messages for translations.
	(resolve_symbol): Add translation support for error messages.
	* symbol.c (gfc_add_procedure): Remove use of gfc_article function.
	* trans-const.c (gfc_build_string_const): Use msgid convention.
	
	* exgettext: Add a new nocmsgid convention for arguments
	that should be marked as no-c-format.
	* gcc.pot: Regenerate.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.556&r2=1.557
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/arith.c.diff?cvsroot=gcc&r1=1.30&r2=1.31
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/array.c.diff?cvsroot=gcc&r1=1.19&r2=1.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/check.c.diff?cvsroot=gcc&r1=1.33&r2=1.34
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/error.c.diff?cvsroot=gcc&r1=1.15&r2=1.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/expr.c.diff?cvsroot=gcc&r1=1.28&r2=1.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/gfortran.h.diff?cvsroot=gcc&r1=1.86&r2=1.87
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/gfortranspec.c.diff?cvsroot=gcc&r1=1.9&r2=1.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/io.c.diff?cvsroot=gcc&r1=1.32&r2=1.33
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/matchexp.c.diff?cvsroot=gcc&r1=1.10&r2=1.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/misc.c.diff?cvsroot=gcc&r1=1.10&r2=1.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/module.c.diff?cvsroot=gcc&r1=1.36&r2=1.37
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/parse.c.diff?cvsroot=gcc&r1=1.30&r2=1.31
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/primary.c.diff?cvsroot=gcc&r1=1.36&r2=1.37
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcc&r1=1.52&r2=1.53
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/symbol.c.diff?cvsroot=gcc&r1=1.33&r2=1.34
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-const.c.diff?cvsroot=gcc&r1=1.30&r2=1.31
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/po/ChangeLog.diff?cvsroot=gcc&r1=1.167&r2=1.168
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/po/exgettext.diff?cvsroot=gcc&r1=1.13&r2=1.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/po/gcc.pot.diff?cvsroot=gcc&r1=1.37&r2=1.38



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15586


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15586] gfortran should support i18n in its compiler messages
  2004-05-23 10:00 [Bug fortran/15586] New: gfortran should support i18n jsm28 at gcc dot gnu dot org
  2004-12-03 12:50 ` [Bug fortran/15586] gfortran should support i18n in its compiler messages steven at gcc dot gnu dot org
  2005-04-15  8:39 ` fxcoudert at gcc dot gnu dot org
@ 2005-09-04 20:42 ` fxcoudert at gcc dot gnu dot org
  2005-09-17 18:58 ` cvs-commit at gcc dot gnu dot org
  2005-09-17 19:02 ` fxcoudert at gcc dot gnu dot org
  4 siblings, 0 replies; 9+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-09-04 20:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-09-04 20:42 -------
Patch about that under review here:
http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00062.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |09/msg00062.html
           Keywords|                            |patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15586


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15586] gfortran should support i18n in its compiler messages
  2004-05-23 10:00 [Bug fortran/15586] New: gfortran should support i18n jsm28 at gcc dot gnu dot org
  2004-12-03 12:50 ` [Bug fortran/15586] gfortran should support i18n in its compiler messages steven at gcc dot gnu dot org
@ 2005-04-15  8:39 ` fxcoudert at gcc dot gnu dot org
  2005-09-04 20:42 ` fxcoudert at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-04-15  8:39 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
   Last reconfirmed|2005-03-04 04:03:01         |2005-04-15 08:39:35
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15586


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug fortran/15586] gfortran should support i18n in its compiler messages
  2004-05-23 10:00 [Bug fortran/15586] New: gfortran should support i18n jsm28 at gcc dot gnu dot org
@ 2004-12-03 12:50 ` steven at gcc dot gnu dot org
  2005-04-15  8:39 ` fxcoudert at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-12-03 12:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2004-12-03 12:50 -------
Not a regression says the RM.

gfortran should move to the generic GCC diagnostics machinery anyway,
hopefully for GCC 4.1.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.0 Regression] gfortran   |gfortran should support i18n
                   |should support i18n in its  |in its compiler messages
                   |compiler messages           |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15586


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-10-26 11:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-15586-230@http.gcc.gnu.org/bugzilla/>
2005-10-23 19:39 ` [Bug fortran/15586] gfortran should support i18n in its compiler messages fxcoudert at gcc dot gnu dot org
2005-10-24  9:12 ` cvs-commit at gcc dot gnu dot org
2005-10-26 11:02 ` cvs-commit at gcc dot gnu dot org
2005-10-26 11:05 ` fxcoudert at gcc dot gnu dot org
2004-05-23 10:00 [Bug fortran/15586] New: gfortran should support i18n jsm28 at gcc dot gnu dot org
2004-12-03 12:50 ` [Bug fortran/15586] gfortran should support i18n in its compiler messages steven at gcc dot gnu dot org
2005-04-15  8:39 ` fxcoudert at gcc dot gnu dot org
2005-09-04 20:42 ` fxcoudert at gcc dot gnu dot org
2005-09-17 18:58 ` cvs-commit at gcc dot gnu dot org
2005-09-17 19:02 ` fxcoudert 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).