public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/108981] New: Raise errors for cpu type without powerpc64 support.
@ 2023-03-01  5:35 linkw at gcc dot gnu.org
  2023-03-01  5:36 ` [Bug target/108981] " linkw at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: linkw at gcc dot gnu.org @ 2023-03-01  5:35 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108981
           Summary: Raise errors for cpu type without powerpc64 support.
           Product: gcc
           Version: 13.0
               URL: https://gcc.gnu.org/pipermail/gcc-patches/2023-January
                    /609492.html
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: linkw at gcc dot gnu.org
                CC: bergner at gcc dot gnu.org, linkw at gcc dot gnu.org,
                    marxin at gcc dot gnu.org, segher at gcc dot gnu.org
        Depends on: 108240
            Blocks: 108415
  Target Milestone: ---
            Target: powerpc

+++ This bug was initially created as a clone of Bug #108240 +++

Currently for the explicitly given option -m64 and the cpu type without
powerpc64 support like cpu 401, we just go with -m64 and powerpc64 enabled and
there is no any warnings or errors. Without any explicit option -m64 or -m32
but it's set as 64bit env from TARGET_DEFAULT, for the cpu type without
powerpc64 support like cpu 401, we will emit errors on Linux and warnings on
aix and darwin.

As Segher pointed out in PR108240, we've better to make them be handled
consistently, that is to raise errors and prevent this non-sense usage, open
this for further tracking.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108240
[Bug 108240] [13 Regression] Error message missing since
r13-4894-gacc727cf02a144 (then make concealed ICE exposed)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108415
[Bug 108415] ICE in emit_library_call_value_1 at gcc/calls.cc:4181

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

* [Bug target/108981] Raise errors for cpu type without powerpc64 support.
  2023-03-01  5:35 [Bug target/108981] New: Raise errors for cpu type without powerpc64 support linkw at gcc dot gnu.org
@ 2023-03-01  5:36 ` linkw at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: linkw at gcc dot gnu.org @ 2023-03-01  5:36 UTC (permalink / raw)
  To: gcc-bugs

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

Kewen Lin <linkw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |diagnostic
         Depends on|108240                      |
             Blocks|108415                      |
           Severity|normal                      |enhancement
           Assignee|unassigned at gcc dot gnu.org      |linkw at gcc dot gnu.org
                URL|https://gcc.gnu.org/piperma |
                   |il/gcc-patches/2023-January |
                   |/609492.html                |


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108240
[Bug 108240] [13 Regression] Error message missing since
r13-4894-gacc727cf02a144 (then make concealed ICE exposed)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108415
[Bug 108415] ICE in emit_library_call_value_1 at gcc/calls.cc:4181

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

end of thread, other threads:[~2023-03-01  5:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-01  5:35 [Bug target/108981] New: Raise errors for cpu type without powerpc64 support linkw at gcc dot gnu.org
2023-03-01  5:36 ` [Bug target/108981] " linkw 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).