public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/26750]  New: invalid lvalue in asm output is caught too late
@ 2006-03-18 16:35 pinskia at gcc dot gnu dot org
  2006-03-18 16:36 ` [Bug c/26750] invalid inline asm sematics are " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-18 16:35 UTC (permalink / raw)
  To: gcc-bugs

tret = gimplify_expr (&TREE_VALUE (link), pre_p, post_p,
                            is_inout ? is_gimple_min_lval : is_gimple_lvalue,
                            fb_lvalue | fb_mayfail);
      if (tret == GS_ERROR)
        {
          error ("invalid lvalue in asm output %d", i);
          ret = tret;
        }

This is wrong, there really should be no errors/warning in the gimplifier.


-- 
           Summary: invalid lvalue in asm output is caught too late
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
OtherBugsDependingO 24222
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26750


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/26750] invalid inline asm sematics are caught too late
  2006-03-18 16:35 [Bug c/26750] New: invalid lvalue in asm output is caught too late pinskia at gcc dot gnu dot org
@ 2006-03-18 16:36 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-18 16:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-18 16:36 -------
Likewise for:
          tret = gimplify_expr (&TREE_VALUE (link), pre_p, post_p,
                                is_gimple_lvalue, fb_lvalue | fb_mayfail);
          if (tret == GS_ERROR)
            {
              error ("memory input %d is not directly addressable", i);
              ret = tret;
            }

I am making inline-asm one bug because it would just put them together.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|invalid lvalue in asm output|invalid inline asm sematics
                   |is caught too late          |are caught too late


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26750


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-18 16:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-18 16:35 [Bug c/26750] New: invalid lvalue in asm output is caught too late pinskia at gcc dot gnu dot org
2006-03-18 16:36 ` [Bug c/26750] invalid inline asm sematics are " pinskia at gcc dot gnu dot org

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