public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/56946] assignment expression work wired [not found] <bug-56946-4@http.gcc.gnu.org/bugzilla/> @ 2013-04-13 12:16 ` zhabgyuan1993 at gmail dot com 2013-04-13 13:10 ` jiez at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 4+ messages in thread From: zhabgyuan1993 at gmail dot com @ 2013-04-13 12:16 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56946 --- Comment #1 from shia <zhabgyuan1993 at gmail dot com> 2013-04-13 12:16:47 UTC --- Created attachment 29865 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29865 .i ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/56946] assignment expression work wired [not found] <bug-56946-4@http.gcc.gnu.org/bugzilla/> 2013-04-13 12:16 ` [Bug c/56946] assignment expression work wired zhabgyuan1993 at gmail dot com @ 2013-04-13 13:10 ` jiez at gcc dot gnu.org 2013-04-13 14:13 ` zhabgyuan1993 at gmail dot com 2013-04-13 16:50 ` jiez at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: jiez at gcc dot gnu.org @ 2013-04-13 13:10 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56946 Jie Zhang <jiez at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |jiez at gcc dot gnu.org Resolution| |INVALID --- Comment #2 from Jie Zhang <jiez at gcc dot gnu.org> 2013-04-13 13:10:43 UTC --- You need to add -lm to your command line. cos(0) is OK because gcc optimizes it away when compiling. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/56946] assignment expression work wired [not found] <bug-56946-4@http.gcc.gnu.org/bugzilla/> 2013-04-13 12:16 ` [Bug c/56946] assignment expression work wired zhabgyuan1993 at gmail dot com 2013-04-13 13:10 ` jiez at gcc dot gnu.org @ 2013-04-13 14:13 ` zhabgyuan1993 at gmail dot com 2013-04-13 16:50 ` jiez at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: zhabgyuan1993 at gmail dot com @ 2013-04-13 14:13 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56946 --- Comment #3 from shia <zhabgyuan1993 at gmail dot com> 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/56946] assignment expression work wired [not found] <bug-56946-4@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2013-04-13 14:13 ` zhabgyuan1993 at gmail dot com @ 2013-04-13 16:50 ` jiez at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: jiez at gcc dot gnu.org @ 2013-04-13 16:50 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56946 --- Comment #4 from Jie Zhang <jiez at gcc dot gnu.org> 2013-04-13 16:50:19 UTC --- (In reply to comment #3) > (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 gcc -Wall assignment.c -lm ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-04-13 16:50 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-56946-4@http.gcc.gnu.org/bugzilla/> 2013-04-13 12:16 ` [Bug c/56946] assignment expression work wired zhabgyuan1993 at gmail dot com 2013-04-13 13:10 ` jiez at gcc dot gnu.org 2013-04-13 14:13 ` zhabgyuan1993 at gmail dot com 2013-04-13 16:50 ` jiez at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).