[Bug middle-end/37014] [4.2/4.3/4.4 Regression] internal compiler error: in expand_expr_real_1, at expr.c:8760
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.2.5 |4.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37014
[Bug middle-end/37014] [4.2/4.3/4.4 Regression] internal compiler error: in expand_expr_real_1, at expr.c:8760
--- Comment #10 from jakub at gcc dot gnu dot org 2008-08-13 08:20 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37014
[Bug middle-end/37014] [4.2/4.3/4.4 Regression] internal compiler error: in expand_expr_real_1, at expr.c:8760
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2008-08-05 18:03:10 |2008-08-12 10:01:22 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37014
[Bug middle-end/37014] [4.2/4.3/4.4 Regression] internal compiler error: in expand_expr_real_1, at expr.c:8760
--- Comment #8 from jakub at gcc dot gnu dot org 2008-08-12 18:07 --- Subject: Bug 37014 Author: jakub Date: Tue Aug 12 18:05:43 2008 New Revision: 139029 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=139029 Log: PR middle-end/37014 * expr.c (expand_expr_real_1): Handle TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR. * dojump.c (do_jump): Likewise. * gcc.c-torture/compile/20080812-1.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/compile/20080812-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/dojump.c trunk/gcc/expr.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37014
[Bug middle-end/37014] [4.2/4.3/4.4 Regression] internal compiler error: in expand_expr_real_1, at expr.c:8760
--- Comment #9 from jakub at gcc dot gnu dot org 2008-08-12 18:37 --- Subject: Bug 37014 Author: jakub Date: Tue Aug 12 18:36:28 2008 New Revision: 139032 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=139032 Log: PR middle-end/37014 * expr.c (expand_expr_real_1): Handle TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR. * dojump.c (do_jump): Likewise. * gcc.c-torture/compile/20080812-1.c: New test. Added: branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/compile/20080812-1.c Modified: branches/gcc-4_3-branch/gcc/ChangeLog branches/gcc-4_3-branch/gcc/dojump.c branches/gcc-4_3-branch/gcc/expr.c branches/gcc-4_3-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37014
[Bug middle-end/37014] [4.2/4.3/4.4 Regression] internal compiler error: in expand_expr_real_1, at expr.c:8760
--- Comment #7 from jakub at gcc dot gnu dot org 2008-08-11 18:38 --- I think the options are: 1) handle TRUTH_{AND,OR}IF_EXPR in expand_expr again (revert part of Paolo's 2004-08-09 expr.c dead code removals) - while these aren't present in GIMPLE nor can be created by TER, they can be created by folding during expansion. Maybe even COMPOUND_EXPR could be handled there and all the ugly hacks builtins.c does to work around this could be removed. 2) have a special flag for fold-const.c, set during expansion, that would preclude certain kinds of folding (e.g. creation of the trees that aren't handled by the expander) 3) have expand's special versions of the various fold* routines, look for the unhandled trees in what it creates and either fail to fold them, or transform to something else. IMHO 1) would be probably easiest to implement, 3) too ugly to live, 2) possible. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37014
[Bug middle-end/37014] [4.2/4.3/4.4 Regression] internal compiler error: in expand_expr_real_1, at expr.c:8760
--- Comment #6 from mikpe at it dot uu dot se 2008-08-08 13:58 --- (In reply to comment #4) I can confirm that the reduced test case fails for me with gcc 4.0.4, 4.1.2, 4.2.4, and 4.3.1 on both powerpc and powerpc64. gcc-3.4.6 and older work. It doesn't fail for me with gcc-4.x on either sparc64 or arm. -- mikpe at it dot uu dot se changed: What|Removed |Added CC||mikpe at it dot uu dot se http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37014
[Bug middle-end/37014] [4.2/4.3/4.4 Regression] internal compiler error: in expand_expr_real_1, at expr.c:8760
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37014
[Bug middle-end/37014] [4.2/4.3/4.4 Regression] internal compiler error: in expand_expr_real_1, at expr.c:8760
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-08-05 18:07 --- This worked for at least 3.4.0 as this tree was able to be expanded :). -- pinskia at gcc dot gnu dot org changed: What|Removed |Added GCC build triplet|openwrt-mips toolchain | GCC host triplet|core2duo x86-64 smp | GCC target triplet|mips mipsel | Known to work||3.4.0 Summary|internal compiler error: in |[4.2/4.3/4.4 Regression] |expand_expr_real_1, at |internal compiler error: in |expr.c:8760 |expand_expr_real_1, at ||expr.c:8760 Target Milestone|--- |4.2.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37014