public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: inline-asm/10396: Constraint alternatives cause error " `asm' operand requires impossible reload"
@ 2003-05-13 6:29 steven
0 siblings, 0 replies; 3+ messages in thread
From: steven @ 2003-05-13 6:29 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, gonz, nobody
Synopsis: Constraint alternatives cause error " `asm' operand requires impossible reload"
State-Changed-From-To: feedback->analyzed
State-Changed-By: steven
State-Changed-When: Tue May 13 06:29:34 2003
State-Changed-Why:
Confirmed vs. 3.3
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10396
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: inline-asm/10396: Constraint alternatives cause error " `asm' operand requires impossible reload"
@ 2003-05-06 1:16 Pete Gonzalez
0 siblings, 0 replies; 3+ messages in thread
From: Pete Gonzalez @ 2003-05-06 1:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR inline-asm/10396; it has been noted by GNATS.
From: Pete Gonzalez <gonz@ratloop.com>
To: gcc-gnats@gcc.gnu.org,gcc-bugs@gcc.gnu.org,nobody@gcc.gnu.org,
gcc-prs@gcc.gnu.org,gonz@ratloop.com
Cc:
Subject: Re: inline-asm/10396: Constraint alternatives cause error "
`asm' operand requires impossible reload"
Date: Mon, 05 May 2003 21:05:56 -0400
I tried the example again with the GCC 3.3 prerelease (20030428),
but the "impossible reload" error is still being generated.
For reference, here is the section from gcc/reload1.c which produces
the error message:
/* Substitute the chosen reload regs from reload_reg_rtx
into the insn's body (or perhaps into the bodies of other
load and store insn that we just made for reloading
and that we moved the structure into). */
subst_reloads (insn);
/* If this was an ASM, make sure that all the reload insns
we have generated are valid. If not, give an error
and delete them. */
if (asm_noperands (PATTERN (insn)) >= 0)
for (p = NEXT_INSN (prev); p != next; p = NEXT_INSN (p))
if (p != insn && INSN_P (p)
&& GET_CODE (PATTERN (p)) != USE
&& (recog_memoized (p) < 0
|| (extract_insn (p), ! constrain_operands (1))))
{
error_for_asm (insn,
"`asm' operand requires impossible reload");
delete_insn (p);
}
Once again, each of the constraint alternatives works fine by itself;
it is only the combination of three alternatives that introduces the
error.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: inline-asm/10396: Constraint alternatives cause error " `asm' operand requires impossible reload"
@ 2003-04-28 4:06 Pete Gonzalez
0 siblings, 0 replies; 3+ messages in thread
From: Pete Gonzalez @ 2003-04-28 4:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR inline-asm/10396; it has been noted by GNATS.
From: Pete Gonzalez <gonz@ratloop.com>
To: gcc-gnats@gcc.gnu.org,gcc-bugs@gcc.gnu.org,nobody@gcc.gnu.org,
gcc-prs@gcc.gnu.org
Cc:
Subject: Re: inline-asm/10396: Constraint alternatives cause error "
`asm' operand requires impossible reload"
Date: Sun, 27 Apr 2003 23:56:05 -0400
>Do you have this problem with 3.3 as well? Many reload and
>inline-asm problems have been fixed for 3.3, maybe your problem
>is fixed there as well.
I attempted to recompile using the latest 3.3 snapshot (20030421),
however the build fails with this error:
>gcc -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
>-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
>-Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengtype.exe \
> gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a
>./gengtype
>Signal 11
>make[2]: *** [s-gtype] Error 139
>make[2]: Leaving directory
>`/home/Administrator/DevKitAdv-Source/build-gcc/gcc'
>make[1]: *** [all-gcc] Error 2
>make[1]: Leaving directory `/home/Administrator/DevKitAdv-Source/build-gcc'
>make: *** [stmp-gcc-make-all] Error 2
I guess I should wait for a more stable version of the source code.
How far off is the official 3.3 release?
Thanks,
-Pete
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-05-13 6:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-13 6:29 inline-asm/10396: Constraint alternatives cause error " `asm' operand requires impossible reload" steven
-- strict thread matches above, loose matches on Subject: below --
2003-05-06 1:16 Pete Gonzalez
2003-04-28 4:06 Pete Gonzalez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).