[gccgo] Make sure go-system.h is always included first

Ian Lance Taylor iant@google.com
Wed Nov 17 06:37:00 GMT 2010


This gccgo patch makes sure that go-system.h is always the first header
file included.  go-system.h in turn includes config.h first, so this
ensure that config.h always comes before anything else, as required for
large file support.  In order to do this, I added includes of <list> and
<algorithm> to go-system.h.  I also realized that there is one use of
unordered_set in the frontend, so I handles that like unordered_map.
Committed to gccgo branch.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 4692 bytes
Desc: go-system.h
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101117/2558e9c0/attachment.bin>


More information about the Gcc-patches mailing list