[PATCH] __builtin_frame_address(0) doesn't work without the frame pointer

David Edelsohn dje@watson.ibm.com
Tue Jul 9 09:35:00 GMT 2002


>>>>> Richard Henderson writes:

Richard> You'll need to test more platforms before we can apply this.

Richard> The kind of platform you should look for is one in which the
Richard> soft frame pointer eliminates to the hard frame pointer with
Richard> an offset -- dunno off the top of my head which would be 
Richard> appropriate, but you should be able to get an idea by looking
Richard> at the target's INITIAL_ELIMINATION_OFFSET implementation.

	Sparc?

David



More information about the Gcc mailing list