Bug 16557 - mawk-1.3.3-4 miscompiled by gcc-2.96-52
mawk-1.3.3-4 miscompiled by gcc-2.96-52
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: mawk (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
http://ftp.valinux.com/pub/support/hj...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-18 21:45 EDT by Red Hat Bugzilla
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-08-19 20:15:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Red Hat Bugzilla 2000-08-18 21:45:57 EDT
mawk-1.3.3-4 compiled by gcc-2.96-52 dumps core:

# mawk -f firstversions.awk mm
libc {
  GLIBC_2.0
  GLIBC_2.1
  GLIBC_2.1.1
zsh: 5431 segmentation fault  mawk -f firstversions.awk mm

firstversions.awk and mm can be found at:

http://ftp.valinux.com/pub/support/hjl/bugs/mawk
Comment 1 Red Hat Bugzilla 2000-08-18 21:56:38 EDT
array.c in mawk 1.3.3-4 is miscompiled by -O2. -O seems ok.
Comment 2 Red Hat Bugzilla 2000-08-19 13:43:33 EDT
Using -O2 -fno-strength-reduce on array.c generates a working mawk.
BTW, gcc 2.96 20000819 still miscompiles mawk.
Comment 3 Red Hat Bugzilla 2000-08-19 20:15:21 EDT
Jakub is fixing this problem in gcc. Thanks for your report.
Comment 4 Red Hat Bugzilla 2000-08-21 09:51:53 EDT
a workaround was made in mawk as well.

Note You need to log in before you can comment on or make changes to this bug.