[Bug tree-optimization/55949] __builtin_object_size size passed to memcpy_chk is incorrect

2013-01-11 Thread rmansfield at qnx dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55949 Ryan Mansfield changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug tree-optimization/55949] __builtin_object_size size passed to memcpy_chk is incorrect

2013-01-11 Thread rmansfield at qnx dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55949 --- Comment #3 from Ryan Mansfield 2013-01-12 01:03:03 UTC --- (In reply to comment #2) > Looks like a bug in whatever headers you are using. > The second parameter for __builtin_object_size for memcpy should be always 0, > not __USE_FOR

[Bug tree-optimization/55949] __builtin_object_size size passed to memcpy_chk is incorrect

2013-01-11 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55949 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Co

[Bug tree-optimization/55949] __builtin_object_size size passed to memcpy_chk is incorrect

2013-01-11 Thread rmansfield at qnx dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55949 --- Comment #1 from Ryan Mansfield 2013-01-11 21:30:21 UTC --- Created attachment 29152 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29152 reduced testcase Attached testcase using: gcc version 4.6.4 20130111 (prerelease) [gcc-