diff options
author | Richard Henderson <rth@redhat.com> | 2004-10-13 23:31:23 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2004-10-13 23:31:23 +0000 |
commit | da81481ef4415a2fb78281bf048c651ec8324d9f (patch) | |
tree | 7c3835d567e4f5a0701ce4cfb8a1f2b8d696022d /gcc/crtstuff.c | |
parent | 2770c1020891faca09d41a790eafedc642314966 (diff) |
PR c/17384
* c-common.c (handle_mode_attribute): Disallow mode changes that
alter the CODE of the top-level type.
* crtstuff.c (__FRAME_END__): Remove mode attribute. Find 32-bit
integer from internal limits macros.
* config/i386/mm3dnow.h (__v2sf): Fix base type.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@89009 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/crtstuff.c')
-rw-r--r-- | gcc/crtstuff.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gcc/crtstuff.c b/gcc/crtstuff.c index ecb3dea314a..22f221b90b2 100644 --- a/gcc/crtstuff.c +++ b/gcc/crtstuff.c @@ -455,9 +455,18 @@ STATIC func_ptr __DTOR_END__[1] #ifdef EH_FRAME_SECTION_NAME /* Terminate the frame unwind info section with a 4byte 0 as a sentinel; this would be the 'length' field in a real FDE. */ -STATIC EH_FRAME_SECTION_CONST int __FRAME_END__[] - __attribute__ ((unused, mode(SI), section(EH_FRAME_SECTION_NAME), - aligned(4))) +# if __INT_MAX__ == 2147483647 +typedef int int32; +# elif __LONG_MAX__ == 2147483647 +typedef long int32; +# elif __SHRT_MAX__ == 2147483647 +typedef short int32; +# else +# error "Missing a 4 byte integer" +# endif +STATIC EH_FRAME_SECTION_CONST int32 __FRAME_END__[] + __attribute__ ((unused, section(EH_FRAME_SECTION_NAME), + aligned(sizeof(int32)))) = { 0 }; #endif /* EH_FRAME_SECTION_NAME */ |