[Bug tree-optimization/3511] Inlined strlen() could be smarter

2006-10-21 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2006-10-21 13:23 --- Subject: Bug 3511 Author: rguenth Date: Sat Oct 21 13:23:41 2006 New Revision: 117932 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117932 Log: 2006-10-21 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug tree-optimization/3511] Inlined strlen() could be smarter

2006-10-21 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2006-10-21 13:23 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/3511] Inlined strlen() could be smarter

2006-05-08 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-05-08 09:42 --- This is really a PRE problem, much like the simplified testcase char firstchar (const char *s) { if (!s) s = ""; return s[0]; } where it could record the fact that the load from s[0]

[Bug tree-optimization/3511] Inlined strlen() could be smarter

2006-05-08 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2006-05-08 12:39 --- It looks like it was easy. (so, I have a patch) -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/3511] Inlined strlen() could be smarter

2006-05-15 Thread patchapp at dberlin dot org
--- Comment #7 from patchapp at dberlin dot org 2006-05-15 19:22 --- Subject: Bug number PR3511 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-05/msg00295.html -- http://gcc.gnu.org/bugzilla/sho

[Bug tree-optimization/3511] Inlined strlen() could be smarter

2005-01-23 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-01-23 15:01 --- GCC produces the following code today: .section.rodata.str1.1,"aMS",@progbits,1 .LC0: .string "" .text .p2align 4,,15 .globl mystrlen .type mystrlen,