[Bug fortran/38066] bug6 ambiguous reference

2008-11-11 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2008-11-11 19:33 --- (In reply to comment #3) > I will go back to my lens design program. I will recreate the bug I am > seeing > and proceed from there. Once I do, should I submit a new bug report, if > necessary, or sho

[Bug fortran/38065] private/public confusion with a contained function

2008-11-11 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2008-11-11 14:28 --- (In reply to comment #6) > reduced: > > SUBROUTINE S1 > CONTAINS >TYPE(T1) FUNCTION F1() >END FUNCTION F1 > END SUBROUTINE S1 Error: PUBLIC function 'f1' at (1) cannot be

[Bug fortran/38065] private/public confusion with a contained function

2008-11-11 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2008-11-11 14:35 --- bug5a.tgz compiled successfully with the patch in comment 9. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38066] bug6 ambiguous reference

2008-11-11 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-11-11 15:25 --- > Error: Name 'getnullset' at (1) is an ambiguous reference to > 'getnullset' from module 'pbit4set' I have not yet checked the source, but other compilers give similar errors:

[Bug fortran/38065] private/public confusion with a contained function

2008-11-11 Thread burnus at gcc dot gnu dot org
--- Comment #12 from burnus at gcc dot gnu dot org 2008-11-12 07:00 --- Subject: Bug 38065 Author: burnus Date: Wed Nov 12 06:59:33 2008 New Revision: 141780 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141780 Log: 2008-11-12 Tobias Burnus <[EMAIL PROTECTED]&g

[Bug fortran/38065] private/public confusion with a contained function

2008-11-11 Thread burnus at gcc dot gnu dot org
--- Comment #13 from burnus at gcc dot gnu dot org 2008-11-12 07:02 --- FIXED on the trunk (4.4.0). -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38094] [4.4 regression] gfortran.dg/private_type_4.f90 -O doesn't work

2008-11-12 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-11-12 18:39 --- Subject: Bug 38094 Author: burnus Date: Wed Nov 12 18:38:08 2008 New Revision: 141798 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141798 Log: 2008-11-12 Tobias Burnus <[EMAIL PROTECTED]&

[Bug fortran/38065] private/public confusion with a contained function

2008-11-12 Thread burnus at gcc dot gnu dot org
--- Comment #14 from burnus at gcc dot gnu dot org 2008-11-12 18:39 --- Subject: Bug 38065 Author: burnus Date: Wed Nov 12 18:38:08 2008 New Revision: 141798 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141798 Log: 2008-11-12 Tobias Burnus <[EMAIL PROTECTED]&

[Bug fortran/38094] [4.4 regression] gfortran.dg/private_type_4.f90 -O doesn't work

2008-11-12 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2008-11-12 18:46 --- FIXED. -- burnus at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug fortran/38094] [4.4 regression] gfortran.dg/private_type_4.f90 -O doesn't work

2008-11-12 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2008-11-12 22:28 --- Subject: Bug 38094 Author: burnus Date: Wed Nov 12 22:27:10 2008 New Revision: 141811 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141811 Log: 2008-11-12 Tobias Burnus <[EMAIL PROTECTED]&g

[Bug fortran/38094] [4.4 regression] gfortran.dg/private_type_4.f90 -O doesn't work

2008-11-12 Thread burnus at gcc dot gnu dot org
--- Comment #11 from burnus at gcc dot gnu dot org 2008-11-12 22:29 --- (In reply to comment #5) > The test is still failing, now with two failures. One is due to the mismatch > between the expected error: "cannot be of PRIVATE type" and the actual one > "Fortr

[Bug fortran/38095] character ICE

2008-11-12 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2008-11-12 22:37 --- Looks as if the code is valid. Valgrind shows: ==2910== Invalid read of size 4 ==2910==at 0x4B1005: gfc_apply_interface_mapping_to_expr (trans-expr.c:1916) ==2910==by 0x4B6FBE: gfc_apply_interface_mapping

[Bug fortran/38095] character ICE

2008-11-12 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2008-11-12 23:42 --- Some debugging shows that sym->name is "same" and sym->attr.function == 1. Furthermore is arg1->expr_type == EXPR_FUNCTION and arg1->ts.cl->length == NULL. (For cross referencing: http://gc

[Bug fortran/38095] character ICE

2008-11-12 Thread burnus at gcc dot gnu dot org
--- Comment #11 from burnus at gcc dot gnu dot org 2008-11-12 23:45 --- (In reply to comment #8) > I tried to reduce the case. > This is probably unrelated to the original ICE though. Looks unrelated, but still should be fixed; I think ICE from comment 8 is a regression with r

[Bug libfortran/38097] I/O with blanks in exponent fails; blank="NULL", BN edit descriptor

2008-11-13 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-11-13 15:49 --- Jerry, can you have a look? Using ifort it prints: 2003.000 and it seems to be valid Fortran 95/2003. "10.7.6 BN and BZ editing" "The BN and BZ edit descriptors temporarily change (9.4.1) the blank

[Bug libfortran/37294] Namelist I/O to array character internal units

2008-11-13 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2008-11-13 15:55 --- Patch was: http://gcc.gnu.org/ml/fortran/2008-11/msg00080.html I'm not completely satisfied with the patch it will break code such as: character(50) :: line(2) namelist /stuff/ n, m n = 123 m = 456

[Bug fortran/38119] New: [4.4 Regression] character ICE in gfc_trans_create_temp_array

2008-11-14 Thread burnus at gcc dot gnu dot org
: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org BugsThisDependsOn: 38095 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38119

[Bug fortran/38119] [4.4 Regression] character ICE in gfc_trans_create_temp_array

2008-11-14 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-11-14 15:55 --- Works in 4.3.2, 4.2.1 and 4.1.3. Fails with 4.4. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38095] character ICE

2008-11-15 Thread burnus at gcc dot gnu dot org
--- Comment #12 from burnus at gcc dot gnu dot org 2008-11-15 10:33 --- (In reply to comment #11) > > I tried to reduce the case. > > This is probably unrelated to the original ICE though. > Looks unrelated, but still should be fixed; I think ICE from comment 8 is a &g

[Bug fortran/38122] "file already opened in another unit" error when opening /dev/null or /dev/tty twice

2008-11-15 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2008-11-15 10:42 --- > It's not a bug in my program. It's a bug in NONMEM VI. That is, assuming that > /dev/tty and /dev/null are files, which they're not. They're devices. > Regardless, it's code

[Bug fortran/38135] New: FORALL gives wrong result

2008-11-15 Thread burnus at gcc dot gnu dot org
gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38135

[Bug fortran/38135] FORALL gives wrong result

2008-11-15 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-11-15 16:10 --- Using A(1:N,1:N)=reshape(A(1:0,1),(/N,N/),reshape((/1/),(/N+1/),(/2/))) the program is a Fortran 95 program, which also works with NAG f95 and openf95. -> Blocking 32834 -- burnus at gcc dot gnu dot org chan

[Bug fortran/38095] character ICE

2008-11-15 Thread burnus at gcc dot gnu dot org
--- Comment #14 from burnus at gcc dot gnu dot org 2008-11-15 18:06 --- (In reply to comment #13) > > I filled PR38119 for that PR. > This is probably stupid but what is the difference between the two PRs? The program of comment 0 of this PR (PR 38095) gives an ICE with all

[Bug fortran/38137] New: MERGE: -fbounds-check runtime check for same string length

2008-11-15 Thread burnus at gcc dot gnu dot org
ing length Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus

[Bug fortran/31610] ICE with transfer, merge in gfc_conv_expr_descriptor

2008-11-15 Thread burnus at gcc dot gnu dot org
--- Comment #28 from burnus at gcc dot gnu dot org 2008-11-15 18:41 --- I think this PR can be closed - the ICEs are gone, the TODO item is gone and the missing warnings are tracked in PR 33037. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31610

[Bug fortran/38138] [4.4 Regression] Revision 141890 caused gfortran.dg/proc_decl_18.f90

2008-11-15 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-11-15 20:56 --- No crash or similar on my x86-64-linux, but valgrind shows: ==32084== Invalid read of size 1 ==32084==at 0x4824B0: gfc_commit_symbols (symbol.c:2824) ==32084==by 0x45D94C: accept_statement (parse.c:1503

[Bug fortran/38095] character ICE

2008-11-16 Thread burnus at gcc dot gnu dot org
--- Comment #16 from burnus at gcc dot gnu dot org 2008-11-16 14:21 --- Subject: Bug 38095 Author: burnus Date: Sun Nov 16 14:19:38 2008 New Revision: 141917 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141917 Log: 2008-11-16 Tobias Burnus <[EMAIL PROTECTED]&g

[Bug fortran/38095] character ICE

2008-11-16 Thread burnus at gcc dot gnu dot org
--- Comment #17 from burnus at gcc dot gnu dot org 2008-11-16 14:21 --- FIXED on the trunk (4.4.0). Thanks for the report! -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38160] New: C Binding: Kind parameter checking too strict and too late

2008-11-16 Thread burnus at gcc dot gnu dot org
ct and too late Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at g

[Bug fortran/38152] ICE for procedure pointer assignment

2008-11-16 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-11-17 00:01 --- (In reply to comment #2) > > By the way, the following also fails: > The error is fixed by the following trivial patch: Janus, do you plan to submit it? * * * Regarding the ICE, the following patch seem

[Bug fortran/38188] Inconsistent function results depending on irrelevant write statement

2008-11-19 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-11-20 07:20 --- > I don't think INF is the same as infinity. It is most like implict > declared variable with an undefined value. Exactly. With IMPLICIT NONE one sees that INF is an (implicitly typed) integer variable

[Bug libfortran/25830] [libgfortran] Optionally support multi-process locking

2008-11-20 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-11-20 15:52 --- Other compilers have the SHARE= specifier for OPEN and INQUIRE, e.g. Intel or HP. I'm not sure it is needed, but one could consider supporting it as well when implementing this option. http://www.intel.com/sof

[Bug fortran/38199] [4.4 regression] I/O performance

2008-11-20 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-11-20 15:56 --- Jerry, regarding the suggestion in comment 2: Do you see that we can do there some optimization, esp. when reading a number or with "*" a string (for '(a)' one presumably cannot do any optimiza

[Bug fortran/38205] New: Tranformational function SUM rejected in initialization expressions

2008-11-20 Thread burnus at gcc dot gnu dot org
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38205

[Bug fortran/38184] invariant RESHAPE not expanded if SOURCE is empty

2008-11-20 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-11-20 23:00 --- Another test case is the following program (fixed by your patch): http://groups.google.com/group/comp.lang.fortran/msg/2119be02dcf93517 How about packaging your patch and submitting it? -- burnus at gcc dot gnu

[Bug fortran/38160] C Binding: Kind parameter checking too strict and too late

2008-11-22 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-11-22 18:19 --- Subject: Bug 38160 Author: burnus Date: Sat Nov 22 18:18:05 2008 New Revision: 142124 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142124 Log: 2008-11-22 Tobias Burnus <[EMAIL PROTECTED]&g

[Bug fortran/38160] C Binding: Kind parameter checking too strict and too late

2008-11-22 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-11-22 18:28 --- FIXED on the trunk (4.4.0). -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/37779] Missing RECURSIVE not detected

2008-11-22 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-11-22 19:03 --- Another code which is not rejected. If the parent procedure is called by a contained procedure there must be a recursion: subroutine test() call sub() contains subroutine sub() call test() end subroutine

[Bug fortran/37779] Missing RECURSIVE not detected

2008-11-22 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-11-22 21:40 --- Before closing, one should check whether a recursive-related bug remains for http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/e0d04d755453a2a5 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug fortran/38205] Tranformational function SUM rejected in initialization expressions

2008-11-22 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-11-22 21:41 --- See also James' new c.l.f post: http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/e0d04d755453a2a5 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38205

[Bug fortran/38152] ICE for procedure pointer assignment

2008-11-22 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2008-11-22 21:42 --- See also test cases at: http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/e0d04d755453a2a5 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38152

[Bug fortran/35681] wrong result for vector subscripted array expression in MVBITS

2008-11-23 Thread burnus at gcc dot gnu dot org
--- Comment #20 from burnus at gcc dot gnu dot org 2008-11-23 19:07 --- Mikael, Daniel: Have I missed something or is everything in this PR fixed in 4.4 ("trunk") and only some 4.3 back porting is needed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35681

[Bug fortran/38248] Fatal Error: Reading module mmm: Expected left parenthesis

2008-11-24 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-11-24 16:20 --- The error message looks as if you are mixing a gfortran 4.3 compiled .mod file with a gfortran 4.4 compiler (or vice versa). While the gfortran 4.3 compiled *.o/*.so/*.a files are supposed to be compatible with 4.4&#

[Bug fortran/38247] problem with contained subprocedure.

2008-11-24 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2008-11-24 16:22 --- To add: There is currently a build problem for the linux 32bit version of the gfortran nightlies; thus there has been no newer build since about one month. -- burnus at gcc dot gnu dot org changed

[Bug fortran/38249] read(*,*) seems to have broken

2008-11-24 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-11-24 17:07 --- Regarding : Standard Fortran does not allow tabs, as extension gfortran does. Thus you do not need to change the code (though it does not harm to be standard compliant - that is what the warning tells you). But one

[Bug fortran/38252] [4.4 Regression] Empty function with CONTAINS triggers Internal Error

2008-11-24 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 Summary|Empty function with CONTAINS|[4.4 Regression

[Bug fortran/38248] Ignored temporary module files manipulation errors

2008-11-25 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2008-11-25 12:53 --- Subject: Bug 38248 Author: burnus Date: Tue Nov 25 12:51:44 2008 New Revision: 142190 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142190 Log: 2008-11-25 Jan Kratochvil <[EMAIL PROTECTED]&g

[Bug fortran/38259] New: Add version number to .mod file

2008-11-25 Thread burnus at gcc dot gnu dot org
Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38259

[Bug fortran/38273] New: Cray pointers: Document that

2008-11-26 Thread burnus at gcc dot gnu dot org
Version: 4.4.0 Status: UNCONFIRMED Keywords: documentation Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38273

[Bug fortran/38205] Tranformational function SUM rejected in initialization expressions

2008-11-26 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2008-11-26 13:50 --- I think that patch is not enough (though useful!). I think one needs to add a gfc_simplify_sum to simplify.c and replace then the NULL by the function name in intrinsic.c for "sum". Possibly as well for

[Bug fortran/38205] Tranformational function SUM rejected in initialization expressions

2008-11-26 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2008-11-26 16:52 --- > I think that patch is not enough (though useful!). I think one needs to add a > gfc_simplify_sum to simplify.c One probably needs an auxiliary function which iterates through an array either along

[Bug fortran/38285] New: Wrong I/O output: Interaction between F and P for output

2008-11-27 Thread burnus at gcc dot gnu dot org
: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38285

[Bug fortran/38285] Wrong I/O output: Interaction between F and P for output

2008-11-27 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-11-27 09:37 --- This is a regression with regards to g77. The email itself (for completeness): http://j3-fortran.org/pipermail/j3/2008-November/002084.html The problem only occurs for a d (Fw.d) of "0", for, e.g.

[Bug fortran/38282] Add the remaining HPF bit intrinsics

2008-11-27 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-11-27 11:14 --- (In reply to comment #0) > POPCNT and POPPAR are present in many other compilers And (even) more interestingly they are part of the Fortran 2008 Candidate Release (as you also mentioned): 13.7.128 POPCNT

[Bug fortran/34143] alloc_comp_constructor.f90 fails with -fdefault-integer-8

2008-11-27 Thread burnus at gcc dot gnu dot org
--- Comment #15 from burnus at gcc dot gnu dot org 2008-11-27 13:21 --- I think PR is fixed on the trunk (4.4) [-> back porting?], except of the issue of comment 13 (-> different PR?). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34143

[Bug fortran/32795] allocatable components are nullified prematurely

2008-11-27 Thread burnus at gcc dot gnu dot org
--- Comment #16 from burnus at gcc dot gnu dot org 2008-11-27 13:24 --- (Most problems have been fixed, except of the one in comment 0.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32795

[Bug fortran/38289] New: "procedure( ), pointer" rejected

2008-11-27 Thread burnus at gcc dot gnu dot org
Summary: "procedure( ), pointer" rejected Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org

[Bug fortran/38290] New: ICE with invalid proc-pointer

2008-11-27 Thread burnus at gcc dot gnu dot org
Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38290

[Bug fortran/38289] "procedure( ), pointer" rejected

2008-11-27 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-11-27 13:44 --- Something for you? -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38291] New: Rejects I/O with POS= if FMT=*

2008-11-27 Thread burnus at gcc dot gnu dot org
nu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38291

[Bug fortran/36463] gfc_get_default_type(): Bad symbol

2008-11-28 Thread burnus at gcc dot gnu dot org
--- Comment #20 from burnus at gcc dot gnu dot org 2008-11-28 12:52 --- (In reply to comment #19) > Since comment #13 is fixed, this should not be labeled a regression any more I > guess. Are there still problems with comment #12 (apart from PR35810), or can > we close this PR?

[Bug fortran/37131] inline matmul for small matrix sizes

2008-11-29 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2008-11-29 16:18 --- (In reply to comment #4) > Timings on x86_64-unknown-linux-gnu: > matmul =12.840802 s > subroutine without explicit interface: 0.88805580 s > subroutine with explicit interface: 0.876

[Bug middle-end/38336] New: fold_builtin_memory_op generates invalid GIMPLE

2008-11-30 Thread burnus at gcc dot gnu dot org
Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38336

[Bug fortran/38291] Rejects I/O with POS= if FMT=*

2008-11-30 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-12-01 06:44 --- > read( 50, *, pos = 1 ) > is valid only if the unit has been connected for STREAM access. Well, (a) I don't see how this can be tested at compile time and (b) I thought that open(50,access='stre

[Bug fortran/38291] Rejects I/O with POS= if FMT=*

2008-12-01 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2008-12-01 16:40 --- (In reply to comment #4) > > > So the read statement by itself is invalid. > > ??? > > I was testing with and without the open statement in the test case and saw > that we were not catchin

[Bug fortran/38351] poor error message

2008-12-01 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-12-01 16:48 --- The best message other compilers had are: a) NAG f95: Error: fgjf.f90, line 15: No specific match for reference to operator + Error: fgjf.f90, line 15: Incompatible data types for the + operator

[Bug fortran/38386] New: Update BIND(C,name= checking for Fortran 2008

2008-12-03 Thread burnus at gcc dot gnu dot org
n the case of a separate binding label, that rule is being changed in Fortran 2008 to be the way you want it. If there is a separate binding label then the procedure's name becomes a local name, not external. -- Summary: Update BIND(C,name= checking for Fortran 2008 Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38386

[Bug fortran/38382] Open(Unit=6 fails

2008-12-03 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-12-03 16:49 --- If you write: OPEN(UNIT=OUTPUT_UNIT, FILE="foo.dat") then you want that all output to the OUTPUT_UNIT is written to the file "foo.dat". And a asterix UNIT=* in a PRINT or WRITE statement den

[Bug fortran/38389] New: (DE)ALLOCATE compile time check for same variable

2008-12-03 Thread burnus at gcc dot gnu dot org
Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: diagnostic Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org

[Bug fortran/36457] preprocessing: option -idirafter undefined for fortran

2008-12-03 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-12-04 07:07 --- > I can kill this warning if I invoke gfortran with -nostdinc. But won't that break programs which use e.g. include "netcdf.inc" which is in /usr/include/netcdf.inc ? -- http://gcc.gnu.org/bug

[Bug fortran/38398] New: g0.w edit descriptor: Update for F2008 Tokyo meeting changes

2008-12-04 Thread burnus at gcc dot gnu dot org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38398

[Bug fortran/38398] g0.w edit descriptor: Update for F2008 Tokyo meeting changes

2008-12-04 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-12-04 12:32 --- Jerry, I've created this PR to make sure it won't get forgotten. -- burnus at gcc dot gnu dot org changed: What|Removed

[Bug fortran/38425] New: I/O: POS= compile-time diagnostics

2008-12-06 Thread burnus at gcc dot gnu dot org
ned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38425

[Bug fortran/38290] procedure pointer assignment checking

2008-12-06 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2008-12-06 12:25 --- Check backed out in PR 38415, cf. http://gcc.gnu.org/ml/fortran/2008-12/msg00089.html "I'm afraid I'll have to remove the gfc_compare_interfaces check in gfc_check_pointer_assign again, since I just

[Bug fortran/38432] New: Add warning for endless loops

2008-12-06 Thread burnus at gcc dot gnu dot org
: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38432

[Bug fortran/38432] Add warning for loops which are never executed

2008-12-06 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-12-06 22:18 --- I wanted to write: That loop will never be run, sorry for the miswording. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38439] New: I/O PD edit descriptor inconsistency

2008-12-07 Thread burnus at gcc dot gnu dot org
mponent: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38439

[Bug fortran/35707] Search /usr/local/include and /usr/include for .mod files

2008-12-08 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2008-12-08 11:33 --- (In reply to comment #6) > To add the default paths defined in gcc/cppdefault.c (cpp_include_defaults) to > the module/INCLUDE search path, one could clone gcc/incpath.c > (add_standard_paths)

[Bug fortran/37829] ICE in resolve_symbol

2008-12-09 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2008-12-09 17:28 --- (In reply to comment #4) > For example, I tried to adapt the testcase in PR 33295 to the c_funloc case. > The resulting program is rejected with the following error: > Error: Can'

[Bug fortran/38471] New: [4.3/4.4 Regression] ICE on pointer assignment of nested derived-type component

2008-12-10 Thread burnus at gcc dot gnu dot org
ed-type component Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc

[Bug fortran/38471] [4.3/4.4 Regression] ICE on pointer assignment of nested derived-type component

2008-12-10 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-12-10 15:35 --- More information. The problem is: GFC_DECL_SPAN(decl) which accesses DECL_LANG_SPECIFIC(node)->span however, DECL_LANG_SPECIFIC(node) == NULL as can be seen below. (gdb) p decl->decl_common.lang_specif

[Bug fortran/38471] [4.3/4.4 Regression] ICE with subreference pointer

2008-12-10 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-12-10 18:08 --- Paul, do you have an idea? span is set in trans-decl.c's gfc_get_symbol_decl: if (sym->attr.subref_array_pointer) { [...] GFC_DECL_SPAN (decl) = span; I wondered wh

[Bug fortran/38471] [4.3/4.4 Regression] ICE with subreference pointer where pointer is a DUMMY argument

2008-12-10 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-12-10 18:25 --- OK. I found it, though I'm not sure yet how to solve it best (maybe something else needs to be moved up as well?) - and I won't have time to work on this the next day(s?). gfc_get_symbol_decl (gfc_sy

[Bug fortran/38471] [4.3/4.4 Regression] ICE with subreference pointer assignment

2008-12-11 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2008-12-11 10:12 --- integer, dimension(:), pointer :: ipn ipn=>sorb%i%j I tried it with ipn being no dummy argument and it crashes as well. And I forgot to write the name of the initial reporter in comment 0. The credit

[Bug fortran/38487] Bogus Warning: INTENT(INOUT) actual argument might interfere with actual argument

2008-12-11 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-12-11 16:07 --- Mikael added this as part of PR 35681 with check in http://gcc.gnu.org/viewcvs?view=rev&revision=141931 See: http://gcc.gnu.org/viewcvs/trunk/gcc/fortran/dependency.c?r1=141931&r2=141930&pathrev=141931

[Bug fortran/34640] ICE when assigning item of a derived-component to a pointer

2008-12-11 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2008-12-11 16:13 --- As fj pointed out: PR 38471 might be a duplicate of this PR. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34640

[Bug fortran/38471] [4.3/4.4 Regression] ICE with subreference pointer assignment

2008-12-11 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2008-12-11 16:18 --- Created an attachment (id=16885) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16885&action=view) pointer_assign_7.f90 - a test cae As fj pointed out: This PR might be a duplicate of PR 34640. The patc

[Bug fortran/38506] New: Character storage association - actual <-> dummy argument

2008-12-12 Thread burnus at gcc dot gnu dot org
al <-> dummy argument Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: rejects-valid, diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38506

[Bug fortran/36771] Non-Standard addition for C_LOC and character strings

2008-12-12 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-12-12 16:19 --- I have the gut feeling that the program in comment 1 is valid, even though gfortran, g95, ifort and NAG f95 reject it. See PR 38506. Regarding the c_loc: I think that should be possible; I'm not 100% sure wh

[Bug fortran/38507] Bogus Warning: Deleted feature: GOTO jumps to END of construct

2008-12-12 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-12-12 22:28 --- What is about the obsolescent DO related part? Do we need to do something there (from F95, B.2): "Shared DO termination and termination on a statement other than END DO or CONTINUE — use an END DO or a CON

[Bug tree-optimization/38515] New: Disabling PPL/CLOOG with configure does not work

2008-12-13 Thread burnus at gcc dot gnu dot org
: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug fortran/38504] double minus sign when printing integer?

2008-12-13 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2008-12-13 11:19 --- For completeness, on my x86-64-linux system I get with 4.4.0, 4.3.0 and with openSUSE binaries (4.1, 4.2, 4.3, 4.4) always a single "-". Hmm, OK found something: With -m32 I get "--" but with

[Bug fortran/38506] -std=f*: Reject scalar character to array dummy in several cases

2008-12-15 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-12-15 09:44 --- Answer by Bader: "For generics, the "R" part of the TKR rule applies, which prohibits *both* above cases." => gfortran does it right. (I'm not fully convinced, but I buy this.) Diag

[Bug fortran/36771] Non-Standard addition for C_LOC and character strings

2008-12-15 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-12-15 10:48 --- I think the patch in comment 2 is about the wrong gfc_error. Additionally, the generic resolution seems to be correct in gfortran (-> PR 38506). * * * In any case: I tried ifort, g95, NAG f95, gfortran, and sun

[Bug fortran/38536] New: ICE with C_LOC in resolve.c due to not properly going through expr->ref

2008-12-15 Thread burnus at gcc dot gnu dot org
Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38536

[Bug fortran/36771] Non-Standard addition for C_LOC and character strings

2008-12-15 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2008-12-15 20:35 --- (In reply to comment #4) > > In any case: I tried ifort, g95, NAG f95, gfortran, and sunf95 > > - of these only "ifort" allows it > > as you said using C_LOC(X(1:1)) works fine and t

[Bug fortran/31822] Missing run-time bound checks for character pointer => target

2008-12-17 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-12-17 09:46 --- For completeness: The compile-time check works in gfortran character(len=10), target :: str character(len=5), pointer :: ptr ptr => str end Error: Different character lengths in pointer assignment at

[Bug fortran/31822] Missing run-time bound checks for character pointer => target

2008-12-17 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-12-17 09:56 --- For Fortran 97 I found it; it is in the first sentence after the "Contrain:"s "The target shall have the same type parameters as the pointer-object" For Fortran 2003 I'm still searching (

[Bug fortran/38568] New: ICE with invalid bounds for I/O FMT= array

2008-12-18 Thread burnus at gcc dot gnu dot org
ds: ice-on-invalid-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38568

[Bug fortran/38594] [4.4 Regression] module function name mangled improperly if contained function of same name exists

2008-12-25 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-12-25 18:07 --- > Works with 4.3: Well, not really. gfortran 4.1/4.2/4.3 only call the module procedure, but for "call f()" the contained procedure should be called, which does not work with 4.[1-3]. -- burnus a

  1   2   3   4   5   6   7   8   9   10   >