| Submitter | Richard Guenther |
|---|---|
| Date | Sept. 25, 2012, 3:07 p.m. |
| Message ID | <alpine.LNX.2.00.1209251706430.4063@zhemvz.fhfr.qr> |
| Download | mbox | patch |
| Permalink | /patch/186836/ |
| State | New |
| Headers | show |
Comments
Patch
Index: libcpp/line-map.c =================================================================== --- libcpp/line-map.c (revision 191706) +++ libcpp/line-map.c (working copy) @@ -58,7 +58,7 @@ location_adhoc_data_hash (const void *l) { const struct location_adhoc_data *lb = (const struct location_adhoc_data *) l; - return (hashval_t) lb->locus + (size_t) &lb->data; + return (hashval_t) lb->locus + (size_t) lb->data; } /* Compare function for location_adhoc_data hashtable. */