summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffreg.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2003-08-08 07:29:25 +0000
committermiod <miod@openbsd.org>2003-08-08 07:29:25 +0000
commit761fc66fc8c39d35bba8700ec73fc521074635d7 (patch)
tree3604a3b1ccb196bf01582cac12ca6303b2a0a4f2 /usr.bin/diff/diffreg.c
parentifdef some debugging crap (diff)
downloadwireguard-openbsd-761fc66fc8c39d35bba8700ec73fc521074635d7.tar.xz
wireguard-openbsd-761fc66fc8c39d35bba8700ec73fc521074635d7.zip
On some architectures, being too optimistic in preserve_subexpressions_p(),
for example when -fexpensive-optimizations is used, sometimes causes incorrect code sequences to be generated. As -fexpensive-optimizations is implied by -O2, this means we are potentially affected by this in numerous places... so add a specific workaround to nullify expensizve-optimizations in preserve_subexpressions_p() on a known-to-be-affected basis. So far, only alpha, powerpc, m88k, sparc and sparc64 are affected. Problem tracked down by henning@ - analysis by etoh@ and I - ugly workaround by me - ok deraadt@
Diffstat (limited to 'usr.bin/diff/diffreg.c')
0 files changed, 0 insertions, 0 deletions