[Bug fortran/31295] New: Uninitialized variable in libgfortran's _gfortran_eoshift0_4

2007-03-21 Thread burnus at gcc dot gnu dot org
tatus: UNCONFIRMED Keywords: wrong-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=31295

[Bug fortran/31298] New: Uninitialized variable in f951 (in read_module)

2007-03-21 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=31298

[Bug fortran/31266] Spurious(?) warning about character truncation

2007-03-21 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1

[Bug fortran/31265] Rejects valid with -std=f95: Error with RESHAPE on REAL initialization

2007-03-21 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1

[Bug fortran/31210] wrong code generated: character MERGE(...) with MASK=.false.

2007-03-21 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-03-21 17:05 --- "new" seems to be ok (should_write_tags=.true.) but new2 contains only garbage. -- burnus at gcc dot gnu dot org changed: What|Removed

[Bug fortran/31200] wrong code: procedure call with pointer-returning-function as argument

2007-03-21 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-03-21 17:13 --- *** Bug 31211 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31200

[Bug fortran/31211] wrong code generated for pointer returning function as actual argument

2007-03-21 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-03-21 17:13 --- The following code is wrong, if cp_get_default_logger returns NULL. struct cp_logger_type D.1364; D.1364 = *cp_get_default_logger (); cp_logger_log (&&D.1364); *** This bug has been mar

[Bug fortran/31213] ICE on valid code with gfortran

2007-03-21 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-03-21 17:15 --- aad.f90: In function 'tricky': aad.f90:24: internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:877 Compiles with NAG f95 and g95, ICEs with ifort and sunf95. -- burnus at gcc dot g

[Bug fortran/31299] getlog returns blanks when not run from the command prompt

2007-03-21 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-03-21 17:27 --- I can reproduce this. With g95 it shows also with nohup the login, whereas with gfortran, sunf95 and ifort it does not. gfortran calls: char *getlogin(void) g95 calls: getpwuid(getuid())->pw_name -- h

[Bug fortran/31299] getlog returns blanks when not run from the command prompt

2007-03-21 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2007-03-21 18:02 --- (In reply to comment #5) > Anyways this is a bug with coreutils. > coreutils 5.2.1's nohup works > coreutils 5.93's nohup does not. > You should report this bug to them. I reported it now, cf

[Bug fortran/30146] Redefining do-variable in excecution cycle

2007-03-21 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-03-21 19:07 --- (In reply to comment #3) > The following program causes an infinite loop in gfortran, but not in other > fortrans. The program is plainly invalid as one redefines the DO thus your Fortran compiler is free to d

[Bug fortran/31301] New: Extremely long compilation time

2007-03-21 Thread burnus at gcc dot gnu dot org
Version: 4.3.0 Status: UNCONFIRMED Keywords: compile-time-hog 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

[Bug fortran/31301] Extremely long compilation time

2007-03-21 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-03-21 21:56 --- *** This bug has been marked as a duplicate of 20923 *** -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/20923] Compile time is high for the following code

2007-03-21 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2007-03-21 21:56 --- *** Bug 31301 has been marked as a duplicate of this bug. *** -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/30940] Fortran 2003: Scalar CHARACTER supplied to array dummy

2007-03-21 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-03-21 22:31 --- Richard Main wrote in http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/5e91eb94c1ea71ec/ See Notes 15.29 and 15.23 for a (bried) explanation and example of exactly this. I knoew this was an

[Bug fortran/30876] Array valued recursive function rejected

2007-03-21 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2007-03-22 07:41 --- (In reply to comment #5) > Then, the following should be invalid and rejected, shouldn't it? > recursive function f(i) > integer :: f, i > f = 0 > if (i > 0) f = f(i-1) + 1 > end f

[Bug fortran/31299] getlog returns blanks when not run from the command prompt

2007-03-21 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2007-03-22 07:42 --- Close as Won't Fix -- burnus at gcc dot gnu dot org changed: What|Removed |

[Bug fortran/31299] Use getpwuid(geteuid()) instead of getlogin() for GETLOG()

2007-03-22 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2007-03-22 09:36 --- Bob Proulx wrote at bugs-coreutils@ > Regardless of that I think it would be better if the program calling > getlogin() avoided using it since using the utmp file for this > accounting is often a

[Bug fortran/31310] gfortran is missing -fcase-preserve option

2007-03-22 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-03-22 13:05 --- > Or a workaround / new method for mixed case functions calls from gfortran > to C. In the Fortran-Experiments branch exists support for C bindings: subroutine fortranname bind(C,name='C_Name')

[Bug fortran/27589] Add compiler flag to check for uninitalized values at runtime

2007-03-22 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-03-22 22:20 --- There are actually two run-time tests possible: a) Check only local variables (What to do about actual arguments to intent(in) dummy arguments? In the most cases this is wrong, however foo(read_argument=.false.,arg

[Bug fortran/29616] Run-time check using nullified pointers and deallocated variables

2007-03-22 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-03-22 22:30 --- Besides pointers, the same is also true for deallocated variables, only that the unknown state does not exist. (Idea taken from 31318) > I think there are essentially two problems possible with pointers: &

[Bug fortran/31318] Run-time check for using deallocated variables

2007-03-22 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-03-22 22:32 --- This is related to 29616 (same for nullified pointers). As the test is essentially the same, I added a comment there and close this PR as duplicate. Thanks for the idea though it will likely take a while until it

[Bug fortran/29616] Run-time check using nullified pointers and deallocated variables

2007-03-22 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-03-22 22:32 --- *** Bug 31318 has been marked as a duplicate of this bug. *** -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31320] New: Illegal read with gfortran.dg/alloc_comp_assign_2.f90 and *_3.f90

2007-03-22 Thread burnus at gcc dot gnu dot org
ran.dg/alloc_comp_assign_2.f90 and *_3.f90 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org

[Bug fortran/30933] intrinsic: EXIT

2007-03-31 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2007-03-31 18:34 --- Author: burnus Date: Sat Mar 31 18:30:11 2007 New Revision: 123385 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123385 Log: 2007-03-31 Tobias Burnus <[EMAIL PROTECTED]>

[Bug fortran/31298] Uninitialized variable in f951 (in read_module)

2007-03-31 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-03-31 22:51 --- Created an attachment (id=13312) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13312&action=view) Preliminary patch > Valgrind gives no error related to uninitialized when compiling with gfortran. I

[Bug fortran/31404] ICE len_trim(array) in initialization

2007-03-31 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1

[Bug fortran/31395] Colon edit descriptor is ignored unless preceded by a comma or a slash

2007-03-31 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-03-31 23:01 --- Confirmed: "C1002 (R1002) The comma used to separate format-items in a format-item-list may be omitted [...] (4) Before or after a colon edit descriptor (10.7.3)" -- burnus at gcc dot gnu dot o

[Bug fortran/30973] [4.1, 4.2 only] undetected name conflict: variables may be named like modules

2007-03-31 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2007-03-31 23:05 --- No regression, no serious bug -> won't fix in 4.2 -> close. -- burnus at gcc dot gnu dot org changed: What|Removed

[Bug libfortran/31099] [4.3/4.2 regression] Runtime error on legal code using RECL

2007-04-02 Thread burnus at gcc dot gnu dot org
--- Comment #18 from burnus at gcc dot gnu dot org 2007-04-02 22:49 --- Is this PR fixed or not? Looking at the initial and the additional example, it seems to be fixed both in 4.2 and in 4.3. Can this PR be closed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31099

[Bug fortran/31427] When I compile the following program I get the message "GNU MP: Cannot reallocate memory"

2007-04-02 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-04-02 23:10 --- Hmm, I cannot reproduce this on x86_64-unknown-linux-gnu/openSUSE 10.2 with either gcc 4.2 (vanilla) nor with gcc 4.3 (current SVN, very mildly patched) and with neither -m32 nor -m64 running under valgrind. (This is

[Bug fortran/29899] [Segfault] Fortran entry point caught from C function

2007-04-02 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-04-02 23:28 --- > You can found the complete ranlux.f subroutine at > http://www.systella.fr/~bertrand/rpl2/download/rpl-4.00pre8q.tar.bz2 The program does not compile for me: gfortran ./src/fonctions_speciales.conv.f90

[Bug fortran/31427] TRANSFER with mold kind /= lval kind: ICE on ia64, i686; no warning

2007-04-03 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2007-04-03 17:54 --- Could you try the following code in ia64 and i686? PROGRAM test INTEGER(KIND=1) :: i(1) i = (/ TRANSFER("a", 0_1) /) print *, i END PROGRAM test I think this will compile and print "97". Is thi

[Bug fortran/31466] spurious error message when inner parentheses of a FORMAT statement are empty

2007-04-03 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-03 21:58 --- I believe this bug is invalid as the format string is invalid. NAG f95 also claims: *** Malformed format specification Reasoning: R1001 format-stmt is FORMAT format-specification R1002 format-specification is

[Bug fortran/31465] spurious error: Implicitly typed PARAMETER doesn't match a later IMPLICIT type

2007-04-04 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-04-04 15:47 --- Note: NAG f95 has the error: Error: foo.f90, line 7: IMPLICIT setting for letter C changed after use in TEST Errors in declarations, no further processing for TEST I think strictly speaking, NAG f95 is right

[Bug fortran/31470] A program with an empty CONTAINS block is illegal, but gfortran accepts it

2007-04-04 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-04 17:35 --- > A program with an empty CONTAINS block is illegal Well, this is a matter of arguments. It is invalid in Fortran 90, 95 and 2003. But it is allowed in the current draft for Fortran 2008. Therefore, we decided

[Bug fortran/31471] gfortran does not detect a labeled FORALL with an unlabeled END FORALL

2007-04-04 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-04 17:39 --- Confirm. If one uses DO or uses a wrong label, gfortran works correctly. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31471] gfortran does not detect a labeled FORALL with an unlabeled END FORALL

2007-04-04 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-04-04 17:41 --- C732 (R758) If the forall-construct-stmt has a forall-construct-name, the end-forall-stmt shall have the same forall-construct-name. If the end-forall-stmt has a forall-construct-name, the forall-construct-stmt shall

[Bug fortran/31465] spurious error: Implicitly typed PARAMETER doesn't match a later IMPLICIT type

2007-04-04 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-04-04 17:48 --- >From the standard: "5.2.9 PARAMETER statement [...] The named constant shall have its type, type parameters, and shape specified in a prior specification of the specification-part or declared implicitly (

[Bug fortran/31472] gfortran does not detect the illegal use of an access specification in a program, subroutine, or function

2007-04-04 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-04 18:47 --- Accepted. Thanks for the report. We do check for this but only for the PRIVATE/PUBLIC attribute and not for the PUBLIC/PRIVATE statement. Patch: Index: gcc/fortran/decl.c

[Bug fortran/31473] gfortran does not detect duplicate EXTERNAL or INTRINSIC declarations

2007-04-04 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-04 18:57 --- Confirmed. Thanks for the report. gfc_add_external and gfc_add_intrinsic do actually the right thing. However, they are not used in decl.c's gfc_match_external: gfc_clear_attr (¤t_attr); current_attr.ext

[Bug fortran/31474] ENTRY & procedural pointer: insert_bbt(): Duplicate key found!

2007-04-04 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-04 20:47 --- The problem seems to occur with procedure pointers to ENTRY points -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/26227] accepts invalid fortran, different dummy types/number

2007-04-05 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2007-04-05 13:27 --- This probably will work automatically if inter-file checking is implemented, but if not, here is an invalid example which should be rejected: - SUBROUTINE PHLOAD (READER,*) IMPLICIT NONE

[Bug fortran/31472] gfortran does not detect the illegal use of an access specification in a program, subroutine, or function

2007-04-05 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-04-05 14:13 --- The patch is wrong since the PRIVATE/PUBLIC statement is also allowed for type: module foo type t private integer, public :: foo end type t end module foo Actually, currently gfortran also invalidly rejects the

[Bug fortran/31519] spurious ICE messages when module does not compile

2007-04-09 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-10 07:12 --- With 4.3.0 20070404/x86_64-unknown-linux-gnu I don't get the ICE - and no problem is discovered using valgrind. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31519

[Bug fortran/31515] internal compiler segmentation fault

2007-04-09 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-04-10 07:41 --- I can reproduce the crash with GCC/gfortran 4.1, but not with 4.2 or 4.3. GCC 4.3 is the current developer version which gets all the fixes. GCC 4.2 and 4.1 are open only for regressions; some of the fixes are also

[Bug c/31527] New: Provide complex.h for cygwin platform (C99 complex support)

2007-04-10 Thread burnus at gcc dot gnu dot org
support) Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http

[Bug testsuite/31240] gfortran.dg/pointer_intent_1.f90 failure at -O0

2007-04-10 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-04-10 19:26 --- Accept. I somehow missed the email/PR while reading all the messages after a conference. Patch at: http://gcc.gnu.org/ml/fortran/2007-04/msg00105.html (In reply to comment #1) > xlf yields a bus error with

[Bug testsuite/31240] gfortran.dg/pointer_intent_1.f90 failure at -O0

2007-04-11 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-04-11 08:29 --- Subject: Bug 31240 Author: burnus Date: Wed Apr 11 08:28:49 2007 New Revision: 123712 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123712 Log: 2007-04-11 Tobias Burnus <[EMAIL PROTECTED]&

[Bug testsuite/31240] gfortran.dg/pointer_intent_1.f90 failure at -O0

2007-04-11 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-04-11 08:29 --- Fixed. Thanks for the report. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/31256] Reading from /dev/zero hangs

2007-04-11 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-11 08:42 --- g95 and sunf95 also hang; NAG f95 quits with the error message: "Record too long for input buffer Program terminated by I/O error on unit 10 File="/dev/zero",Formatted,Sequential)" (Thanks for tr

[Bug fortran/31472] gfortran does not detect the illegal use of an access specification in a program, subroutine, or function

2007-04-11 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-04-11 09:44 --- Fortran 95 -- 4.4.1 Derived-type definition TYPE [ [ , access-spec ] :: ] type-name [ private-sequence-stmt ] ! no PUBLIC! access spec & PRIVATE statement only in specification part of a module. 5.1

[Bug fortran/31538] New: result_in_spec_1.f90: Invalid write

2007-04-11 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=31538

[Bug fortran/31540] New: [Regression 4.2, 4.3] character((constant expression)) for external function

2007-04-11 Thread burnus at gcc dot gnu dot org
unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31540

[Bug fortran/31540] [Regression 4.2, 4.3] character((constant expression)) for external function

2007-04-11 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-11 19:56 --- In resolve.c's resolve_fl_procedure there is: if( ... && cl->length->expr_type != EXPR_CONSTANT) thus the question is: Why is "(137)" not an EXPR_CONSTANT -- burnus a

[Bug fortran/31538] result_in_spec_1.f90: Invalid write

2007-04-11 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-11 20:26 --- Actually, it turned out that this is an out-of-bounds problem: character(len(ch)) :: chr(2) chr = test2 (1) however, test(1) returns an array of the size (2*1+1)+1 = 4. gfortran's -fbounds-check message

[Bug fortran/29785] Fortran 2003: POINTER Rank Remapping

2007-04-12 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-12 09:19 --- Cf. http://gcc.gnu.org/ml/fortran/2007-04/msg00120.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29785

[Bug fortran/31472] gfortran does not detect the illegal use of an access specification in a program, subroutine, or function

2007-04-12 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2007-04-12 09:46 --- Subject: Bug 31472 Author: burnus Date: Thu Apr 12 09:46:30 2007 New Revision: 123735 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123735 Log: 2007-04-12 Tobias Burnus <[EMAIL PROTECTED]&g

[Bug fortran/31472] gfortran does not detect the illegal use of an access specification in a program, subroutine, or function

2007-04-12 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2007-04-12 09:58 --- Fixed in 4.3. No regression and rejects only valid Fortran 2003 code -> no backporting to 4.2 -> Fixed. -- burnus at gcc dot gnu dot org changed: What|Removed

[Bug fortran/31320] Illegal read with gfortran.dg/alloc_comp_assign_2.f90 and *_3.f90

2007-04-12 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-04-12 10:52 --- > > Is this example (PR 20541) really valid? > Lahey does not complain. At compile time? Or at run time? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31320

[Bug fortran/31547] New: Document when CPP is called and document the f95-cpp-input option

2007-04-12 Thread burnus at gcc dot gnu dot org
Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: documentation Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org htt

[Bug middle-end/31548] New: __builtin_cabsf(z) squared should be optimized

2007-04-12 Thread burnus at gcc dot gnu dot org
Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement 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

[Bug fortran/31553] incorrect processing of formatted character output

2007-04-12 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-04-12 19:00 --- Which version are you using under i386-pc-mingw32? (I see "Reported against 4.3.0, however - see below.) I'm asking because "4.0.3 (intel linux 64bit)" is very old. GCC 4.0.x contained the fresh

[Bug fortran/31559] Assigning to an EXTERNAL leads to ICE

2007-04-13 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |burnus at gcc dot gnu dot |dot org

[Bug fortran/31562] FAIL: gfortran.dg/value_4.f90 -O0 execution test

2007-04-13 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-13 10:52 --- Created an attachment (id=13362) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13362&action=view) change struct complex into "complex float" in gfortran.dg/value_4.c Does the attached test-ca

[Bug fortran/31560] Array size declaration depended on order of declaration of variable containing size

2007-04-13 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-13 11:05 --- Could you post a complete example? I have problems to create one with type (ped_data) :: dataset integer, dimension(dataset%maxsiz) :: nobs as parameter is not allowed in a type specification and using a simple

[Bug fortran/31562] FAIL: gfortran.dg/value_4.f90 -O0 execution test

2007-04-13 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2007-04-13 11:59 --- Subject: Bug 31562 Author: burnus Date: Fri Apr 13 11:59:19 2007 New Revision: 123780 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123780 Log: 2007-04-12 Tobias Burnus <[EMAIL PROTECTED]&

[Bug fortran/31562] FAIL: gfortran.dg/value_4.f90 -O0 execution test

2007-04-13 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2007-04-13 12:26 --- Subject: Bug 31562 Author: burnus Date: Fri Apr 13 12:26:09 2007 New Revision: 123784 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123784 Log: 2007-04-13 Tobias Burnus <[EMAIL PROTECTED]&

[Bug fortran/31562] FAIL: gfortran.dg/value_4.f90 -O0 execution test

2007-04-13 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2007-04-13 12:37 --- Close as FIXED, if it reappears, please reopen it. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31561] FAIL: gfortran.dg/vect/vect-4.f90

2007-04-13 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-04-13 12:51 --- The procedure does: = + * Source code (compiled with the default testsuite options -O2 -ftree-vectorize -ftree-vectorizer-verbose -fdump-tree-vect-stats): SUBROUTINE SAXPY(X, Y, A) DIMENSION X(64), Y(64

[Bug fortran/31563] Arithmetic overflow and BOZ

2007-04-13 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-04-13 15:08 --- Well, gfortran is right: x'8000' = 2147483648 > 2147483647 = huge(msk1) and o'377' = 4278190080 > 2147483647 = huge(msk4) Thus the BOZ numbers are too big for the 4-byte vari

[Bug fortran/31559] Assigning to an EXTERNAL leads to ICE

2007-04-13 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-04-13 19:34 --- Subject: Bug 31559 Author: burnus Date: Fri Apr 13 19:34:36 2007 New Revision: 123793 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123793 Log: 2007-04-13 Tobias Burnus <[EMAIL PROTECTED]&g

[Bug fortran/31564] Error: Type/rank mismatch in argument

2007-04-13 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1

[Bug fortran/31051] [4.2 Only] gfortran bug with x and t format descriptors.

2007-04-13 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2007-04-13 19:43 --- What's the plan regarding backporting the patch to GCC 4.2? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31051

[Bug fortran/31196] [4.2/4.1 only] wrong code generated with RESHAPE/TRANSPOSE

2007-04-13 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2007-04-13 19:44 --- What's the plan regarding backporting the patch to GCC 4.2? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31196

[Bug fortran/31207] [4.2 only] advance="no" and tabs

2007-04-13 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2007-04-13 19:45 --- What's the plan regarding backporting the patch to GCC 4.2? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31207

[Bug fortran/31205] aliased operator assignment produces wrong result

2007-04-15 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-04-15 18:39 --- Minimal example: program test implicit none type data_type integer :: i=2 end type data_type type(data_type) :: d d%i = 4 call set(d,d) contains subroutine set(x1,x2) type(data_type),intent(out

[Bug fortran/31580] New: Better error message for not-found operator

2007-04-15 Thread burnus at gcc dot gnu dot org
me is of cause way too early. -- Summary: Better error message for not-found operator Product: gcc Version: 4.3.0 Status: 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=31580

[Bug fortran/31298] Uninitialized variable in f951 (in read_module)

2007-04-15 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-04-15 20:20 --- Created an attachment (id=13369) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13369&action=view) Updated patch This patch handles almost everything except of operator() => operator(.user.) where

[Bug fortran/31588] gfortran should be able to output Makefile dependencies with -M* options

2007-04-16 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-04-16 15:28 --- What about include "foo.f90" and #include "bar.f90" (g95 handles both) And what about include "z.f90" where "z.f90" is foo/z.f90 and is found via gfortran -Jfoo ? (g95 do

[Bug fortran/31592] New: Better message if using non-intrinsic initialization expression

2007-04-16 Thread burnus at gcc dot gnu dot org
us: 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=31592

[Bug fortran/31591] ICE: on array initialization statement using 'ubound' (fortran/trans-array.c:3693)

2007-04-16 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-04-16 21:14 --- The assert is trans-array.c's gfc_conv_array_initializer switch (expr->expr_type) { ... default: gcc_unreachable (); Here, expr->expr_type is EXPR_FUNCTION. By the way, the scalar v

[Bug fortran/31600] New: Better error message for redeclation of USEd symbols

2007-04-17 Thread burnus at gcc dot gnu dot org
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=31600

[Bug fortran/31601] New: RFC: legacy-only allowed: State that code is allowed with -std=legacy ?

2007-04-17 Thread burnus at gcc dot gnu dot org
FIRMED 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=31601

[Bug fortran/31600] Better error message for redeclation of USEd symbols

2007-04-17 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-17 13:14 --- If one tries to change the attribute of an USE-associated symbol the error is better: external omp_get_num_threads, omp_get_thread_num 1 Error: Cannot change attributes of USE-associated

[Bug fortran/31298] Uninitialized variable in f951 (in read_module)

2007-04-18 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2007-04-18 10:18 --- (In reply to comment #4) Another thing which needs to be supported: use mod, only: operator(foo) => operator(.op.), & operator(bar) => operator(.op.), &

[Bug fortran/31608] wrong types in array transfer

2007-04-18 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-04-18 10:21 --- (In reply to comment #1) > > if (any (Up ("AbCdEfGhIjKlM") .ne. (/"ABCDEFGHIJKLM"/))) call abort () > contains > Character (len=20) Function Up (string) > > > It looks l

[Bug libfortran/27740] libgfortran should use versioned symbols

2007-04-18 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2007-04-18 18:19 --- > What happend to this? I can't find the patch in the tracker anymore, but > there's no indication in the ChangeLog(s) that is was applied. The last patch was applied, i.e. gfortran uses now _gfort

[Bug fortran/31608] wrong types in array transfer

2007-04-18 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2007-04-19 07:44 --- > Nevertheless, the accepts-invalid is also an embarassing problem (unless we > collectively misunderstand Fortran rules :) Well, we do. if (any (Up ("AbCdEfGhIjKlM") .ne. (/"ABCDEFGHI

[Bug fortran/25071] dummy argument larger than actual argument

2007-04-19 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-04-19 16:16 --- Analogously for character lengths: program test character(len=10) :: x call foo(x) write(*,*) 'X=',x contains subroutine foo(y) charac

[Bug fortran/31668] New: %VAL rejected for PROC_MODULE and PROC_INTERNAL procedures

2007-04-23 Thread burnus at gcc dot gnu dot org
Keywords: rejects-valid 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=31668

[Bug fortran/31683] bogus warnings / miscompilation

2007-04-24 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-24 18:46 --- This example is not valid. As NAG f95 claims: Error: foo.f90, line 45: ALLOCATABLE array NCOSET used but never ALLOCATEd (gfortran actually misses such an error/warning. -- http://gcc.gnu.org/bugzilla

[Bug middle-end/31688] New: Bogus "may be used uninitialized" warning

2007-04-24 Thread burnus at gcc dot gnu dot org
: 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=31688

[Bug fortran/31683] bogus warnings / miscompilation

2007-04-24 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-04-24 19:58 --- > > This example is not valid. As NAG f95 claims: > it is not supposed to be a runable example Well, for hunting miscompilation bugs, a runable example helps. I think there are at leastfour problems: a) Th

[Bug fortran/31692] Wrong code when passing function name as result to procedures

2007-04-24 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-25 07:38 --- foo1 (__result, n) { bar1 ((int4 *) n, foo1); goto __return_foo1; __return_foo1:; looks strange. Shouldn't this be: bar1 ((int4 *) n, __result) In addition, the warning g.f90:8: warning: Function doe

[Bug fortran/31668] %VAL rejected for PROC_MODULE and PROC_INTERNAL procedures

2007-04-25 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-04-25 09:32 --- Subject: Bug 31668 Author: burnus Date: Wed Apr 25 09:32:21 2007 New Revision: 124147 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124147 Log: fortran/ 2007-04-25 Tobias Burnus <[EMAI

[Bug fortran/31668] %VAL rejected for PROC_MODULE and PROC_INTERNAL procedures

2007-04-25 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2007-04-25 09:35 --- Fixed. For completeness, I only support PROC_MODULE (for interfaces to external routines) and not PROC_INTERNAL as there is no way (except VALUE) to make use of a call-by-value variable. -- http://gcc.gnu.org

[Bug middle-end/31697] New: [Regression 4.3] Crash of gen. prog. when using -funroll-loops -march=opteron

2007-04-25 Thread burnus at gcc dot gnu dot org
gnedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31697

[Bug middle-end/31699] New: [Regression 4.3] -march=opteron -ftree-vectorize generates wrong code

2007-04-25 Thread burnus at gcc dot gnu dot org
gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org GCC target triplet: x86_64-unknown-li

[Bug middle-end/31697] [Regression 4.3] Crash of gen. prog. when using -funroll-loops -march=opteron

2007-04-25 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-25 13:28 --- Might be related to the similar PR 31699. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31697

<    3   4   5   6   7   8   9   10   11   12   >