This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH fix --enable-mapped-location build failures


Per Bothner wrote:
> There as been some bit-rotting of --enable-mapped-location as people
> have made various changes in line-number-related code without
> testing with --enable-mapped-location.  The attached patches fix
> these, except in gcc/java, which I will submit separately.
> I've included a patch for cp/decl.c since it is the same change
> as in c-decl.c.

BTW, the comment for the function linemap_add() in
libcpp/line-map.c is slightly mangled:

   FROM_LINE should be monotonic increasing across calls to this
   function.  A call to this function can relocate the previous set of
   A call to this function can relocate the previous set of
   maps, so any stored line_map pointers should not be used.  */

Ranjit.

-- 
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://ranjitmathew.hostingzero.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]