Add patch-al to work around an apparent bug in gcc31 in -current. The

problem was not observed with the gcc in -stable.

The apparent bug results in an endless loop if a certain routine in
lstream.c is inline'd.
This commit is contained in:
Gary Jennejohn 2002-06-29 17:28:55 +00:00
parent c3b23cf49e
commit cc7fcc1ae7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62175
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- src/lstream.c.orig Sat Jun 29 18:17:20 2002
+++ src/lstream.c Sat Jun 29 18:14:06 2002
@@ -181,7 +181,7 @@
}
}
-inline static size_t
+/*inline*/ static size_t
aligned_sizeof_lstream (size_t lstream_type_specific_size)
{
return ALIGN_SIZE (offsetof (Lstream, data) + lstream_type_specific_size,

View file

@ -0,0 +1,11 @@
--- src/lstream.c.orig Sat Jun 29 18:17:20 2002
+++ src/lstream.c Sat Jun 29 18:14:06 2002
@@ -181,7 +181,7 @@
}
}
-inline static size_t
+/*inline*/ static size_t
aligned_sizeof_lstream (size_t lstream_type_specific_size)
{
return ALIGN_SIZE (offsetof (Lstream, data) + lstream_type_specific_size,