diff options
| author | Martin Sebor <msebor@redhat.com> | 2018-10-05 16:43:11 +0000 |
|---|---|---|
| committer | Martin Sebor <msebor@gcc.gnu.org> | 2018-10-05 10:43:11 -0600 |
| commit | f343165275ab5a22546f82f75351a876449309a7 (patch) | |
| tree | 8f20c275050047b78af765ced840e7a2f5e38a6b /libcpp/errors.c | |
| parent | e0b9bc230ac50c67c63f303b70e72b34a7c516fb (diff) | |
| download | gcc-f343165275ab5a22546f82f75351a876449309a7.zip gcc-f343165275ab5a22546f82f75351a876449309a7.tar.gz gcc-f343165275ab5a22546f82f75351a876449309a7.tar.bz2 | |
PR tree-optimization/87490 - ICE in expand_builtin_strnlen with a constant argument and non-constant bound
gcc/ChangeLog:
PR tree-optimization/87490
* builtins.c (expand_builtin_strnlen): Handle a null data.decl
consistently.
gcc/testsuite/ChangeLog:
PR tree-optimization/87490
* gcc.dg/pr87490.c: New test.
* gcc.dg/warn-strnlen-no-nul-2.c: Same.
From-SVN: r264876
Diffstat (limited to 'libcpp/errors.c')
0 files changed, 0 insertions, 0 deletions
