From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] Fwd: [bugzilla-daemon@: [Bug 9587] ctermid segfault] Date: Fri, 19 May 2006 14:41:22 +0400 Message-ID: <20060519104122.GC26293@basalt.office.altlinux.org> (raw) In-Reply-To: <20060519091421.GR2173@immo.ru> [-- Attachment #1: Type: text/plain, Size: 1001 bytes --] On Fri, May 19, 2006 at 01:14:22PM +0400, Alexey I. Froloff wrote: > * Dmitry V. Levin <ldv@> [060519 12:56]: > > > А есть шансы > > Есть. > Ура! Уже выложен. > > > увидеть это в сизифе сегодня, часиков так до 17-18-и? > > Клёвая у нового компилятора оптимизация, правда? > А он может в принципе заоптимизить такое: Он не только может, он уже заоптимизировал. > --- > > > tig.c:190: warning: value computed is not used > > > tig.c:193: warning: value computed is not used > > I am curious, I copied it from the git project's quote.c file: > > > #define EMIT(x) ( (++len < n) && (*bp++ = (x)) ) Да, в git этот код есть, и warning в точности такой же. Я посмотрел и решил не трогать. > > does the side-effects hide the warning or does it also apply to > > the EMIT macro? > Well, warnings are evil. They can become an error in next > compiler version. I'm not quite sure, but modern code-optimizers > can throw away this "unused" code. Так и есть. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
prev parent reply other threads:[~2006-05-19 10:41 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-05-19 7:30 Alexey I. Froloff 2006-05-19 8:24 ` Anton Farygin 2006-05-19 8:55 ` Dmitry V. Levin 2006-05-19 9:09 ` Anton Farygin 2006-05-19 11:28 ` Dmitry V. Levin 2006-05-19 9:14 ` Alexey I. Froloff 2006-05-19 10:41 ` Dmitry V. Levin [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20060519104122.GC26293@basalt.office.altlinux.org \ --to=ldv@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git