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
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.