This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r226896 - in /trunk/gcc: ChangeLog gimple.c tes...
- From: mpolacek at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 14 Aug 2015 16:29:39 -0000
- Subject: r226896 - in /trunk/gcc: ChangeLog gimple.c tes...
Author: mpolacek
Date: Fri Aug 14 16:29:38 2015
New Revision: 226896
URL: https://gcc.gnu.org/viewcvs?rev=226896&root=gcc&view=rev
Log:
PR middle-end/67133
* gimple.c (infer_nonnull_range_by_attribute): Check that the
nonnull argument position is not outside function arguments.
* gcc.dg/torture/pr67133.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr67133.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple.c
trunk/gcc/testsuite/ChangeLog