[treelang] Make treelang work with --enable-mapped-location

James A. Morrison ja2morri@csclub.uwaterloo.ca
Fri Oct 1 02:49:00 GMT 2004


 Hi,

  This patch converts the treelang front end to use error/warning instead
of fprintf and allows treelang to build and run with --enable-mapped-location.
I haven't done any timings to see if this speeds up or slows down anything.
I don't think it matters for treelang though.  I've also included a couple
for test cases to check that the errors are output correctly.

 This patch has been tested with make treelang.check with and without
--enable-mapped-location.  Ok for mainline?

 PING: http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02862.html

-- 
Thanks,
Jim

http://www.student.cs.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: treelang.30.patch
Type: text/x-patch
Size: 46015 bytes
Desc: Front end patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20041001/e89086db/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: treelang.30.test.patch
Type: text/x-patch
Size: 1515 bytes
Desc: Testsuite patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20041001/e89086db/attachment-0001.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: autofunc.tree
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20041001/e89086db/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: badchar.tree
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20041001/e89086db/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: externvar.tree
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20041001/e89086db/attachment-0002.ksh>


More information about the Gcc-patches mailing list