Andreas Jaeger <[EMAIL PROTECTED]> wrote on 20/10/2005 18:08:56: > > Hi Razya, > > you developed the following tests: > > 2005-10-12 Razya Ladelsky <[EMAIL PROTECTED]> > > * g++.dg/ipa/ipa-1.c: New test. > * g++.dg/ipa/ipa-2.c: New test. > * g++.dg/ipa/ipa-3.c: New test. > * g++.dg/ipa/ipa-4.c: New test. > * g++.dg/ipa/ipa-5.c: New test. > * g++.dg/ipa/ipa.exp: New file. > > Test 5 fails for me on Linux/x86_64: > > Executing on host: /builds/gcc/misc/gcc/xgcc -B/builds/gcc/misc/gcc/ > /cvs/gcc/gcc/testsuite/gcc.dg/ipa/ipa-5.c -O3 -fipa-cp -fdump-ipa- > cp -fno-show-column -S -m32 -o ipa-5.s (timeout = 300) > PASS: gcc.dg/ipa/ipa-5.c (test for excess errors) > FAIL: gcc.dg/ipa/ipa-5.c scan-ipa-dump-times versioned function 2 > FAIL: gcc.dg/ipa/ipa-5.c scan-ipa-dump-times propagating const 2 > > Any ideas what's broken? > > Andreas > -- > Andreas Jaeger, [EMAIL PROTECTED], http://www.suse.de/~aj > SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany > GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 > [attachment "attup4dv.dat" deleted by Razya Ladelsky/Haifa/IBM]
Yes, I am aware of this problem. It does not fail for power and I'm trying to figure out why it fails for x86 architecture. It appears that the type of the constant being passed to a function having a short parameter, is an int while I expected it to be short. call to g : g (a, 3); definition of g : int g (float b, short c) I am not sure which part of the compiler is responsible to have the the types matched, but I think they should at this point. I am still working on this. Any ideas? Razya