[Bug fortran/37411] ICE (segfault) in trans-array.c

2008-09-09 Thread domob at gcc dot gnu dot org
--- Comment #8 from domob at gcc dot gnu dot org 2008-09-09 09:49 --- This was indeed fixed with PR 37199, I committed the test-case as well as the assertion mentioned. Fixed. -- domob at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/37411] ICE (segfault) in trans-array.c

2008-09-09 Thread domob at gcc dot gnu dot org
--- Comment #7 from domob at gcc dot gnu dot org 2008-09-09 09:48 --- Subject: Bug 37411 Author: domob Date: Tue Sep 9 09:46:51 2008 New Revision: 140141 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140141 Log: 2008-09-09 Daniel Kraft <[EMAIL PROTECTED]> PR fortran

[Bug fortran/37411] ICE (segfault) in trans-array.c

2008-09-09 Thread domob at gcc dot gnu dot org
-- domob at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |domob at gcc dot gnu dot org |dot org

[Bug fortran/37411] ICE (segfault) in trans-array.c

2008-09-08 Thread domob at gcc dot gnu dot org
--- Comment #6 from domob at gcc dot gnu dot org 2008-09-08 18:37 --- Reading the comments, this sounds really like the problem fixed for PR 37199 (sym->as "wrongly" NULL after interface-remapping). I agree that adding the test and gcc_assert sounds like a good idea for me. I will work

[Bug fortran/37411] ICE (segfault) in trans-array.c

2008-09-08 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2008-09-08 13:53 --- I have reverted the patch in comment #3 on intel/Darwin9 and updated to r140104 on ppc/Darwin9 and in both cases the original test compiles without error. Is it another fix due to the one for pr37199? Anyway, it woul

[Bug fortran/37411] ICE (segfault) in trans-array.c

2008-09-08 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2008-09-08 09:46 --- I am not 100% sure, but I somehow got the impression that the patch for pr37199 also fixed this pr. Could you check if this is the case? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37411

[Bug fortran/37411] ICE (segfault) in trans-array.c

2008-09-08 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-09-08 09:23 --- Created an attachment (id=16254) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16254&action=view) Regtested patch, including test case The same as patch. However, I'm not sure the fix is right. a) Why is sym->a

[Bug fortran/37411] ICE (segfault) in trans-array.c

2008-09-07 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-09-07 20:09 --- ==17304== Invalid read of size 4 ==17304==at 0x49F779: gfc_conv_array_parameter (trans-array.c:5179) ==17304==by 0x4B05C0: gfc_conv_function_call (trans-expr.c:2582) ==17304==by 0x4B1A7D: gfc_conv_function