public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "crazylht at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/98928] New: [11 regression] ICE when build 638.imagick_s Date: Tue, 02 Feb 2021 08:03:19 +0000 [thread overview] Message-ID: <bug-98928-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98928 Bug ID: 98928 Summary: [11 regression] ICE when build 638.imagick_s Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: crazylht at gmail dot com Target Milestone: --- Host: x86_64-pc-linux-gnu I can't reproduce it with small testcase, the regression may happen between 20201211 and 20201215, ICE still can be reproduced in the latest trunk with gcc option: -march=skylake-avx512 -Ofast -funroll-loops -mfpmath=sse -Ofast -fno-associative-math -flto -fopenmp ice dump: spec@shgcc100:~/workspace/CPU2017_SHGCC100/result/benchspec/CPU/638.imagick_s/build/build_base_march_native_ofast.0000$ /export/liuhongt/install/gcc11_trunk/bin/gcc -m64 -Wl,-z,muldefs -march=native -Ofast -funroll-loops -mfpmath=sse -Ofast -fno-associative-math -funroll-loops -flto -fopenmp -DSPEC_OPENMP coders/tga.o filters/analyze.o magick/accelerate.o magick/animate.o magick/annotate.o magick/artifact.o magick/attribute.o magick/blob.o magick/cache-view.o magick/cache.o magick/channel.o magick/cipher.o magick/client.o magick/coder.o magick/color.o magick/colormap.o magick/colorspace.o magick/compare.o magick/composite.o magick/compress.o magick/configure.o magick/constitute.o magick/decorate.o magick/delegate.o magick/display.o magick/distort.o magick/distribute-cache.o magick/draw.o magick/effect.o magick/enhance.o magick/exception.o magick/feature.o magick/fourier.o magick/fx.o magick/gem.o magick/geometry.o magick/hashmap.o magick/histogram.o magick/identify.o magick/image.o magick/layer.o magick/list.o magick/locale.o magick/log.o magick/magic.o magick/magick.o magick/matrix.o magick/memory.o magick/mime.o magick/module.o magick/monitor.o magick/montage.o magick/morphology.o magick/option.o magick/paint.o magick/pixel.o magick/policy.o magick/prepress.o magick/profile.o magick/property.o magick/quantize.o magick/quantum-export.o magick/quantum-import.o magick/quantum.o magick/random.o magick/registry.o magick/resample.o magick/resize.o magick/resource.o magick/segment.o magick/semaphore.o magick/shear.o magick/signature.o magick/splay-tree.o magick/static.o magick/statistic.o magick/stream.o magick/string.o magick/threshold.o magick/timer.o magick/token.o magick/transform.o magick/type.o magick/utility.o magick/version.o magick/xml-tree.o utilities/convert.o wand/convert.o wand/drawing-wand.o wand/magick-image.o wand/magick-wand.o wand/mogrify.o wand/pixel-wand.o wand/magick-property.o wand/pixel-iterator.o wand/wand.o magick/deprecate.o -lm -L/home/spec/workspace/CPU2017_SHGCC100/speccpu2017/jemalloc/intel64/lib/ -ljemalloc -lpthread -ldl -o imagick_sIn function ‘CopyMagickMemory’, inlined from ‘ConvertUTF16ToUTF8’ at magick/xml-tree.c:1341:14, inlined from ‘NewXMLTree.part.0’ at magick/xml-tree.c:1973:8: magick/memory.c:702:10: warning: ‘__builtin_memcpy’ writing one too many bytes into a region of a size that depends on ‘strlen’ [-Wstringop-overflow=] 702 | return(memmove(destination,source,size)); | ^ magick/xml-tree.c: In function ‘NewXMLTree.part.0’: magick/memory.c:464:10: note: destination object of size [0, 9223372036854775805] allocated by ‘malloc’ 464 | memory=memory_methods.acquire_memory_handler(size == 0 ? 1UL : size); | ^ during GIMPLE pass: vect magick/pixel.c: In function ‘InterpolateMagickPixelPacket.constprop.isra’: magick/pixel.c:4244:32: internal compiler error: in vect_get_vec_defs_for_operand, at tree-vect-stmts.c:1450 4244 | MagickExport MagickBooleanType InterpolateMagickPixelPacket(const Image *image, | ^ 0x75bc56 vect_get_vec_defs_for_operand(vec_info*, _stmt_vec_info*, unsigned int, tree_node*, vec<tree_node*, va_heap, vl_ptr>*, tree_node*) ../../../gcc/git_trunk/gcc/tree-vect-stmts.c:1450 0x10295e3 vect_get_vec_defs(vec_info*, _stmt_vec_info*, _slp_tree*, unsigned int, tree_node*, vec<tree_node*, va_heap, vl_ptr>*, tree_node*, tree_node*, vec<tree_node*, va_heap, vl_ptr>*, tree_node*, tree_node*, vec<tree_node*, va_heap, vl_ptr>*, tree_node*, tree_node*, vec<tree_node*, va_heap, vl_ptr>*, tree_node*) ../../../gcc/git_trunk/gcc/tree-vect-stmts.c:1482 0x10296cc vect_get_vec_defs(vec_info*, _stmt_vec_info*, _slp_tree*, unsigned int, tree_node*, vec<tree_node*, va_heap, vl_ptr>*, tree_node*, vec<tree_node*, va_heap, vl_ptr>*, tree_node*, vec<tree_node*, va_heap, vl_ptr>*, tree_node*, vec<tree_node*, va_heap, vl_ptr>*) ../../../gcc/git_trunk/gcc/tree-vect-stmts.c:1504 0x102a1a5 vectorizable_conversion ../../../gcc/git_trunk/gcc/tree-vect-stmts.c:4963 0x1045e38 vect_transform_stmt(vec_info*, _stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*) ../../../gcc/git_trunk/gcc/tree-vect-stmts.c:10831 0x104b7ba vect_transform_loop_stmt ../../../gcc/git_trunk/gcc/tree-vect-loop.c:9204 0x10659c7 vect_transform_loop(_loop_vec_info*, gimple*) ../../../gcc/git_trunk/gcc/tree-vect-loop.c:9640 0x109393c try_vectorize_loop_1 ../../../gcc/git_trunk/gcc/tree-vectorizer.c:1103 0x1094629 vectorize_loops() ../../../gcc/git_trunk/gcc/tree-vectorizer.c:1242 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. lto-wrapper: fatal error: /export/liuhongt/install/gcc11_trunk/bin/gcc returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed
next reply other threads:[~2021-02-02 8:03 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-02-02 8:03 crazylht at gmail dot com [this message] 2021-02-02 8:24 ` [Bug tree-optimization/98928] " rguenth at gcc dot gnu.org 2021-02-02 8:58 ` marxin at gcc dot gnu.org 2021-02-02 10:33 ` marxin at gcc dot gnu.org 2021-02-02 10:33 ` [Bug tree-optimization/98928] [11 regression] ICE when build 638.imagick_s since r11-5969-g3ed472af6bc9f83b marxin at gcc dot gnu.org 2021-02-02 12:43 ` tnfchris at gcc dot gnu.org 2021-02-02 14:58 ` tnfchris at gcc dot gnu.org 2021-02-03 8:09 ` cvs-commit at gcc dot gnu.org 2021-02-03 8:10 ` tnfchris at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-98928-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).