Bug 60508

Summary: gcc: "gcc.dg/noncompile/920923-1.c (test for excess errors)" fails
Product: [Retired] Red Hat Linux Reporter: Christopher Holmes <cholmes>
Component: gccAssignee: Beth Uptagrafft <bhu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-03-01 14:48:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christopher Holmes 2002-02-28 19:23:51 UTC
Description of Problem:

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

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

	gcc-2.96-101.src.rpm

How Reproducible:

	always

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 18:17:04 UTC
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.