[Bug middle-end/50754] [4.7 Regression] ICE in expand_debug_expr, at cfgexpand.c:3341
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50754 Joost VandeVondele Joost.VandeVondele at pci dot uzh.ch changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Comment #9 from Joost VandeVondele Joost.VandeVondele at pci dot uzh.ch 2011-10-21 05:43:11 UTC --- this is fixed now in trunk, I assume this can be closed.
[Bug middle-end/50754] [4.7 Regression] ICE in expand_debug_expr, at cfgexpand.c:3341
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50754 --- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org 2011-10-19 19:31:25 UTC --- Author: jakub Date: Wed Oct 19 19:31:14 2011 New Revision: 180201 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=180201 Log: PR middle-end/50754 * cfgexpand.c (expand_debug_expr): Handle WIDEN_LSHIFT_EXPR, ignore VEC_PERM_EXPR. Modified: trunk/gcc/ChangeLog trunk/gcc/cfgexpand.c
[Bug middle-end/50754] [4.7 Regression] ICE in expand_debug_expr, at cfgexpand.c:3341
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50754 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added CC||rth at gcc dot gnu.org --- Comment #3 from Dominique d'Humieres dominiq at lps dot ens.fr 2011-10-18 13:28:48 UTC --- This is due to revision 180047 Author:rth Date:Sat Oct 15 19:36:50 2011 UTC (2 days, 17 hours ago) Changed paths:5 Log Message: Use VEC_PERM_EXPR in the vectorizer. * tree-vect-slp.c: Include langhooks.h. (vect_create_mask_and_perm): Emit VEC_PERM_EXPR, not a builtin. (vect_transform_slp_perm_load): Use can_vec_perm_expr_p. Simplify mask creation for VEC_PERM_EXPR. * tree-vect-stmts.c (perm_mask_for_reverse): Return the mask, not the builtin. (reverse_vec_elements): Emit VEC_PERM_EXPR not a builtin. * Makefile.in (tree-vect-slp.o): Update dependency. * optabs.c (can_vec_perm_expr_p): Allow NULL as unknown constant. Note that the fix in revision 80100 Author:rth Date:Mon Oct 17 17:02:05 2011 UTC (20 hours, 24 minutes ago) Changed paths:2 Log Message: PR 50746 * optabs.c (expand_vec_perm_expr): Fix indexing error. does solve the problem.
[Bug middle-end/50754] [4.7 Regression] ICE in expand_debug_expr, at cfgexpand.c:3341
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50754 Joost VandeVondele Joost.VandeVondele at pci dot uzh.ch changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #4 from Joost VandeVondele Joost.VandeVondele at pci dot uzh.ch 2011-10-18 19:19:09 UTC --- OK.. the latest version passes here as well. Let's close as fixed
[Bug middle-end/50754] [4.7 Regression] ICE in expand_debug_expr, at cfgexpand.c:3341
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50754 Joost VandeVondele Joost.VandeVondele at pci dot uzh.ch changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Comment #5 from Joost VandeVondele Joost.VandeVondele at pci dot uzh.ch 2011-10-18 19:22:04 UTC --- No, not quite. With the original commandline I still see a failure here for gcc version 4.7.0 20111018 (experimental) [trunk revision 180161] (GCC)
[Bug middle-end/50754] [4.7 Regression] ICE in expand_debug_expr, at cfgexpand.c:3341
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50754 --- Comment #6 from Dominique d'Humieres dominiq at lps dot ens.fr 2011-10-18 19:43:39 UTC --- does solve the problem. Oops!-( I ment does not solve the problem: when the fingers don't follow the brain;-).
[Bug middle-end/50754] [4.7 Regression] ICE in expand_debug_expr, at cfgexpand.c:3341
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50754 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|ASSIGNED AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org |gnu.org | --- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org 2011-10-18 22:03:28 UTC --- Created attachment 25550 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25550 gcc47-pr50754.patch Untested fix.
[Bug middle-end/50754] [4.7 Regression] ICE in expand_debug_expr, at cfgexpand.c:3341
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50754 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2011-10-17 Ever Confirmed|0 |1 --- Comment #1 from Dominique d'Humieres dominiq at lps dot ens.fr 2011-10-17 09:38:03 UTC --- Confirmed on x86_64-apple-darwin10 revision 180062 with '-O2 -ftree-vectorize -ffast-math -g', slightly reduced (valid?) test MODULE gauss_colloc INTEGER, PARAMETER :: dp=8 CONTAINS FUNCTION calcBox() RESULT(res) implicit none integer :: i, imin REAL(dp) :: r_0, res REAL(dp), DIMENSION(0:2):: l, resPos l = 1.0 resPos = [1.0,2.0,3.0] r_0=0.0_dp DO i=0,2 r_0=r_0-0.5*resPos(2-i)*l(i) END DO imin =0 IF (r_00.0_dp) THEN imin=1 END IF res=imin END FUNCTION END MODULE
[Bug middle-end/50754] [4.7 Regression] ICE in expand_debug_expr, at cfgexpand.c:3341
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50754 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added CC||jakub at redhat dot com --- Comment #2 from Dominique d'Humieres dominiq at lps dot ens.fr 2011-10-17 15:45:12 UTC --- Revision 179960 is OK and the ICE does not show for compilers configured with --enable-checking=release.