[Bug tree-optimization/39343] [4.4 Regression] Wrong result for __builtin_object_size (x, 1)

2009-03-03 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-03-03 11:30 --- Subject: Bug 39343 Author: jakub Date: Tue Mar 3 11:29:51 2009 New Revision: 144571 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=144571 Log: PR tree-optimization/39343 * tree-ssa-ccp.c

[Bug tree-optimization/39343] [4.4 Regression] Wrong result for __builtin_object_size (x, 1)

2009-03-03 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-03-03 11:30 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/39343] [4.4 Regression] Wrong result for __builtin_object_size (x, 1)

2009-03-02 Thread jakub at gcc dot gnu dot org
--- 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

[Bug tree-optimization/39343] [4.4 Regression] Wrong result for __builtin_object_size (x, 1)

2009-03-02 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-03-02 15:24 --- Testing a patch. -- jakub at gcc dot gnu dot org changed: What|Removed |Added