summaryrefslogtreecommitdiffstats
path: root/gcc/f/bit.h
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-29 16:16:39 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-29 16:16:39 +0000
commit5383eda412f3aab3dcff93a1ea67223b2830ba32 (patch)
tree8cc330d809fbbe70f50065f881b684ae3503d29c /gcc/f/bit.h
parent4a072583bf8dcef68d1736b602eb2a7e8668479b (diff)
downloadppe42-gcc-5383eda412f3aab3dcff93a1ea67223b2830ba32.tar.gz
ppe42-gcc-5383eda412f3aab3dcff93a1ea67223b2830ba32.zip
PR fortran/12632
* fold-const.c (fold) <COND_EXPR>: Don't fold a constant condition, if the type of the selected branch doesn't match its' parent. * com.c (ffecom_subscript_check_): Take as an extra argument the (possibly NULL) decl of the array. Don't create unnecessary tree nodes if the array index is known to be safe at compile-time. If the array index is unsafe, force the array decl into memory to avoid RTL expansion problems. (ffecom_array_ref_): Update calls to ffecom_subscript_check_. (ffecom_char_args_x_): Likewise. * g77.dg/12632.f: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/f/bit.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud