public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/18828] New: [4.0 Regression] Extraneous warning with var_start and optimization
@ 2004-12-04 13:47 pinskia at gcc dot gnu dot org
  2004-12-04 13:47 ` [Bug tree-optimization/18828] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-04 13:47 UTC (permalink / raw)
  To: gcc-bugs

typedef __builtin_va_list __gnuc_va_list;
typedef __gnuc_va_list va_list;

extern void abort (void);

void foo (int size, ...)
{
  va_list ap;
  if (size != 21)
    abort ();
  __builtin_va_start(ap,size);
  __builtin_va_end(ap);
}

I found this while fixing another bug.

-- 
           Summary: [4.0 Regression] Extraneous warning with var_start and
                    optimization
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-01-07 13:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-04 13:47 [Bug tree-optimization/18828] New: [4.0 Regression] Extraneous warning with var_start and optimization pinskia at gcc dot gnu dot org
2004-12-04 13:47 ` [Bug tree-optimization/18828] " pinskia at gcc dot gnu dot org
2004-12-05 16:51 ` pinskia at gcc dot gnu dot org
2004-12-20 13:56 ` pinskia at gcc dot gnu dot org
2004-12-22  7:45 ` pinskia at gcc dot gnu dot org
2005-01-05 20:41 ` pinskia at gcc dot gnu dot org
2005-01-07  9:01 ` cvs-commit at gcc dot gnu dot org
2005-01-07 13:49 ` 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).