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

            Bug ID: 121252
           Summary: No way to return large _BitInt with gimpleFE
           Product: gcc
           Version: 14.2.0
            Status: UNCONFIRMED
          Keywords: internal-improvement
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
            Blocks: 101057
  Target Milestone: ---

Take:
```
typedef unsigned _BitInt(256) u;
u __GIMPLE() f(const u x, const unsigned n)
{
  return x;
}
```

This does not work as you need to the assignment to result_decl outside of the
return and there is no way currently to get the RESULT_DECL in gimple FE.
(there might other cases where you want the RESULT_DECL even).


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101057
[Bug 101057] [meta-bug] [gimplefe] GIMPLE frontend issues

Reply via email to