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

            Bug ID: 78517
           Summary: error: non-trivial conversion at assignment
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 40144
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40144&action=edit
C source code

The attached C source code doesn't compile with recent revisions
of gcc trunk. It seems fine at revision 242740 and broken at 242818.
Note no optimiser.

$ ../results.242818/bin/gcc -c bug322.c
libcli.c: In function ‘cli_loop’:
libcli.c:1178:5: error: non-trivial conversion at assignment
int
unsigned char
iftmp.43 = 91;
libcli.c:1178:5: internal compiler error: verify_gimple failed
0xc64ffd verify_gimple_in_seq(gimple*)
        ../../trunk/gcc/tree-cfg.c:4926
0x96a3f4 gimplify_body(tree_node*, bool)
        ../../trunk/gcc/gimplify.c:12445
0x96a7c9 gimplify_function_tree(tree_node*)
        ../../trunk/gcc/gimplify.c:12534
0x79306f cgraph_node::analyze()
        ../../trunk/gcc/cgraphunit.c:626

$ ../results.242740/bin/gcc -c bug322.c
$

Reply via email to