https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67215
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Andrew Senkevich from comment #2) > -bash-4.2$ cat test.c > extern int proc2(int); > > int proc( void) > { > int i = proc2( 3); > > return i; > } > > gcc test.c -S -pie -fpie -o test.1.S > gcc test.c -S -pie -fpie -fno-plt -o test.2.S Please provide a tectcase which shows the problem with -O1 and above for both ia32 and x86-64.