------- Comment #7 from ro at techfak dot uni-bielefeld dot de 2009-09-02 16:30 ------- Subject: Re: [4.5 regression] Solaris 10/x86 comparison failure after VTA merge
aoliva at gcc dot gnu dot org writes: > Thanks, Rainer. Could I ask for your help in coming up with a minimal > testcase > that, compiled with both -g and -g0, fails the contrib/compare-debug test? I > see no other alternative than to test whether something like that stands a > chance of working before setting out to build stage2 with -gtoggle. Thanks in > advance, Sure: I obviously care about Solaris (and IRIX and Tru64 UNIX :-), and even a minimal hello.c fails the test: r...@zingana 218 > cat hello.c int main (void) { return 0; } r...@zingana 219 > ./xgcc -B./ -g0 -c hello.c -o hello-g0.o r...@zingana 220 > ./xgcc -B./ -g -c hello.c -o hello-g.o r...@zingana 221 > /vol/gcc/src/gcc-dist/contrib/compare-debug --preserve hello-g0.o hello-g.o hello-g0.o.stripped. hello-g.o.stripped. differ: char 33, line 1 preserving hello-g0.o.stripped. hello-g.o.stripped. r...@zingana 222 > ls -l hello*.o* -rw-r--r-- 1 ro gcc 1964 Sep 2 18:23 hello-g.o -rw-r--r-- 1 ro gcc 884 Sep 2 18:21 hello-g.o.stripped -rw-r--r-- 1 ro gcc 884 Sep 2 18:23 hello-g.o.stripped. -rw-r--r-- 1 ro gcc 630 Sep 2 18:23 hello-g0.o -rw-r--r-- 1 ro gcc 630 Sep 2 18:21 hello-g0.o.stripped -rw-r--r-- 1 ro gcc 630 Sep 2 18:23 hello-g0.o.stripped. Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41228