[Bug rtl-optimization/52186] New: array out of bounds error when accessing last byte of a struct via char ptr

2012-02-09 Thread alex at aivor dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52186 Bug #: 52186 Summary: array out of bounds error when accessing last byte of a struct via char ptr Classification: Unclassified Product: gcc Version: 4.5.2 Status:

[Bug rtl-optimization/52186] array out of bounds error when accessing last byte of a struct via char ptr

2012-02-09 Thread alex at aivor dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52186 --- Comment #1 from Alex Tomlinson alex at aivor dot com 2012-02-09 17:10:31 UTC --- Created attachment 26625 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26625 output of -save-temps

[Bug rtl-optimization/52186] array out of bounds error when accessing last byte of a struct via char ptr

2012-02-09 Thread alex at aivor dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52186 --- Comment #2 from Alex Tomlinson alex at aivor dot com 2012-02-09 17:11:03 UTC --- Created attachment 26626 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26626 output of -save-temps

[Bug rtl-optimization/52186] array out of bounds error when accessing last byte of a struct via char ptr

2012-02-09 Thread alex at aivor dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52186 --- Comment #3 from Alex Tomlinson alex at aivor dot com 2012-02-09 17:12:39 UTC --- Created attachment 26627 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26627 stdout/stderr of gcc with -v -save-temps

[Bug rtl-optimization/52186] array out of bounds error when accessing last byte of a struct via char ptr

2012-02-09 Thread alex at aivor dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52186 --- Comment #4 from Alex Tomlinson alex at aivor dot com 2012-02-09 17:23:37 UTC --- Reported to work with gcc 4.6.1: $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.6.1/lto