[Bug c/70281] valgrind error in can_be_stored_compactly_p (line-map.c:148)

2016-03-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70281 --- Comment #3 from David Malcolm --- Candidate patch posted here: https://gcc.gnu.org/ml/gcc-patches/2016-03/msg01099.html

[Bug c/70281] valgrind error in can_be_stored_compactly_p (line-map.c:148)

2016-03-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70281 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/70281] valgrind error in can_be_stored_compactly_p (line-map.c:148)

2016-03-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70281 --- Comment #2 from David Malcolm --- Minimized reproducer: $ cat bug.c const char *bch_stats_show (unsigned long cache_hits) { return (__builtin_types_compatible_p (typeof (cache_hits >> 16), int) ? "%i\n" : "%i\n"); } Am working o

[Bug c/70281] valgrind error in can_be_stored_compactly_p (line-map.c:148)

2016-03-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70281 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/70281] valgrind error in can_be_stored_compactly_p (line-map.c:148)

2016-03-19 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70281 --- Comment #4 from David Malcolm --- Author: dmalcolm Date: Fri Mar 18 17:45:42 2016 New Revision: 234340 URL: https://gcc.gnu.org/viewcvs?rev=234340&root=gcc&view=rev Log: PR c/70281: C FE: fix uninitialized range for __builtin_types_compatibl