[Bug middle-end/20023] [4.0 Regression] internal compiler error: Segmentation fault

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Feb 17 19:18:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-17 14:05 -------
Reduced testcase:
void f(void);
typedef __SIZE_TYPE__ size_t;
void g(void *a)
{
  size_t b = (size_t)a;
  switch (b)
  {
    case 1:
      f();
    break;
  }
}

This looks very much related to PR 20009 as I think it was caused by the same patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c++                         |middle-end
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-17 14:05:42
               date|                            |


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



More information about the Gcc-bugs mailing list