https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105747
Bug ID: 105747
Summary: Possible resource hog with -O2 -fno-var-tracking
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Created attachment 53041
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53041&action=edit
C source code
The attached code seems to take a suspiciously long time on
the raspberry pi.
dcb@raspberrypi:~/csmith $ (ulimit -t 600; time /home/dcb/gcc/results/bin/gcc
-c -w -O2 -fno-var-tracking bug814.c )
real 7m4.234s
user 7m2.175s
sys 0m0.549s
dcb@raspberrypi:~/csmith $
Time on the x86_64 is about 20 seconds.