[Bug c/56647] New: use return value of malloc() as initializer

2013-03-17 Thread zhabgyuan1993 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56647 Bug #: 56647 Summary: use return value of malloc() as initializer Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Prio

[Bug c/56647] use return value of malloc() as initializer

2013-03-17 Thread zhabgyuan1993 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56647 --- Comment #2 from shia 2013-03-18 05:54:54 UTC --- I think maybe only this one is right: r.c:4:1: error: initializer element is not constant the other part may cause little confused.

[Bug c/56647] use return value of malloc() as initializer

2013-03-17 Thread zhabgyuan1993 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56647 shia changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c/56946] New: assignment expression work wired

2013-04-13 Thread zhabgyuan1993 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56946 Bug #: 56946 Summary: assignment expression work wired Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: minor Priorit

[Bug c/56946] assignment expression work wired

2013-04-13 Thread zhabgyuan1993 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56946 --- Comment #1 from shia 2013-04-13 12:16:47 UTC --- Created attachment 29865 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29865 .i

[Bug c/56946] assignment expression work wired

2013-04-13 Thread zhabgyuan1993 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56946 --- Comment #3 from shia 2013-04-13 14:13:08 UTC --- (In reply to comment #2) > You need to add -lm to your command line. gcc -lm -Wall assignment.c This is right?But it can't compile neither