PATCH: small -freorder-block defect
Jason Lee Eckhardt
jle@owlnet.rice.edu
Tue Mar 14 13:33:00 GMT 2000
>
>
>On Sun, Mar 12, 2000 at 07:22:07PM -0800, Jason Eckhardt wrote:
>> ! verify_flow_info ();
>> ! {
>> ! rtx x;
>> ! for (x = get_insns(); x; x = NEXT_INSN (x))
>> ! {
>> ! if (GET_RTX_CLASS (GET_CODE (x)) == 'i'
>> ! && GET_CODE (x) == JUMP_INSN
>> ! && returnjump_p (x)
>> ! && ! (NEXT_INSN (x) && GET_CODE (NEXT_INSN (x)) == BARRIER))
>> ! error ("reorder_basic_blocks: RETURN not followed by BARRIER!\n");
>> ! }
>
>Put this check in verify_flow_info. And we should abort rather
>than emit an error.
>
>
>r~
>
committed with above change.
jason.
More information about the Gcc-patches
mailing list