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

             Bug #: 50181
           Summary: insn does not satisfy constraints for 481.wrf when
                    generating profile data
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: wschm...@gcc.gnu.org
                CC: berg...@gcc.gnu.org, meiss...@gcc.gnu.org,
                    pthau...@gcc.gnu.org
              Host: powerpc64-linux
            Target: powerpc64-linux
             Build: powerpc64-linux


Created attachment 25094
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25094
Reduced test case

The following occurs on powerpc64-linux in gcc-4_6-branch and
ibm/gcc-4_6-branch, but not on trunk.  The options listed are the minimum
required to exhibit the bug.  The reduced test case is attached.

> /home/wschmidt/gcc/install/gcc-4_6-branch/libexec/gcc/powerpc64-linux/4.6.2/f951
>  -mcpu=power7 -O3 -fprofile-generate wrf_io-min.f90  
reorder transpose fieldio netcdf_err uppercase lowercase extorderstr extorder
getindices getdim gettimeindex getname datecheck getdh allochandle
ext_ncd_read_field
Analyzing compilation unit
Performing interprocedural optimizations
 <*free_lang_data> <visibility> <early_local_cleanups> <tree_profile_ipa>
<increase_alignment> <whole-program> <ipa-profile> <cp> <inline> <pure-const>
<static-var>Assembling functions:
 allochandle getdh datecheck getname gettimeindex getdim getindices extorder
extorderstr lowercase uppercase netcdf_err fieldio transpose reorder
ext_ncd_read_field
wrf_io-min.f90: In function ‘ext_ncd_read_field’:
wrf_io-min.f90:184:0: error: insn does not satisfy its constraints:
(insn 451 320 450 8 (set (reg:V4SI 7 7)
        (const_vector:V4SI [
                (const_int 1 [0x1])
                (const_int 1 [0x1])
                (const_int 1 [0x1])
                (const_int 1 [0x1])
            ])) wrf_io-min.f90:176 793 {*vsx_movv4si}
     (nil))
wrf_io-min.f90:184:0: internal compiler error: in reload_cse_simplify_operands,
at postreload.c:403
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to