public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/114008] New: Internal compiler error, segmentation fault
@ 2024-02-20  9:21 ujszhangc at gmail dot com
  2024-02-20  9:30 ` [Bug target/114008] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: ujszhangc at gmail dot com @ 2024-02-20  9:21 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114008
           Summary: Internal compiler error, segmentation fault
           Product: gcc
           Version: 9.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ujszhangc at gmail dot com
  Target Milestone: ---

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Thread model: posix
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) 


$ gcc test.c 

during IPA pass: targetclone
test.c:4:1: internal compiler error: Segmentation fault
    4 | __typeof(__tanh) tanhf64
__attribute__((alias("__tanh"),target_clones("arch=haswell", "default")));
      | ^~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions.

This is the code in test.c.

__attribute__((target_clones("arch=haswell", "default")))
int __tanh() {}

__typeof(__tanh) tanhf64
__attribute__((alias("__tanh"),target_clones("arch=haswell", "default")));

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

* [Bug target/114008] Internal compiler error, segmentation fault
  2024-02-20  9:21 [Bug target/114008] New: Internal compiler error, segmentation fault ujszhangc at gmail dot com
@ 2024-02-20  9:30 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-02-20  9:30 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed a long time ago. Dup.

*** This bug has been marked as a duplicate of bug 90500 ***

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

end of thread, other threads:[~2024-02-20  9:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-20  9:21 [Bug target/114008] New: Internal compiler error, segmentation fault ujszhangc at gmail dot com
2024-02-20  9:30 ` [Bug target/114008] " pinskia 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).