[Bug target/42419] ICE in reload_cse_simplify_operands for 254.gap with -mcpu=power7

2009-12-22 Thread eres at il dot ibm dot com
--- Comment #2 from eres at il dot ibm dot com 2009-12-22 08:51 --- (In reply to comment #0) GCC trunk gets a ICE when building SPEC CPU2000 test 254.gap with -m64 -O2 -mcpu=power7 -mno-altivec -ftree-vectorize, as demonstrated by a rather large minimized testcase that I'll attach

[Bug target/42417] ICE in change_address_1 for 173.applu with -mvsx

2009-12-22 Thread eres at il dot ibm dot com
--- Comment #1 from eres at il dot ibm dot com 2009-12-22 08:58 --- (In reply to comment #0) GCC trunk gets a ICE when building SPEC CPU2000 test 173.applu and several others with -O2 -mvsx -mno-altivec -ftree-vectorize, as demonstrated by this -mvsx -mno-altivec should

[Bug target/42416] ICE in rs6000_bulitin_vec_perm for 177.mesa with -mvsx

2009-12-22 Thread eres at il dot ibm dot com
--- Comment #1 from eres at il dot ibm dot com 2009-12-22 09:04 --- (In reply to comment #0) GCC trunk gets a ICE when building SPEC CPU2000 test 177.mesa with -O2 -mvsx -mno-altivec -ftree-vectorize, as demonstrated by this minimized testcase: -mno-altivec -mvsx should

[Bug tree-optimization/41498] ICE with graphite flags on trunk

2009-12-01 Thread eres at il dot ibm dot com
--- Comment #6 from eres at il dot ibm dot com 2009-12-01 13:45 --- (In reply to comment #5) test.f works on amd64-linux on the graphite branch. I am doing the merge of the graphite branch to trunk, and this should be fixed then. Running test.f using trunk -r154872 on powerpc64-suse

[Bug tree-optimization/41498] ICE with graphite flags on trunk

2009-10-25 Thread eres at il dot ibm dot com
--- Comment #3 from eres at il dot ibm dot com 2009-10-25 11:55 --- (In reply to comment #2) Works for me on amd64-linux and graphite branch. See daily reports on http://groups.google.com/group/gcc-graphite-test No testcase was provided anyways. Sebastian I just tried trunk

[Bug target/40648] misaligned store vectorizer patch introduced 10% runtime regression on Polyhedron test_fpu

2009-10-25 Thread eres at il dot ibm dot com
--- Comment #10 from eres at il dot ibm dot com 2009-10-25 12:41 --- (In reply to comment #0) Hello! The [patch, vectorizer] misaligned store support patch [1] resulted in more than 10% longer execution time for Polyhedron test_fpu test on Core2. The test is compiled with -march=x86

[Bug tree-optimization/41498] ICE with graphite flags on trunk

2009-10-25 Thread eres at il dot ibm dot com
--- Comment #4 from eres at il dot ibm dot com 2009-10-25 14:31 --- Created an attachment (id=18890) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18890action=view) A testcase to reproduce the ICE Here is the command line and the error message for the testcase attached (using

[Bug tree-optimization/41498] New: ICE with graphite flags

2009-09-29 Thread eres at il dot ibm dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41498

[Bug tree-optimization/41499] New: missed optimization: Scalar evolution analysis prevents vectorization

2009-09-29 Thread eres at il dot ibm dot com
: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41499

[Bug tree-optimization/41499] Scalar evolution analysis prevents vectorization

2009-09-29 Thread eres at il dot ibm dot com
--- Comment #1 from eres at il dot ibm dot com 2009-09-29 12:14 --- I was using trunk -r152153 and run on powerpc64. -- eres at il dot ibm dot com changed: What|Removed |Added

[Bug fortran/40766] this fortran program is too slow

2009-07-22 Thread eres at il dot ibm dot com
--- Comment #14 from eres at il dot ibm dot com 2009-07-22 11:15 --- (In reply to comment #0) program main implicit none integer :: i,j integer,parameter :: N=5000 real :: x(N)=0.0 do j=1,20 do i=1,N x(i)=x(i)+sin(real(i))+cos(real(i))-tan(real(i)) enddo

[Bug target/40648] misaligned store vectorizer patch introduced 10% runtime regression on Polyhedron test_fpu

2009-07-09 Thread eres at il dot ibm dot com
--- Comment #9 from eres at il dot ibm dot com 2009-07-09 07:32 --- Not using unaligned stores for this kind of data dependence or peeling for alignment will probably help here. The decision of how to vectorized can be changed for x86 (or any other target). Instead of first checking

[Bug target/40648] misaligned store vectorizer patch introduced 10% runtime regression on Polyhedron test_fpu

2009-07-05 Thread eres at il dot ibm dot com
--- Comment #7 from eres at il dot ibm dot com 2009-07-05 08:12 --- Testing test_fpu on Power7 with the power7 branch shows no significant difference between the version compiled with the misaligned store support patch and without it. (using -mcpu=power7 -ffast-math -funroll-loops -O3

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-18 Thread eres at il dot ibm dot com
--- Comment #35 from eres at il dot ibm dot com 2009-06-18 14:06 --- Created an attachment (id=18021) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18021action=view) Final version of the patch I'll submit the following patch -- it contains Ira's latest fix and two syntax errors

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-15 Thread eres at il dot ibm dot com
--- Comment #13 from eres at il dot ibm dot com 2009-06-15 10:41 --- Created an attachment (id=18003) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18003action=view) Patch to fix error in vect-42.c Ira, thanks for the suggestion! I deleted an extra space, so now the syntax

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-15 Thread eres at il dot ibm dot com
--- Comment #16 from eres at il dot ibm dot com 2009-06-15 13:32 --- -/* { dg-final { scan-tree-dump-times Alignment of access forced using versioning 3 vect { target { vect_no_align || { { ! vector_alignment_reachable} {!vect_hw_misalign} } } } } } */ +/* { dg-final { scan-tree

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-07 Thread eres at il dot ibm dot com
--- Comment #8 from eres at il dot ibm dot com 2009-06-07 07:12 --- Created an attachment (id=17959) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17959action=view) patch to fix syntax errors in tests This patch should fix the syntax errors. I'll sumbit it also if the problem

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-07 Thread eres at il dot ibm dot com
--- Comment #10 from eres at il dot ibm dot com 2009-06-07 10:51 --- (In reply to comment #9) The patch in comment #8 fixes the failures reported in comment #7. I now see (powerpc-apple-darwin9 with -m64): FAIL: gcc.dg/vect/vect-42.c scan-tree-dump-times vect Alignment of access

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-06 Thread eres at il dot ibm dot com
--- Comment #1 from eres at il dot ibm dot com 2009-06-06 11:00 --- It might be that i686 should be added to check_effective_target_vect_hw_misalign. Please try the following patch: Index: testsuite/lib/target-supports.exp

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-06 Thread eres at il dot ibm dot com
--- Comment #3 from eres at il dot ibm dot com 2009-06-06 16:43 --- Created an attachment (id=17957) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17957action=view) A patch to fix the fails -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40359

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-06 Thread eres at il dot ibm dot com
--- Comment #4 from eres at il dot ibm dot com 2009-06-06 16:46 --- (In reply to comment #3) Created an attachment (id=17957) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17957action=view) [edit] A patch to fix the fails I appreciate it if you could test whether the attached

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-06 Thread eres at il dot ibm dot com
--- Comment #6 from eres at il dot ibm dot com 2009-06-06 17:32 --- (In reply to comment #5) With the patch in comment #3 the failures are gone: make -k check-gcc RUNTESTFLAGS=vect.exp=*.c --target_board=unix'{,-m64}' Thanks for checking, I'll submit the patch then. -- http

[Bug target/32107] bad codegen for vector initialization in Altivec

2009-04-26 Thread eres at il dot ibm dot com
--- Comment #5 from eres at il dot ibm dot com 2009-04-26 07:29 --- (In reply to comment #2) Mine. The patches which I have from the PS3 toolchain fixes this one, it is related to PR 32110 also. I see this problem still exits on trunk -r146794. If you still have the patch I

[Bug other/35457] Error building GCC trunk on CELL SPU

2008-12-29 Thread eres at il dot ibm dot com
--- Comment #12 from eres at il dot ibm dot com 2008-12-29 09:59 --- (In reply to comment #11) Isn't this fixed now? There was a new newlib release last week: http://sourceware.org/ml/newlib/2008/msg00754.html I'll check that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug other/35457] Error building GCC trunk on CELL SPU

2008-12-29 Thread eres at il dot ibm dot com
--- Comment #13 from eres at il dot ibm dot com 2008-12-29 11:42 --- (In reply to comment #11) Isn't this fixed now? There was a new newlib release last week: http://sourceware.org/ml/newlib/2008/msg00754.html Yes, the problem is now fixed. Tested on SPU with gcc version 142947

[Bug rtl-optimization/36972] New: Redundant creation of stack fram on spu-gcc

2008-07-30 Thread eres at il dot ibm dot com
on spu-gcc Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com GCC host triplet: spu

[Bug middle-end/31150] [4.2/4.3/4.4 Regression] Not promoting an whole array to be static const

2008-07-05 Thread eres at il dot ibm dot com
--- Comment #9 from eres at il dot ibm dot com 2008-07-06 05:29 --- Following http://gcc.gnu.org/ml/gcc/2008-07/msg00104.html I would like to ask to be unassign from this bug. Thanks -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31150

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-04-08 Thread eres at il dot ibm dot com
--- Comment #19 from eres at il dot ibm dot com 2008-04-08 11:07 --- The easiest would be to use .cfi_* assembler directives that recentish gas supports and emitting them inline in the code, rather than creating separate .eh_frame. I apologize ahead if I am totally wrong about

[Bug rtl-optimization/33927] replace_read in dse.c could handle cases where GET_MODE_CLASS (read_mode) != GET_MODE_CLASS (store_mode) (and the size is the same)

2008-03-23 Thread eres at il dot ibm dot com
--- Comment #6 from eres at il dot ibm dot com 2008-03-23 07:20 --- (In reply to comment #5) (In reply to comment #4) I've applied a patch that should fix this. No-one's confirmed whether it does though, so I'm marking the PR as waiting. And I just confirmed, it does fix

[Bug target/35626] New: gcc for CELL spu produces poor code using functions with structure parameters

2008-03-18 Thread eres at il dot ibm dot com
: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35626

[Bug other/35457] Error building GCC trunk on CELL SPU

2008-03-06 Thread eres at il dot ibm dot com
--- Comment #2 from eres at il dot ibm dot com 2008-03-07 04:52 --- (In reply to comment #1) What happens if you build from a clean directory? I get the same error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35457

[Bug other/35457] Error building GCC trunk on CELL SPU

2008-03-06 Thread eres at il dot ibm dot com
--- Comment #4 from eres at il dot ibm dot com 2008-03-07 05:15 --- (In reply to comment #3) I don't usually build in combined tree for spu-elf so I never run into this issue. I wonder if due to the newer autoconf issue. It seems to be related to the following change: 2008-02-20

[Bug other/35457] New: Error building GCC trunk on CELL SPU

2008-03-04 Thread eres at il dot ibm dot com
dot gnu dot org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35457

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-02-28 Thread eres at il dot ibm dot com
--- Comment #5 from eres at il dot ibm dot com 2008-02-28 13:00 --- I can not reproduce this fail on my local x86_64-unknown-linux-gnu machine: PASS: gcc.dg/tree-prof/pr34999.c compilation, -fprofile-use -D_PROFILE_USE PASS: gcc.dg/tree-prof/pr34999.c execution,-fprofile-use

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-02-28 Thread eres at il dot ibm dot com
--- Comment #7 from eres at il dot ibm dot com 2008-02-28 13:49 --- (In reply to comment #6) (In reply to comment #5) I appreciate any info on this ICE so I could try to fix it. Sometimes --enable-checking=release triggers bugs that are hidden by other --enable-checking settings

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-02-28 Thread eres at il dot ibm dot com
--- Comment #10 from eres at il dot ibm dot com 2008-02-29 05:23 --- (In reply to comment #8) (In reply to comment #7) Thanks, unfortunately I still can not reproduce the fail. Probably you need newer binutils: GNU ld (GNU Binutils) 2.18 Yes, using a newer binutils the fail

[Bug target/35373] [4.4 Regression] bootstraping on powerpc-apple-darwin9 fails with revision 132578

2008-02-27 Thread eres at il dot ibm dot com
--- Comment #1 from eres at il dot ibm dot com 2008-02-27 10:03 --- Same error was received on powerpc64-linux, trunk r132684 configured with: --with-cpu=default32 --enable-checking --enable-bootstrap -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35373

[Bug c++/35117] Vectorization on power PC

2008-02-09 Thread eres at il dot ibm dot com
--- Comment #18 from eres at il dot ibm dot com 2008-02-10 07:30 --- To further optimize this loop we would probably want to overlap the store with subsequent loads using -fmodulo-sched; perhaps the new export-ddg can help with that. I intend to test the impact of -fmodulo-sched

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-01-29 Thread eres at il dot ibm dot com
--- Comment #2 from eres at il dot ibm dot com 2008-01-29 16:07 --- Created an attachment (id=15049) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15049action=view) A patch I am currently testing -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34999

[Bug rtl-optimization/34999] New: Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-01-28 Thread eres at il dot ibm dot com
: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34999

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-01-28 Thread eres at il dot ibm dot com
--- Comment #1 from eres at il dot ibm dot com 2008-01-28 15:22 --- Created an attachment (id=15037) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15037action=view) the testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34999

[Bug rtl-optimization/34826] branch probability is not updated with do-loop optimization

2008-01-17 Thread eres at il dot ibm dot com
--- Comment #3 from eres at il dot ibm dot com 2008-01-17 08:17 --- (In reply to comment #2) Can you show in an RTL dump why you are sure that the branch probabilities are lost? Sure, I am currently testing a patch we have to fix this problem, the following '-' lines are from the SMS

[Bug rtl-optimization/34826] branch probability is not updated with do-loop optimization

2008-01-17 Thread eres at il dot ibm dot com
--- Comment #4 from eres at il dot ibm dot com 2008-01-17 18:28 --- A patch was committed to trunk -r131604 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34826

[Bug rtl-optimization/34826] New: branch probability is not reserved with do-loop optimization

2008-01-16 Thread eres at il dot ibm dot com
Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34826

[Bug rtl-optimization/34826] branch probability is not reserved with do-loop optimization

2008-01-16 Thread eres at il dot ibm dot com
--- Comment #1 from eres at il dot ibm dot com 2008-01-17 07:21 --- Created an attachment (id=14955) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14955action=view) The testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34826

[Bug rtl-optimization/30957] Misscompare with variable expansion optimization

2008-01-10 Thread eres at il dot ibm dot com
--- Comment #14 from eres at il dot ibm dot com 2008-01-10 15:05 --- -fassociative-math and -fsigned-zeros flags can not co-exist. I guess this testcase should be removed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30957

[Bug rtl-optimization/30957] Misscompare with variable expansion optimization

2008-01-10 Thread eres at il dot ibm dot com
--- Comment #16 from eres at il dot ibm dot com 2008-01-10 18:32 --- This is because the test requires -fassociative-math for enabling the variable-expansion as well as -fsigned-zeros for honor the sign of zero; but they can not co-exist; also under -funsafe-math-optimizations

[Bug rtl-optimization/34263] missed optimization: cleanup loop latch (SMS)

2008-01-06 Thread eres at il dot ibm dot com
--- Comment #1 from eres at il dot ibm dot com 2008-01-06 15:26 --- A patch was committed to trunk r131352. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34263

[Bug tree-optimization/34195] missed optimization with store motion (vectorizer)

2007-11-30 Thread eres at il dot ibm dot com
--- Comment #5 from eres at il dot ibm dot com 2007-11-30 17:24 --- (In reply to comment #4) That moves the stores pS[i].x += (a[i]+b[i]); pS[i].y += (a[i]-b[i]); out of the inner loop, but still none of the loops are vectorized (on x86_64). Also on ppc64

[Bug rtl-optimization/34263] New: missed optimization: cleanup loop latch (SMS)

2007-11-28 Thread eres at il dot ibm dot com
: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34263

[Bug tree-optimization/34223] New: missed optimization - complete unrolling pass before the vectorizer

2007-11-25 Thread eres at il dot ibm dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34223

[Bug tree-optimization/34195] missed optimization with store motion (vectorizer)

2007-11-25 Thread eres at il dot ibm dot com
--- Comment #2 from eres at il dot ibm dot com 2007-11-25 11:21 --- I have been testing Zdenek's initial lim patch on SPEC2006 and tramp3d but saw no effect on the preformance. We had an example which is similar to the testcase shown in (http://gcc.gnu.org/ml/gcc-patches/2007-03

[Bug tree-optimization/34223] missed optimization - complete unrolling pass before the vectorizer

2007-11-25 Thread eres at il dot ibm dot com
--- Comment #3 from eres at il dot ibm dot com 2007-11-25 14:13 --- (In reply to comment #2) Why is this a shift not supported: not vectorized: relevant stmt not supported: D.1652_13 = j_29 3 Is j_29*8 supported (i.e. if you hack this expression to turn it into a MULT_EXPR), does

[Bug tree-optimization/34195] New: missed optimization with store motion (vectorizer)

2007-11-22 Thread eres at il dot ibm dot com
-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34195

[Bug tree-optimization/34172] New: Missed store ccp optimization

2007-11-21 Thread eres at il dot ibm dot com
Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34172

[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-16 Thread eres at il dot ibm dot com
--- Comment #13 from eres at il dot ibm dot com 2007-11-16 06:52 --- Created an attachment (id=14563) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14563action=view) gcno (with the correct filename) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085

[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-16 Thread eres at il dot ibm dot com
--- Comment #15 from eres at il dot ibm dot com 2007-11-17 06:24 --- (In reply to comment #14) I still can't reproduce it. What does your gcc -v say? Configured with: ../gcc/configure --prefix=/home/eres/check_final/build --with-cpu=default32 --enable-checking --disable-bootstrap

[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-16 Thread eres at il dot ibm dot com
--- Comment #16 from eres at il dot ibm dot com 2007-11-17 06:36 --- (In reply to comment #15) (In reply to comment #14) I still can't reproduce it. What does your gcc -v say? Configured with: ../gcc/configure --prefix=/home/eres/check_final/build --with-cpu=default32 --enable

[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-15 Thread eres at il dot ibm dot com
--- Comment #5 from eres at il dot ibm dot com 2007-11-15 12:04 --- It seems that verify_flow_info complains about the following note, which is generated in the partitioning phase: (note 234 232 172 11 NOTE_INSN_SWITCH_TEXT_SECTIONS) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-15 Thread eres at il dot ibm dot com
--- Comment #7 from eres at il dot ibm dot com 2007-11-15 12:29 --- (In reply to comment #6) I can't reproduce this on x86*. Again, please attach the profile information and state the exact compiler revision you used to generate this profile information. Sorry - I am working

[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-15 Thread eres at il dot ibm dot com
--- Comment #8 from eres at il dot ibm dot com 2007-11-15 14:17 --- When disabling rest_of_handle_reorder_blocks (bbro) the ICE disappears. (it seems that it is not caused due to the partitioning - bbpart) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085

[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-15 Thread eres at il dot ibm dot com
--- Comment #11 from eres at il dot ibm dot com 2007-11-15 15:05 --- Created an attachment (id=14556) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14556action=view) File generated by -fprofile-generate -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085

[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-15 Thread eres at il dot ibm dot com
--- Comment #10 from eres at il dot ibm dot com 2007-11-15 15:02 --- (In reply to comment #9) I mean the files you generate with -fprofile-generate. I expect this to be fully blamable on the partitioning code, and I would like to work in fixing this. But you have to attach

[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-15 Thread eres at il dot ibm dot com
--- Comment #12 from eres at il dot ibm dot com 2007-11-16 06:48 --- Created an attachment (id=14562) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14562action=view) gcda file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085

[Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition

2007-11-13 Thread eres at il dot ibm dot com
org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085

[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-13 Thread eres at il dot ibm dot com
--- Comment #1 from eres at il dot ibm dot com 2007-11-13 18:21 --- Created an attachment (id=14545) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14545action=view) The testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085

[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-13 Thread eres at il dot ibm dot com
--- Comment #3 from eres at il dot ibm dot com 2007-11-13 18:30 --- Created an attachment (id=14546) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14546action=view) the testcase (please ignore the previous testcase it has been uploaded by mistake) -- http://gcc.gnu.org

[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-13 Thread eres at il dot ibm dot com
--- Comment #4 from eres at il dot ibm dot com 2007-11-13 18:34 --- (In reply to comment #2) Can you please also attach your profile information and give the exact compiler revision ID that you used to create that information? That way, people without access to POWER can still

[Bug c/33711] New: Missed optimization: reduction by subtraction (vectorizer)

2007-10-09 Thread eres at il dot ibm dot com
Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33711

[Bug tree-optimization/33711] Missed optimization: reduction by subtraction (vectorizer)

2007-10-09 Thread eres at il dot ibm dot com
--- Comment #1 from eres at il dot ibm dot com 2007-10-09 13:49 --- The loop in the above example does not get vectorized because of the subtraction in reduction; which is currently not supported. Taken from the vectorizer dump: test.c:19: note: worklist: examine stmt: udiff_7

[Bug rtl-optimization/19580] [4.0/4.1/4.2/4.3 Regression] missed load/store motion

2007-09-12 Thread eres at il dot ibm dot com
--- Comment #34 from eres at il dot ibm dot com 2007-09-12 15:09 --- I did not engage with it for some time so I doubt it if my latest version of the patch (which is originally in http://gcc.gnu.org/ml/gcc-patches/2007-01/msg02331.html) is suitable for current mainline. I

[Bug rtl-optimization/19580] [4.0/4.1/4.2/4.3 Regression] missed load/store motion

2007-09-12 Thread eres at il dot ibm dot com
--- Comment #35 from eres at il dot ibm dot com 2007-09-13 04:45 --- Created an attachment (id=14200) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14200action=view) lim patch As I suspected – my latest available version is not suitable for current mainline (I attached it anyway

[Bug middle-end/28684] Imprecise -funsafe-math-optimizations definition

2007-09-04 Thread eres at il dot ibm dot com
--- Comment #11 from eres at il dot ibm dot com 2007-09-04 12:18 --- The patch was committed to r128075. Revital -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28684

[Bug bootstrap/32726] ICE when compiling emit-rtl.c

2007-07-11 Thread eres at il dot ibm dot com
--- Comment #2 from eres at il dot ibm dot com 2007-07-11 06:51 --- The problem seems to be fixed. See - http://gcc.gnu.org/ml/gcc/2007-07/msg00352.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32726

[Bug bootstrap/32726] New: ICE when compiling emit-rtl.c

2007-07-10 Thread eres at il dot ibm dot com
compiling emit-rtl.c Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com http

[Bug tree-optimization/25621] Missed optimization when unrolling the loop (splitting up the sum) (only with -ffast-math)

2007-07-04 Thread eres at il dot ibm dot com
--- Comment #5 from eres at il dot ibm dot com 2007-07-04 08:57 --- You can also try to tune --param max-variable-expansions-in-unroller. The default is to add one expansion (which seems to be the most helpful due to the fact that adding more expansions can increase register pressure

[Bug tree-optimization/25621] Missed optimization when unrolling the loop (splitting up the sum) (only with -ffast-math)

2007-07-04 Thread eres at il dot ibm dot com
--- Comment #8 from eres at il dot ibm dot com 2007-07-04 11:24 --- I think c__lsm.63_30 is created during the store motion optimization. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25621

[Bug middle-end/31150] [4.1/4.2/4.3 Regression] Not promoting an whole array to be static const

2007-06-28 Thread eres at il dot ibm dot com
--- Comment #5 from eres at il dot ibm dot com 2007-06-28 11:55 --- (Form off-line discussion with Richard Guenther) For- char str[2][16] = {thisis16charslo,thisis16charslo}; On ppc64 we will get - static char C.0[2][16] = {thisis16charslo, thisis16charslo}; while on x86_64

[Bug middle-end/31150] [4.1/4.2/4.3 Regression] Not promoting an whole array to be static const

2007-06-26 Thread eres at il dot ibm dot com
--- Comment #3 from eres at il dot ibm dot com 2007-06-26 07:42 --- Created an attachment (id=13791) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13791action=view) fix PR31150 Attached is a patch to initialize the scalar elmenets of the array which should fix this problem. char

[Bug tree-optimization/32230] [4.3 Regression] Segfault in set_bb_for_stmt with -O -ftree-vectorize

2007-06-26 Thread eres at il dot ibm dot com
--- Comment #4 from eres at il dot ibm dot com 2007-06-26 12:19 --- There are places which checks that bsi_insert_on_edge_immediate returns NULL so checking for NULL before calling it would change the semantic. Here is the fix for this SIGSEGV: Index: tree-cfg.c

[Bug middle-end/31150] [4.1/4.2/4.3 Regression] Not promoting an whole array to be static const

2007-06-25 Thread eres at il dot ibm dot com
--- Comment #2 from eres at il dot ibm dot com 2007-06-25 12:31 --- I would like to be assigned to this bug. Thanks, Revital -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31150

[Bug other/32172] Behavior of -ffast-math

2007-06-01 Thread eres at il dot ibm dot com
--- Comment #5 from eres at il dot ibm dot com 2007-06-01 06:24 --- (In reply to comment #3) *** This bug has been marked as a duplicate of 28684 *** Related, but a different issue. I Agree. Bug 28684 mainly deals with the need to redefine -funsafe-math-optimizations as IEEE

[Bug bootstrap/31418] New: Bootstrap failure with -O2 -funroll-loops -funsafe-math-optimizations options on PPC

2007-04-01 Thread eres at il dot ibm dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31418

[Bug rtl-optimization/30957] Misscompare with variable expansion optimization

2007-02-26 Thread eres at il dot ibm dot com
--- Comment #4 from eres at il dot ibm dot com 2007-02-26 11:46 --- Created an attachment (id=13113) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13113action=view) assembly file (PPC) It seems that problem is in the initialization of the expansion (which related to the sign

[Bug rtl-optimization/30971] New: Wrong return value in loop (Tail call)

2007-02-26 Thread eres at il dot ibm dot com
) Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug rtl-optimization/30971] Wrong return value in loop (Tail call)

2007-02-26 Thread eres at il dot ibm dot com
--- Comment #1 from eres at il dot ibm dot com 2007-02-26 13:38 --- Created an attachment (id=13116) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13116action=view) assembly file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30971

[Bug rtl-optimization/30957] Misscompare with variable expansion optimization

2007-02-26 Thread eres at il dot ibm dot com
--- Comment #5 from eres at il dot ibm dot com 2007-02-26 13:51 --- The reason that this tescase fails is because the expansion is been initialized with +0, which means that it's final result will be +0 and not -0 as expected. expansion += d -- expansion += -0 -- +0 -- http

[Bug rtl-optimization/30957] Misscompare with variable expansion optimization

2007-02-26 Thread eres at il dot ibm dot com
--- Comment #6 from eres at il dot ibm dot com 2007-02-26 15:01 --- It seems that initializing the expansion with -zero (instead of +zero) will solve this problem. According IEEE standard if we have - x += something; initializing x with -0 will cause x to get the sign of something

[Bug rtl-optimization/30957] Misscompare with variable expansion optimization

2007-02-26 Thread eres at il dot ibm dot com
--- Comment #8 from eres at il dot ibm dot com 2007-02-26 18:11 --- MVE is enabled with -funsafe-math-optimizations as it changes the order of summation. I think it should honor signed zero, which it does not in the current implantation. I agree that -funsafe-math-optimizations

[Bug rtl-optimization/30971] Wrong return value (Tail call optimization)

2007-02-26 Thread eres at il dot ibm dot com
--- Comment #3 from eres at il dot ibm dot com 2007-02-26 18:26 --- Sure, sorry about that,-funsafe-math-optimizations is more suitable here. The testcase also fails when -funsafe-math-optimizations is used (fsigned-zeros is set in that case which means the testcase should not have been

[Bug rtl-optimization/30957] Misscompare with variable expansion optimization

2007-02-26 Thread eres at il dot ibm dot com
--- Comment #10 from eres at il dot ibm dot com 2007-02-26 18:34 --- I think that the way -fnsafe-math-optimization violates ieee is important. Introducing flag_signed_zeros, as you mensioned before, enforce -fnsafe-math-optimization to honor signed zero. So I think MVE should honor

[Bug rtl-optimization/30957] New: Misscompare with variable expansion optimization

2007-02-25 Thread eres at il dot ibm dot com
with variable expansion optimization Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm

[Bug rtl-optimization/30957] Misscompare with variable expansion optimization

2007-02-25 Thread eres at il dot ibm dot com
--- Comment #1 from eres at il dot ibm dot com 2007-02-25 11:33 --- Created an attachment (id=13105) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13105action=view) RTL unroller's dump (compiled with -fvariable-expansion-in-unroller) reg:DF 137 is the new variable expansion

[Bug rtl-optimization/30957] Misscompare with variable expansion optimization

2007-02-25 Thread eres at il dot ibm dot com
--- Comment #2 from eres at il dot ibm dot com 2007-02-25 14:50 --- The execution fails also when acc is float (and not double) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30957

[Bug rtl-optimization/30957] Misscompare with variable expansion optimization

2007-02-25 Thread eres at il dot ibm dot com
--- Comment #3 from eres at il dot ibm dot com 2007-02-25 14:52 --- Created an attachment (id=13107) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13107action=view) testcase for MVE Running the executable of the attached testcase (compiled with MVE) succeeded. This looks strange

[Bug c/29122] New: ICE with -ipa-cp and -m64

2006-09-18 Thread eres at il dot ibm dot com
Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eres at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29122

[Bug middle-end/28684] Imprecise -funsafe-math-optimizations definition

2006-09-11 Thread eres at il dot ibm dot com
--- Comment #5 from eres at il dot ibm dot com 2006-09-11 11:21 --- Hi, Following Dorit's comment; We thought of starting this journey with a patch that include the cases in the vectorizer and loop-unroll and gradually add the rest of the cases that can go under flag_reassociate_fp

[Bug middle-end/28684] Imprecise -funsafe-math-optimizations definition

2006-09-11 Thread eres at il dot ibm dot com
--- Comment #6 from eres at il dot ibm dot com 2006-09-11 11:49 --- I would also like to be assigned to this bug. Thanks, Revital -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28684