LWN.net Logo

Regehr: GCC 4.8 Breaks Broken SPEC 2006 Benchmarks

Regehr: GCC 4.8 Breaks Broken SPEC 2006 Benchmarks

Posted Mar 27, 2013 19:23 UTC (Wed) by HelloWorld (guest, #56129)
In reply to: Regehr: GCC 4.8 Breaks Broken SPEC 2006 Benchmarks by iabervon
Parent article: Regehr: GCC 4.8 Breaks Broken SPEC 2006 Benchmarks

Use the string.h, Luke!

static inline int framelen(char s[]) {
  return strnlen(s, 256);
}
;)


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds