public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/84437] long long casting breaks PDP-11 with -m10 model option (includes trivial reproducer)
       [not found] <bug-84437-4@http.gcc.gnu.org/bugzilla/>
@ 2021-03-18 14:19 ` pkoning at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: pkoning at gcc dot gnu.org @ 2021-03-18 14:19 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84437

pkoning at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from pkoning at gcc dot gnu.org ---
Agreed, this is fixed in the current code, shift handling was cleaned up as
part of the CCmode change.
That said, the code produces the right answer but it does it in a bad way,
because the port does not provide a pattern for this sign extend.  The GCC
default is to use a shift, which for a pdp-11 is not the best answer.

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

only message in thread, other threads:[~2021-03-18 14:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-84437-4@http.gcc.gnu.org/bugzilla/>
2021-03-18 14:19 ` [Bug target/84437] long long casting breaks PDP-11 with -m10 model option (includes trivial reproducer) pkoning at gcc dot gnu.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).