Memo to self: So it seems that the default configure line for #GCC 14/15 on #RISCV fails to build fully on the machines I have. I've had to explicitly specify "--with-arch=rv64gc" on the configure line (Not rv64imafdc which was used by the default gcc9 install on Ubuntu 20.04) in order to avoid an error where it fails to build saying it can't detect the object file suffix.

Yes, doubly curly braces are no longer necessary. The following works as expected wirh #gcc 12, 14, and #clang 19. Pet has no previous clang at paw, it was too buggy.

Enough #meow, here's the test:

#include <stdio.h>

void cleanup(char*)
{
puts("cleanup\n");
}

int main(int argc, char** argv)
{
for (unsigned i = 0; i < 5; i++) {
[[ gnu::cleanup(cleanup) ]] char c = 0;
printf("iteration %u\n", i);
}
return 0;
}

Pet noticed there's no memory leaks without doubly curly braces in loop bodies. Which means gnu:cleanup works for each iteration in #gcc, but pet haven't checked that yet.

This did not work in #clang 16. Probably it was (and maybe still is) a compiler bug.

Anyway, it's safer to use doubly curly braces.

#observations

Sau chuyến thăm của Ngoại trưởng Vương Nghị, thỏa thuận thương mại tự do giữa Trung Quốc và GCC có thể sắp có bước tiến quan trọng. Đàm phán kéo dài hơn 20 năm sẽ chứng kiến những thay đổi tích cực trong thương mại hai bên. #TrungQuốc #GCC #ThươngMạiTựDo #ĐàmPhánThươngMại https://ift.tt/FXGLPoQ
Trung Quốc và GCC có thể ký kết thỏa thuận thương mại tự do sau chuyến thăm của Vương Nghị không? - Thế Giới Trong Tầm Tay

Sau hơn 20 năm đàm phán, Ngoại trưởng Trung Quốc Vương Nghị cho biết các điều kiện đã chín muồi cho một thỏa thuận thương mại tự do với GCC. Điều gì tiếp theo?

Thế Giới Trong Tầm Tay - Thế giới của bạn, tin tức của bạn, cách bạn muốn
PANAMA CITY — (ARAB NEWSWIRE) – BingX, a leading #cryptocurrency exchange and #Web3 AI company, has reached a major milestone by surpassing 40 million global users. https://zurl.co/MfjHP #pressreleasedistribution #pressrelations #MENA #GCC #MiddleEAst #AI

𝗚𝗖𝗖 𝗰𝗲𝗺𝗲𝗻𝘁 𝗰𝗼𝗻𝘀𝘂𝗺𝗽𝘁𝗶𝗼𝗻 𝘀𝘂𝗽𝗽𝗼𝗿𝘁𝗲𝗱 𝗯𝘆 𝗺𝗮𝗷𝗼𝗿 𝗰𝗼𝗻𝘀𝘁𝗿𝘂𝗰𝘁𝗶𝗼𝗻 𝗽𝗿𝗼𝗷𝗲𝗰𝘁𝘀
Infrastructure expansion and urban development sustain demand.
𝗥𝗲𝗮𝗱 𝗺𝗼𝗿𝗲: https://kenresearch.com/gcc-cement-market?utm_source=X&utm_medium=Referral&utm_campaign=Aniket

#GCC #Cement #Construction

GCC Cement Market | 2019 – 2030 | Ken Research

GCC Cement Market valued at USD 8.5 billion, driven by infrastructure and urbanization. Projected growth with sustainability focus, reaching higher values by 2030 amid government initiatives.

Unless I'm missing something, #GCC `-fcallgraph-info` has no way to differentiate between "dynamic objects of known size that are included in the byte count" and "dynamic objects of unknown size that are not included in the byte-count". (I was hoping objects of known size that are included would just not count as dynamic.)

인간이 AI 감독하는 시대 끝났다: Agent-in-the-Loop의 등장

인간이 AI를 감독하던 HITL 시대가 끝나고, AI 에이전트가 작업을 주도하는 AITL 시대가 도래했습니다. 230만 줄 코드를 99% 자동으로 마이그레이션한 실제 사례와 함께 살펴봅니다.

https://aisparkup.com/posts/7451

rustc_codegen_gcc: Progress Report #39

Antoyo's Personal Blog

Do vývojovej vetvy kolekcie prekladačov #GCC 16 sa dostala podpora pre procesorovú mikroarchitektúru AMD Zen 6.

https://techsvet.eu/aktuality/gcc-16-bude-mat-podporu-pre-amd-zen-6/

GCC 16 bude mať podporu pre AMD Zen 6 - TechSvet

Do vývojovej vetvy kolekcie prekladačov GCC 16 sa dostala podpora pre procesorovú mikroarchitektúru AMD Zen 6.

TechSvet