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

--- Comment #12 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
(In reply to Jorn Wolfgang Rennecke from comment #10)
> Created attachment 46567 [details]
> Fix for targets that pass the argument by invisible reference

Thanks for your efforts.  This *may* have affected the code generated by
gcc.dg/pr84877.c; that test now passes, but that's unreliable as I've seen the
outcome depends on random stack alignment of the context, and my baseline is
from a context different enough.  I believe inspecting the generated code isn't
of much interest given David Anglin's observations for hppa and...

However, it introduces these regressions:
+gcc.sum gcc.dg/pr80286.c
+gcc.sum gcc.dg/torture/pr78542.c
+gcc.sum gcc.dg/torture/pr86363.c
+gcc.sum gcc.dg/torture/va-arg-25.c

They are all internal compiler errors that seem to be one and the same (beware
of copypaste):

/netapp/hp3_storage/hp/autotest/pr84877-amylaar1/gcc/gcc/testsuite/gcc.dg/pr80286.c:
In function 'main':
/netapp/hp3_storage/hp/autotest/pr84877-amylaar1/gcc/gcc/testsuite/gcc.dg/pr80286.c:18:9:
internal compiler error: in co
nvert_move, at expr.c:217
0x7f6763 convert_move(rtx_def*, rtx_def*, int)
        /netapp/hp3_storage/hp/autotest/pr84877-amylaar1/gcc/gcc/expr.c:217
0x7f6cf1 convert_modes(machine_mode, machine_mode, rtx_def*, int)
        /netapp/hp3_storage/hp/autotest/pr84877-amylaar1/gcc/gcc/expr.c:712
0x7fd420 store_expr(tree_node*, rtx_def*, int, bool, bool)
        /netapp/hp3_storage/hp/autotest/pr84877-amylaar1/gcc/gcc/expr.c:5710
0x6af577 initialize_argument_information
        /netapp/hp3_storage/hp/autotest/pr84877-amylaar1/gcc/gcc/calls.c:2090
0x6b0d28 expand_call(tree_node*, rtx_def*, int)
        /netapp/hp3_storage/hp/autotest/pr84877-amylaar1/gcc/gcc/calls.c:3612
0x7efcf7 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /netapp/hp3_storage/hp/autotest/pr84877-amylaar1/gcc/gcc/expr.c:11044
0x7fcd74 store_expr(tree_node*, rtx_def*, int, bool, bool)
        /netapp/hp3_storage/hp/autotest/pr84877-amylaar1/gcc/gcc/expr.c:5685
0x7fe7e6 expand_assignment(tree_node*, tree_node*, bool)
        /netapp/hp3_storage/hp/autotest/pr84877-amylaar1/gcc/gcc/expr.c:5447
0x6ca297 expand_call_stmt
       
/netapp/hp3_storage/hp/autotest/pr84877-amylaar1/gcc/gcc/cfgexpand.c:2727
0x6ca297 expand_gimple_stmt_1
       
/netapp/hp3_storage/hp/autotest/pr84877-amylaar1/gcc/gcc/cfgexpand.c:3708
0x6cb0e6 expand_gimple_stmt
       
/netapp/hp3_storage/hp/autotest/pr84877-amylaar1/gcc/gcc/cfgexpand.c:3867
0x6d08c5 expand_gimple_basic_block
       
/netapp/hp3_storage/hp/autotest/pr84877-amylaar1/gcc/gcc/cfgexpand.c:5907
0x6d3616 execute
       
/netapp/hp3_storage/hp/autotest/pr84877-amylaar1/gcc/gcc/cfgexpand.c:6530
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1
FAIL: gcc.dg/pr80286.c (internal compiler error)
FAIL: gcc.dg/pr80286.c (test for excess errors)

Reply via email to