IRA: Ignore debug insns for uses in split_live_ranges_for_shrink_wrap. [PR116179]
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / out-of-bounds-diagram-pr114899.c
blob14ba540d4ec296db5e76e48548ed523504139e6c
1 /* Verify we don't ICE generating out-of-bounds diagram. */
3 /* { dg-additional-options " -fsanitize=undefined -fdiagnostics-text-art-charset=unicode" } */
5 int * a() {
6 int *b = (int *)__builtin_malloc(sizeof(int));
7 int *c = b - 1;
8 ++*c;
9 return b;
12 /* We don't care about the exact diagram, just that we don't ICE. */
14 /* { dg-allow-blank-lines-in-output 1 } */
15 /* { dg-prune-output ".*" } */