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 fortran/21203] Segfault while compiling libgfortran/intrinsics/selected_int_kind.f90


------- Additional Comments From corsepiu at gcc dot gnu dot org  2005-05-14 06:30 -------
(In reply to comment #11)

> Ralf, it looks like no working integer type is found when building the compiler. 
The h8300 is special wrt. integer types:

>From a test script of mine:
...
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 2
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 4
checking for long double... yes
checking size of long double... 4
checking for void*... yes
checking size of void*... 2
checking for int*... yes
checking size of int*... 2
checking for long*... yes
checking size of long*... 2
checking for __int8_t... yes
checking size of __int8_t... 1
checking for __int16_t... yes
checking size of __int16_t... 2
checking for __int32_t... yes
checking size of __int32_t... 4
checking for __int64_t... yes
checking size of __int64_t... 8
checking for int8_t... yes
checking size of int8_t... 1
checking for int16_t... yes
checking size of int16_t... 2
checking for int32_t... yes
checking size of int32_t... 4
checking for int64_t... yes
checking size of int64_t... 8
checking whether CHAR_BIT is declared... yes
checking for bits in char... 8

Note: int8, int16, int32 and int64 all are available, it's just that the "usual"
(bogus) assumptions
* short==16bit
* int==32bit
* sizeof(void*)==sizeof(long)
do not apply.

Also note: This is a 16bit target, sizeof(void*)==16bit.

-- 


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


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