[Bug fortran/38763] [4.3/4.4 Regression] TRANSFER ICE due to missing EXPR_NULL case

2009-01-09 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2009-01-10 00:15 --- Subject: Bug 38763 Author: pault Date: Sat Jan 10 00:15:37 2009 New Revision: 143238 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143238 Log: 2009-01-10 Paul Thomas PR fortr

[Bug fortran/38763] [4.3 Regression] TRANSFER ICE due to missing EXPR_NULL case

2009-01-09 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2009-01-10 00:21 --- Fixed on trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38765] [4.3 Regression] ICE in check_host_association

2009-01-09 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2009-01-10 00:21 --- Fixed on trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38665] [4.3 Regression] ICE in check_host_association

2009-01-10 Thread pault at gcc dot gnu dot org
--- Comment #9 from pault at gcc dot gnu dot org 2009-01-10 21:01 --- Subject: Bug 38665 Author: pault Date: Sat Jan 10 21:01:14 2009 New Revision: 143248 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143248 Log: 2009-01-10 Paul Thomas PR fortr

[Bug fortran/38657] [4.3 Regression] PUBLIC/PRIVATE Common blocks

2009-01-10 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2009-01-10 21:06 --- Subject: Bug 38657 Author: pault Date: Sat Jan 10 21:06:27 2009 New Revision: 143249 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143249 Log: 2009-01-10 Paul Thomas PR fortr

[Bug fortran/38665] [4.3 Regression] ICE in check_host_association

2009-01-10 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2009-01-10 21:25 --- Subject: Bug 38665 Author: pault Date: Sat Jan 10 21:24:54 2009 New Revision: 143250 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143250 Log: 2009-01-10 Paul Thomas PR fortr

[Bug fortran/38665] [4.3 Regression] ICE in check_host_association

2009-01-10 Thread pault at gcc dot gnu dot org
--- Comment #11 from pault at gcc dot gnu dot org 2009-01-10 21:41 --- Subject: Bug 38665 Author: pault Date: Sat Jan 10 21:41:16 2009 New Revision: 143252 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143252 Log: 2009-01-10 Paul Thomas PR fortr

[Bug fortran/38665] [4.3 Regression] ICE in check_host_association

2009-01-10 Thread pault at gcc dot gnu dot org
--- Comment #12 from pault at gcc dot gnu dot org 2009-01-10 21:44 --- Fixed on trunk and latest 4.3 Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38665

[Bug fortran/38665] [4.3 Regression] ICE in check_host_association

2009-01-10 Thread pault at gcc dot gnu dot org
--- Comment #13 from pault at gcc dot gnu dot org 2009-01-10 21:44 --- Fixed on trunk and latest 4.3 Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38657] [4.3 Regression] PUBLIC/PRIVATE Common blocks

2009-01-10 Thread pault at gcc dot gnu dot org
--- Comment #11 from pault at gcc dot gnu dot org 2009-01-10 21:45 --- Fixed on trunk and 4.3 Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38802] New: Seg fault for RESULT with allocatable components

2009-01-11 Thread pault at gcc dot gnu dot org
ty: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pault at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38802

[Bug fortran/38765] [4.3 Regression] ICE in check_host_association

2009-01-11 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2009-01-11 13:42 --- Subject: Bug 38765 Author: pault Date: Sun Jan 11 13:42:32 2009 New Revision: 143271 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143271 Log: 2009-01-11 Paul Thomas PR fortr

[Bug fortran/38763] [4.3 Regression] TRANSFER ICE due to missing EXPR_NULL case

2009-01-11 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2009-01-11 13:42 --- Subject: Bug 38763 Author: pault Date: Sun Jan 11 13:42:32 2009 New Revision: 143271 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143271 Log: 2009-01-11 Paul Thomas PR fortr

[Bug fortran/38802] Seg fault for RESULT with allocatable components

2009-01-11 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2009-01-12 06:21 --- This does the job: Index: gcc/fortran/trans-array.c === --- gcc/fortran/trans-array.c (revision 143242) +++ gcc/fortran/trans-array.c (working copy

[Bug fortran/38763] [4.3 Regression] TRANSFER ICE due to missing EXPR_NULL case

2009-01-11 Thread pault at gcc dot gnu dot org
--- Comment #9 from pault at gcc dot gnu dot org 2009-01-12 06:22 --- Fixed on trunk and 4.3. Thanks for the reort. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38765] [4.3 Regression] ICE in check_host_association

2009-01-11 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2009-01-12 06:23 --- Fixed on trunk and 4.3. Thanks for the reort. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34955] transfer_assumed_size_1.f90: Valgrind error: invalid read of size 3

2009-01-12 Thread pault at gcc dot gnu dot org
--- Comment #20 from pault at gcc dot gnu dot org 2009-01-12 16:20 --- Created an attachment (id=17079) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17079&action=view) A preliminary patch for the PR A slightly earlier version of this regtested OK. Will do it to this

[Bug fortran/37614] Change position of padding for aligned COMMONs

2009-01-15 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2009-01-15 09:19 --- (In reply to comment #1) > This would mean an ABI change, but it is worth thinking about. > The required fix is trivial, although I have not regtested yet; eliminate 1127-1131 in trans-common.c. Cheers

[Bug fortran/38657] [4.4, 4.3 Regression] PUBLIC/PRIVATE Common blocks

2009-01-17 Thread pault at gcc dot gnu dot org
--- Comment #12 from pault at gcc dot gnu dot org 2009-01-17 08:39 --- The fix has caused the regression reported in http://gcc.gnu.org/ml/fortran/2009-01/msg00197.html so I am reverting on trunk and 4.3. Cheers Paul -- pault at gcc dot gnu dot org changed: What

[Bug fortran/38657] [4.4, 4.3 Regression] PUBLIC/PRIVATE Common blocks

2009-01-17 Thread pault at gcc dot gnu dot org
--- Comment #13 from pault at gcc dot gnu dot org 2009-01-17 09:29 --- Subject: Bug 38657 Author: pault Date: Sat Jan 17 09:28:50 2009 New Revision: 143458 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143458 Log: 2009-01-17 Paul Thomas PR fortr

[Bug fortran/38657] [4.4, 4.3 Regression] PUBLIC/PRIVATE Common blocks

2009-01-17 Thread pault at gcc dot gnu dot org
--- Comment #14 from pault at gcc dot gnu dot org 2009-01-17 09:44 --- Subject: Bug 38657 Author: pault Date: Sat Jan 17 09:43:57 2009 New Revision: 143459 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143459 Log: 2009-01-17 Paul Thomas PR fortr

[Bug fortran/34955] transfer_assumed_size_1.f90: Valgrind error: invalid read of size 3

2009-01-17 Thread pault at gcc dot gnu dot org
--- Comment #22 from pault at gcc dot gnu dot org 2009-01-17 11:32 --- Subject: Bug 34955 Author: pault Date: Sat Jan 17 11:32:02 2009 New Revision: 143462 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143462 Log: 2009-01-17 Paul Thomas PR fortr

[Bug fortran/34955] transfer_assumed_size_1.f90: Valgrind error: invalid read of size 3

2009-01-17 Thread pault at gcc dot gnu dot org
--- Comment #23 from pault at gcc dot gnu dot org 2009-01-17 11:34 --- Fixed on trunk. Thanks for the report and sorry that it took so long to fix. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38657] [4.4, 4.3 Regression] PUBLIC/PRIVATE Common blocks

2009-01-17 Thread pault at gcc dot gnu dot org
--- Comment #15 from pault at gcc dot gnu dot org 2009-01-17 11:58 --- Subject: Bug 38657 Author: pault Date: Sat Jan 17 11:58:48 2009 New Revision: 143463 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143463 Log: 2009-01-17 Paul Thomas PR fortr

[Bug fortran/38907] [4.3/4.4 Regression ] ICE when contained function has same name as module function and used in expression

2009-01-19 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2009-01-19 23:08 --- Created an attachment (id=17148) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17148&action=view) A patch for the PR This regtests and bootstraps on FC9/x86_i64. I'll do ChangeLogs and so on tomor

[Bug fortran/38859] [4.3 Regression] ubound and lbound treat structure component references as whole arrays

2009-01-19 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2009-01-20 05:54 --- Ticked off 4.4...:-) Cheers Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38907] [4.3/4.4 Regression ] ICE when contained function has same name as module function and used in expression

2009-01-20 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2009-01-20 21:57 --- Subject: Bug 38907 Author: pault Date: Tue Jan 20 21:56:49 2009 New Revision: 143530 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143530 Log: 2009-01-20 Paul Thomas PR fortr

[Bug fortran/38907] [4.3 Regression ] ICE when contained function has same name as module function and used in expression

2009-01-20 Thread pault at gcc dot gnu dot org
--- Comment #9 from pault at gcc dot gnu dot org 2009-01-20 21:59 --- Fixed on trunk Thanks for the report. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38913] Fortran does not set TYPE_CANONICAL properly

2009-01-21 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2009-01-21 20:22 --- (In reply to comment #1) > http://gcc.gnu.org/ml/gcc-patches/2009-01/msg00937.html > Richard, I am not sure that any of the gfortran developers have the skills to deal with this. I read the words about can

[Bug fortran/38918] compile time error for DATA of NULL() to pointer structure component

2009-01-22 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2009-01-22 12:33 --- This has a trivial fix: expr.c: 2913 becomes if (have_pointer && lvalue->symtree->n.sym->attr.data) Sorry about the lack of a diff - I will remedy this on submission:-) paul -- pault at gc

[Bug fortran/38852] UBOUND fails for negative stride triplets

2009-01-22 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2009-01-22 12:39 --- (In reply to comment #4) > (In reply to comment #3) >In the latter case, it is non-empty if ubound > lbound only. Comparing > ubound and lbound according to the stride to check for zero-sized arra

[Bug fortran/38915] wrong results for structure assignment of character components when left and right sides overlap

2009-01-22 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2009-01-22 15:00 --- (In reply to comment #1) > Confirm. ICE with 4.1.x and 4.2.x and wrong code with 4.3.x and 4.4. > > Thanks for the report. > The character length is being incorrectly set to 1 for the failing assignme

[Bug fortran/38917] Can't use DATA to initialize pointer to array to NULL()

2009-01-22 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2009-01-22 20:16 --- I am just about to post a fix. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38918] compile time error for DATA of NULL() to pointer structure component

2009-01-24 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2009-01-24 12:53 --- Created an attachment (id=17174) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17174&action=view) Fix for the PR - OK'd http://gcc.gnu.org/ml/fortran/2009-01/msg00297.html 2009-01-22 Paul Thomas

[Bug fortran/38917] [Fix pending] Can't use DATA to initialize pointer to array to NULL()

2009-01-24 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2009-01-24 12:54 --- See PR38918 for fix -- pault at gcc dot gnu dot org changed: What|Removed |Added Summary

[Bug fortran/38852] UBOUND fails for negative stride triplets

2009-01-25 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2009-01-25 18:21 --- (In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #3) > > >In the latter case, it is non-empty if ubound > lbound only. Comparing > > ubound and lbound accor

[Bug fortran/38852] UBOUND fails for negative stride triplets

2009-01-25 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2009-01-25 21:08 --- Created an attachment (id=17182) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17182&action=view) A provisional patch for the PR It take back what I said previously:-) The attached bootstraps and regt

[Bug fortran/38657] [4.3 Regression] PUBLIC/PRIVATE Common blocks

2009-01-25 Thread pault at gcc dot gnu dot org
--- Comment #17 from pault at gcc dot gnu dot org 2009-01-26 05:12 --- Subject: Bug 38657 Author: pault Date: Mon Jan 26 05:12:03 2009 New Revision: 143669 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143669 Log: 2009-01-26 Paul Thomas PR fortr

[Bug fortran/38657] [4.3 Regression] PUBLIC/PRIVATE Common blocks

2009-01-25 Thread pault at gcc dot gnu dot org
--- Comment #18 from pault at gcc dot gnu dot org 2009-01-26 05:13 --- Fixed on trunk and 4.3 Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38859] [4.3 Regression] ubound and lbound treat structure component references as whole arrays

2009-01-25 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2009-01-26 05:43 --- Subject: Bug 38859 Author: pault Date: Mon Jan 26 05:43:44 2009 New Revision: 143670 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143670 Log: 2009-01-26 Mikael Morin PR fortr

[Bug fortran/38859] [4.3 Regression] ubound and lbound treat structure component references as whole arrays

2009-01-25 Thread pault at gcc dot gnu dot org
--- Comment #9 from pault at gcc dot gnu dot org 2009-01-26 05:44 --- Closed on trunk and 4.3. Once again, thanks for the report. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38907] [4.3 Regression ] ICE when contained function has same name as module function and used in expression

2009-01-25 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2009-01-26 06:15 --- Subject: Bug 38907 Author: pault Date: Mon Jan 26 06:15:41 2009 New Revision: 143671 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143671 Log: 2009-01-26 Paul Thomas PR fortr

[Bug fortran/38907] [4.3 Regression ] ICE when contained function has same name as module function and used in expression

2009-01-25 Thread pault at gcc dot gnu dot org
--- Comment #11 from pault at gcc dot gnu dot org 2009-01-26 06:16 --- Fixed on trunk and 4.3 Thanks for the report and thanks to Mikael for the fix. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38852] [Fix pending] UBOUND fails for negative stride triplets

2009-01-27 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2009-01-27 12:16 --- I have done most of the work on the corner cases and the fix below looks good. I am marking it as pending for temporary book-keeping purposes. Paul -- pault at gcc dot gnu dot org changed: What

[Bug fortran/37614] [Fix pending] Change position of padding for aligned COMMONs

2009-01-27 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2009-01-27 20:53 --- See http://gcc.gnu.org/ml/fortran/2009-01/msg00217.html and subsequent postings. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38915] [Fix pending] wrong results for structure assignment of character components when left and right sides overlap

2009-01-27 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2009-01-28 06:21 --- See http://gcc.gnu.org/ml/fortran/2009-01/msg00331.html -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38852] [Fix pending] UBOUND fails for negative stride triplets

2009-01-28 Thread pault at gcc dot gnu dot org
--- Comment #9 from pault at gcc dot gnu dot org 2009-01-28 17:31 --- *** Bug 39006 has been marked as a duplicate of this bug. *** -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/39006] Wrong result for array(:,ny:1:-1)) as actual argument (inverting order by negative strides)

2009-01-28 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2009-01-28 17:31 --- This is the same as PR38852 and the fix for that one works for this too. Paul *** This bug has been marked as a duplicate of 38852 *** -- pault at gcc dot gnu dot org changed: What|Removed

[Bug fortran/38852] [Fix pending] UBOUND fails for negative stride triplets

2009-01-28 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2009-01-28 17:33 --- Marked up the severity to that of PR39006. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38852] [Fix pending] UBOUND fails for negative stride triplets

2009-01-28 Thread pault at gcc dot gnu dot org
--- Comment #11 from pault at gcc dot gnu dot org 2009-01-28 20:52 --- Created an attachment (id=17204) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17204&action=view) Updated patch Following discussion on fortran list and #gfortran, a more restrictive test is

[Bug fortran/39006] Wrong result for array(:,ny:1:-1)) as actual argument (inverting order by negative strides)

2009-01-28 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2009-01-28 21:49 --- Subject: Bug 39006 Author: pault Date: Wed Jan 28 21:48:53 2009 New Revision: 143743 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143743 Log: 2009-01-28 Paul Thomas PR fortran/38852

[Bug fortran/38852] [Fix pending] UBOUND fails for negative stride triplets

2009-01-28 Thread pault at gcc dot gnu dot org
--- Comment #12 from pault at gcc dot gnu dot org 2009-01-28 21:49 --- Subject: Bug 38852 Author: pault Date: Wed Jan 28 21:48:53 2009 New Revision: 143743 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143743 Log: 2009-01-28 Paul Thomas PR fortran/38852

[Bug fortran/38852] [4.3] UBOUND fails for negative stride triplets

2009-01-28 Thread pault at gcc dot gnu dot org
--- Comment #13 from pault at gcc dot gnu dot org 2009-01-28 21:52 --- Fixed on trunk. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40011] Problems with -fwhole-file

2009-05-04 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2009-05-04 09:10 --- Dominique, Thanks for setting this up. I'll poll everybody involved for contributions and have assigned myself the bug(s). Cheers Paul -- pault at gcc dot gnu dot org changed: What|Re

[Bug fortran/40011] Problems with -fwhole-file

2009-05-04 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2009-05-04 09:29 --- see PR40006: allow type cheating for procedures with an implicit interface"" -- pault at gcc dot gnu dot org changed: What|Removed

[Bug fortran/40011] Problems with -fwhole-file

2009-05-04 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2009-05-04 09:31 --- ...and PR39896 : "ICE with -fwhole-file" -- pault at gcc dot gnu dot org changed: What|Removed

[Bug fortran/39896] ICE with -fwhole-file

2009-05-04 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2009-05-04 10:19 --- (In reply to comment #2) > It may be worth noting that there are no warnings in the application about > labels not being in the same block as the corresponding GOTO if compiled > without -fwhole-file, but if

[Bug fortran/39896] ICE with -fwhole-file

2009-05-04 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2009-05-04 10:31 --- > For some reason that I do not see right now, cs_base in resolve.c is not being > pushed or popped correctly. Ah yes! resolve_codes nulls out cs_base. The problem is fixed by storing cs_base before c

[Bug fortran/39896] ICE with -fwhole-file

2009-05-04 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2009-05-04 10:32 --- I guess that I should take it :-) Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40011] Problems with -fwhole-file

2009-05-05 Thread pault at gcc dot gnu dot org
--- Comment #13 from pault at gcc dot gnu dot org 2009-05-05 18:12 --- (In reply to comment #12) ...snip... > [ibook-dhum] f90/bug% a.out > 42 > 42 > Abort > This turns out to be the same bug as that which caused the segfault in gas_dyn.f90.

[Bug fortran/40018] [4.4/4.5 Regression] ICE in output_constructor

2009-05-06 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2009-05-06 20:46 --- This fixes it and is regtesting right now. Index: gcc/fortran/trans-array.c === --- gcc/fortran/trans-array.c (revision 147128) +++ gcc/fortran/trans

[Bug fortran/40018] [4.4/4.5 Regression] ICE in output_constructor

2009-05-06 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2009-05-07 04:44 --- (In reply to comment #5) > The patch in comment #4 fixes this pr, but gives: > > .*: internal compiler error: in fold_convert, at fold-const.c:2551 Yes... I went to bed when the regression test started sp

[Bug fortran/38863] WHERE with multiple elemental defined assignments gives wrong answer

2009-05-10 Thread pault at gcc dot gnu dot org
--- Comment #17 from pault at gcc dot gnu dot org 2009-05-10 07:23 --- Subject: Bug 38863 Author: pault Date: Sun May 10 07:23:30 2009 New Revision: 147329 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147329 Log: 2009-05-10 Paul Thomas PR fortr

[Bug fortran/38863] WHERE with multiple elemental defined assignments gives wrong answer

2009-05-10 Thread pault at gcc dot gnu dot org
--- Comment #18 from pault at gcc dot gnu dot org 2009-05-10 08:56 --- Problem in comment #1 is fixed on trunk. Cheers Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40018] [4.4/4.5 Regression] ICE in output_constructor

2009-05-10 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2009-05-10 10:21 --- Subject: Bug 40018 Author: pault Date: Sun May 10 10:21:08 2009 New Revision: 147331 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147331 Log: 2009-05-10 Paul Thomas PR fortr

[Bug fortran/40018] [4.4/4.5 Regression] ICE in output_constructor

2009-05-10 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2009-05-10 10:22 --- Subject: Bug 40018 Author: pault Date: Sun May 10 10:22:37 2009 New Revision: 147332 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147332 Log: 2009-05-10 Paul Thomas PR fortr

[Bug fortran/39879] [4.3/4.4 Regression] double free or corruption abort with gfortran

2009-05-10 Thread pault at gcc dot gnu dot org
--- Comment #13 from pault at gcc dot gnu dot org 2009-05-10 10:44 --- Subject: Bug 39879 Author: pault Date: Sun May 10 10:44:22 2009 New Revision: 147336 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147336 Log: 2009-05-10 Paul Thomas PR fortr

[Bug fortran/38863] WHERE with multiple elemental defined assignments gives wrong answer

2009-05-10 Thread pault at gcc dot gnu dot org
--- Comment #19 from pault at gcc dot gnu dot org 2009-05-10 15:35 --- Subject: Bug 38863 Author: pault Date: Sun May 10 15:34:55 2009 New Revision: 147345 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147345 Log: 2009-05-10 Paul Thomas PR fortr

[Bug fortran/39879] [4.3/4.4 Regression] double free or corruption abort with gfortran

2009-05-10 Thread pault at gcc dot gnu dot org
--- Comment #14 from pault at gcc dot gnu dot org 2009-05-10 16:09 --- Subject: Bug 39879 Author: pault Date: Sun May 10 16:09:02 2009 New Revision: 147346 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147346 Log: 2009-05-10 Paul Thomas PR fortr

[Bug fortran/39879] [4.3/4.4 Regression] double free or corruption abort with gfortran

2009-05-10 Thread pault at gcc dot gnu dot org
--- Comment #15 from pault at gcc dot gnu dot org 2009-05-10 16:09 --- Fixed on 4.3, 4.4 and 4.5 - thanks for the report. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40018] [4.4/4.5 Regression] ICE in output_constructor

2009-05-10 Thread pault at gcc dot gnu dot org
--- Comment #9 from pault at gcc dot gnu dot org 2009-05-10 16:14 --- Subject: Bug 40018 Author: pault Date: Sun May 10 16:14:37 2009 New Revision: 147347 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147347 Log: 2009-05-10 Paul Thomas PR fortr

[Bug fortran/40018] [4.4/4.5 Regression] ICE in output_constructor

2009-05-10 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2009-05-10 16:15 --- Fixed on trunk and 4.4 Thanks for the report Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40006] allow type cheating for procedures with an implicit interface

2009-05-11 Thread pault at gcc dot gnu dot org
--- Comment #9 from pault at gcc dot gnu dot org 2009-05-12 06:07 --- Since I am working on it, I had better take it :-) Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40167] wrong initialization of local variable in a recursive subroutine

2009-05-17 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2009-05-18 04:46 --- (In reply to comment #0) > In the following program, env%n should be equal to zero when entering the > routine "titi" but one gets the output : > > 10 0 >5 10 > > instead of

[Bug libfortran/40187] c_f_pointer with stride in SHAPE

2009-05-18 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2009-05-19 05:06 --- (In reply to comment #1) > Can you attach a working example? I failed to apply your patch and figure out > which diffed file is what. > Hi Tobias, It's a reversed diff! Hi Thomas, Works for me

[Bug fortran/40011] Problems with -fwhole-file

2009-05-22 Thread pault at gcc dot gnu dot org
--- Comment #19 from pault at gcc dot gnu dot org 2009-05-22 13:40 --- (In reply to comment #18) > the patch posted here: > http://gcc.gnu.org/ml/fortran/2009-05/msg00244.html > allows cp2k in its single source file form, 640klines as made available in > PR40005, to compile

[Bug fortran/40011] Problems with -fwhole-file

2009-05-29 Thread pault at gcc dot gnu dot org
--- Comment #24 from pault at gcc dot gnu dot org 2009-05-29 15:33 --- (In reply to comment #23) > I've added a 'related' PR40275 on -combine not working for Fortran. I think > that as soon as the -fwhole-file patch is added (default or not yet ;-) there > would

[Bug fortran/40011] Problems with -fwhole-file

2009-05-30 Thread pault at gcc dot gnu dot org
--- Comment #27 from pault at gcc dot gnu dot org 2009-05-30 08:27 --- (In reply to comment #25) > > types that are identical > I'm not sure this is related, but note comment #8. Even identical types are > not > identical, unless they are sequence type. Joo

[Bug fortran/40011] Problems with -fwhole-file

2009-06-01 Thread pault at gcc dot gnu dot org
--- Comment #28 from pault at gcc dot gnu dot org 2009-06-01 18:00 --- Created an attachment (id=17942) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17942&action=view) A progression of -fwhole-file This patch is as far as I have got. It incorporates module procedures a

[Bug fortran/40402] Problem with data statement involving structure constructors containing non-initialisation expressions

2009-06-10 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2009-06-11 05:27 --- Created an attachment (id=17980) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17980&action=view) Fix for the problem This regtests and bootstraps on trunk. Paul -- pault at gcc dot gnu dot org

[Bug fortran/40402] Problem with data statement involving structure constructors containing non-initialisation expressions

2009-06-10 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2009-06-11 06:21 --- (In reply to comment #2) I forgot to add that this demonstrates a proper fix. At the moment, it generates an extra, spurious error. I'll see if I cannot do a proper job tonight. Je vous remercie pour le ra

[Bug fortran/40402] Problem with data statement involving structure constructors containing non-initialisation expressions

2009-06-11 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2009-06-11 20:12 --- Subject: Bug 40402 Author: pault Date: Thu Jun 11 20:11:59 2009 New Revision: 148396 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148396 Log: 2009-06-11 Paul Thomas PR fortr

[Bug fortran/40413] [4.5 Regression] Internal error in connection with optimization and allocatable objects

2009-06-11 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2009-06-12 05:20 --- Confirmed on FC8/x86 running in a VMware on an XP professional machine if you get that:-) Anyway, it's not limited to Darwin nor to 64 bits. It's not present, as far as I can tell with gcc-4.

[Bug tree-optimization/40413] [4.5 Regression] Internal error in connection with optimization and allocatable objects

2009-06-13 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2009-06-13 15:52 --- (In reply to comment #6) Changing type :: polarization_t logical :: polarized = .false. integer :: spin_type = 0 integer :: multiplicity = 0 type(state_matrix_t) :: state end type

[Bug fortran/40443] Elemental procedure in genericl interface incorrectly selected in preference to specific procedure

2009-06-15 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2009-06-15 13:21 --- (In reply to comment #1) > Paul, I CC you as you are our generic-resolution expert. Well, gosh golly, that's a mantle that I did not seek:-) Note that my account at the CC address is no longer valid - I

[Bug fortran/40440] Automatic deallocation component of DT function return value

2009-06-18 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2009-06-18 09:44 --- (In reply to comment #5) > Juergen: Thanks for the report, but it is not a regression - it might not > crash > with 4.3 (or your 4.4) but I think that's just by chance. > > Paul, I think also t

[Bug fortran/40440] Automatic deallocation component of DT function return value

2009-06-18 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2009-06-18 20:51 --- (In reply to comment #8) > > I am not sure that your testcase should be allowed at all! I am not sure > > that > > I understand what it means. > > I think it is valid and not different

[Bug fortran/40440] Automatic deallocation component of DT function return value

2009-06-18 Thread pault at gcc dot gnu dot org
--- Comment #12 from pault at gcc dot gnu dot org 2009-06-19 00:20 --- Adding at trans-expr.c:2740 && !(e->symtree && e->symtree->n.sym->attr.pointer) eliminates the problem in the reduced testcase and allows the original testcase to run correctly.

[Bug fortran/40440] Automatic deallocation component of DT function return value

2009-06-19 Thread pault at gcc dot gnu dot org
--- Comment #13 from pault at gcc dot gnu dot org 2009-06-19 21:58 --- Subject: Bug 40440 Author: pault Date: Fri Jun 19 21:58:27 2009 New Revision: 148731 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148731 Log: 2009-06-19 Paul Thomas PR fortr

[Bug fortran/40402] Problem with data statement involving structure constructors containing non-initialisation expressions

2009-06-19 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2009-06-19 22:10 --- Subject: Bug 40402 Author: pault Date: Fri Jun 19 22:10:45 2009 New Revision: 148732 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148732 Log: 2009-06-20 Paul Thomas PR fortr

[Bug fortran/40402] Problem with data statement involving structure constructors containing non-initialisation expressions

2009-06-19 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2009-06-19 22:11 --- Fixed on trunk and 4.4. Thanks for the report Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/39800] Rejects PRIVATE TYPE as compont of local type declaration

2009-06-20 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2009-06-20 09:21 --- Subject: Bug 39800 Author: pault Date: Sat Jun 20 09:21:06 2009 New Revision: 148741 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148741 Log: 2009-06-20 Paul Thomas PR fortr

[Bug fortran/39800] Rejects PRIVATE TYPE as compont of local type declaration

2009-06-20 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2009-06-20 09:22 --- Fixed on trunk and 4.4. Thanks for the report. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40472] Simplification of spread intrinsic takes a long time

2009-06-20 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2009-06-20 09:58 --- This one must be fixed. When the upper limit on array simplification was removed, it was with initialization expressions in mind. In this case, the assignment compiles and runs at a sensible pace if there is no

[Bug fortran/40472] Simplification of spread intrinsic takes a long time

2009-06-20 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2009-06-20 10:00 --- (In reply to comment #3) > > Probably a duplicate of pr34554 > > Essentially yes, but the compile-time simplifier for spread (and others) was > introduced only recently. As I say above, this is not an

[Bug fortran/40443] Elemental procedure in genericl interface incorrectly selected in preference to specific procedure

2009-06-21 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2009-06-21 07:42 --- This should be relatively easy to fix - I have not looked yet but I am rather sure I know what to do and where to do it. Cheers Paul -- pault at gcc dot gnu dot org changed: What|Removed

[Bug fortran/40472] Simplification of spread intrinsic takes a long time

2009-06-21 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2009-06-22 04:39 --- Subject: Bug 40472 Author: pault Date: Mon Jun 22 04:39:40 2009 New Revision: 148775 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148775 Log: 2009-06-22 Paul Thomas PR fortr

[Bug fortran/40443] Elemental procedure in genericl interface incorrectly selected in preference to specific procedure

2009-06-21 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2009-06-22 04:41 --- Subject: Bug 40443 Author: pault Date: Mon Jun 22 04:41:10 2009 New Revision: 148776 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148776 Log: 2009-06-22 Paul Thomas PR fortr

[Bug fortran/40443] Elemental procedure in genericl interface incorrectly selected in preference to specific procedure

2009-06-21 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2009-06-22 04:42 --- Subject: Bug 40443 Author: pault Date: Mon Jun 22 04:41:53 2009 New Revision: 148777 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148777 Log: 2009-06-22 Paul Thomas PR fortr

[Bug fortran/40472] Simplification of spread intrinsic takes a long time

2009-06-21 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2009-06-22 04:48 --- (In reply to comment #6) > Paul, what's your point of view on replacing the linear list by the splay-tree > ('con_by_offset' in gfc_expr)? > I do not know enough about splay trees to

<    1   2   3   4   5   6   7   8   9   10   >