[Bug libgcc/60472] Warning: array subscript is above array bounds when compiling crtstuff.c
uros at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 10 18:31:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60472
--- Comment #2 from uros at gcc dot gnu.org ---
Author: uros
Date: Mon Mar 10 18:31:20 2014
New Revision: 208457
URL: http://gcc.gnu.org/viewcvs?rev=208457&root=gcc&view=rev
Log:
PR libgcc/60472
* crtstuff.c (frame_dummy): Use void **jcr_list temporary
variable to avoid array subscript is above array bounds warnings.
Use __builtin_expect when checking *jcr_list for NULL.
Modified:
trunk/libgcc/ChangeLog
trunk/libgcc/crtstuff.c
More information about the Gcc-bugs
mailing list