public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/36569]  New: Checking printf format of recursive va_args.
@ 2008-06-18 21:07 cazfi74 at gmail dot com
  2008-06-18 21:09 ` [Bug regression/36569] " cazfi74 at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: cazfi74 at gmail dot com @ 2008-06-18 21:07 UTC (permalink / raw)
  To: gcc-bugs

__attribute__(__format__(__printf__, 1, 2) gives bogus error
"format string argument not a string type" when format itself is built from
variable arguments.

gcc version 4.3.1.
I have checked that this does not happen with 4.2.4.


-- 
           Summary: Checking printf format of recursive va_args.
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cazfi74 at gmail dot com
 GCC build triplet: i686-linux-gnu
  GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu


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


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

* [Bug regression/36569] Checking printf format of recursive va_args.
  2008-06-18 21:07 [Bug regression/36569] New: Checking printf format of recursive va_args cazfi74 at gmail dot com
@ 2008-06-18 21:09 ` cazfi74 at gmail dot com
  2008-06-18 21:30 ` [Bug c/36569] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: cazfi74 at gmail dot com @ 2008-06-18 21:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from cazfi74 at gmail dot com  2008-06-18 21:08 -------
Created an attachment (id=15783)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15783&action=view)
Test source to compile

gcc -c vaformat.c


-- 


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


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

* [Bug c/36569] Checking printf format of recursive va_args.
  2008-06-18 21:07 [Bug regression/36569] New: Checking printf format of recursive va_args cazfi74 at gmail dot com
  2008-06-18 21:09 ` [Bug regression/36569] " cazfi74 at gmail dot com
@ 2008-06-18 21:30 ` pinskia at gcc dot gnu dot org
  2008-12-28  1:00 ` pinskia at gcc dot gnu dot org
  2008-12-28 12:33 ` cazfi74 at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-06-18 21:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-06-18 21:30 -------
This works on the trunk


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|regression                  |c


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


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

* [Bug c/36569] Checking printf format of recursive va_args.
  2008-06-18 21:07 [Bug regression/36569] New: Checking printf format of recursive va_args cazfi74 at gmail dot com
  2008-06-18 21:09 ` [Bug regression/36569] " cazfi74 at gmail dot com
  2008-06-18 21:30 ` [Bug c/36569] " pinskia at gcc dot gnu dot org
@ 2008-12-28  1:00 ` pinskia at gcc dot gnu dot org
  2008-12-28 12:33 ` cazfi74 at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-28  1:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-12-28 00:57 -------
This works for the 4.3 branch, 4.3.2 and the current trunk.  Does this work for
you now?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug c/36569] Checking printf format of recursive va_args.
  2008-06-18 21:07 [Bug regression/36569] New: Checking printf format of recursive va_args cazfi74 at gmail dot com
                   ` (2 preceding siblings ...)
  2008-12-28  1:00 ` pinskia at gcc dot gnu dot org
@ 2008-12-28 12:33 ` cazfi74 at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: cazfi74 at gmail dot com @ 2008-12-28 12:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from cazfi74 at gmail dot com  2008-12-28 12:31 -------
Yes, it works. I cannot reproduce any more.


-- 

cazfi74 at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2008-12-28 12:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-18 21:07 [Bug regression/36569] New: Checking printf format of recursive va_args cazfi74 at gmail dot com
2008-06-18 21:09 ` [Bug regression/36569] " cazfi74 at gmail dot com
2008-06-18 21:30 ` [Bug c/36569] " pinskia at gcc dot gnu dot org
2008-12-28  1:00 ` pinskia at gcc dot gnu dot org
2008-12-28 12:33 ` cazfi74 at gmail dot com

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).