[Bug debug/28547] New: Large compile time regression with -g
pbrook at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jul 30 22:51:00 GMT 2006
The attached code shows a large (between 2x and 10x) increase in compile time
when compiled with -g.
With gcc head "-g -O" -ftime-report says:
symout : 14.26 (59%) usr 0.09 (24%) sys 15.35 (59%) wall
13879 kB (17%) ggc
variable tracking : 0.86 ( 4%) usr 0.03 ( 8%) sys 0.89 ( 3%) wall
28140 kB (34%) ggc
With gcc 4.1 even larger slowdowns are also observable with "-O2 -g" and "-O2
-g -fomit-frrame-pointer". These don't seem to occur with head
--
Summary: Large compile time regression with -g
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: compile-time-hog
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pbrook at gcc dot gnu dot org
GCC target triplet: arm-none-linux-gnueabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28547
More information about the Gcc-bugs
mailing list