[Bug other/56881] New: Miscompilation (optimisation failure?) causing NULL dereference and segfault at runtime

2013-04-08 Thread devspam at moreofthesa dot me.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56881 Bug #: 56881 Summary: Miscompilation (optimisation failure?) causing NULL dereference and segfault at runtime Classification: Unclassified Product: gcc Version: unknown

[Bug other/56881] Miscompilation (optimisation failure?) causing NULL dereference and segfault at runtime

2013-04-09 Thread devspam at moreofthesa dot me.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56881 devspam at moreofthesa dot me.uk changed: What|Removed |Added Target||amd64 Known to

[Bug other/56881] Miscompilation (optimisation failure?) causing NULL dereference and segfault at runtime

2013-04-10 Thread devspam at moreofthesa dot me.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56881 --- Comment #4 from devspam at moreofthesa dot me.uk 2013-04-10 14:49:24 UTC --- Created attachment 29850 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29850 Full source of the problem program, both in original form and fully

[Bug other/56881] Miscompilation (optimisation failure?) causing NULL dereference and segfault at runtime

2013-04-10 Thread devspam at moreofthesa dot me.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56881 --- Comment #5 from devspam at moreofthesa dot me.uk 2013-04-10 15:02:54 UTC --- The tarball which I've attached also provides its own test case – compile it then pass it one of its own source files. It'll either segfault or not de

[Bug other/56881] Miscompilation (optimisation failure?) causing NULL dereference and segfault at runtime

2013-04-14 Thread devspam at moreofthesa dot me.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56881 --- Comment #9 from devspam at moreofthesa dot me.uk 2013-04-14 15:03:13 UTC --- Hmm, interesting… I'm taking your patch (crediting you) and paraphrasing where necessary to make a reasonable commit message of it. I'll also forwar