c/838: sparc-solaris2.7 extra testsuite failures when RTL checking

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Wed Nov 22 08:54:00 GMT 2000


 > From: Graham Stott <grahams@redhat.com>
 > 
 > ChangeLog
 > 
 > 	* expr.c (store_constructor): Pass alias set 0 if the target is a REG.
 > 

Thanks for tackling this Graham.



 > > gcc.dg/ultrasp1.c:9: RTL check: expected code `reg', have `const_int'
 > > gcc.dg/ultrasp1.c:9: RTL check: expected code `reg', have `const_int'
 > > gcc.dg/ultrasp1.c:9: RTL check: expected code `reg', have `const_int'
 > 
 > For what its worth (not a lot) I don't get these on x86-linux. I suspect
 > they are occuring in one of the machine dependent files. Unfortunately
 > I can't tell because the file/line context info is missing.

Sorry, here it is.  You were right about the machine specific file, I
guess you'll need to use an RTL checking cross compiler to
sparc-sun-solaris2.7 to recreate the bug.

Executing on host: /teal/caip5/ghazi/gcc-testing/build/gcc/xgcc -B/teal/caip5/ghazi/gcc-testing/build/gcc/ /teal/caip5/ghazi/gcc-testing/egcs-CVS20001120/gcc/testsuite/gcc.dg/ultrasp1.c   -mcpu=ultrasparc -S  -o ultrasp1.s    (timeout = 300)
spawn /teal/caip5/ghazi/gcc-testing/build/gcc/xgcc -B/teal/caip5/ghazi/gcc-testing/build/gcc/ /teal/caip5/ghazi/gcc-testing/egcs-CVS20001120/gcc/testsuite/gcc.dg/ultrasp1.c -mcpu=ultrasparc -S -o ultrasp1.s 
/teal/caip5/ghazi/gcc-testing/egcs-CVS20001120/gcc/testsuite/gcc.dg/ultrasp1.c: In function `foo':
/teal/caip5/ghazi/gcc-testing/egcs-CVS20001120/gcc/testsuite/gcc.dg/ultrasp1.c:9: RTL check: expected code `reg', have `const_int'
/teal/caip5/ghazi/gcc-testing/egcs-CVS20001120/gcc/testsuite/gcc.dg/ultrasp1.c:9: Internal compiler error in print_operand, at config/sparc/sparc.c:5697
confused by earlier errors, bailing out
compiler exited with status 1
output is:
/teal/caip5/ghazi/gcc-testing/egcs-CVS20001120/gcc/testsuite/gcc.dg/ultrasp1.c: In function `foo':
/teal/caip5/ghazi/gcc-testing/egcs-CVS20001120/gcc/testsuite/gcc.dg/ultrasp1.c:9: RTL check: expected code `reg', have `const_int'
/teal/caip5/ghazi/gcc-testing/egcs-CVS20001120/gcc/testsuite/gcc.dg/ultrasp1.c:9: Internal compiler error in print_operand, at config/sparc/sparc.c:5697
confused by earlier errors, bailing out

FAIL: gcc.dg/ultrasp1.c (test for excess errors)
Excess errors:
/teal/caip5/ghazi/gcc-testing/egcs-CVS20001120/gcc/testsuite/gcc.dg/ultrasp1.c:9: RTL check: expected code `reg', have `const_int'
/teal/caip5/ghazi/gcc-testing/egcs-CVS20001120/gcc/testsuite/gcc.dg/ultrasp1.c:9: Internal compiler error in print_operand, at config/sparc/sparc.c:5697
confused by earlier errors, bailing out


More information about the Gcc-patches mailing list