------- Comment #3 from pinskia at gcc dot gnu dot org  2008-09-06 02:13 -------
Reduced testcase:
extern "C" {
  typedef struct _IO_FILE FILE;
  extern int __fprintf_chk (FILE *__restrict __stream, int __flag,      __const
char *__restrict __format, ...);
  extern __inline __attribute__ ((__always_inline__)) __attribute__
((__gnu_inline__, __artificial__)) int fprintf (FILE *__restrict __stream,
__const char *__restrict __fmt, ...)
  {
    return __fprintf_chk (__stream, 2 - 1, __fmt,    __builtin_va_arg_pack ());
  }
}
extern int bx_pc_system;
struct eth_pktmover_c {
  virtual ~eth_pktmover_c (void) {   }
};
struct bx_null_pktmover_c : public eth_pktmover_c
{
  bx_null_pktmover_c();
  FILE *txlog_txt;
};
void f(int*);
bx_null_pktmover_c::bx_null_pktmover_c()
{
  f(&bx_pc_system);
  for (int i=0; i<6; i++)
    fprintf (txlog_txt, "%02x", 0xff);
  fprintf (txlog_txt, "\n--\n");
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-09-06 02:13:46
               date|                            |


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

Reply via email to