[Bug c/34197] array overflow warning without line number

2007-11-22 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-11-22 19:34 --- Indeed. EXPR_LOCUS no longer is NULL if there is no location, but one has to use EXPR_HAS_LOCATION instead. Like Index: tree-vrp.c === --- tree-vrp.c

[Bug c/34197] array overflow warning without line number

2007-11-22 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-11-22 19:28 --- The expression warned about is call_5(D)->ret[5] and I suspect the mapped locations make the location information wrong. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug c/34197] array overflow warning without line number

2007-11-22 Thread marcus at jet dot franken dot de
--- Comment #1 from marcus at jet dot franken dot de 2007-11-22 18:48 --- Created an attachment (id=14612) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14612&action=view) relay16.i testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34197