public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/8] asm inline backport
@ 2018-12-27 14:59 Segher Boessenkool
  2018-12-27 14:59 ` [PATCH 4/8] c/c++, asm: Write the asm-qualifier loop without "done" boolean Segher Boessenkool
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Segher Boessenkool @ 2018-12-27 14:59 UTC (permalink / raw)
  To: gcc-patches; +Cc: Segher Boessenkool

Hi!

I'd like to backport the "asm inline" series to 8 branch and 7 branch.
The patches are identical to trunk, except I added a patch 8/8 that
makes these branches not error on code it only warned on before (that
is, C code that uses restrict or const as asm qualifier).

The 7 backport has a context change in tree-inline.c, but everything
else is identical.

The goal of backporting is that users (Linux, mostly) can start using
it sooner.

Is this okay for 8?  Is it okay for 7?


Segher


Segher Boessenkool (8):
  asm qualifiers (PR55681)
  asm inline
  c: Delete a stray line in asm inline
  c/c++, asm: Write the asm-qualifier loop without "done" boolean
  c/c++, asm: Use nicer error for duplicate asm qualifiers
  c/c++, asm: Use nicer error for const and restrict
  c++, asm: Do not handle any asm-qualifiers in top-level asm
  c: Don't error for const or restrict as asm-qualifier

 gcc/c/c-parser.c                                | 112 ++++++++++++++++-------
 gcc/c/c-tree.h                                  |   5 +-
 gcc/c/c-typeck.c                                |  11 ++-
 gcc/cp/cp-tree.h                                |   2 +-
 gcc/cp/parser.c                                 | 117 +++++++++++++++++-------
 gcc/cp/pt.c                                     |   2 +-
 gcc/cp/semantics.c                              |   5 +-
 gcc/doc/extend.texi                             |  23 ++++-
 gcc/gimple-pretty-print.c                       |   2 +
 gcc/gimple.h                                    |  26 +++++-
 gcc/gimplify.c                                  |   1 +
 gcc/ipa-icf-gimple.c                            |   3 +
 gcc/testsuite/c-c++-common/torture/asm-inline.c |  53 +++++++++++
 gcc/testsuite/g++.dg/asm-qual-1.C               |  13 +++
 gcc/testsuite/g++.dg/asm-qual-2.C               |  46 ++++++++++
 gcc/testsuite/g++.dg/asm-qual-3.C               |  12 +++
 gcc/testsuite/gcc.dg/asm-qual-1.c               |   8 +-
 gcc/testsuite/gcc.dg/asm-qual-2.c               |  46 ++++++++++
 gcc/testsuite/gcc.dg/asm-qual-3.c               |   9 ++
 gcc/tree-core.h                                 |   3 +
 gcc/tree-inline.c                               |   3 +
 gcc/tree.h                                      |   3 +
 22 files changed, 420 insertions(+), 85 deletions(-)
 create mode 100644 gcc/testsuite/c-c++-common/torture/asm-inline.c
 create mode 100644 gcc/testsuite/g++.dg/asm-qual-1.C
 create mode 100644 gcc/testsuite/g++.dg/asm-qual-2.C
 create mode 100644 gcc/testsuite/g++.dg/asm-qual-3.C
 create mode 100644 gcc/testsuite/gcc.dg/asm-qual-2.c
 create mode 100644 gcc/testsuite/gcc.dg/asm-qual-3.c

-- 
1.8.3.1

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

end of thread, other threads:[~2019-01-02  9:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-27 14:59 [PATCH 0/8] asm inline backport Segher Boessenkool
2018-12-27 14:59 ` [PATCH 4/8] c/c++, asm: Write the asm-qualifier loop without "done" boolean Segher Boessenkool
2018-12-27 14:59 ` [PATCH 3/8] c: Delete a stray line in asm inline Segher Boessenkool
2018-12-27 14:59 ` [PATCH 7/8] c++, asm: Do not handle any asm-qualifiers in top-level asm Segher Boessenkool
2018-12-27 14:59 ` [PATCH 2/8] asm inline Segher Boessenkool
2018-12-27 14:59 ` [PATCH 1/8] asm qualifiers (PR55681) Segher Boessenkool
2018-12-27 16:26 ` [PATCH 6/8] c/c++, asm: Use nicer error for const and restrict Segher Boessenkool
2018-12-27 16:30 ` [PATCH 5/8] c/c++, asm: Use nicer error for duplicate asm qualifiers Segher Boessenkool
2018-12-27 16:32 ` [PATCH 8/8] c: Don't error for const or restrict as asm-qualifier Segher Boessenkool
2019-01-02  9:10 ` [PATCH 0/8] asm inline backport Richard Biener
2019-01-02  9:10   ` Richard Biener

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