public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: other/8919: ICE with (possibly invalid) extended asm.
@ 2002-12-13  3:24 reichelt
  0 siblings, 0 replies; only message in thread
From: reichelt @ 2002-12-13  3:24 UTC (permalink / raw)
  To: carlo, gcc-bugs, gcc-prs, nobody

Old Synopsis: Internal Compiler Error with (possibly invalid) extended asm.
New Synopsis: ICE with (possibly invalid) extended asm.

State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Fri Dec 13 03:24:47 2002
State-Changed-Why:
    Confirmed.
    
    gcc 2.95.x and 3.0.x issue parse errors.
    The 3.2-branchs issues an ICE.
    Mainline compiles the code.
    (Well, that's not exactly true, since we get assembler errors, but they are
    not related to the problem. There's something wrong with the
              "movl (%[M_bitset_ptr],%[M_digit],4), %[tmp]\n\t"
    lines in the function find1.)
    
    
    A reduced testcase is the following:
    
    ------------------------------snip here----------------------------------
    template <int n> struct A
    {
        int m;
        void foo()
        {
            int i;
            asm ( "testl %[m], %[m]" : [m] "=r" (m), [i] "=r" (i) : );
        }
    };
    
    void bar()
    {
        A<0> a;
        a.foo();
    }
    ------------------------------snip here----------------------------------

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8919


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-13 11:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-13  3:24 other/8919: ICE with (possibly invalid) extended asm reichelt

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).