473,503 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6945
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
2366
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
3147
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
10858
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
2931
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
1986
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
23442
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
1500
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
1887
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
1916
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
7199
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7273
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
7322
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...
1
6982
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7451
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5572
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
1501
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
374
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.