[Bug c/20379] Segfault after struct declared inside parameter list

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Tue Mar 8 10:12:00 GMT 2005


------- Additional Comments From falk at debian dot org  2005-03-08 10:11 -------
I can reproduce this with 3.4.4 20041218 (prerelease) (Debian 3.4.3-6)
(i486-linux), but not with 3.4.4 20050203 (prerelease) (Debian 3.4.3-9)
(alpha-linux). Probably it's already fixed.

Test case:

void dblkIO_aio_init (struct aioinit *);
void basis_dllaio ()
{
  struct aioinit { int x; } rt_init;
  dblkIO_aio_init(&rt_init);
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
      Known to work|                            |3.3.5
            Summary|Gcc 3.4.3 got " internal    |Segfault after struct
                   |compiler error: Segmentation|declared inside parameter
                   |fault"                      |list


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



More information about the Gcc-bugs mailing list