public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/17897] New: 4.0.0 20041008 miscompiles genmodes on powerpc64-redhat-linux
@ 2004-10-08 20:13 jakub at gcc dot gnu dot org
  2004-10-08 20:16 ` [Bug bootstrap/17897] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jakub at gcc dot gnu dot org @ 2004-10-08 20:13 UTC (permalink / raw)
  To: gcc-bugs

genmodes.c is miscompiled by stage1/xgcc -B stage1/ at -O1 and higher.
The output of build/genmodes -h is then:
/* Generated automatically from machmode.def and config/rs6000/rs6000-modes.def
   by genmodes.  */

#ifndef GCC_INSN_MODES_H
#define GCC_INSN_MODES_H

enum machine_mode
{
  VOIDmode,                /* machmode.def:146 */
  BLKmode,                 /* machmode.def:150 */
  CCmode,                  /* machmode.def:178 */
  CCUNSmode,               /* config/rs6000/rs6000-modes.def:38 */
  CCFPmode,                /* config/rs6000/rs6000-modes.def:39 */
  CCEQmode,                /* config/rs6000/rs6000-modes.def:40 */
  BImode,                  /* machmode.def:153 */
  QImode,                  /* machmode.def:158 */
  BImode,                  /* machmode.def:153 */
  QImode,                  /* machmode.def:158 */
  BImode,                  /* machmode.def:153 */
  QImode,                  /* machmode.def:158 */
  BImode,                  /* machmode.def:153 */
  QImode,                  /* machmode.def:158 */
  BImode,                  /* machmode.def:153 */
  QImode,                  /* machmode.def:158 */
  BImode,                  /* machmode.def:153 */
  QImode,                  /* machmode.def:158 */
  BImode,                  /* machmode.def:153 */
  QImode,                  /* machmode.def:158 */
and those two lines repeat forever.

-- 
           Summary: 4.0.0 20041008 miscompiles genmodes on powerpc64-redhat-
                    linux
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc64-redhat-linux


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


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

* [Bug bootstrap/17897] 4.0.0 20041008 miscompiles genmodes on powerpc64-redhat-linux
  2004-10-08 20:13 [Bug bootstrap/17897] New: 4.0.0 20041008 miscompiles genmodes on powerpc64-redhat-linux jakub at gcc dot gnu dot org
@ 2004-10-08 20:16 ` pinskia at gcc dot gnu dot org
  2004-10-08 20:30 ` jakub at gcc dot gnu dot org
  2004-10-08 20:36 ` [Bug rtl-optimization/17897] [4.0 Regression] " pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-08 20:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-08 20:16 -------
I think this is fixed by:
2004-10-08  Michael Matz  <matz@suse.de>

        * loop-doloop.c (doloop_optimize): Extend count.

Can you try after that patch if you don't have that patch installed already?

-- 


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


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

* [Bug bootstrap/17897] 4.0.0 20041008 miscompiles genmodes on powerpc64-redhat-linux
  2004-10-08 20:13 [Bug bootstrap/17897] New: 4.0.0 20041008 miscompiles genmodes on powerpc64-redhat-linux jakub at gcc dot gnu dot org
  2004-10-08 20:16 ` [Bug bootstrap/17897] " pinskia at gcc dot gnu dot org
@ 2004-10-08 20:30 ` jakub at gcc dot gnu dot org
  2004-10-08 20:36 ` [Bug rtl-optimization/17897] [4.0 Regression] " pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu dot org @ 2004-10-08 20:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jakub at gcc dot gnu dot org  2004-10-08 20:30 -------
Thanks a lot, you're right, this patch cures this.
You have saved me from debugging it...

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


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


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

* [Bug rtl-optimization/17897] [4.0 Regression] 4.0.0 20041008 miscompiles genmodes on powerpc64-redhat-linux
  2004-10-08 20:13 [Bug bootstrap/17897] New: 4.0.0 20041008 miscompiles genmodes on powerpc64-redhat-linux jakub at gcc dot gnu dot org
  2004-10-08 20:16 ` [Bug bootstrap/17897] " pinskia at gcc dot gnu dot org
  2004-10-08 20:30 ` jakub at gcc dot gnu dot org
@ 2004-10-08 20:36 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-08 20:36 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |rtl-optimization
           Keywords|                            |build, wrong-code
            Summary|4.0.0 20041008 miscompiles  |[4.0 Regression] 4.0.0
                   |genmodes on powerpc64-      |20041008 miscompiles
                   |redhat-linux                |genmodes on powerpc64-
                   |                            |redhat-linux
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2004-10-08 20:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-08 20:13 [Bug bootstrap/17897] New: 4.0.0 20041008 miscompiles genmodes on powerpc64-redhat-linux jakub at gcc dot gnu dot org
2004-10-08 20:16 ` [Bug bootstrap/17897] " pinskia at gcc dot gnu dot org
2004-10-08 20:30 ` jakub at gcc dot gnu dot org
2004-10-08 20:36 ` [Bug rtl-optimization/17897] [4.0 Regression] " pinskia at gcc dot gnu dot 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).