Hi, could you please strip down this monster file just toMgmtQueryM$Timer$fired() function in order to allow me to debug a compiler? :)
Thanks, ~d > > I'm compiling on Windows XP, and have found a fatal compiler bug. > > Here is the GCC version information, from msp430-gcc: > > Reading specs from > /cygdrive/c/mspgcc/bin/../lib/gcc-lib/msp430/3.2.3/specs > Configured with: ./configure --target=msp430 -- > prefix=/c/daten/mspgcc/build/installed --disable-nls > Thread model: single > gcc version 3.2.3 > > This is the command line: > > msp430-gcc -save-temps -v -B/usr/local/lib/ncc -mmcu=msp430x149 -Os > -Wall - > Wshadow -v -o TestMgmtQuery.o -c -fdollars-in-identifiers > build/telos/app.c > > Here is the output: > > Reading specs from > /cygdrive/c/mspgcc/bin/../lib/gcc-lib/msp430/3.2.3/specs > Configured with: ./configure --target=msp430 -- > prefix=/c/daten/mspgcc/build/installed --disable-nls > Thread model: single > gcc version 3.2.3 > /cygdrive/c/mspgcc/bin/../lib/gcc-lib/msp430/3.2.3/cpp0.exe -lang-c -v > - > iprefix /cygdrive/c/mspgcc/bin/../lib/gcc-lib/msp430/3.2.3/ - > isystem /usr/local/lib/ncc/include -D__GNUC__=3 -D__GNUC_MINOR__=2 - > D__GNUC_PATCHLEVEL__=3 -D__GXX_ABI_VERSION=102 -DMSP430 -D__MSP430__ - > D__MSP430 -D__OPTIMIZE_SIZE__ -D__OPTIMIZE__ -D__STDC_HOSTED__=1 - > DMSP430_HAS_HW_MUL -D__MSP430_149__ -DMSP430_HAS_HWMUL - > D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int -D__INT_MAX__=32767 > build/telos/app.c -Wall -Wshadow app.i > ignoring nonexistent directory "/usr/local/lib/ncc/include" > GNU CPP version 3.2.3 (cpplib) (GNU assembler syntax) > ignoring nonexistent directory "/cygdrive/c/mspgcc/msp430/sys-include" > ignoring nonexistent directory "/c/daten/mspgcc/build/installed/include" > ignoring nonexistent directory "/c/daten/mspgcc/build/installed/lib/gcc- > lib/msp430/3.2.3/include" > ignoring nonexistent directory "/c/daten/mspgcc/build/installed/lib/gcc- > lib/msp430/3.2.3/../../../../msp430/sys-include" > ignoring nonexistent directory "/c/daten/mspgcc/build/installed/lib/gcc- > lib/msp430/3.2.3/../../../../msp430/include" > #include "..." search starts here: > #include <...> search starts here: > /cygdrive/c/mspgcc/lib/gcc-lib/msp430/3.2.3/include > /cygdrive/c/mspgcc/msp430/include > End of search list. > /cygdrive/c/mspgcc/bin/../lib/gcc-lib/msp430/3.2.3/cc1.exe > -fpreprocessed > app.i -quiet -dumpbase app.c -mmcu=msp430x149 -Os -Wall -Wshadow > -version - > fdollars-in-identifiers -o app.s > GNU CPP version 3.2.3 (cpplib) (GNU assembler syntax) > GNU C version 3.2.3 (msp430) > compiled by GNU C version 3.3.1 (cygming special). > > Here is the error: > > C:/PROGRA~1/UCB/cygwin/opt/tinyos- > 1.x/contrib/nucleus/tos/lib/Nucleus/MgmtQueryM.nc: In function > `received': > 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 > Please submit a full bug report, > with preprocessed source if appropriate. > See <URL:http://gcc.gnu.org/bugs.html> for instructions. > > I have attached a gzipped copy of the .i file that generates this error. > > Thanks for your consideration. > > Gil > > -------------------------------------------------------