aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/simplify.c
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2020-08-18 12:57:18 -0600
committerMartin Sebor <msebor@redhat.com>2020-08-18 12:59:09 -0600
commitd367f5fcb579d21c3093cf5c464f5787fe584a1d (patch)
tree0d1778f66517b2fb0db3927b124acca6097b5282 /gcc/fortran/simplify.c
parentbb04901d14f7749eb949092fd3dfcb6ca1958701 (diff)
downloadgcc-d367f5fcb579d21c3093cf5c464f5787fe584a1d.zip
gcc-d367f5fcb579d21c3093cf5c464f5787fe584a1d.tar.gz
gcc-d367f5fcb579d21c3093cf5c464f5787fe584a1d.tar.bz2
PR middle-end/96665 - memcmp of a constant string not folded
Related: PR middle-end/78257 - missing memcmp optimization with constant arrays gcc/ChangeLog: PR middle-end/96665 PR middle-end/78257 * expr.c (convert_to_bytes): Replace statically allocated buffer with a dynamically allocated one of sufficient size. gcc/testsuite/ChangeLog: PR middle-end/96665 PR middle-end/78257 * gcc.dg/memcmp-5.c: New test.
Diffstat (limited to 'gcc/fortran/simplify.c')
0 files changed, 0 insertions, 0 deletions