[Bug c/67410] [5 Regression] c/c-typeck.c references out of bounds array

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67410

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #10 from Jakub Jelinek  ---
Fixed.

[Bug c/67410] [5 Regression] c/c-typeck.c references out of bounds array

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67410

--- Comment #9 from Jakub Jelinek  ---
Author: jakub
Date: Tue May 30 07:12:08 2017
New Revision: 248596

URL: https://gcc.gnu.org/viewcvs?rev=248596=gcc=rev
Log:
Backported from mainline
2016-08-12  Jakub Jelinek  
Martin Liska  

PR c/67410
* c-typeck.c (set_nonincremental_init_from_string): Use / instead of
% to determine val element to change.  Assert that
wchar_bytes * charwidth fits into val array.

* gcc.dg/pr67410.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr67410.c
Modified:
branches/gcc-5-branch/gcc/c/ChangeLog
branches/gcc-5-branch/gcc/c/c-typeck.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug c/67410] [5 Regression] c/c-typeck.c references out of bounds array

2017-03-20 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67410

--- Comment #8 from Vittorio Zecca  ---
Fixed on 7.0.1

[Bug c/67410] [5 Regression] c/c-typeck.c references out of bounds array

2016-12-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67410

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P2

[Bug c/67410] [5 Regression] c/c-typeck.c references out of bounds array

2016-08-16 Thread LpSolit at netscape dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67410

Jakub Jelinek  changed:

   What|Removed |Added

Summary|[5/6/7 Regression]  |[5 Regression] c/c-typeck.c
   |c/c-typeck.c references out |references out of bounds
   |of bounds array |array

--- Comment #7 from Jakub Jelinek  ---
Fixed for 6.2+ so far.

[Bug c/67410] [5 Regression] c/c-typeck.c references out of bounds array

2016-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67410

Jakub Jelinek  changed:

   What|Removed |Added

Summary|[5/6/7 Regression]  |[5 Regression] c/c-typeck.c
   |c/c-typeck.c references out |references out of bounds
   |of bounds array |array

--- Comment #7 from Jakub Jelinek  ---
Fixed for 6.2+ so far.