473,387 Members | 1,486 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

strange error message : unable to find a register to spill in class `AREG'

hello

i have this strange error message that i dont understand :

_search.c: In function `_depth_search':
_search.c:218: unable to find a register to spill in class `AREG'
_search.c:218: this is the insn:
(insn 83 82 84 (parallel [
(set (reg:SI 69)
(div:SI (reg:SI 2 ecx [66])
(reg:SI 1 edx [70])))
(set (reg:SI 1 edx [68])
(mod:SI (reg:SI 2 ecx [66])
(reg:SI 1 edx [70])))
(clobber (reg:CC 17 flags))
]) 272 {*divmodsi4_cltd} (nil)
(expr_list:REG_DEAD (reg:SI 2 ecx [66])
(expr_list:REG_DEAD (reg:SI 1 edx [70])
(expr_list:REG_UNUSED (reg:SI 69)
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil))))))

line 218 is :

if(!(_states_nb % 100))

declaration of _states_nb is :

int _states_nb;

thanks for any help

Sami
Nov 14 '05 #1
3 6930
Evangelista Sami wrote:
hello

i have this strange error message that i dont understand :

_search.c: In function `_depth_search':
_search.c:218: unable to find a register to spill in class `AREG'
_search.c:218: this is the insn:
(insn 83 82 84 (parallel [
(set (reg:SI 69)
(div:SI (reg:SI 2 ecx [66])
(reg:SI 1 edx [70])))
(set (reg:SI 1 edx [68])
(mod:SI (reg:SI 2 ecx [66])
(reg:SI 1 edx [70])))
(clobber (reg:CC 17 flags))
]) 272 {*divmodsi4_cltd} (nil)
(expr_list:REG_DEAD (reg:SI 2 ecx [66])
(expr_list:REG_DEAD (reg:SI 1 edx [70])
(expr_list:REG_UNUSED (reg:SI 69)
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil))))))

line 218 is :

if(!(_states_nb % 100))

declaration of _states_nb is :

int _states_nb;

thanks for any help

Sami


Please post more code. The compiler could be allocating
variables in registers; but we can't tell until you post
the function that these errors come from.

Also, please remove any tabs from your post before you send it.

BTW, identifier names starting with an underscore, '_'
are reserved for the compiler and best avoided.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book

Nov 14 '05 #2
ev******@cnam.fr (Evangelista Sami) writes:
i have this strange error message that i dont understand :

_search.c: In function `_depth_search':
_search.c:218: unable to find a register to spill in class `AREG'
_search.c:218: this is the insn:


gnu.gcc.help is a better place to ask.
--
"Given that computing power increases exponentially with time,
algorithms with exponential or better O-notations
are actually linear with a large constant."
--Mike Lee
Nov 14 '05 #3
ev******@cnam.fr (Evangelista Sami) writes:
i have this strange error message that i dont understand :

_search.c: In function `_depth_search':
_search.c:218: unable to find a register to spill in class `AREG'
_search.c:218: this is the insn:
(insn 83 82 84 (parallel [
(set (reg:SI 69)
(div:SI (reg:SI 2 ecx [66])
(reg:SI 1 edx [70])))
(set (reg:SI 1 edx [68])
(mod:SI (reg:SI 2 ecx [66])
(reg:SI 1 edx [70])))
(clobber (reg:CC 17 flags))
]) 272 {*divmodsi4_cltd} (nil)
(expr_list:REG_DEAD (reg:SI 2 ecx [66])
(expr_list:REG_DEAD (reg:SI 1 edx [70])
(expr_list:REG_UNUSED (reg:SI 69)
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil))))))

line 218 is :

if(!(_states_nb % 100))

declaration of _states_nb is :

int _states_nb;


This error message isn't telling you about an error in your code, it's
telling you about an internal failure (almost certainly a bug) in the
compiler.

You might be able to work around the compiler bug by re-working your
code, but it's not at all obvious how. You might also try tweaking
command-line options, particularly ones related to optimization. A
Google search for the error message might be fruitful.

I presume you're using gcc.

Upgrading to a newer version, if possible, might or might not help.

See <http://gcc.gnu.org> for information on how to report the bug.
Try to create a minimal self-contained program that exhibits the
problem. (This may be difficult, since it's likely to be triggered by
some level of complexity in the structure of your program.) The exact
version of gcc you're using and the system you're using it on are
likely to be extremely relevant.

It's not a C language issue, so we're not likely to be able to help
you further here.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 14 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mohit Gupta | last post by:
Hi all, I am using Microsoft Visual Interdev to write/develop ASP code. Refering to code below, when I tried to create object of class "ADODB.Stream", an error was reported by IIS/ASP error engine...
3
by: Don McNamara | last post by:
Hi, I've hit quite a strange problem with XmlSerializer on my W2K3 server. When I serialize/deserialize using an exe on my local computer (XP), everything works fine. When I put the code out on...
9
by: Ben Dewey | last post by:
Project: ---------------------------- I am creating a HTTPS File Transfer App using ASP.NET and C#. I am utilizing ActiveDirectory and windows security to manage the permissions. Why reinvent...
5
by: Raterus | last post by:
I'm just throwing this error out for my sanity, I've seen posts about this, but never solutions. I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error about every 1 out of 10 times...
8
by: David | last post by:
This is something I had never seen before. On an aspx page, upon pressing a link button for which I have an event handler in the code behind, the screen shows nothing but a line that says "true"...
0
by: HKSHK | last post by:
This list compares the error codes used in VB.NET 2003 with those used in VB6. Error Codes: ============ 3: This Error number is obsolete and no longer used. (Formerly: Return without GoSub)...
0
by: JohnJohnUSA | last post by:
I ran the following program to retrieve entries from the windows registry on Windows XP: import win32api, win32con aReg = win32api.RegConnectRegistry(None, win32con.HKEY_CURRENT_USER) aKey =...
8
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, I am migrating my C++ COM server to managed code (C# COM server). I am using the same client to use the same COM class in COM server. The C++ version COM server works properly,...
1
by: | last post by:
I have signed up to a dotnet hosting account and I have a dotnet app called CommunityServer, which allows me to setup my own news forums. The path of one of my forums (the third one) is ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.