public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/108964] New: Attribute target should be implemented for C backend (not only c++)
@ 2023-02-28 9:40 rouca at debian dot org
2023-02-28 16:57 ` [Bug c/108964] " pinskia at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: rouca at debian dot org @ 2023-02-28 9:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108964
Bug ID: 108964
Summary: Attribute target should be implemented for C backend
(not only c++)
Product: gcc
Version: 12.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: rouca at debian dot org
Target Milestone: ---
Hi,
The following program fail to compile with gcc but compile with g++
On the debian side we will like to have it see
https://wiki.debian.org/InstructionSelection
__attribute__((target("default")))
int test_fn()
{
return 1;
}
__attribute__((target("sse2")))
int test_fn()
{
return 0;
}
int main()
{
return test_fn();
}
Bastien (rouca for debian)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/108964] Attribute target should be implemented for C backend (not only c++)
2023-02-28 9:40 [Bug c/108964] New: Attribute target should be implemented for C backend (not only c++) rouca at debian dot org
@ 2023-02-28 16:57 ` pinskia at gcc dot gnu.org
2023-06-22 9:03 ` rouca at debian dot org
2023-09-21 22:41 ` [Bug c/108964] Attribute (multi-) target should be implemented for C front-end " pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-02-28 16:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108964
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/108964] Attribute target should be implemented for C backend (not only c++)
2023-02-28 9:40 [Bug c/108964] New: Attribute target should be implemented for C backend (not only c++) rouca at debian dot org
2023-02-28 16:57 ` [Bug c/108964] " pinskia at gcc dot gnu.org
@ 2023-06-22 9:03 ` rouca at debian dot org
2023-09-21 22:41 ` [Bug c/108964] Attribute (multi-) target should be implemented for C front-end " pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: rouca at debian dot org @ 2023-06-22 9:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108964
rouca <rouca at debian dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|12.2.0 |14.0
--- Comment #1 from rouca <rouca at debian dot org> ---
Hi,
On the debian side we will really like to have it.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/108964] Attribute (multi-) target should be implemented for C front-end (not only c++)
2023-02-28 9:40 [Bug c/108964] New: Attribute target should be implemented for C backend (not only c++) rouca at debian dot org
2023-02-28 16:57 ` [Bug c/108964] " pinskia at gcc dot gnu.org
2023-06-22 9:03 ` rouca at debian dot org
@ 2023-09-21 22:41 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-09-21 22:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108964
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Summary|Attribute target should be |Attribute (multi-) target
|implemented for C backend |should be implemented for C
|(not only c++) |front-end (not only c++)
Last reconfirmed| |2023-09-21
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-09-21 22:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-28 9:40 [Bug c/108964] New: Attribute target should be implemented for C backend (not only c++) rouca at debian dot org
2023-02-28 16:57 ` [Bug c/108964] " pinskia at gcc dot gnu.org
2023-06-22 9:03 ` rouca at debian dot org
2023-09-21 22:41 ` [Bug c/108964] Attribute (multi-) target should be implemented for C front-end " 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).