This version is the one I was using... not the latest. Sorry for the
red-herring...
Old-Version:
Using built-in specs.
COLLECT_GCC=msp430-elf-gcc
Target: msp430-elf
Configured with: ../gcc-trunk/configure --target=msp430-elf
--enable-languages=c,c++ --with-newlib=yes
Thread model: single
gcc version 4.9.0 20130618 (experimental) (GCC)
I rebuilt the toolchain somewhat recently and I get an internal compiler
error so I was using the older version because it seemed to get further
along in the code. I'll checkout the latest gcc code and try another
rebuild.
Here's a quick paste of the internal error I was getting. I'll try to
reproduce it in a sample soon...
Newer-Version:
Using built-in specs.
COLLECT_GCC=msp430-elf-gcc
Target: msp430-elf
Configured with: ../gcc-trunk/configure --target=msp430-elf
--enable-languages=c,c++ --with-newlib=yes
Thread model: single
gcc version 4.9.0 20131126 (experimental) (GCC)
Internal-Error: (Note the Status type is an enum)
error: stmt (0x2b4c0ca5d720) marked modified after optimization pass:
Status init(void) {
^
# .MEM_4 = VDEF <.MEM_1(D)>
_5 = GpioDriver::init (&gpio_driver_singleton.instance);
gpio_driver.cpp:232:11: internal compiler error: verify_ssa failed
0xc9cb2c verify_ssa(bool)
../../gcc-trunk/gcc/tree-ssa.c:1096
0xa750fe execute_function_todo
../../gcc-trunk/gcc/passes.c:1844
0xa75af3 execute_todo
../../gcc-trunk/gcc/passes.c:1877
0xa7768b execute_one_ipa_transform_pass
../../gcc-trunk/gcc/passes.c:2062
0xa7768b execute_all_ipa_transforms()
../../gcc-trunk/gcc/passes.c:2093
0x8209ba expand_function
../../gcc-trunk/gcc/cgraphunit.c:1756
0x822810 expand_all_functions
../../gcc-trunk/gcc/cgraphunit.c:1868
0x822810 compile()
../../gcc-trunk/gcc/cgraphunit.c:2203
0x823004 finalize_compilation_unit()
../../gcc-trunk/gcc/cgraphunit.c:2280
0x61370a cp_write_global_declarations()
../../gcc-trunk/gcc/cp/decl2.c:4431
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
On Mon, Dec 9, 2013 at 5:52 PM, DJ Delorie <d...@redhat.com> wrote:
>
> I ran the Makefile in your zip using the latest FSF builds and
> it... just worked :-P
>
> Which version of gcc are you using? I.e. "msp430-elf-gcc -v" ?
>
msp430-elf-gcc (GCC) 4.9.0 20130618 (experimental)
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users