public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/111310] New: BITINT_TYPE unsupported in godump.cc
@ 2023-09-06 19:38 pinskia at gcc dot gnu.org
  2023-09-06 22:32 ` [Bug go/111310] " cvs-commit at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-09-06 19:38 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111310
           Summary: BITINT_TYPE unsupported in godump.cc
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: pinskia at gcc dot gnu.org
                CC: adam.warner.nz at gmail dot com, alx at kernel dot org,
                    bergner at gcc dot gnu.org, charlet at gcc dot gnu.org,
                    chfast at gmail dot com, dje at gcc dot gnu.org, dkm at gcc dot gnu.org,
                    ebotcazou at gcc dot gnu.org, fw at gcc dot gnu.org, george at bott dot gg,
                    hjl.tools at gmail dot com, jakub at gcc dot gnu.org,
                    jsm28 at gcc dot gnu.org, leni536 at gmail dot com,
                    rguenth at gcc dot gnu.org, rsandifo at gcc dot gnu.org,
                    segher at gcc dot gnu.org, sjames at gcc dot gnu.org,
                    tmgross at umich dot edu, unassigned at gcc dot gnu.org,
                    uweigand at gcc dot gnu.org
        Depends on: 102989, 111308
  Target Milestone: ---

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

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

BITINT_TYPE support to godump.cc, as I have no idea what you want to do in go
for that.
Example of problematic declaration in some header (so far on x86-64) would be
extern _BitInt(157) foo (unsigned _BitInt(384) x, signed _BitInt(15) y, int z);


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989
[Bug 102989] Implement C2x's n2763 (_BitInt)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111308
[Bug 111308] BITINT_TYPE unsupported in c-ada-spec.cc

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

* [Bug go/111310] BITINT_TYPE unsupported in godump.cc
  2023-09-06 19:38 [Bug go/111310] New: BITINT_TYPE unsupported in godump.cc pinskia at gcc dot gnu.org
@ 2023-09-06 22:32 ` cvs-commit at gcc dot gnu.org
  2023-09-06 23:20 ` ian at airs dot com
  2023-09-07  9:32 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-09-06 22:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>:

https://gcc.gnu.org/g:e4775af423a590947a10429b9fa889f5d3d41d40

commit r14-3762-ge4775af423a590947a10429b9fa889f5d3d41d40
Author: Ian Lance Taylor <iant@golang.org>
Date:   Wed Sep 6 15:09:31 2023 -0700

    -fgo-dump-spec: support _BitInt

    gcc/
            PR go/111310
            * godump.cc (go_format_type): Handle BITINT_TYPE.

    gcc/testsuite/
            PR go/111310
            * gcc.misc-tests/godump-1.c: Add _BitInt test cases.

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

* [Bug go/111310] BITINT_TYPE unsupported in godump.cc
  2023-09-06 19:38 [Bug go/111310] New: BITINT_TYPE unsupported in godump.cc pinskia at gcc dot gnu.org
  2023-09-06 22:32 ` [Bug go/111310] " cvs-commit at gcc dot gnu.org
@ 2023-09-06 23:20 ` ian at airs dot com
  2023-09-07  9:32 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ian at airs dot com @ 2023-09-06 23:20 UTC (permalink / raw)
  To: gcc-bugs

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

Ian Lance Taylor <ian at airs dot com> changed:

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

--- Comment #2 from Ian Lance Taylor <ian at airs dot com> ---
Thanks, fixed.

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

* [Bug go/111310] BITINT_TYPE unsupported in godump.cc
  2023-09-06 19:38 [Bug go/111310] New: BITINT_TYPE unsupported in godump.cc pinskia at gcc dot gnu.org
  2023-09-06 22:32 ` [Bug go/111310] " cvs-commit at gcc dot gnu.org
  2023-09-06 23:20 ` ian at airs dot com
@ 2023-09-07  9:32 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-09-07  9:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Note, there is no guarantee that _BitInt(32) or _BitInt(64) are
passed/returned/laid out exactly like int32_t or int64_t (ditto for 8 and 16
bits), but on the current single target which supports them it is so far the
case.  _BitInt(128) has different alignment from __int128 though.

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

end of thread, other threads:[~2023-09-07  9:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-06 19:38 [Bug go/111310] New: BITINT_TYPE unsupported in godump.cc pinskia at gcc dot gnu.org
2023-09-06 22:32 ` [Bug go/111310] " cvs-commit at gcc dot gnu.org
2023-09-06 23:20 ` ian at airs dot com
2023-09-07  9:32 ` jakub 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).