This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/35705] [4.3/4.4 Regression] Symbol address check eliminated by C frontend.
- From: "wilson at tuliptree dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2008 16:37:24 -0000
- Subject: [Bug middle-end/35705] [4.3/4.4 Regression] Symbol address check eliminated by C frontend.
- References: <bug-35705-11932@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from wilson at tuliptree dot org 2008-03-26 16:37 -------
Subject: Re: [4.3/4.4 Regression] Symbol address check
eliminated by C frontend.
jakub at gcc dot gnu dot org wrote:
> ------- Comment #4 from jakub at gcc dot gnu dot org 2008-03-26 13:41 -------
> If so, then the PA backend is lying with the definition of FUNCTION_BOUNDARY...
PA uses function descriptors like Itanium. A function pointer is
actually a pointer to a descriptor, and the alignment of the descriptor
has nothing at all to do with FUNCTION_BOUNDARY.
Also, consider the arm/thumb and mips/mips16 cases, where we distinguish
between the different types of functions by using the otherwise unused
low order bits of the address.
Jim
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35705