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: warning: source missing a mode?


Markus Franke <Markus.Franke@informatik.tu-chemnitz.de> writes:

> Ian Lance Taylor wrote:
> > Oh, yeah, you probably want to say call:SI too.
> 
> Yes I can do this and the warning message disappears. But now I get an
> internal error message about a non matching rtl expression when
> compiling a test program. Without "call:SI" I get warnings during
> compilation but the compilation of my test program works. :-)

Presumably the insn which doesn't match uses call with some mode other
than SI.  What mode does it use?  What generated that insn with some
other mode?

Actually, most targets don't use a mode with call, since a call can
often return multiple modes.  But then they don't use a mode for the
result of the call, either.  Look at what other targets do.

Also, as it happens, it's generally OK to ignore the warning from the
MD file generator.  It's just a warning.

Ian


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