[Bug middle-end/32327] Incorrect stack sharing causing removal of live code

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-13 21:37 --- On the trunk, dest is changed to be non addressable in alias5, why is it not doing it in 4.2? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/32327] Incorrect stack sharing causing removal of live code

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-06-13 21:32 --- No, it should be marked as non escaping later on. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32327

[Bug middle-end/32327] Incorrect stack sharing causing removal of live code

2007-06-13 Thread dougkwan at google dot com
--- Comment #2 from dougkwan at google dot com 2007-06-13 21:25 --- The address of dest has been passed to memcpy() and the alias analysis considers the varaible to escape. So potentially foo() can see the value of dest if memcpy() stash the pointer somewhere. This is impossible but the

[Bug middle-end/32327] Incorrect stack sharing causing removal of live code

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-13 21:20 --- Why is the store to dest not being removed? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -