[Bug tree-optimization/67618] malloc+memset optimization breaks code

2016-06-02 Thread roc at ocallahan dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67618 --- Comment #14 from roc at ocallahan dot org --- Argh, I see this was already mentioned, sorry for the noise.

[Bug tree-optimization/67618] malloc+memset optimization breaks code

2016-06-02 Thread roc at ocallahan dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67618 roc at ocallahan dot org changed: What|Removed |Added CC||roc at ocallahan dot org ---

[Bug tree-optimization/67618] malloc+memset optimization breaks code

2015-09-17 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67618 --- Comment #12 from Marc Glisse --- (In reply to Daniel Gutson from comment #11) > > > void caller(void) > > > { > > > void* ptr = function(1); > > > *(char*)ptr = 1; > > > } > > > > Maybe file another bug which does the opposite transf

[Bug tree-optimization/67618] malloc+memset optimization breaks code

2015-09-17 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67618 --- Comment #11 from Daniel Gutson --- (In reply to Andrew Pinski from comment #10) > (In reply to Daniel Gutson from comment #9) > > (In reply to Marc Glisse from comment #8) > > > (bugzilla bug that reset the component...) > > > > > > (In repl

[Bug tree-optimization/67618] malloc+memset optimization breaks code

2015-09-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67618 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/67618] malloc+memset optimization breaks code

2015-09-17 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67618 --- Comment #9 from Daniel Gutson --- (In reply to Marc Glisse from comment #8) > (bugzilla bug that reset the component...) > > (In reply to Daniel Gutson from comment #6) > > That's why the 'if (ptr != NULL)' should not be ignored, which curr

[Bug tree-optimization/67618] malloc+memset optimization breaks code

2015-09-17 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67618 Marc Glisse changed: What|Removed |Added Component|c |tree-optimization --- Comment #8 from Marc