Bug 25440 - A packed enum bug.
A packed enum bug.
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
i386 Linux
high Severity high
: ---
: ---
Assigned To: Jakub Jelinek
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-01-31 19:45 EST by Red Hat Bugzilla
Modified: 2008-03-13 15:18 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-31 19:46:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
A testcase. (824 bytes, text/plain)
2001-01-31 19:46 EST, Red Hat Bugzilla
no flags Details

  None (edit)
Description Red Hat Bugzilla 2001-01-31 19:45:10 EST
The DAC960 driver uses packed enum. gcc 2.96 doesn't
handle it properly. egcs 1.1.2 is ok.

# gcc packed.c
packed.c:10: warning: width of `RamType' exceeds its type
packed.c:15: warning: width of `ErrorCorrection' exceeds its type
# a.out
zsh: 9887 abort      ./a.out
Comment 1 Red Hat Bugzilla 2001-01-31 19:46:02 EST
Created attachment 8621 [details]
A testcase.
Comment 2 Red Hat Bugzilla 2001-02-06 12:05:39 EST
This is fixed already since Feb, 2nd and the fix is in 2.96-74.
(but it is still waiting for approval for CVS head).

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