public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/107279] New: __builtin_complex is not supported
@ 2022-10-16 15:54 pinskia at gcc dot gnu.org
  2022-10-16 15:55 ` [Bug c++/107279] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-10-16 15:54 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107279
           Summary: __builtin_complex is not supported
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

I noticed this while trying to create a testcase for another issue.
And it is not documented that __builtin_complex is only support for the C
front-end (I know because I touched the documentation last).
testcase:
```
void f(void)
{
  _Complex float a = __builtin_complex (1.0f, 2.0f);
}
```

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

* [Bug c++/107279] __builtin_complex is not supported
  2022-10-16 15:54 [Bug c++/107279] New: __builtin_complex is not supported pinskia at gcc dot gnu.org
@ 2022-10-16 15:55 ` pinskia at gcc dot gnu.org
  2022-10-16 15:56 ` pinskia at gcc dot gnu.org
  2022-10-17  8:03 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-10-16 15:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Link to the current documentation:
https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Complex.html#index-_005f_005fbuiltin_005fcomplex

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

* [Bug c++/107279] __builtin_complex is not supported
  2022-10-16 15:54 [Bug c++/107279] New: __builtin_complex is not supported pinskia at gcc dot gnu.org
  2022-10-16 15:55 ` [Bug c++/107279] " pinskia at gcc dot gnu.org
@ 2022-10-16 15:56 ` pinskia at gcc dot gnu.org
  2022-10-17  8:03 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-10-16 15:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I don't care which way this gets fixed. That is the documentation could be
changed or we support this in the C++ front-end.

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

* [Bug c++/107279] __builtin_complex is not supported
  2022-10-16 15:54 [Bug c++/107279] New: __builtin_complex is not supported pinskia at gcc dot gnu.org
  2022-10-16 15:55 ` [Bug c++/107279] " pinskia at gcc dot gnu.org
  2022-10-16 15:56 ` pinskia at gcc dot gnu.org
@ 2022-10-17  8:03 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-10-17  8:03 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-10-17
     Ever confirmed|0                           |1

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.

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

end of thread, other threads:[~2022-10-17  8:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-16 15:54 [Bug c++/107279] New: __builtin_complex is not supported pinskia at gcc dot gnu.org
2022-10-16 15:55 ` [Bug c++/107279] " pinskia at gcc dot gnu.org
2022-10-16 15:56 ` pinskia at gcc dot gnu.org
2022-10-17  8:03 ` rguenth 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).