472,328 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,328 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 6740
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...
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),...
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...
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...
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...
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...
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 =...
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...
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...
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
1
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...

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.