Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 60508 - gcc: "gcc.dg/noncompile/920923-1.c (test for excess errors)" fails
gcc: "gcc.dg/noncompile/920923-1.c (test for excess errors)" fails
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
alpha Linux
medium Severity medium
: ---
: ---
Assigned To: Beth Uptagrafft
Depends On:
  Show dependency treegraph
Reported: 2002-02-28 14:23 EST by Christopher Holmes
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-03-01 09:48:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Christopher Holmes 2002-02-28 14:23:51 EST
Description of Problem:

	gcc: "gcc.dg/noncompile/920923-1.c (test for excess errors)" fails

Version-Release number of selected component (if applicable):


How Reproducible:


Steps to Reproduce:

1. rpm -i gcc-2.96-101.src.rpm
2. cd /usr/src/redhat/SPECS
3. rpm -ba gcc.spec
4. cd /usr/src/redhat/BUILD/gcc-2.96-20000731/obj-alpha-redhat-linux
5. make -k check
6. review gcc/testsuite/gcc.log

Actual Results:

FAIL: gcc.dg/noncompile/20000901-2.c (test for excess errors)

Expected Results:

PASS: gcc.dg/noncompile/20000901-2.c (test for excess errors)

Additional Information:

	Expected results achieved on intel RedHat7.2
Comment 1 Beth Uptagrafft 2002-04-24 14:17:04 EDT
This testcase was issuing an extra warning that was not expected.
calloc was called with no prototype, so when the result was cast
to a pointer, the compiler was issuing a warning that the size of
calloc's return type and the pointer were different sizes. The testcase
will now allow that warning to be issued without failing.

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