Dear Remy,
If you would write the name of the TinyOS project you were compiling, I
might try to help you in the problem isolation.
Regards,

Dmitriy Korovkin

-----Original Message-----
From: mspgcc-users-ad...@lists.sourceforge.net
[mailto:mspgcc-users-ad...@lists.sourceforge.net] 
Sent: Friday, October 29, 2004 2:37 PM
To: mspgcc-users@lists.sourceforge.net
Subject: [Mspgcc-users] Re: Bug Report: Internal compiler error in
gen_lowpart

Gilman Tolle wrote:
> I'm compiling on Windows XP, and have found a fatal compiler bug.

> C:/PROGRA~1/UCB/cygwin/opt/tinyos-
> 1.x/contrib/nucleus/tos/lib/Nucleus/MgmtQueryM.nc:122: Internal
> compiler error
> in gen_lowpart, at emit-rtl.c:1197

I get the exact same error here, also with a TinyOS application.
I tried to isolate the problem by commenting out various parts of the
code. However, it seems to be more related to code size than to the
exact instruction sequence.

I wanted to attach the app.c file produced by the ncc compiler that
generates the error. However, due to the attachment size limitation of
sourceforge, it didn't come through. I can mail it to anybody
interested. Compiling it with:

msp430-gcc -Os -mmcu=msp430x149 -o app.elf app.c

gives the following error:

SensingM.nc: In function `SensingM$Sensor$dataReady':
SensingM.nc:78: Internal compiler error in gen_lowpart, at
emit-rtl.c:1197
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

The fun starts now: removing *any* of the lines in
SensingM$Sensor$dataReady() (8498-8500) makes the compilation succeed!
It looks like the code is at some kind of threshold where the compiler
starts having trouble with it.

Compiling without optimization succeeds.

I was not able to reproduce the problem with a smaller version of the
code. Actually, it ran very well until I replaced the module UARTComm
that was used for communcation through UART with GenericComm, which is
for communicating through UART *and* radio (and therefore is bigger).

I would be very thankful for any help solving this problem. Let me know
if I can provide any more useful information.

Best regards.
-- Remy


Remove underscore and suffix in reply address for a timely response.


-- 


Remove underscore and suffix in reply address for a timely response.



-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users


Reply via email to