[Bug tree-optimization/39343] [4.4 Regression] Wrong result for __builtin_object_size (x, 1)
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Mar 2 12:38:00 GMT 2009
------- Comment #1 from jakub at gcc dot gnu dot org 2009-03-02 12:38 -------
This causes valid programs to abort with -D_FORTIFY_SOURCE=2, when strcpy etc.
is used to initialize that field. For memcpy etc. it makes no difference,
those use __builtin_object_size (x, 0) always.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39343
More information about the Gcc-bugs
mailing list