------- Comment #2 from pinskia at gcc dot gnu dot org  2007-06-17 18:00 -------
Reduced testcase:
typedef long unsigned int size_t;
extern int *stderr;
void f(int *, const char *, ...);
void g (const char *conf_name)
{
        typedef struct
        {
                const char *label;
                const int value;
        } Section;
        const Section sections[2] =
        { {"", 0}, {"", 1} };
        f (stderr, "", "", conf_name, 0, sections[0]);
        f (stderr, "", "", conf_name, 0, sections[0]);
}

------- cut --------
Note I think the orginal reduced testcase had undefined code at runtime
invoking fprintf with "%s" with a struct.


-- 

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         |2007-06-17 18:00:25
               date|                            |


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

Reply via email to