http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46439

           Summary: Internal compiler error
           Product: gcc
           Version: 4.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: bernard.per...@csem.ch


Created attachment 22374
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22374
Single file which is sufficient to demonstrate the compiler internal error

When I compile the attached file with the following line:
% msp430-gcc -std=gnu99 -mmcu=msp430x1611 -O -I. -Dmsp430x1611  -g  -c report.c

I get a compiler internal error in gimple_rhs_has_side_effects, at
gimple.c:2343. 

If the tt struct is not declared volatile, it compiles fine.

I still can use tt as volatile if I use:
        regs_CC1100[i] = ((uint8*)(tt))+i;

The same example correctly compiled with msp430-gcc 3.2.3.

Reply via email to