------- Comment #3 from pinskia at gcc dot gnu dot org  2006-02-26 23:06 -------
Confirmed, reduced testcase:
typedef struct logfunctions {
  char *prefix;
  int onoff[5];
}a;
extern int default_onoff[5];
void f(a *t)
{
  int i;
  for (i=0; i<5; i++)
    t->onoff[i] = default_onoff[i];
}
-------
For some reason it is only reproduciable with 64 bit targets.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
 GCC target triplet|x86_64-suse-linux-gnu       |64bit target
   Last reconfirmed|0000-00-00 00:00:00         |2006-02-26 23:06:59
               date|                            |
            Summary|ice for valid code with -O2 |[4.2 Regression] ice for
                   |                            |valid code with -O2
   Target Milestone|---                         |4.2.0


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

Reply via email to