[Patch, libfortran, committed] Cleanup NEWUNIT allocation
Janne Blomqvist
blomqvist.janne@gmail.com
Tue Nov 1 11:48:00 GMT 2011
Hi,
attached patch committed to trunk as obvious after regtesting.
2011-11-01 Janne Blomqvist <jb@gcc.gnu.org>
* io/io.h (next_available_newunit): Remove prototype.
* io/unit.h (next_available_newunit): Make variable static,
initialize it.
(init_units): Don't initialize next_available_newunit.
(get_unique_unit_number): Use atomic builtin if available.
--
Janne Blomqvist
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newunit.diff
Type: text/x-patch
Size: 1940 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20111101/b8b507a4/attachment.bin>
More information about the Fortran
mailing list