[llvm-bugs] [Bug 27841] Assertion failed: (BB->getTerminator()->getNumSuccessors() == 1 && "Should have a single succ!"), function SplitEdge, file lib/Transforms/Utils/BasicBlockUtils.cpp

2016-09-16 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=27841

Hans Wennborg  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #8 from Hans Wennborg  ---
Oh, this looks exactly the same as PR27840, which has a better analysis on it.

*** This bug has been marked as a duplicate of bug 27840 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 27841] Assertion failed: (BB->getTerminator()->getNumSuccessors() == 1 && "Should have a single succ!"), function SplitEdge, file lib/Transforms/Utils/BasicBlockUtils.cpp

2016-09-14 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=27841

Uri  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #5 from Uri  ---
Oh no it is not fixed - it persists in clang-3.9. It requires optimization to
be turned on to manifest though:

clang++-mp-3.9 -maes -mpclmul -mrdrnd -msse2 -mssse3 -msse4.1 -msse4.2
-std=c++11 -Os -Ofast -fPIC -march=native -pipe -c integer.cpp
Assertion failed: (BB->getTerminator()->getNumSuccessors() == 1 && "Should have
a single succ!"), function SplitEdge, file
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.9/llvm-3.9/work/llvm-3.9.0.src/lib/Transforms/Utils/BasicBlockUtils.cpp,
line 233.
Stack dump:
0.Program arguments: /opt/local/libexec/llvm-3.9/bin/clang -cc1 -triple
x86_64-apple-macosx10.11.0 -Wdeprecated-objc-isa-usage
-Werror=deprecated-objc-isa-usage -emit-obj -disable-free -main-file-name
integer.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix
-mdisable-fp-elim -menable-no-infs -menable-no-nans -menable-unsafe-fp-math
-fno-signed-zeros -freciprocal-math -ffp-contract=fast -ffast-math
-masm-verbose -munwind-tables -target-cpu ivybridge -target-feature +cx16
-target-feature -tbm -target-feature -avx512ifma -target-feature -avx512dq
-target-feature -fma4 -target-feature -prfchw -target-feature -bmi2
-target-feature -xsavec -target-feature +fsgsbase -target-feature +popcnt
-target-feature -pcommit -target-feature -xsaves -target-feature -avx512er
-target-feature -clwb -target-feature -avx512f -target-feature -pku
-target-feature -smap -target-feature +mmx -target-feature -xop -target-feature
-rdseed -target-feature -hle -target-feature -sse4a -target-feature -avx512bw
-target-feature -clflushopt -target-feature +xsave -target-feature -avx512vl
-target-feature -invpcid -target-feature -avx512cd -target-feature +avx
-target-feature -rtm -target-feature -fma -target-feature -bmi -target-feature
-mwaitx -target-feature -avx2 -target-feature +sse -target-feature -lzcnt
-target-feature -prefetchwt1 -target-feature +f16c -target-feature -sgx
-target-feature +cmov -target-feature -avx512vbmi -target-feature -movbe
-target-feature +xsaveopt -target-feature -sha -target-feature -adx
-target-feature -avx512pf -target-feature +sse3 -target-feature +aes
-target-feature +pclmul -target-feature +rdrnd -target-feature +sse2
-target-feature +ssse3 -target-feature +sse4.1 -target-feature +sse4.2
-target-linker-version 264.3.102 -dwarf-column-info -debugger-tuning=lldb
-coverage-file /Users/ur20980/src/cryptopp/integer.cpp -resource-dir
/opt/local/libexec/llvm-3.9/bin/../lib/clang/3.9.0 -stdlib=libc++ -Ofast
-std=c++11 -fdeprecated-macro -fdebug-compilation-dir
/Users/ur20980/src/cryptopp -ferror-limit 19 -fmessage-length 117
-stack-protector 1 -fblocks -fobjc-runtime=macosx-10.11.0
-fencode-extended-block-signature -fcxx-exceptions -fexceptions
-fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-loops -vectorize-slp -o integer.o -x c++ integer.cpp 
1. parser at end of file
2.Per-module optimization passes
3.Running pass 'CallGraph Pass Manager' on module 'integer.cpp'.
4.Running pass 'Jump Threading' on function
'@_ZN8CryptoPPrsERNSt3__113basic_istreamIcNS0_11char_traitsIcRNS_7IntegerE'
clang: error: unable to execute command: Abort trap: 6
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.9.0 (tags/RELEASE_390/final)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /opt/local/libexec/llvm-3.9/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg: 


PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/integer-8b75e6.cpp
clang: note: diagnostic msg:
/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/integer-8b75e6.sh
clang: note: diagnostic msg: 


make: *** [integer.o] Error 254

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 27841] Assertion failed: (BB->getTerminator()->getNumSuccessors() == 1 && "Should have a single succ!"), function SplitEdge, file lib/Transforms/Utils/BasicBlockUtils.cpp

2016-08-03 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=27841

Hans Wennborg  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||h...@chromium.org
 Resolution|--- |FIXED

--- Comment #4 from Hans Wennborg  ---
I can reproduce this with 3.7, but not 3.8, 3.9 or trunk. I assume it's
something that's been fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs