[Bug middle-end/97175] [11 Regression] ICE in maybe_warn_for_bound, at builtins.c:3483 since r11-2928-gd14c547abd484d35

2020-09-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97175 --- Comment #8 from Martin Sebor --- *** Bug 97190 has been marked as a duplicate of this bug. ***

[Bug middle-end/97175] [11 Regression] ICE in maybe_warn_for_bound, at builtins.c:3483 since r11-2928-gd14c547abd484d35

2020-09-24 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97175 --- Comment #7 from David Binderman --- Interesting. $ fgrep DECL_SOURCE_LOCATION `find trunk/gcc -name \*.c -print | fgrep -v /testsuite/` | wc -l 1002 $ fgrep EXPR_LOCATION `find trunk/gcc -name \*.c -print | fgrep -v /testsuite/` | wc -l

[Bug middle-end/97175] [11 Regression] ICE in maybe_warn_for_bound, at builtins.c:3483 since r11-2928-gd14c547abd484d35

2020-09-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97175 --- Comment #6 from Martin Sebor --- It definitely would be a step in the right direction. But I'm not sure how feasible it is to turn any of these tests into compile-time. They often test different bits in different structures. For example,

[Bug middle-end/97175] [11 Regression] ICE in maybe_warn_for_bound, at builtins.c:3483 since r11-2928-gd14c547abd484d35

2020-09-24 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97175 --- Comment #5 from David Binderman --- >From the text in the proposed patch: >Using DECL_SOURCE_LOCATION() with a tree node that's not a DECL >isn't a good idea, and neither is using EXPR_LOCATION() with >a node that is a DECL. Both trigger

[Bug middle-end/97175] [11 Regression] ICE in maybe_warn_for_bound, at builtins.c:3483 since r11-2928-gd14c547abd484d35

2020-09-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97175 Martin Sebor changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code --- Comment #4 from

[Bug middle-end/97175] [11 Regression] ICE in maybe_warn_for_bound, at builtins.c:3483 since r11-2928-gd14c547abd484d35

2020-09-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97175 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/97175] [11 Regression] ICE in maybe_warn_for_bound, at builtins.c:3483 since r11-2928-gd14c547abd484d35

2020-09-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97175 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:6edc8f5bfe7d9db8fb8bd37bb8086a69850c6c6d commit r11-3409-g6edc8f5bfe7d9db8fb8bd37bb8086a69850c6c6d Author: Martin Sebor Date: Wed

[Bug middle-end/97175] [11 Regression] ICE in maybe_warn_for_bound, at builtins.c:3483 since r11-2928-gd14c547abd484d35

2020-09-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97175 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED