[Bug sanitizer/69539] ICE in expand_UBSAN_NULL, at internal-fn.c:202

2017-01-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69539 --- Comment #8 from Jakub Jelinek --- I think this ought to be fixed by r243514, i.e. PR78708.

[Bug sanitizer/69539] ICE in expand_UBSAN_NULL, at internal-fn.c:202

2016-09-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69539 --- Comment #7 from Jakub Jelinek --- Seems to be related to PR69254, either we should force in some flag_sanitize flag whenever we stream in IFN_UBSAN_* builtins (perhaps depending on which option that was), or throw away the IFN_UBSAN_* calls i

[Bug sanitizer/69539] ICE in expand_UBSAN_NULL, at internal-fn.c:202

2016-09-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69539 --- Comment #6 from Martin Liška --- There's a minimal test-case: int fn1 (void) { return *(volatile int *) fn1; }

[Bug sanitizer/69539] ICE in expand_UBSAN_NULL, at internal-fn.c:202

2016-09-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69539 --- Comment #5 from Martin Liška --- I can also confirm the ICE on 4.9.0+, as well as on all active branches.

[Bug sanitizer/69539] ICE in expand_UBSAN_NULL, at internal-fn.c:202

2016-09-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69539 --- Comment #4 from Marek Polacek --- That's weird, I can still reproduce: $ xgcc -flto -fsanitize=null -c -o test test.c $ xgcc -flto test include/linux/compiler.h: In function ‘__read_once_size_nocheck’: include/linux/compiler.h:235:44: inter

[Bug sanitizer/69539] ICE in expand_UBSAN_NULL, at internal-fn.c:202

2016-09-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69539 --- Comment #3 from Jakub Jelinek --- I can't reproduce this, either with 6.x nor trunk, with -O0 I'm getting various error: call to ‘__compiletime_assert_149’ declared with attribute error: BUILD_BUG_ON failed: MODULES_VADDR < __START_KERNEL_map

[Bug sanitizer/69539] ICE in expand_UBSAN_NULL, at internal-fn.c:202

2016-08-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69539 Richard Biener changed: What|Removed |Added Target Milestone|4.9.4 |---

[Bug sanitizer/69539] ICE in expand_UBSAN_NULL, at internal-fn.c:202

2016-01-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69539 --- Comment #2 from Marek Polacek --- We have an unexpanded call to internal function because we've never gotten to expanding it in the sanopt pass.

[Bug sanitizer/69539] ICE in expand_UBSAN_NULL, at internal-fn.c:202

2016-01-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69539 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|