Bug 81255 - r249704 caused umat_single_crystal.f:19:6: internal compiler error: Segmentation fault
Summary: r249704 caused umat_single_crystal.f:19:6: internal compiler error: Segmentat...
Status: RESOLVED DUPLICATE of bug 81245
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 8.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-29 18:48 UTC by H.J. Lu
Modified: 2017-06-29 19:59 UTC (History)
1 user (show)

See Also:
Host:
Target: x86-64
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2017-06-29 18:48:41 UTC
On x86-64, r249704 caused

gfortran  -O3 -funroll-loops -ffast-math -fwhole-program -flto=jobserver -fuse-linker-plugin  -DSPEC_CPU_LP64        CalculiX.o add_pr.o add_sm_ei.o add_sm_st.o allocation.o amplitudes.o anisotropic.o beamsections.o bounadd.o boundaries.o buckles.o calinput.o cfluxes.o changedepterm.o cloads.o conductivities.o controlss.o couptempdisps.o creeps.o cychards.o cycsymmods.o dasol.o datest.o datri.o defplasticities.o defplas.o densities.o depvars.o deuldlag.o dfluxes.o dgesv.o diamtr.o dloads.o dot.o dredu.o dsort.o dynamics.o dynsolv.o el.o elastics.o elements.o elprints.o envtemp.o equations.o expansions.o extrapolate.o e_c3d.o e_c3d_th.o e_c3d_rhs.o fcrit.o films.o finpro.o forcadd.o frd.fppized.o frdclose.o frequencies.o fsub.o fsuper.o gen3delem.o genran.o getnewline.o graph.o headings.o heattransfers.o hyperel.o hyperelastics.o hyperfoams.o ident.o ident2.o include.o incplas.o initialconditions.o inputerror.o isorti.o isortid.o isortidc.o isortii.o isortiid.o label.o linel.o lintemp.o lintemp_th.o loadadd.o loadaddt.o mafillpr.o mafillsm.o mafillsmcs.o massflowrates.o matdata_co.o matdata_he.o matdata_tg.o materialdata.o materials.o modaldampings.o modaldynamics.o mpcs.o nident.o nident2.o near2d.o noanalysis.o nodalthicknesses.o nodeprints.o nodes.o noelfiles.o noelsets.o nonlinmpc.o normals.o norshell.o number.o onf.o op.o openfile.o orientations.o orthonl.o orthotropic.o out.o parser.o physicalconstants.o planempc.o plastics.o plcopy.o plinterpol.o plmix.o polynom.o profil.o radflowload.o radiates.o ranewr.o rearrange.o rectcyl.o renumber.o restartread.o restarts.o restartshort.o restartwrite.o results.o rhs.o rigidbodies.o rigidmpc.o rootls.o rubber.o saxpb.o selcycsymmods.o shape3tri.o shape4q.o shape4tet.o shape6tri.o shape6w.o shape8h.o shape8q.o shape10tet.o shape15w.o shape20h.o shellsections.o skip.o solidsections.o spcmatch.o specificheats.o statics.o steps.o stiff2mat.o stop.o str2mat.o straightmpc.o surfaces.o temperatures.o tempload.o ties.o transformatrix.o transforms.o ucreep.o uhardening.o umat.o umat_aniso_creep.o umat_aniso_plas.o umat_elastic_fiber.o umat_ideal_gas.o umat_lin_iso_el.o umat_single_crystal.o umat_tension_only.o umat_user.o umpc_mean_rot.o umpc_user.o usermaterials.o usermpc.o viscos.o wcoef.o writebv.o writeev.o writeevcs.o writempc.o writesummary.o cascade.o frdcyc.o insert.o mastruct.o mastructcs.o nonlingeo.o pcgsolver.o preiter.o prespooles.o profile.o remastruct.o spooles.o strcmp1.o strcpy1.o u_calloc.o SPOOLES/A2/src/A2_IO.o SPOOLES/A2/src/A2_basics.o SPOOLES/A2/src/A2_init.o SPOOLES/A2/src/A2_instance.o SPOOLES/A2/src/A2_norms.o SPOOLES/A2/src/A2_sort.o SPOOLES/A2/src/A2_util.o SPOOLES/BKL/src/BKL_basics.o SPOOLES/BKL/src/BKL_evalfcn.o SPOOLES/BKL/src/BKL_exhSearch.o SPOOLES/BKL/src/BKL_fidmat.o SPOOLES/BKL/src/BKL_init.o SPOOLES/BKL/src/BKL_util.o SPOOLES/BPG/src/BPG_IO.o SPOOLES/BPG/src/BPG_basics.o SPOOLES/BPG/src/BPG_init.o SPOOLES/BPG/src/BPG_makeGraphs.o SPOOLES/BPG/src/BPG_pseudo.o SPOOLES/Chv/src/Chv_IO.o SPOOLES/Chv/src/Chv_assemble.o SPOOLES/Chv/src/Chv_basics.o SPOOLES/Chv/src/Chv_copy.o SPOOLES/Chv/src/Chv_factor.o SPOOLES/Chv/src/Chv_findPivot.o SPOOLES/Chv/src/Chv_init.o SPOOLES/Chv/src/Chv_instance.o SPOOLES/Chv/src/Chv_search.o SPOOLES/Chv/src/Chv_swap.o SPOOLES/Chv/src/Chv_update.o SPOOLES/Chv/src/Chv_util.o SPOOLES/ChvList/src/ChvList_basics.o SPOOLES/ChvList/src/ChvList_init.o SPOOLES/ChvList/src/ChvList_util.o SPOOLES/ChvManager/src/ChvManager_basics.o SPOOLES/ChvManager/src/ChvManager_init.o SPOOLES/ChvManager/src/ChvManager_util.o SPOOLES/DSTree/src/DSTree_basics.o SPOOLES/DSTree/src/DSTree_init.o SPOOLES/DSTree/src/DSTree_instance.o SPOOLES/DSTree/src/DSTree_stages.o SPOOLES/DSTree/src/DSTree_util.o SPOOLES/DV/src/DV_IO.o SPOOLES/DV/src/DV_basics.o SPOOLES/DV/src/DV_init.o SPOOLES/DV/src/DV_instance.o SPOOLES/DV/src/DV_util.o SPOOLES/DenseMtx/src/DenseMtx_IO.o SPOOLES/DenseMtx/src/DenseMtx_basics.o SPOOLES/DenseMtx/src/DenseMtx_init.o SPOOLES/DenseMtx/src/DenseMtx_instance.o SPOOLES/DenseMtx/src/DenseMtx_permute.o SPOOLES/DenseMtx/src/DenseMtx_util.o SPOOLES/Drand/src/Drand_basics.o SPOOLES/Drand/src/Drand_init.o SPOOLES/Drand/src/Drand_util.o SPOOLES/ETree/src/ETree_IO.o SPOOLES/ETree/src/ETree_basics.o SPOOLES/ETree/src/ETree_compress.o SPOOLES/ETree/src/ETree_init.o SPOOLES/ETree/src/ETree_instance.o SPOOLES/ETree/src/ETree_permute.o SPOOLES/ETree/src/ETree_transform.o SPOOLES/ETree/src/ETree_util.o SPOOLES/FrontMtx/src/FrontMtx_IO.o SPOOLES/FrontMtx/src/FrontMtx_basics.o SPOOLES/FrontMtx/src/FrontMtx_factor.o SPOOLES/FrontMtx/src/FrontMtx_factorUtil.o SPOOLES/FrontMtx/src/FrontMtx_init.o SPOOLES/FrontMtx/src/FrontMtx_instance.o SPOOLES/FrontMtx/src/FrontMtx_loadEntries.o SPOOLES/FrontMtx/src/FrontMtx_permute.o SPOOLES/FrontMtx/src/FrontMtx_postProcess.o SPOOLES/FrontMtx/src/FrontMtx_postponed.o SPOOLES/FrontMtx/src/FrontMtx_solve.o SPOOLES/FrontMtx/src/FrontMtx_solveUtil.o SPOOLES/FrontMtx/src/FrontMtx_split.o SPOOLES/FrontMtx/src/FrontMtx_storeFront.o SPOOLES/FrontMtx/src/FrontMtx_update.o SPOOLES/FrontMtx/src/FrontMtx_util.o SPOOLES/GPart/src/GPart_DDsepInfo.o SPOOLES/GPart/src/GPart_DDviaFishnet.o SPOOLES/GPart/src/GPart_DDviaProjection.o SPOOLES/GPart/src/GPart_RBviaDDsep.o SPOOLES/GPart/src/GPart_TwoSetViaBKL.o SPOOLES/GPart/src/GPart_basics.o SPOOLES/GPart/src/GPart_domSegMap.o SPOOLES/GPart/src/GPart_identifyWideSep.o SPOOLES/GPart/src/GPart_init.o SPOOLES/GPart/src/GPart_makeYCmap.o SPOOLES/GPart/src/GPart_smoothBisector.o SPOOLES/GPart/src/GPart_smoothBy2layers.o SPOOLES/GPart/src/GPart_smoothYSep.o SPOOLES/GPart/src/GPart_split.o SPOOLES/GPart/src/GPart_util.o SPOOLES/Graph/src/Graph_IO.o SPOOLES/Graph/src/Graph_basics.o SPOOLES/Graph/src/Graph_compress.o SPOOLES/Graph/src/Graph_equivMap.o SPOOLES/Graph/src/Graph_init.o SPOOLES/Graph/src/Graph_util.o SPOOLES/I2Ohash/src/I2Ohash_basics.o SPOOLES/I2Ohash/src/I2Ohash_init.o SPOOLES/I2Ohash/src/I2Ohash_util.o SPOOLES/IIheap/src/IIheap_basics.o SPOOLES/IV/src/IV_IO.o SPOOLES/IV/src/IV_basics.o SPOOLES/IV/src/IV_init.o SPOOLES/IV/src/IV_instance.o SPOOLES/IV/src/IV_util.o SPOOLES/IVL/src/IVL_IO.o SPOOLES/IVL/src/IVL_basics.o SPOOLES/IVL/src/IVL_init.o SPOOLES/IVL/src/IVL_instance.o SPOOLES/IVL/src/IVL_listmanip.o SPOOLES/IVL/src/IVL_util.o SPOOLES/Ideq/src/Ideq_basics.o SPOOLES/Ideq/src/Ideq_resize.o SPOOLES/Ideq/src/Ideq_util.o SPOOLES/InpMtx/src/InpMtx_IO.o SPOOLES/InpMtx/src/InpMtx_basics.o SPOOLES/InpMtx/src/InpMtx_fullAdj.o SPOOLES/InpMtx/src/InpMtx_init.o SPOOLES/InpMtx/src/InpMtx_input.o SPOOLES/InpMtx/src/InpMtx_instance.o SPOOLES/InpMtx/src/InpMtx_permute.o SPOOLES/InpMtx/src/InpMtx_util.o SPOOLES/Lock/src/Lock_basics.o SPOOLES/Lock/src/Lock_init.o SPOOLES/Lock/src/Lock_util.o SPOOLES/MSMD/src/MSMD_MSMDinfo.o SPOOLES/MSMD/src/MSMD_MSMDvtx.o SPOOLES/MSMD/src/MSMD_basics.o SPOOLES/MSMD/src/MSMD_cleanReachSet.o SPOOLES/MSMD/src/MSMD_eliminate.o SPOOLES/MSMD/src/MSMD_findInodes.o SPOOLES/MSMD/src/MSMD_frontETree.o SPOOLES/MSMD/src/MSMD_init.o SPOOLES/MSMD/src/MSMD_order.o SPOOLES/MSMD/src/MSMD_update.o SPOOLES/Network/src/Network_IO.o SPOOLES/Network/src/Network_addArc.o SPOOLES/Network/src/Network_augmentPath.o SPOOLES/Network/src/Network_basics.o SPOOLES/Network/src/Network_findAugmentingPath.o SPOOLES/Network/src/Network_findMaxFlow.o SPOOLES/Network/src/Network_findMincut.o SPOOLES/Network/src/Network_init.o SPOOLES/Pencil/src/Pencil_IO.o SPOOLES/Pencil/src/Pencil_basics.o SPOOLES/Pencil/src/Pencil_init.o SPOOLES/SubMtx/src/SubMtx_IO.o SPOOLES/SubMtx/src/SubMtx_basics.o SPOOLES/SubMtx/src/SubMtx_init.o SPOOLES/SubMtx/src/SubMtx_instance.o SPOOLES/SubMtx/src/SubMtx_scalevec.o SPOOLES/SubMtx/src/SubMtx_solve.o SPOOLES/SubMtx/src/SubMtx_solveH.o SPOOLES/SubMtx/src/SubMtx_solveT.o SPOOLES/SubMtx/src/SubMtx_solveupd.o SPOOLES/SubMtx/src/SubMtx_solveupdH.o SPOOLES/SubMtx/src/SubMtx_solveupdT.o SPOOLES/SubMtx/src/SubMtx_sort.o SPOOLES/SubMtx/src/SubMtx_util.o SPOOLES/SubMtxList/src/SubMtxList_util.o SPOOLES/SubMtxManager/src/SubMtxManager_basics.o SPOOLES/SubMtxManager/src/SubMtxManager_init.o SPOOLES/SubMtxManager/src/SubMtxManager_util.o SPOOLES/SymbFac/src/SymbFac_symbfac.o SPOOLES/Tree/src/Tree_IO.o SPOOLES/Tree/src/Tree_basics.o SPOOLES/Tree/src/Tree_compress.o SPOOLES/Tree/src/Tree_init.o SPOOLES/Tree/src/Tree_metrics.o SPOOLES/Tree/src/Tree_perms.o SPOOLES/Tree/src/Tree_util.o SPOOLES/Utilities/src/Utilities_CV.o SPOOLES/Utilities/src/Utilities_DV.o SPOOLES/Utilities/src/Utilities_I2OP.o SPOOLES/Utilities/src/Utilities_IP.o SPOOLES/Utilities/src/Utilities_IV.o SPOOLES/Utilities/src/Utilities_PIV.o SPOOLES/Utilities/src/Utilities_ZV.o SPOOLES/Utilities/src/Utilities_iohb.o SPOOLES/Utilities/src/Utilities_newsort.o SPOOLES/Utilities/src/Utilities_sortAndCompress.o SPOOLES/ZV/src/ZV_basics.o SPOOLES/ZV/src/ZV_init.o SPOOLES/ZV/src/ZV_instance.o SPOOLES/misc/src/misc_orderViaBestOfNDandMS.o             -lm        -o calculix

during GIMPLE pass: vect
umat_single_crystal.f: In function 'umat_single_crystal.constprop':
umat_single_crystal.f:19:6: internal compiler error: Segmentation fault
       subroutine umat_single_crystal(amat,iel,iint,kode,elconloc,eloc,
      ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[1]: *** [/tmp/cc9PMpsY.ltrans22.ltrans.o] Error 1
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/local/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status

when building 454.calculix in SPEC CPU 2006.
Comment 1 H.J. Lu 2017-06-29 19:07:29 UTC
during GIMPLE pass: vect
umat_single_crystal.f: In function 'umat_single_crystal.constprop':
umat_single_crystal.f:19:6: internal compiler error: Segmentation fault
       subroutine umat_single_crystal(amat,iel,iint,kode,elconloc,eloc,
      ^
0xb5445f crash_signal
	../../src-trunk/gcc/toplev.c:338
0x77b0c6 flow_bb_inside_loop_p(loop const*, basic_block_def const*)
	../../src-trunk/gcc/cfgloop.c:794
0xd60c35 vect_stmt_relevant_p
	../../src-trunk/gcc/tree-vect-stmts.c:326
0xd6169f vect_mark_stmts_to_be_vectorized(_loop_vec_info*)
	../../src-trunk/gcc/tree-vect-stmts.c:664
0xd89cb9 vect_analyze_loop_2
	../../src-trunk/gcc/tree-vect-loop.c:1944
0xd89cb9 vect_analyze_loop(loop*, _loop_vec_info*)
	../../src-trunk/gcc/tree-vect-loop.c:2403
0xd9f397 vectorize_loops()
	../../src-trunk/gcc/tree-vectorizer.c:614
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.
make[4]: *** [/tmp/cciw2A2l.ltrans22.ltrans.o] Error 1
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/local/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
specmake[3]: *** [calculix] Error 1
Comment 2 Andrew Pinski 2017-06-29 19:59:34 UTC
Dup of bug 81245.  About to submit a patch which fixes this latent bug.

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