[Bug c/52927] "procps" do not work with -Os flag.

jonatan.goebel at digitel dot com.br gcc-bugzilla@gcc.gnu.org
Tue Apr 10 18:25:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52927

--- Comment #7 from Jonatan GOebel <jonatan.goebel at digitel dot com.br> 2012-04-10 18:24:55 UTC ---
props project: http://procps.sourceforge.net/index.html

Hi, I attached the i and the S files from the source code that causes the
program to stuck.

And this is the only warning in this source.
In file included from ps/../proc/escape.h:7:0,
                 from ps/common.h:16,
                 from ps/global.c:24:
ps/../proc/readproc.h:76:2: warning: padding struct to align 'start_code'

the full command line is:
powerpc-e500v2-linux-uclibcspe-gcc -c -D_GNU_SOURCE -I proc -fno-common
-ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls
-Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes  -Os -save-temps 
-Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb
-frename-registers -fomit-frame-pointer -fno-inline-functions ps/global.c -o
ps/global.o



More information about the Gcc-bugs mailing list