PR target/35366 PR fortran/33759 * fold-const.c (native_encode_string): New function. (native_encode_expr): Use it for STRING_CST. * trans-const.c (gfc_conv_constant_to_tree): Warn when converting an integer outside of LOGICAL's range to LOGICAL. * trans-intrinsic.c (gfc_conv_intrinsic_function, gfc_conv_intrinsic_array_transfer, gfc_conv_intrinsic_transfer): Use INTEGER_TYPE instead of BOOLEAN_TYPE for TRANSFER as argument of another TRANSFER. * gfortran.dg/hollerith.f90: Don't assume a 32-bit value stored into logical variable will be preserved. * gfortran.dg/transfer_simplify_4.f90: Remove undefined cases. Run at all optimization levels. Add a couple of new tests. * gfortran.dg/hollerith5.f90: New test. * gfortran.dg/hollerith_legacy.f90: Add dg-warning. From-SVN: r141790
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| ada/acats | Loading commit data... | |
| config | Loading commit data... | |
| g++.dg | Loading commit data... | |
| g++.old-deja | Loading commit data... | |
| gcc.c-torture | Loading commit data... | |
| gcc.dg | Loading commit data... | |
| gcc.misc-tests | Loading commit data... | |
| gcc.target | Loading commit data... | |
| gcc.test-framework | Loading commit data... | |
| gfortran.dg | Loading commit data... | |
| gfortran.fortran-torture | Loading commit data... | |
| gnat.dg | Loading commit data... | |
| lib | Loading commit data... | |
| obj-c++.dg | Loading commit data... | |
| objc | Loading commit data... | |
| objc.dg | Loading commit data... | |
| ChangeLog | Loading commit data... | |
| ChangeLog-1993-2007 | Loading commit data... | |
| ChangeLog.ptr | Loading commit data... | |
| ChangeLog.tree-ssa | Loading commit data... | |
| README | Loading commit data... | |
| README.QMTEST | Loading commit data... | |
| README.compat | Loading commit data... | |
| README.gcc | Loading commit data... |