[devel] Fwd: [bugzilla-daemon@: [Bug 9587] ctermid segfault]
Alexey I. Froloff
raorn на immo.ru
Пт Май 19 13:14:22 MSD 2006
* 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)) )
> 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.
---
--
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
Inform-Mobil, Ltd. System Administrator
http://www.inform-mobil.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.altlinux.org/pipermail/devel/attachments/20060519/425faa33/attachment.bin
Подробная информация о списке рассылки Devel