public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/23717] New: [Ada] Wrong ICE diagnostic formatting
@ 2005-09-03 12:47 schwab at suse dot de
  2005-09-03 13:33 ` [Bug ada/23717] " joseph at codesourcery dot com
  2005-09-05 14:52 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 6+ messages in thread
From: schwab at suse dot de @ 2005-09-03 12:47 UTC (permalink / raw)
  To: gcc-bugs

internal_error_function in ada/misc.c uses plain vfprintf for formatting the 
error message, which may contain gcc-specific formatting directives when 
called through tree_class_check_failed or tree_contains_struct_check_failed.

-- 
           Summary: [Ada] Wrong ICE diagnostic formatting
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schwab at suse dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug ada/23717] [Ada] Wrong ICE diagnostic formatting
  2005-09-03 12:47 [Bug ada/23717] New: [Ada] Wrong ICE diagnostic formatting schwab at suse dot de
@ 2005-09-03 13:33 ` joseph at codesourcery dot com
  2005-09-05 14:52 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: joseph at codesourcery dot com @ 2005-09-03 13:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From joseph at codesourcery dot com  2005-09-03 13:33 -------
Subject: Re:  New: [Ada] Wrong ICE diagnostic formatting

On Sat, 3 Sep 2005, schwab at suse dot de wrote:

> internal_error_function in ada/misc.c uses plain vfprintf for formatting the 
> error message, which may contain gcc-specific formatting directives when 
> called through tree_class_check_failed or tree_contains_struct_check_failed.

Roger Sayle's patch for this:

http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01498.html



-- 


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


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

* [Bug ada/23717] [Ada] Wrong ICE diagnostic formatting
  2005-09-03 12:47 [Bug ada/23717] New: [Ada] Wrong ICE diagnostic formatting schwab at suse dot de
  2005-09-03 13:33 ` [Bug ada/23717] " joseph at codesourcery dot com
@ 2005-09-05 14:52 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-05 14:52 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |05/msg01498.html
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |patch
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-05 14:52:24
               date|                            |


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


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

* [Bug ada/23717] [Ada] Wrong ICE diagnostic formatting
       [not found] <bug-23717-50@http.gcc.gnu.org/bugzilla/>
  2005-11-19 17:24 ` rguenth at gcc dot gnu dot org
  2005-11-19 17:25 ` rguenth at gcc dot gnu dot org
@ 2005-11-19 17:26 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-19 17:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2005-11-19 17:26 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to work|                            |4.1.0
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


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

* [Bug ada/23717] [Ada] Wrong ICE diagnostic formatting
       [not found] <bug-23717-50@http.gcc.gnu.org/bugzilla/>
  2005-11-19 17:24 ` rguenth at gcc dot gnu dot org
@ 2005-11-19 17:25 ` rguenth at gcc dot gnu dot org
  2005-11-19 17:26 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-19 17:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2005-11-19 17:25 -------
Subject: Bug 23717

Author: rguenth
Date: Sat Nov 19 17:25:41 2005
New Revision: 107224

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107224
Log:
2005-11-19  Richard Guenther  <rguenther@suse.de>
        Roger Sayle  <roger@eyesopen.com>

        PR ada/23717
        * misc.c (internal_error_function): Don't use vsprintf to format
        the error message text, instead use pp_format_text and the new
        pretty printer APIs.  This allows handling of %qs, %w, etc.

Modified:
    branches/gcc-4_1-branch/gcc/ada/ChangeLog
    branches/gcc-4_1-branch/gcc/ada/misc.c


-- 


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


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

* [Bug ada/23717] [Ada] Wrong ICE diagnostic formatting
       [not found] <bug-23717-50@http.gcc.gnu.org/bugzilla/>
@ 2005-11-19 17:24 ` rguenth at gcc dot gnu dot org
  2005-11-19 17:25 ` rguenth at gcc dot gnu dot org
  2005-11-19 17:26 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-19 17:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2005-11-19 17:24 -------
Subject: Bug 23717

Author: rguenth
Date: Sat Nov 19 17:24:33 2005
New Revision: 107223

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107223
Log:
2005-11-19  Richard Guenther  <rguenther@suse.de>
        Roger Sayle  <roger@eyesopen.com>

        PR ada/23717
        * misc.c (internal_error_function): Don't use vsprintf to format
        the error message text, instead use pp_format_text and the new
        pretty printer APIs.  This allows handling of %qs, %w, etc.

Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/misc.c


-- 


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


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-03 12:47 [Bug ada/23717] New: [Ada] Wrong ICE diagnostic formatting schwab at suse dot de
2005-09-03 13:33 ` [Bug ada/23717] " joseph at codesourcery dot com
2005-09-05 14:52 ` pinskia at gcc dot gnu dot org
     [not found] <bug-23717-50@http.gcc.gnu.org/bugzilla/>
2005-11-19 17:24 ` rguenth at gcc dot gnu dot org
2005-11-19 17:25 ` rguenth at gcc dot gnu dot org
2005-11-19 17:26 ` rguenth 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).