This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/37382] [4.4 Regression] ICE in extract_insn: <var_decl 0x7fda26ff4b40 swig_module>) 0)



------- Comment #3 from reichelt at gcc dot gnu dot org  2008-09-08 23:34 -------
Confirmed. Reduced testcase:

==================================
char* foo(char *p, char *q)
{
  const char *r = q + 2;
  for (; q != r; p++, q++)
    *p = *q;
  return p;
}

void bar(int *p)
{
  char a[2];
  foo(a, (char*)&p);
  baz(a);
}

static int c;

void quus()
{
  bar(&c);
}
==================================

The regression appeared between 2008-03-21 and 2008-04-19.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-09-08 23:34:23
               date|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]