The attached spd.c contains functions called from my raminit.c's sdram_set_spd_registers(). Raminit.c is #included into auto.c. I've tried various workarounds including putting all the code in spd.c under one function, getting rid of the device_t ctl, etc. but compilation doesn't yet work. Ideas appreciated.
Thanks, dB
--- Doug Bell nxtv3@yahoo.com wrote:
Beyond that, there was one version in which I simply switched the order of declaration of variables to make it compile:
// unsigned char row,col; // broken unsigned char col,row; // works
In another test run........ //if ( total < c) total+=div; // failed
if ( total < c) subtotal+=div; // was ok total=subtotal;
Ron / Eric - What is the best way to proceed on this? What info would you want? I don't think I'm doing anything bizarre, maybe 4 chars declared, no deep levels of functions.
--- Doug Bell nxtv3@yahoo.com wrote:
I had one version of code where it failed on a
line
like: if (speed==100) speed=0;
but problem disappeared if I did : if (speed==100) speed2=0;
This may have been a factor in the first reporting of the problem as well.
-dB
--- Doug Bell nxtv3@yahoo.com wrote:
It seems to not be related to register
allocation,
how many layers of functions, or code size, but to nested if statements or variations thereof, e.g. if ( (condition a) && ( condition b) ) ....
/home/dbell # uname -a Linux Doug 2.6.9 #1 Tue Jan 11 17:26:41 UTC 2005 i686 Intel(R) Pentium(R) 4 CPU 1500MHz GenuineIntel GNU/Linux
Target is via epia-sp, under development but
close
to an alpha release with some open items.
BTW, is there any documentation regarding what limitations romcc has (e.g. multidimensional
arrays
not allowed, etc )?
Thanks, Doug
--- ron minnich rminnich@gmail.com wrote:
On 9/26/05, Doug Bell nxtv3@yahoo.com wrote:
0x8360d58 phi Internal compiler error:
Cannot
find block dominated by 0x82ba9a8
Any ideas on workarounds / fixes here? Is am
I
running
out of registers or some other problem?
can you tell us more about the environment, uname -a distro, and linuxbios target?
ron
--
LinuxBIOS mailing list LinuxBIOS@openbios.org
http://www.openbios.org/mailman/listinfo/linuxbios
__________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
-- LinuxBIOS mailing list LinuxBIOS@openbios.org
http://www.openbios.org/mailman/listinfo/linuxbios
__________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
-- LinuxBIOS mailing list LinuxBIOS@openbios.org http://www.openbios.org/mailman/listinfo/linuxbios
__________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com