* INT_TYPE_SIZE 32 to 16
@ 2004-08-18 11:25 Ashok Anand
2004-08-18 13:59 ` Ankit Jain
0 siblings, 1 reply; 2+ messages in thread
From: Ashok Anand @ 2004-08-18 11:25 UTC (permalink / raw)
To: gcc-help
hi,
I am facing a problem while building gcc. I only changed value of
INT_TYPE_SIZE defined in file gcc-3.4.1\gcc\config\i386\i386.h
to 16, specifying that int size is 16 bits instead of 32 bits,
When i ran make , it didn't build and gave errors. This was the only
change i made. Please tell me how i can specify int size to be 16
bits rather than 32 bits.
regex.c: At top level:
regex.c:8178: warning: unused parameter 'preg'
regex.c: In function `byte_re_match_2_internal':
regex.c:7576: error: unrecognizable insn:
(insn:HI 2861 6401 2862 228 regex.c:7833 (parallel [
(set (reg:SI 1211 [ mcnt ])
(zero_extend:DI (subreg:HI (reg/v:SI 71 [ mcnt ]) 0)))
(clobber (reg:CC 17 flags))
]) -1 (nil)
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil)))
regex.c:7576: internal compiler error: in extract_insn, at recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [regex.o] Error 1
make[1]: Leaving directory `/cygdrive/e/gcc/gcc-3.4.1/i686-pc-cygwin/libiberty'
make: *** [all-target-libiberty] Error 2
With regards,
-ashok
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: INT_TYPE_SIZE 32 to 16
2004-08-18 11:25 INT_TYPE_SIZE 32 to 16 Ashok Anand
@ 2004-08-18 13:59 ` Ankit Jain
0 siblings, 0 replies; 2+ messages in thread
From: Ankit Jain @ 2004-08-18 13:59 UTC (permalink / raw)
To: Ashok Anand, gcc
hi
well i dont understand why u need to decrease the size
of int in linux.
what u could have simply done is use int16_t or
uint16_t for unsigned integer. it will work fine
all u have to do is add inttypes.h header file
bye
ankit
--- Ashok Anand <ashok.anand@gmail.com> wrote:
> hi,
>
> I am facing a problem while building gcc. I
> only changed value of
> INT_TYPE_SIZE defined in file
> gcc-3.4.1\gcc\config\i386\i386.h
> to 16, specifying that int size is 16 bits
> instead of 32 bits,
> When i ran make , it didn't build and gave errors.
> This was the only
> change i made. Please tell me how i can specify
> int size to be 16
> bits rather than 32 bits.
>
> regex.c: At top level:
> regex.c:8178: warning: unused parameter 'preg'
> regex.c: In function `byte_re_match_2_internal':
> regex.c:7576: error: unrecognizable insn:
> (insn:HI 2861 6401 2862 228 regex.c:7833 (parallel [
> (set (reg:SI 1211 [ mcnt ])
> (zero_extend:DI (subreg:HI (reg/v:SI
> 71 [ mcnt ]) 0)))
> (clobber (reg:CC 17 flags))
> ]) -1 (nil)
> (expr_list:REG_UNUSED (reg:CC 17 flags)
> (nil)))
> regex.c:7576: internal compiler error: in
> extract_insn, at recog.c:2083
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for
> instructions.
> make[1]: *** [regex.o] Error 1
> make[1]: Leaving directory
> `/cygdrive/e/gcc/gcc-3.4.1/i686-pc-cygwin/libiberty'
> make: *** [all-target-libiberty] Error 2
>
> With regards,
> -ashok
>
________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-08-18 9:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-18 11:25 INT_TYPE_SIZE 32 to 16 Ashok Anand
2004-08-18 13:59 ` Ankit Jain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).