[Bug c/78903] __attribute__((section(".ram"))) ignored with -Os or -flto

2016-12-22 Thread chrysn at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78903 --- Comment #2 from chrysn at fsfe dot org --- I don't care about the function being inlined in general, I just don't want it inlined into different sections -- that's why I'd consider noinline a workaround. Anyhow, if

[Bug c/78903] New: __attribute__((section(".ram"))) ignored with -Os or -flto

2016-12-22 Thread chrysn at fsfe dot org
ty: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chrysn at fsfe dot org Target Milestone: --- Created attachment 40400 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40400&action=edit example for amd64 linux where a func

[Bug preprocessor/66505] New: -Wno-error=pedantic does not reverse -Werror -Wpedantic

2015-06-11 Thread chrysn at fsfe dot org
Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: chrysn at fsfe dot org Target Milestone: --- the -Wno-error=pedantic option fails to undo the combined effects of -Werror and -Wpedantic, for example when dealing with binary constants