This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/12209] [3.4 Regression] GCC fails to bootstrap Cygwin with -funit-at-a-time


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dannysmith at gcc dot gnu dot org  2003-10-08 07:51 -------
This bug appears to be the same as __attribute__((regparm())  vs  the
stack probing code (cygwin.asm)  reported here (with testcase):

http://www.cygwin.com/ml/cygwin/2002-06/msg00122.html

If change regparm(3) to fastcall in  the above testcase, it succeeds.
fastcall use ECX not EAX as the first allocated register.

Danny


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]