<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/bison.git/tests/linear, branch master</title>
<subtitle>git.savannah.gnu.org: git/bison.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bison.git/'/>
<entry>
<title>package: bump copyrights to 2022</title>
<updated>2022-01-15T19:16:30+00:00</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2022-01-15T05:27:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bison.git/commit/?id=07e18e7fb4699c9529be8b62a5856ea6aef7e1b0'/>
<id>07e18e7fb4699c9529be8b62a5856ea6aef7e1b0</id>
<content type='text'>
Run "make update-copyright".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run "make update-copyright".
</pre>
</div>
</content>
</entry>
<entry>
<title>package: bump copyrights to 2021</title>
<updated>2021-01-16T15:11:17+00:00</updated>
<author>
<name>Akim Demaille</name>
<email>akim.demaille@gmail.com</email>
</author>
<published>2021-01-16T15:00:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bison.git/commit/?id=d7e8aaa271661b0b68c99fb76bbd6ec3a8939774'/>
<id>d7e8aaa271661b0b68c99fb76bbd6ec3a8939774</id>
<content type='text'>
Run 'make update-copyright'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run 'make update-copyright'.
</pre>
</div>
</content>
</entry>
<entry>
<title>package: bump copyrights to 2020</title>
<updated>2020-01-05T09:26:35+00:00</updated>
<author>
<name>Akim Demaille</name>
<email>akim.demaille@gmail.com</email>
</author>
<published>2020-01-05T08:44:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bison.git/commit/?id=8036635251bfd61d7eb5df2d9dad30b22db78e68'/>
<id>8036635251bfd61d7eb5df2d9dad30b22db78e68</id>
<content type='text'>
Run 'make update-copyright'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run 'make update-copyright'.
</pre>
</div>
</content>
</entry>
<entry>
<title>yacc: use the most appropriate integral type for state numbers</title>
<updated>2019-09-30T16:31:55+00:00</updated>
<author>
<name>Akim Demaille</name>
<email>akim.demaille@gmail.com</email>
</author>
<published>2019-09-28T11:48:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bison.git/commit/?id=2ca6b719674228fa2f77f6627e78111a757b83cc'/>
<id>2ca6b719674228fa2f77f6627e78111a757b83cc</id>
<content type='text'>
Currently we properly use the "best" integral type for tables,
including those storing state numbers.  However the variables for
state numbers used in yyparse (and its dependencies such as
yy_stack_print) still use int16_t invariably.  As a consequence, very
large models overflow these variables.

Let's use the "best" type for these variables too.  It turns out that
we can still use 16 bits for twice larger automata: stick to unsigned
types.

However using 'unsigned' when 16 bits are not enough is troublesome
and generates tons of warnings about signedness issues.  Instead,
let's use 'int'.

Reported by Tom Kramer.
https://lists.gnu.org/archive/html/bug-bison/2019-09/msg00018.html

* data/skeletons/yacc.c (b4_state_num_type): New.
(yy_state_num): Be computed from YYNSTATES.
* tests/linear: New.
* tests/torture.at (State number type): New.
Use it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently we properly use the "best" integral type for tables,
including those storing state numbers.  However the variables for
state numbers used in yyparse (and its dependencies such as
yy_stack_print) still use int16_t invariably.  As a consequence, very
large models overflow these variables.

Let's use the "best" type for these variables too.  It turns out that
we can still use 16 bits for twice larger automata: stick to unsigned
types.

However using 'unsigned' when 16 bits are not enough is troublesome
and generates tons of warnings about signedness issues.  Instead,
let's use 'int'.

Reported by Tom Kramer.
https://lists.gnu.org/archive/html/bug-bison/2019-09/msg00018.html

* data/skeletons/yacc.c (b4_state_num_type): New.
(yy_state_num): Be computed from YYNSTATES.
* tests/linear: New.
* tests/torture.at (State number type): New.
Use it.
</pre>
</div>
</content>
</entry>
</feed>
