This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Dummy questions on GCC internals


On Tue, 2003-05-20 at 22:25, Alexander Aganichev wrote:
> Hi!
> 
> I have some dummy questions:-)
> 
> Is there a guide with GCC internal errors explanation? I'm in
> progress of defining z80.md file and receive various
> complaints like "Unrecognizable insn". How can I determine
> what's wrong?
> 

This means that the compiler is attempting to generate a particular
pattern. Unfortunately you don't have one defined that matches it. You
either need to fix this, or find a way to stop that pattern from
generating out of the backend.

> Another problem is "Internal error: abort in
> find_matching_operand" in genrecog. I'm sure it's my fault,
> but is there easy way to find it out?
> 

Find the last bit of source code you modified? :)

> Also, what is the major difference between define_insn and
> define_expand ending with DONE?
> 

This is in the gcc internals manual, gccint.texi or available on the
documentation page on the gcc.gnu.org website.

-eric

-- 
Eric Christopher <echristo@redhat.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]