[Bug middle-end/45644] [4.6 Regression] 450.soplex in SPEC CPU 2006 is miscompiled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45644 Martin Jambor changed: What|Removed |Added CC||nobled at dreamwidth dot ||org --- Comment #11 from Martin Jambor 2012-01-09 20:05:27 UTC --- *** Bug 51759 has been marked as a duplicate of this bug. ***
[Bug middle-end/45644] [4.6 Regression] 450.soplex in SPEC CPU 2006 is miscompiled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45644 --- Comment #10 from Martin Jambor 2012-01-09 18:40:17 UTC --- Author: jamborm Date: Mon Jan 9 18:40:09 2012 New Revision: 183023 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183023 Log: 2012-01-09 Martin Jambor PR tree-optimization/51759 Backport from mainline 2010-09-15 Martin Jambor PR middle-end/45644 * tree-sra.c (create_access): Check for bit-fields directly. * testsuite/gcc.dg/ipa/pr45644.c: New test. * testsuite/g++.dg/ipa/pr51759.C: Likewise. Added: branches/gcc-4_5-branch/gcc/testsuite/g++.dg/ipa/pr51759.C branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/ipa/pr45644.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/tree-sra.c
[Bug middle-end/45644] [4.6 Regression] 450.soplex in SPEC CPU 2006 is miscompiled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45644 Jeffrey A. Law changed: What|Removed |Added CC||mbooth at redhat dot com --- Comment #9 from Jeffrey A. Law 2011-02-21 23:09:31 UTC --- *** Bug 46452 has been marked as a duplicate of this bug. ***
[Bug middle-end/45644] [4.6 Regression] 450.soplex in SPEC CPU 2006 is miscompiled
--- Comment #8 from jamborm at gcc dot gnu dot org 2010-09-15 16:06 --- Fixed. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45644
[Bug middle-end/45644] [4.6 Regression] 450.soplex in SPEC CPU 2006 is miscompiled
--- Comment #7 from jamborm at gcc dot gnu dot org 2010-09-15 16:00 --- Subject: Bug 45644 Author: jamborm Date: Wed Sep 15 15:59:27 2010 New Revision: 164313 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164313 Log: 2010-09-15 Martin Jambor PR middle-end/45644 * tree-sra.c (create_access): Check for bit-fields directly. * testsuite/gcc.dg/ipa/pr45644.c: New test. Added: trunk/gcc/testsuite/gcc.dg/ipa/pr45644.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-sra.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45644
[Bug middle-end/45644] [4.6 Regression] 450.soplex in SPEC CPU 2006 is miscompiled
--- Comment #6 from jamborm at gcc dot gnu dot org 2010-09-15 13:25 --- I have just sent a proposed fix to the mailing list: http://gcc.gnu.org/ml/gcc-patches/2010-09/msg01244.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45644
[Bug middle-end/45644] [4.6 Regression] 450.soplex in SPEC CPU 2006 is miscompiled
--- Comment #5 from vladimir dot a dot kharchenko at intel dot com 2010-09-15 10:11 --- When I run "./soplex -s1 -e -m45000 pds-50.mps" Seg fault is: Program received signal SIGSEGV, Segmentation fault. 0x004363a7 in size (this=0x7fffce40, ds=) at svector.h:174 174 if( m_elem != 0 ) Missing separate debuginfos, use: debuginfo-install glibc-2.11.1-6.x86_64 libgcc-4.4.3-4.fc12.x86_64 libstdc++-4.4.3-4.fc12.x86_64 (gdb) where #0 0x004363a7 in size (this=0x7fffce40, ds=) at svector.h:174 #1 soplex::SPxBasis::loadDesc (this=0x7fffce40, ds=) at spxbasis.cc:162 #2 0x0042d244 in soplex::SoPlex::read (this=0x7fffcce0, in=..., rowNames=0x7fffdb50, colNames=0x7fffdae0, intVars=0x0) at soplex.cc:56 #3 0x0042e085 in soplex::SoPlex::readFile (this=0x7fffcce0, filename=, rowNames=0x7fffdb50, colNames=0x7fffdae0, intVars=0x0) at soplex.cc:400 #4 0x0040a9b3 in main (argc=, argv=) at example.cc:429 When I compiled spxbasis.cc by old compiler and linked with other object files I received: Program received signal SIGSEGV, Segmentation fault. soplex::SPxWeightST::generate (this=0x70a470, base=...) at spxweightst.cc:248 248 if (bVec.size() == 1) Missing separate debuginfos, use: debuginfo-install glibc-2.11.1-6.x86_64 libgcc-4.4.3-4.fc12.x86_64 libstdc++-4.4.3-4.fc12.x86_64 (gdb) where #0 soplex::SPxWeightST::generate (this=0x70a470, base=...) at spxweightst.cc:248 #1 0x0046c2db in soplex::SoPlex::solve (this=0x7fffcce0) at spxsolve.cc:87 #2 0x0040aa73 in main (argc=, argv=) at example.cc:458 (gdb) When I compiled spxweightst.cc and spxsolve.cc by old compiler I received Sef fault in other place. It seems to me that the problem in header files, maybe svector.h is compiled incorrectly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45644
[Bug middle-end/45644] [4.6 Regression] 450.soplex in SPEC CPU 2006 is miscompiled
--- Comment #4 from jamborm at gcc dot gnu dot org 2010-09-14 17:54 --- The miscompiled file appears to be spxweightst.o, the miscompilation probably happens when transforming a call to int soplex::DataSet::number(const soplex::DataKey&) const [with DATA = soplex::SVSet::DLPSV] -- jamborm at gcc dot gnu dot org changed: What|Removed |Added CC||jamborm at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45644
[Bug middle-end/45644] [4.6 Regression] 450.soplex in SPEC CPU 2006 is miscompiled
--- Comment #3 from jamborm at gcc dot gnu dot org 2010-09-14 15:02 --- I can reproduce the problem and it does not happen with -fno-ipa-sra => mine. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jamborm at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2010-09-14 15:02:30 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45644
[Bug middle-end/45644] [4.6 Regression] 450.soplex in SPEC CPU 2006 is miscompiled
--- Comment #2 from hjl dot tools at gmail dot com 2010-09-11 00:23 --- It also failed with -DSPEC_CPU -DNDEBUG -O2 -ffast-math -DSPEC_CPU_LP64 -fno-strict-aliasing -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45644
[Bug middle-end/45644] [4.6 Regression] 450.soplex in SPEC CPU 2006 is miscompiled
--- Comment #1 from hjl dot tools at gmail dot com 2010-09-11 00:20 --- It is caused by revision 164135: http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg00427.html I got *** glibc detected *** ../run_base_test_lnx32e-gcc./soplex_base.lnx32e-gcc: double free or corruption (out): 0x00722970 *** === Backtrace: = /lib64/libc.so.6[0x3099675676] ../run_base_test_lnx32e-gcc./soplex_base.lnx32e-gcc[0x449466] ../run_base_test_lnx32e-gcc./soplex_base.lnx32e-gcc[0x4408e6] ../run_base_test_lnx32e-gcc./soplex_base.lnx32e-gcc[0x406c4d] /lib64/libc.so.6(__libc_start_main+0xfd)[0x309961ec5d] ../run_base_test_lnx32e-gcc./soplex_base.lnx32e-gcc[0x401e3d] === Memory map: 0040-00464000 r-xp 08:11 56688876 /export/gnu/import/rrs/spec/2006/spec/benchspec/CPU2006/450.soplex/run/run_base_test_lnx32e-gcc./soplex_base.lnx32e-gcc 00663000-00664000 rw-p 00063000 08:11 56688876 /export/gnu/import/rrs/spec/2006/spec/benchspec/CPU2006/450.soplex/run/run_base_test_lnx32e-gcc./soplex_base.lnx32e-gcc 00664000-00732000 rw-p 00:00 0 [heap] 309920-309921e000 r-xp 08:05 1177353 /lib64/ld-2.12.1.so 309941e000-309941f000 r--p 0001e000 08:05 1177353 /lib64/ld-2.12.1.so 309941f000-309942 rw-p 0001f000 08:05 1177353 /lib64/ld-2.12.1.so 309942-3099421000 rw-p 00:00 0 309960-3099786000 r-xp 08:05 1177356 /lib64/libc-2.12.1.so 3099786000-3099986000 ---p 00186000 08:05 1177356 /lib64/libc-2.12.1.so 3099986000-309998a000 r--p 00186000 08:05 1177356 /lib64/libc-2.12.1.so 309998a000-309998b000 rw-p 0018a000 08:05 1177356 /lib64/libc-2.12.1.so 309998b000-30 rw-p 00:00 0 309a60-309a683000 r-xp 08:05 1177374 /lib64/libm-2.12.1.so 309a683000-309a882000 ---p 00083000 08:05 1177374 /lib64/libm-2.12.1.so 309a882000-309a883000 r--p 00082000 08:05 1177374 /lib64/libm-2.12.1.so 309a883000-309a884000 rw-p 00083000 08:05 1177374 /lib64/libm-2.12.1.so 77879000-77acb000 rw-p 00:00 0 77acb000-77ae r-xp 08:11 24960103 /export/gnu/import/rrs/164135/usr/lib64/libgcc_s.so.1 77ae-77cdf000 ---p 00015000 08:11 24960103 /export/gnu/import/rrs/164135/usr/lib64/libgcc_s.so.1 77cdf000-77ce rw-p 00014000 08:11 24960103 /export/gnu/import/rrs/164135/usr/lib64/libgcc_s.so.1 77ce-77ce1000 rw-p 00:00 0 77cf9000-77cfa000 rw-p 00:00 0 77cfa000-77ddf000 r-xp 08:11 24960082 /export/gnu/import/rrs/164135/usr/lib64/libstdc++.so.6.0.15 77ddf000-77fde000 ---p 000e5000 08:11 24960082 /export/gnu/import/rrs/164135/usr/lib64/libstdc++.so.6.0.15 77fde000-77fe6000 r--p 000e4000 08:11 24960082 /export/gnu/import/rrs/164135/usr/lib64/libstdc++.so.6.0.15 77fe6000-77fe8000 rw-p 000ec000 08:11 24960082 /export/gnu/import/rrs/164135/usr/lib64/libstdc++.so.6.0.15 77fe8000-77ffe000 rw-p 00:00 0 77ffe000-77fff000 r-xp 00:00 0 [vdso] 7ffde000-7000 rw-p 00:00 0 [stack] ff60-ff601000 r-xp 00:00 0 [vsyscall] -- hjl dot tools at gmail dot com changed: What|Removed |Added CC||mjambor at suse dot cz Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45644