[Bug d/88150] Use sections_elf_shared.d on Solaris

2019-04-17 Thread code at dawg dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88150 --- Comment #16 from Martin Nowak --- Regarding the dlopen/dlclose in handleForName, the semantics of RTLD_NOLOAD are so that it bumps the reference count if the library had been previously loaded. The sections module uses the handle as identifie

[Bug c/60654] format warnings don't work with PROGMEM/PSTR

2014-03-25 Thread code at dawg dot eu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60654 --- Comment #2 from Martin Nowak --- Those are macros to declare strings in read-only flash memory. http://www.nongnu.org/avr-libc/user-manual/group__avr__pgmspace.html

[Bug c/60654] New: format warnings don't work with PROGMEM/PSTR

2014-03-25 Thread code at dawg dot eu
nt: c Assignee: unassigned at gcc dot gnu.org Reporter: code at dawg dot eu Target: avr cat > bug.d << CODE #include void foo(PGM_P fmt, ...) __attribute__((format(printf, 1, 2))); void foo(PGM_P fmt, ...) { } void main() { foo(PSTR("foobar")

[Bug target/59396] [avr] Wrong warning with ISR() and -flto

2014-01-20 Thread code at dawg dot eu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59396 --- Comment #5 from Martin Nowak --- (In reply to Georg-Johann Lay from comment #4) > As the patch above has not been approved, it's unlikely this will ever get > fixed... This should have a high priority, it makes LTO completely unusable on AVR.

[Bug target/59396] [avr] Wrong warning with ISR() and -flto

2014-01-20 Thread code at dawg dot eu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59396 Martin Nowak changed: What|Removed |Added CC||code at dawg dot eu --- Comment #3 from