Description of Problem: gcc: dejagnu script error? Roughly 950 test cases not run as a result. 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: ERROR: tcl error sourcing /usr/src/redhat/BUILD/gcc-2.96-20000731/gcc/testsuite/gcc.dg/dg.exp. ERROR: unmatched open brace in list while executing "foreach op $tmp { verbose "Processing option: $op" 3 set status [catch "$op" errmsg] if { $status != 0 } { if { 0 && [info exists errorInfo] }..." (procedure "dg-test" line 69) invoked from within "dg-test $testcase $flags ${default-extra-flags}" (procedure "dg-runtest" line 10) invoked from within "dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \ "" $DEFAULT_CFLAGS" (file "/usr/src/redhat/BUILD/gcc-2.96-20000731/gcc/testsuite/gcc.dg/dg.exp" line 66) invoked from within "source /usr/src/redhat/BUILD/gcc-2.96-20000731/gcc/testsuite/gcc.dg/dg.exp" ("uplevel" body line 1) invoked from within "uplevel #0 source /usr/src/redhat/BUILD/gcc-2.96-20000731/gcc/testsuite/gcc.dg/dg.exp" invoked from within "catch "uplevel #0 source $test_file_name"" Expected Results: PASS: of roughly 950 test cases Additional Information: Expected results achieved on intel RedHat7.2
The testcase 20011024-1.C specified flags to be used when building the test, but they were specified with an incorrect number of braces. When interpreted by the test environment, the unbalanced braces caused the interpreter script to fail and stop running.