public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/32790] REG_N_SETS holds wrong value
[not found] <bug-32790-4@http.gcc.gnu.org/bugzilla/>
@ 2015-01-17 7:25 ` law at gcc dot gnu.org
2015-01-17 7:28 ` law at redhat dot com
1 sibling, 0 replies; 4+ messages in thread
From: law at gcc dot gnu.org @ 2015-01-17 7:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32790
--- Comment #3 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Sat Jan 17 07:24:24 2015
New Revision: 219795
URL: https://gcc.gnu.org/viewcvs?rev=219795&root=gcc&view=rev
Log:
PR rtl-optimization/32790
* reginfo.c (reg_scan_mark_refs): Look for ZERO_EXTRACT,
not ZERO_EXTEND in SET_DESTs.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/reginfo.c
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug rtl-optimization/32790] REG_N_SETS holds wrong value
[not found] <bug-32790-4@http.gcc.gnu.org/bugzilla/>
2015-01-17 7:25 ` [Bug rtl-optimization/32790] REG_N_SETS holds wrong value law at gcc dot gnu.org
@ 2015-01-17 7:28 ` law at redhat dot com
1 sibling, 0 replies; 4+ messages in thread
From: law at redhat dot com @ 2015-01-17 7:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32790
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |law at redhat dot com
Resolution|--- |FIXED
--- Comment #4 from Jeffrey A. Law <law at redhat dot com> ---
Fixed on trunk.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug rtl-optimization/32790] REG_N_SETS holds wrong value
2007-07-17 10:00 [Bug rtl-optimization/32790] New: " georgjohann at web dot de
2007-07-17 10:23 ` [Bug rtl-optimization/32790] " pinskia at gcc dot gnu dot org
@ 2007-07-17 11:13 ` georgjohann at web dot de
1 sibling, 0 replies; 4+ messages in thread
From: georgjohann at web dot de @ 2007-07-17 11:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from georgjohann at web dot de 2007-07-17 11:13 -------
(In reply to comment #1)
>
> This comes from the begining of time :).
> ZERO_EXTRACT has been there since the begining of time also:
> 70 kenner DEF_RTL_EXPR(ZERO_EXTRACT, "zero_extract", "eee", 'b')
>
So what is the conclusion...?
At least the following backends implement "insv" as
(define_*** "insv"
[(set (zero_extract (match_operand 0 ...
with a predicate that allows registers:
i386, pa, sh, c4x, arm, vax, ia64, m68k, ip2k, ns32k, rs6000, h8300, mcore
Uses of REG_N_SETS(*) are spread all over the RTL passes and many of them rely
on REG_N_SETS(*) == 1 etc.
If such a condition holds but is incorrect because (set (zero_extract is
ignored that may lead to a bug in the output, e.g. due to a wrong replacement.
--
georgjohann at web dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Version|4.3.0 |unknown
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32790
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug rtl-optimization/32790] REG_N_SETS holds wrong value
2007-07-17 10:00 [Bug rtl-optimization/32790] New: " georgjohann at web dot de
@ 2007-07-17 10:23 ` pinskia at gcc dot gnu dot org
2007-07-17 11:13 ` georgjohann at web dot de
1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-17 10:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-17 10:22 -------
56 kenner /* Count a set of the destination if it is a register.
*/
56 kenner for (dest = SET_DEST (x);
56 kenner GET_CODE (dest) == SUBREG || GET_CODE (dest) ==
STRICT_LOW_PART
56 kenner || GET_CODE (dest) == ZERO_EXTEND;
56 kenner dest = XEXP (dest, 0))
56 kenner ;
This comes from the begining of time :).
ZERO_EXTRACT has been there since the begining of time also:
70 kenner /* Similar for unsigned bit-field. */
70 kenner DEF_RTL_EXPR(ZERO_EXTRACT, "zero_extract", "eee", 'b')
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |normal
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-07-17 10:22:51
date| |
Version|unknown |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32790
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-17 7:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-32790-4@http.gcc.gnu.org/bugzilla/>
2015-01-17 7:25 ` [Bug rtl-optimization/32790] REG_N_SETS holds wrong value law at gcc dot gnu.org
2015-01-17 7:28 ` law at redhat dot com
2007-07-17 10:00 [Bug rtl-optimization/32790] New: " georgjohann at web dot de
2007-07-17 10:23 ` [Bug rtl-optimization/32790] " pinskia at gcc dot gnu dot org
2007-07-17 11:13 ` georgjohann at web dot de
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).