Hello Dimy and others 

Attached please find a file 'main.c' and a batch file 'make.bat' used to build 
the source. 
Also find an output file called 'res'. With the chosen compiler options I seem 
to break 
the compiler. I have included two additional functions in main.c that have 
minor 
modifications and don't break the compiler. Please take a look at this when you 
get a 
chance, at the moment I am using the 'static' option but would prefer not to.

Regards.

Colin

PS: Dimy, I have just noticed that it works fine with -O0 but not with -O2. 
Good luck !

---------------------------------------------------------------------------------
Colin Domoney                                  
Digital Hardware Design Engineer
NCipher, Jupiter House, Station Road, Cambridge, CB1 2JD
e-mail: [email protected]
Telephone: +44-1223-723630

main.c: In function `MyBadFunction':
main.c:15: Unrecognizable insn:
(insn 20 19 21 (parallel[
            (set (reg:HI 31)
                (unspec:HI[
                        (mem:BLK (reg/f:HI 29) 0)
                        (reg:QI 30)
                        (const_int 2 [0x2])
                    ]  3))
        ] ) -1 (insn_list 18 (insn_list 19 (nil)))
    (expr_list:REG_DEAD (reg:QI 30)
        (expr_list:REG_DEAD (reg/f:HI 29)
            (nil))))
main.c:15: Internal compiler error in extract_insn, at recog.c:2210
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
msp430-gcc -c -g -O2 -Wall -Wstrict-prototypes -Wa,-ahlms=main.lst 
-mmcu=msp430x149 -I../lib main.c -o main.o
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  Main.c
     Date:  17 May 2002, 10:31
     Size:  1090 bytes.
     Type:  Program-source

Attachment: Main.c
Description: Binary data

Reply via email to