This hack to attach a line 0 source_location to the return statement of main...
commit7cfea2ef26a3aab320c90d71c35c69a8c78404d7
authorGabriel Charette <gchare@google.com>
Fri, 5 Aug 2011 21:28:11 +0000 (5 21:28 +0000)
committerGabriel Charette <gchare@gcc.gnu.org>
Fri, 5 Aug 2011 21:28:11 +0000 (5 21:28 +0000)
treef664e2ae1f8f628fb85690ed1dd5b513ef258fac
parent9911e25a2745e1d523257ace9207d4d85146b8ed
This hack to attach a line 0 source_location to the return statement of main...

This hack to attach a line 0 source_location to the
return statement of main, after parsing is over, was
creating a bug in the line_table, creating an extra
entry, which was creating problems now that we are
trying to serialize the line_table in pph.

* decl.c (finish_function): Remove unecessary line 0 hack.

From-SVN: r177485
gcc/cp/ChangeLog
gcc/cp/decl.c