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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #4)
> Created attachment 59636 [details]
> new patch
> 
> Whoops some small typos.

Just to confirm this is working, I ran this with the testcase from PR 117665
with and without the Fix for PR 117665 .

With the verification and without the fix for PR 117665 GCC now get:
./cc1plus  t.ii -O2 -quiet
gcm_simd.cpp: In function ‘bool CryptoPP::CPU_ProbePMULL()’:
gcm_simd.cpp:681:1: error: abnormal edge in bb 13 ends in stmt that does not
require an abnormal edge
GIMPLE_NOP
gcm_simd.cpp:681:1: error: abnormal edge in bb 15 ends in stmt that does not
require an abnormal edge
GIMPLE_NOP
gcm_simd.cpp:681:1: error: abnormal edge in bb 17 ends in stmt that does not
require an abnormal edge
GIMPLE_NOP
gcm_simd.cpp:681:1: error: abnormal edge in bb 19 ends in stmt that does not
require an abnormal edge
GIMPLE_NOP
during GIMPLE pass: einline
gcm_simd.cpp:681:1: internal compiler error: verify_flow_info failed
0x358c8ae internal_error(char const*, ...)
        ../../gcc/diagnostic-global-context.cc:518
0x124caf7 verify_flow_info()
        ../../gcc/cfghooks.cc:288
0x124340f checking_verify_flow_info()
        ../../gcc/cfghooks.h:214
0x19d681b cleanup_tree_cfg_noloop
        ../../gcc/tree-cfgcleanup.cc:1154
0x19d691e cleanup_tree_cfg(unsigned int)
        ../../gcc/tree-cfgcleanup.cc:1205
0x17fe89f execute_function_todo
        ../../gcc/passes.cc:2071
0x17fd6a4 do_per_function
        ../../gcc/passes.cc:1701
0x17fec00 execute_todo
        ../../gcc/passes.cc:2156
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

With the patch for PR 117665, there is no error.

Reply via email to