public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/43264] Arithmetic expression error
       [not found] <bug-43264-4@http.gcc.gnu.org/bugzilla/>
@ 2015-02-06  0:18 ` law at redhat dot com
  2015-02-06  5:34 ` law at gcc dot gnu.org
  2015-02-06  5:35 ` law at redhat dot com
  2 siblings, 0 replies; 5+ messages in thread
From: law at redhat dot com @ 2015-02-06  0:18 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-02-06
                 CC|                            |law at redhat dot com
     Ever confirmed|0                           |1

--- Comment #5 from Jeffrey A. Law <law at redhat dot com> ---
It's a bug specific to the old H8/300 support (ie, works correctly on H8/300H
and H8/300s variants).  The 24bit shift is implemented as a byte copy from the
high byte to the low bite, then extending the sign bit through the two middle
bytes and into the high byte.  But the extending part had two typos which
prevented extending into the upper middle and upper bytes.


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

* [Bug target/43264] Arithmetic expression error
       [not found] <bug-43264-4@http.gcc.gnu.org/bugzilla/>
  2015-02-06  0:18 ` [Bug target/43264] Arithmetic expression error law at redhat dot com
@ 2015-02-06  5:34 ` law at gcc dot gnu.org
  2015-02-06  5:35 ` law at redhat dot com
  2 siblings, 0 replies; 5+ messages in thread
From: law at gcc dot gnu.org @ 2015-02-06  5:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Fri Feb  6 05:34:00 2015
New Revision: 220471

URL: https://gcc.gnu.org/viewcvs?rev=220471&root=gcc&view=rev
Log:
    PR target/43264
    * config/h8300/h8300.c (get_shift_alg): Fix ASHIFTRT by
    24 to 28 bits for the H8/300.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/h8300/h8300.c


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

* [Bug target/43264] Arithmetic expression error
       [not found] <bug-43264-4@http.gcc.gnu.org/bugzilla/>
  2015-02-06  0:18 ` [Bug target/43264] Arithmetic expression error law at redhat dot com
  2015-02-06  5:34 ` law at gcc dot gnu.org
@ 2015-02-06  5:35 ` law at redhat dot com
  2 siblings, 0 replies; 5+ messages in thread
From: law at redhat dot com @ 2015-02-06  5:35 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at redhat dot com> changed:

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

--- Comment #7 from Jeffrey A. Law <law at redhat dot com> ---
Fixed on trunk.


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

* [Bug target/43264] Arithmetic expression error
  2010-03-05  4:16 [Bug c/43264] New: " n-takeda at kwansei dot ac dot jp
  2010-03-05  5:30 ` [Bug target/43264] " pinskia at gcc dot gnu dot org
@ 2010-03-06 13:11 ` n-takeda at kwansei dot ac dot jp
  1 sibling, 0 replies; 5+ messages in thread
From: n-takeda at kwansei dot ac dot jp @ 2010-03-06 13:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from n-takeda at kwansei dot ac dot jp  2010-03-06 13:10 -------
(In reply to comment #3)
> What is the size of long on h8300-elf?
> 

The size of long is 32bit.
LONG_MAX is 2,147,483,647.


-- 


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


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

* [Bug target/43264] Arithmetic expression error
  2010-03-05  4:16 [Bug c/43264] New: " n-takeda at kwansei dot ac dot jp
@ 2010-03-05  5:30 ` pinskia at gcc dot gnu dot org
  2010-03-06 13:11 ` n-takeda at kwansei dot ac dot jp
  1 sibling, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-03-05  5:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2010-03-05 05:30 -------
What is the size of long on h8300-elf?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target


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


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

end of thread, other threads:[~2015-02-06  5:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-43264-4@http.gcc.gnu.org/bugzilla/>
2015-02-06  0:18 ` [Bug target/43264] Arithmetic expression error law at redhat dot com
2015-02-06  5:34 ` law at gcc dot gnu.org
2015-02-06  5:35 ` law at redhat dot com
2010-03-05  4:16 [Bug c/43264] New: " n-takeda at kwansei dot ac dot jp
2010-03-05  5:30 ` [Bug target/43264] " pinskia at gcc dot gnu dot org
2010-03-06 13:11 ` n-takeda at kwansei dot ac dot jp

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