Hello, everyone.
Sorry to disturb you, but this question confused me several days, I have
searched the GCC source code cannot find the answers.
I know we can distinguish the different DECL tree using DECL_UID in a
translation unit. But when in LTO mode, lto1 combine some input fat object
files. Ho
Hi all,
As we know, gcc would give us an error message when we do this:
`struct _test a; char *s = a;`;
However, when we use this in printf/fprintf, it gets wired.
```c
#include
struct _test {
char name[256];
};
struct _test tests[100];
int main(int argc, char *argv[])
{
memcp
On August 12, 2018 12:30:26 PM GMT+02:00, zet wrote:
>Hello, everyone.
>Sorry to disturb you, but this question confused me several days, I
>have
>searched the GCC source code cannot find the answers.
>
>I know we can distinguish the different DECL tree using DECL_UID in a
>translation unit. But w
On Sun, 12 Aug 2018 at 15:59, zerons wrote:
> Should gcc give it an error to prevent a structure from converting to
> char* in functions printf/fprintf?
Your question is inappropriate on this mailing list, please use
gcc-help next time. See https://gcc.gnu.org/lists.html
Did you try compiling wit
All:
I've been hacking with version 7.2.0 of gcc trying to adapt some old md
files that I've got to this newer gcc. I've been getting errors from the
dwarf2out_frame_debug_expr() function in dwarf2cfi.c line 1790 calling
gcc_unreachable(). The expression being processed is a SET. The src
oper
Snapshot gcc-9-20180812 is now available on
ftp://gcc.gnu.org/pub/gcc/snapshots/9-20180812/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 9 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision
On 08/13/2018 03:13 AM, Jonathan Wakely wrote:
On Sun, 12 Aug 2018 at 15:59, zerons wrote:
Should gcc give it an error to prevent a structure from converting to
char* in functions printf/fprintf?
Your question is inappropriate on this mailing list, please use
gcc-help next time. See https:/