Ok, thanks.
I'll check this a bit later.
~d

-----Original Message-----
From: mspgcc-users-ad...@lists.sourceforge.net
[mailto:mspgcc-users-ad...@lists.sourceforge.net] On Behalf Of Francisco
T. A. Silva
Sent: Tuesday, June 15, 2004 2:34 AM
To: mspgcc-users@lists.sourceforge.net
Subject: [Mspgcc-users] msp-gcc 3.4.0 bug still alive

Hi all,

I've just re-built mspgcc 3.4.0 with an uptodate gcc/gcc-current from
CVS.
Now the msp430-libc compiled with no errors, but the following bug is
still
alive.

The error is triggered by the volatile keyword with long and long long
types.

[teste]$ cat test.c

volatile long test;

void main (void) {
   test = 0;
}


[f...@stargate teste]$ msp430-gcc --version
msp430-gcc (GCC) 3.4.0
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.


[f...@stargate teste]$ msp430-gcc -O test.c
test.c: In function `main':
test.c:3: warning: return type of 'main' is not `int'
test.c:5: error: unrecognizable insn:
(insn 17 16 11 0 (set (subreg:HI (mem/v/f:SI (symbol_ref:HI ("test")
<var_decl 0x401ceca8 test>) [0 test+0 S4 A16]) 2)
         (const_int 0 [0x0])) -1 (nil)
     (nil))
test.c:5: 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.


Regards,
--
Francisco



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users


Reply via email to