read-rtl.c (md_name): New structure.
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 10 Jun 2010 20:22:21 +0000 (20:22 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 10 Jun 2010 20:22:21 +0000 (20:22 +0000)
commit82f8e3fd2eef8bcfa1add07c7b9ee8b3c3192a89
treed81c5651475024cbb881c2a40b61508ea4e36d3d
parentbb933490c3e9c3347c1566662688c6cafa6768e5
read-rtl.c (md_name): New structure.

gcc/
* read-rtl.c (md_name): New structure.
(read_name): Take an md_name instead of a buffer pointer.
Use the "string" field instead of strcpy when expanding constants.
(read_constants): Remove the tmp_char argument.  Update the calls
to read_name, using two local name buffers instead of the tmp_char
argument.  Merge the constant-creation code.
(read_conditions): Remove the tmp_char argument.  Update the calls
to read_name, using a local name buffer instead of the tmp_char
argument.
(read_mapping): Replace tmp_char variable with a local name buffer.
Update the calls to read_name.
(read_rtx_1): Likewise.  Update the calls to read_constants and
read_conditions.

From-SVN: r160574
gcc/ChangeLog
gcc/read-rtl.c