public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/59196] New: ./configure --with=cpu is broken for some m68k targets
@ 2013-11-19 20:56 miro.kropacek at gmail dot com
  2013-11-19 22:17 ` [Bug target/59196] ./configure --with-cpu " mikpelinux at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: miro.kropacek at gmail dot com @ 2013-11-19 20:56 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59196
           Summary: ./configure --with=cpu is broken for some m68k targets
           Product: gcc
           Version: 4.6.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: miro.kropacek at gmail dot com

I've found a small bug in GCC source code. At line 631 in
gcc-4.6.4/gcc/config/m68k/m68k.c is:

m68k_tune_flags = all_devices[dev]->flags;

but should be:

m68k_tune_flags = all_devices[dev].flags;

you can see this if you configure gcc with --with-cpu=m68020-60 (or
-40).


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

* [Bug target/59196] ./configure --with-cpu is broken for some m68k targets
  2013-11-19 20:56 [Bug target/59196] New: ./configure --with=cpu is broken for some m68k targets miro.kropacek at gmail dot com
@ 2013-11-19 22:17 ` mikpelinux at gmail dot com
  2013-11-19 22:40 ` miro.kropacek at gmail dot com
  2013-11-20  7:03 ` law at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mikpelinux at gmail dot com @ 2013-11-19 22:17 UTC (permalink / raw)
  To: gcc-bugs

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

Mikael Pettersson <mikpelinux at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpelinux at gmail dot com

--- Comment #1 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Yep, reproduced with --target=m68k-elf --with-cpu=m68020-60, affects 4.7.3,
4.8.2, and current 4.9/trunk (didn't check older unmaintained versions).

Care to send a patch (against trunk) to gcc-patches?


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

* [Bug target/59196] ./configure --with-cpu is broken for some m68k targets
  2013-11-19 20:56 [Bug target/59196] New: ./configure --with=cpu is broken for some m68k targets miro.kropacek at gmail dot com
  2013-11-19 22:17 ` [Bug target/59196] ./configure --with-cpu " mikpelinux at gmail dot com
@ 2013-11-19 22:40 ` miro.kropacek at gmail dot com
  2013-11-20  7:03 ` law at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: miro.kropacek at gmail dot com @ 2013-11-19 22:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Miro Kropacek <miro.kropacek at gmail dot com> ---
Done. Thanks for testing!


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

* [Bug target/59196] ./configure --with-cpu is broken for some m68k targets
  2013-11-19 20:56 [Bug target/59196] New: ./configure --with=cpu is broken for some m68k targets miro.kropacek at gmail dot com
  2013-11-19 22:17 ` [Bug target/59196] ./configure --with-cpu " mikpelinux at gmail dot com
  2013-11-19 22:40 ` miro.kropacek at gmail dot com
@ 2013-11-20  7:03 ` law at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: law at redhat dot com @ 2013-11-20  7:03 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |law at redhat dot com
         Resolution|---                         |FIXED

--- Comment #3 from Jeffrey A. Law <law at redhat dot com> ---
Patch from Miro installed on trunk.


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

end of thread, other threads:[~2013-11-20  7:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-19 20:56 [Bug target/59196] New: ./configure --with=cpu is broken for some m68k targets miro.kropacek at gmail dot com
2013-11-19 22:17 ` [Bug target/59196] ./configure --with-cpu " mikpelinux at gmail dot com
2013-11-19 22:40 ` miro.kropacek at gmail dot com
2013-11-20  7:03 ` law at redhat dot com

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