public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: gcc-help <gcc-help@gcc.gnu.org>
Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Subject: couple of questions
Date: Sun, 21 Nov 2021 01:07:13 +0100	[thread overview]
Message-ID: <20211121010713.1452267f@nbbrfq> (raw)

Hi there!

A couple of questions about nits

1) last_stmt
wouldn't it be more efficient if tree-cfg.c:: last_stmt() would
gimple_seq_last_nondebug_stmt (bb_seq (bb)) ? That would set stmt=NULL
only after the loop it seems..

2) msp430 TARGET_PROMOTE_PROTOTYPES hook
AFAICS msp430_promote_prototypes could be deleted, the default does the
same.

3) Fortran EQUIVALENCE
In fortran there is an EQUIVALENCE stmt. I'm wondering if this is (or
should be) used in PTA, the alias oracle and/or somewhere else?
"The EQUIVALENCE statement specifies that two or more variables or
arrays in a program unit share the same memory."

4) c++ frontend redundant store
cp_parser_set_decl_spec_type sets any_specifiers_p = true
unconditionally, so setting it again at least in
cp_parser_decl_specifier_seq is redundant.

stage 1 material i assume iff they hold (?).

thanks,

                 reply	other threads:[~2021-11-21  0:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211121010713.1452267f@nbbrfq \
    --to=rep.dot.nop@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).