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

            Bug ID: 60876
           Summary: 2014-04-17 change to mqchmode.h breaks PowerPC
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: meissner at gcc dot gnu.org

The change on 2014-04-17 to machmode.h had a side effect of breaking the
PowerPC builds, due to the fact that the PowerPC code in rs6000.c used integers
in two places where GET_MODE_SIZE was used, and this now causes the following
error:

/home/meissner/fsf-src/trunk/gcc/config/rs6000/rs6000.c: In function ‘void
rs6000_setup_reg_addr_masks()’:
/home/meissner/fsf-src/trunk/gcc/config/rs6000/rs6000.c:2366: error: invalid
conversion from ‘ssize_t’ to ‘machine_mode’
/home/meissner/fsf-src/trunk/gcc/config/rs6000/rs6000.c:2370: error: invalid
conversion from ‘ssize_t’ to ‘machine_mode’
/home/meissner/fsf-src/trunk/gcc/config/rs6000/rs6000.c: In function ‘void
rs6000_init_hard_regno_mode_ok(bool)’:
/home/meissner/fsf-src/trunk/gcc/config/rs6000/rs6000.c:2826: error: invalid
conversion from ‘ssize_t’ to ‘machine_mode’

Reply via email to