[Bug fortran/35150] ICE in expand_expr_addr_expr_1, at expr.c:6728 (regression vs. earlier 4.3)

2008-02-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #8 from fxcoudert at gcc dot gnu dot org 2008-02-15 21:15 --- Fixed on trunk: Author: fxcoudert Date: Fri Feb 15 21:12:24 2008 New Revision: 132353 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132353 Log: * trans-expr.c (gfc_conv_function_call): Force eval

[Bug fortran/35150] ICE in expand_expr_addr_expr_1, at expr.c:6728 (regression vs. earlier 4.3)

2008-02-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2008-02-15 16:21 --- (In reply to comment #6) > That is, the ELSE branch needs to be fixed as well; the fix was only for rank > == 0. OK, here is an updated patch: Index: trans-expr.c

[Bug fortran/35150] ICE in expand_expr_addr_expr_1, at expr.c:6728 (regression vs. earlier 4.3)

2008-02-15 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2008-02-15 15:24 --- (In reply to comment #3) > Simplified test case: This now works with FX's patch. However, using F03GL still fails with: OpenGL_glut.f90: In function ‘glutinit_f03’: OpenGL_glut.f90:1518: internal compiler error: in e

[Bug fortran/35150] ICE in expand_expr_addr_expr_1, at expr.c:6728 (regression vs. earlier 4.3)

2008-02-15 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35150

[Bug fortran/35150] ICE in expand_expr_addr_expr_1, at expr.c:6728 (regression vs. earlier 4.3)

2008-02-14 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2008-02-14 12:42 --- I've posted a workaround patch at http://gcc.gnu.org/ml/fortran/2008-02/msg00092.html. My analysis is currently as follow: we currently have static void * * C.906 = &argv; glutinit_gl (&C.906); which lea

[Bug fortran/35150] ICE in expand_expr_addr_expr_1, at expr.c:6728

2008-02-09 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2008-02-09 22:04 --- Forget to write that the ICE is gone if one removed the SAVE -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35150

[Bug fortran/35150] ICE in expand_expr_addr_expr_1, at expr.c:6728

2008-02-09 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-02-09 22:02 --- > How is this a regression? ISO_C_BINDING is new for 4.3.0 :). Well, it is not a regression versus 4.2, but it is nonetheless a regression: It was working before. How are such regressions marked? * * * Simplified

[Bug fortran/35150] ICE in expand_expr_addr_expr_1, at expr.c:6728

2008-02-09 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-02-09 20:33 --- How is this a regression? ISO_C_BINDING is new for 4.3.0 :). -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---