[Bug fortran/30683] [4.2 only] internal compiler error: Segmentation fault

2007-02-03 Thread kargl at gcc dot gnu dot org
--- Comment #7 from kargl at gcc dot gnu dot org 2007-02-03 19:00 --- Subject: Bug 30683 Author: kargl Date: Sat Feb 3 18:59:53 2007 New Revision: 121548 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=121548 Log: 2007-02-02 Steven G. Kargl [EMAIL PROTECTED] PR fortran

[Bug fortran/30683] [4.2 only] internal compiler error: Segmentation fault

2007-02-03 Thread kargl at gcc dot gnu dot org
--- Comment #8 from kargl at gcc dot gnu dot org 2007-02-03 19:01 --- Fixed on 4.2. -- kargl at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug fortran/30689] equivalence modifies common block

2007-02-03 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2007-02-03 19:59 --- This is an invalid bug report. -fdefault-integer-8 doesn't do what you think it does. If you use this option and equivalence is present in the code, then you invariably want to use -fdefault-real-8. -- kargl

[Bug fortran/30689] equivalence modifies common block

2007-02-03 Thread kargl at gcc dot gnu dot org
--- Comment #5 from kargl at gcc dot gnu dot org 2007-02-04 02:26 --- (In reply to comment #4) OK, maybe gfortran is right. It isn't that gfortran is right or wrong. :-) The -fdefault-integer-8 changes the default integer kind to an 8 byte integer. The default real kind is still 4

[Bug fortran/30605] [4.2 only] -Wno-tabs should be active for -std=f2003 and -pedantic

2007-02-04 Thread kargl at gcc dot gnu dot org
--- Comment #7 from kargl at gcc dot gnu dot org 2007-02-04 21:31 --- Fixed on trunk. -- kargl at gcc dot gnu dot org changed: What|Removed |Added Summary

[Bug fortran/30681] obsolescent vs. obsolete

2007-02-05 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2007-02-05 16:25 --- (In reply to comment #1) Compiling the code above with gfortran -std=f2003 gives In file xarithmetic_if.f90:5 if (i) 10,20,30 1 Error: Obsolete: arithmetic IF statement at (1) which

[Bug fortran/30710] Segfault

2007-02-05 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-02-05 17:46 --- This code compiles with troutmask:sgk[208] gfc41 --version GNU Fortran 95 (GCC) 4.1.2 20070127 (prerelease) troutmask:sgk[209] gfc42 --version GNU Fortran 95 (GCC) 4.2.0 20070126 (prerelease) troutmask:sgk[210

[Bug fortran/30605] [4.2 only] -Wno-tabs should be active for -std=f2003 and -pedantic

2007-02-05 Thread kargl at gcc dot gnu dot org
--- Comment #8 from kargl at gcc dot gnu dot org 2007-02-06 00:28 --- Subject: Bug 30605 Author: kargl Date: Tue Feb 6 00:28:14 2007 New Revision: 121631 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=121631 Log: 2007-02-05 Steven G. Kargl [EMAIL PROTECTED] PR fortran

[Bug fortran/30605] [4.2 only] -Wno-tabs should be active for -std=f2003 and -pedantic

2007-02-05 Thread kargl at gcc dot gnu dot org
--- Comment #9 from kargl at gcc dot gnu dot org 2007-02-06 00:31 --- Fixed in trunk and 4.2. Won't fix in 4.1 or earlier. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/30713] Internal Complier Error

2007-02-06 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-02-06 15:36 --- There is no attached code. Ray can you try adding the code, again. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30713

[Bug libfortran/30617] recursive I/O hangs under OSX

2007-02-08 Thread kargl at gcc dot gnu dot org
--- Comment #20 from kargl at gcc dot gnu dot org 2007-02-08 16:18 --- (In reply to comment #17) Now, if Fortran2003 allows some recursive access to the same unit (under which conditions?), Recursive IO to external units is simply not allowed by the Fortran 95 and Fortran 2003

[Bug fortran/30764] GFortran ICE if real constants in module

2007-02-11 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2007-02-11 17:43 --- Works for me with these compilers: GNU Fortran 95 (GCC) 4.3.0 20070130 (experimental) Copyright (C) 2006 Free Software Foundation, Inc. troutmask:sgk[209] gfc42 --version GNU Fortran 95 (GCC) 4.2.0 20070126

[Bug fortran/30372] kill intrinsic doesn't diagnose invalid argument kinds

2007-02-11 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2007-02-11 20:43 --- (In reply to comment #2) Contrary to this, the docs of g77-3.4.6 [1] state: Status: INTEGER(KIND=1); OPTIONAL; scalar; INTENT(OUT). INTEGER(KIND=1) in g77 is the default integer kind, which is INTEGER(KIND=4

[Bug fortran/30372] various intrinsics do not diagnose invalid argument kinds

2007-02-11 Thread kargl at gcc dot gnu dot org
--- Comment #6 from kargl at gcc dot gnu dot org 2007-02-11 22:26 --- daniel, It's just an inconsistency in implementations. First, note that FX and myself implemented a lot of the g77 intrinsics procedures as our first foray into gfortran, so we may have missed some of the finer

[Bug fortran/30780] cpu_time produces a floating point exception when used with -O0

2007-02-12 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2007-02-13 04:26 --- troutmask:sgk[223] gfc4x -o z -g -ffpe-trap='precision' g.f90 troutmask:sgk[224] gdb ./z (gdb) run Starting program: /usr/home/sgk/tmp/z Program received signal SIGFPE, Arithmetic exception. 0x0040a3b2

[Bug libfortran/30780] cpu_time produces a floating point exception when used with -O0

2007-02-12 Thread kargl at gcc dot gnu dot org
--- Comment #6 from kargl at gcc dot gnu dot org 2007-02-13 06:41 --- (In reply to comment #5) The exception is occurring in the print statement. Nothing to do with time. No, there is a problem in cpu_time. -ffpe-trap='precision' is trapping on lost precision. On x86_64, long

[Bug fortran/29975] [meta-bugs] ICEs with CP2K

2007-02-13 Thread kargl at gcc dot gnu dot org
--- Comment #62 from kargl at gcc dot gnu dot org 2007-02-13 19:50 --- (In reply to comment #48) Currently, there is a new ICE on CP2K (see initial comment) that happens at any optimisation level: gfortran -c all_cp2k_gfortran.f90 all_cp2k_gfortran.f90:118549: internal compiler

[Bug fortran/30799] Inconsistent handling of bad (invalid) LOGICAL kinds

2007-02-14 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-02-15 00:03 --- Harald, You have a knack for finding some of the weirdness bugs. Anyway, I have a patch that detects and reports the illegal kind type values. I'll submit it shortly to the list if regression testing passes

[Bug fortran/30799] Inconsistent handling of bad (invalid) LOGICAL kinds

2007-02-14 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2007-02-15 00:38 --- A patch is here: http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01311.html -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/30799] Inconsistent handling of bad (invalid) LOGICAL kinds

2007-02-14 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2007-02-15 02:03 --- Subject: Bug 30799 Author: kargl Date: Thu Feb 15 02:02:56 2007 New Revision: 121975 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=121975 Log: 2007-02-14 Steven G. Kargl [EMAIL PROTECTED] PR fortran

[Bug fortran/30799] Inconsistent handling of bad (invalid) LOGICAL kinds

2007-02-15 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2007-02-15 19:33 --- Subject: Bug 30799 Author: kargl Date: Thu Feb 15 19:33:13 2007 New Revision: 122012 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122012 Log: 2007-02-15 Steven G. Kargl [EMAIL PROTECTED] PR fortran

[Bug fortran/30799] Inconsistent handling of bad (invalid) LOGICAL kinds

2007-02-15 Thread kargl at gcc dot gnu dot org
--- Comment #5 from kargl at gcc dot gnu dot org 2007-02-15 19:47 --- Fixed on 4.1, 4.2, and trunk. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/25252] ICE on invalid code

2007-02-15 Thread kargl at gcc dot gnu dot org
--- Comment #5 from kargl at gcc dot gnu dot org 2007-02-15 20:50 --- Does this still fail for others? I can't get the ICE to occur. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25252

[Bug middle-end/30816] gfortran.dg/g77/intrinsic-unix-erf.f tests fail with optimization

2007-02-15 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2007-02-16 03:53 --- (In reply to comment #3) I'll try to help but I don't think this has anything to do with my patches. Fortran was using mpfr for evaluating intrinsics way before I touched anything, and I believe it uses it's own

[Bug fortran/30834] ICE with kind=8 exponentiaton

2007-02-17 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2007-02-17 18:36 --- Yup, these lines in gfc_arith_power make the assumption that we'll never have an integer exponent outside the range INT_MIN to INT_MAX. if (gfc_extract_int (op2, power) != NULL) gfc_internal_error

[Bug fortran/30834] ICE with kind=8 exponentiaton

2007-02-17 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2007-02-17 21:10 --- After looking at this a little bit, I think we may want to change the error message to report the invalid integer exponent value and document that INT_MIN = e = INT_MAX. Why? Well, other than the special values

[Bug fortran/30883] procedure with dummy procedure f1 rejected with implicit none

2007-02-20 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2007-02-20 22:41 --- (In reply to comment #2) Has this been checked against comp.lang.fortran? Steven, I haven't located the relevant text, but I believe that Joost is right. The INTERFACE defines it own scoping unit

[Bug fortran/30865] optional argument passed on to size(...,dim=)

2007-02-21 Thread kargl at gcc dot gnu dot org
--- Comment #7 from kargl at gcc dot gnu dot org 2007-02-21 19:02 --- (In reply to comment #4) Created an attachment (id=13073) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13073action=view) [edit] Fix for the problem Paul, I tried to apply your patch, but it is rejected

[Bug fortran/30887] %VAL only accepts default-kind integer/real/complex

2007-02-22 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2007-02-22 19:24 --- (In reply to comment #3) Enough facts, now for some ignorant speculation: I suppose there is some logic missing to pass a value from the caller when the size of the value is not the default size (i.e. 4 for my

[Bug fortran/30943] Compiler Crash while compiling GNU Octave

2007-02-23 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-02-24 00:09 --- This crash is with g77, which is no longer support. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/30960] Failed to build gcc from trunk: configure: error: GNU Fortran is not working

2007-02-25 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2007-02-25 15:29 --- configure:4917: /usr/gcc/host-i686-pc-linux-gnu/gcc/gfortran -B/usr/gcc/host-i686-pc-linux-gnu/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include

[Bug fortran/30964] optional arguments to random_seed

2007-02-25 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-02-26 00:14 --- I have a patch to permit gfc_check_random_seed to deal with arguments with the optional attribute set. I was waiting on pault's size0/size1 patch to hit the tree to see if it does the right thing. -- http

[Bug fortran/30981] a ** exp fails for integer exponents if exp is -huge()-1 (endless loop)

2007-02-27 Thread kargl at gcc dot gnu dot org
--- Comment #7 from kargl at gcc dot gnu dot org 2007-02-27 20:46 --- (In reply to comment #5) Also isn't -huge()-1 undefined code for Fortran? -huge()-1 can be defined in Fortran. The problem comes when one tries to use that value in, e.g., IABS() because the standard prohibits

[Bug fortran/30985] Misleading error message for -huge(integer)-1

2007-02-27 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-02-27 20:49 --- This is a bogus PR. The are no negative numbers. This is a unary minus operation and 2147483648 is too big for INTEGER(4). The only method to get the most negative value is -HUGE() - 1. -- kargl at gcc dot gnu

[Bug fortran/30998] Big code with assigned goto's loops with optimization

2007-02-28 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-02-28 22:01 --- Can you try gfortran from the 4.2 branch or from trunk? You can get a binary package of trunk from the gfortran wiki. Can attach the code to the bug report or a URL to the code? Otherwise, we can't try to reproduce

[Bug fortran/30981] a ** exp fails for integer exponents if exp is -huge()-1 (endless loop)

2007-02-28 Thread kargl at gcc dot gnu dot org
--- Comment #13 from kargl at gcc dot gnu dot org 2007-02-28 23:25 --- (In reply to comment #12) Created an attachment (id=13127) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13127action=view) [edit] Patch looks ok to me. Note, I haven't tested. -- kargl at gcc dot gnu

[Bug libfortran/31052] Bad IOSTAT values when readings NAMELISTs past EOF

2007-03-05 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2007-03-05 23:27 --- The value 5008 is listed in libgfortran.h as ERROR_ENDFILE. The -1 corresponds to ERROR_END. So, the return value of 5008 is telling you that you are trying to (initiate a?) read beyond the end of the file, which

[Bug other/31050] [4.1/4.3] gcc --version reports wrong year.

2007-03-05 Thread kargl at gcc dot gnu dot org
--- Comment #5 from kargl at gcc dot gnu dot org 2007-03-05 23:54 --- Subject: Bug 31050 Author: kargl Date: Mon Mar 5 23:54:46 2007 New Revision: 122584 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122584 Log: 2007-03-05 Brooks Moses [EMAIL PROTECTED] PR 31050

[Bug target/31073] symbol names are not created with stdcall syntax

2007-03-08 Thread kargl at gcc dot gnu dot org
--- Comment #5 from kargl at gcc dot gnu dot org 2007-03-08 17:58 --- Other source in the web (e.g.: http://04.code-hosting.com/Fortran/1509485-g95---how-to-build-a-DLL ) point out the -mrtd would be the option to do the trick. None of that works. What g95 does is on absolutely

[Bug fortran/31114] Consistent floating point arithmetic model option

2007-03-09 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2007-03-09 20:54 --- (In reply to comment #0) In other words, I'm after an analogue of ifort's -mp/-fltconsistency/-mieee-fp. GCC supports many many many more CPU architectures than ifort. This isn't going to happen unless you

[Bug fortran/31144] Gfortran module names are not Standards compliant

2007-03-12 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2007-03-12 07:05 --- (In reply to comment #1) I don't think underscores are part of Fortran's identifier character space. An underscore can appear in a symbol except as the first character. -- http://gcc.gnu.org/bugzilla

[Bug fortran/31269] short-circuit in -fbounds-check

2007-03-19 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2007-03-20 03:09 --- Tobi, this is a bogus request and the PR should be closed. The standard does not require left to right evaluation. It is the responsibility of the programmer to know what she is doing. I think this should

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

2007-04-02 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-04-02 19:06 --- *** Bug 31428 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31427

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

2007-04-02 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-04-02 19:06 --- *** This bug has been marked as a duplicate of 31427 *** -- kargl at gcc dot gnu dot org changed: What|Removed |Added

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

2007-04-12 Thread kargl at gcc dot gnu dot org
Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kargl at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31559

[Bug fortran/31563] Arithmetic overflow and BOZ

2007-04-13 Thread kargl at gcc dot gnu dot org
--- Comment #5 from kargl at gcc dot gnu dot org 2007-04-13 18:38 --- (In reply to comment #4) With Hex and octal numbers - there is no overflow as long as there are enough bits - that is why g95 and Absoft do not complain. g95 and absoft do not complain because these compilers

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

2007-04-13 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-04-13 19:05 --- The code is illegal, but in accordance with the error message. You need to set WHICH to 1 via either INTEGER :: which = 1 or which = 1 This however doesn't fix the problem. If you change the call

[Bug fortran/31563] Arithmetic overflow and BOZ

2007-04-13 Thread kargl at gcc dot gnu dot org
--- Comment #7 from kargl at gcc dot gnu dot org 2007-04-13 20:44 --- (In reply to comment #6) Sorry, I cannot find another compiler that agrees with gfortran - Then, I suggest you submit a bug report. The standard explicitly says If a data-stmt-constant is a boz-literal

[Bug fortran/31614] Inability to read ascii text with generic 'f' format

2007-04-18 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2007-04-18 21:03 --- (In reply to comment #2) Subject: Re: Inability to read ascii text with generic 'f' format read(10,*) doesn't work. I have access to two other compilers (SGI and Portland Group) and both of them accepted

[Bug fortran/31620] [4.3 regression] Zeroing one component of array of derived types zeros the whole structure.

2007-04-21 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2007-04-21 23:51 --- The OP doesn't understand his own program. Closing as invalid. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31620] [4.3 regression] Zeroing one component of array of derived types zeros the whole structure.

2007-04-21 Thread kargl at gcc dot gnu dot org
--- Comment #5 from kargl at gcc dot gnu dot org 2007-04-22 00:10 --- (In reply to comment #4) (In reply to comment #3) The OP doesn't understand his own program. Huh? (or did you close the wrong bug report?) Here is a simplified testcase that does not call print: program

[Bug fortran/29458] Spurious -Wuninitialized warning for implied do-loop counter

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2007-04-27 22:18 --- *** Bug 31731 has been marked as a duplicate of this bug. *** -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31731] False warning for variable used in 'automatic' implied do loop

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-04-27 22:18 --- *** This bug has been marked as a duplicate of 29458 *** -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/29922] [4.3 Regression] [Linux] ICE in insert_into_preds_of_block

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #27 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 29922 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh

[Bug fortran/31086] [4.2 only] ICE in fold_convert, at fold-const.c:2331

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #6 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 31086 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh://[EMAIL

[Bug libfortran/31052] [4.2 only] Bad IOSTAT values when readings NAMELISTs past EOF

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #51 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 31052 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh

[Bug target/31022] [4.1/4.2/4.3 Regression] [SH4] internal compiler error with inline

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 31022 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh://[EMAIL

[Bug fortran/30531] [4.2 only] allocatable component and intent(out) yield ICE in fold_convert

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #13 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 30531 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh

[Bug c/30762] [4.2/4.3 Regression] IMA messes up with inlining

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #15 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 30762 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh

[Bug testsuite/30395] FAIL: gcc.dg/pr16194.c (test for errors, line 59)

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 30395 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh://[EMAIL

[Bug tree-optimization/30984] [4.1/4.2/4.3 Regression] ICE with computed goto and constants

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #12 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 30984 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh

[Bug target/30058] [4.3 regression] bootstrap broken on i386-unknown-netbsdelf2.0.2

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #6 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 30058 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh://[EMAIL

[Bug tree-optimization/31264] internal compiler error: in build_int_cst_wide, at tree.c:886

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #9 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 31264 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh://[EMAIL

[Bug fortran/31203] [4.1/4.2 only] Character length should never be negative

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #8 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 31203 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh://[EMAIL

[Bug inline-asm/30505] [4.2/4.3 regression] asm operand has impossible constraints.

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #10 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 30505 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh

[Bug tree-optimization/31254] [4.3 Regression] verify_ssa failed: type mismatch between an SSA_NAME and its symbol

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #16 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 31254 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh

[Bug rtl-optimization/30841] [4.3 regression] Missed optimizations for sbi/cbi instructions

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #7 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 30841 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh://[EMAIL

[Bug target/31245] SSE2 generation bug with 4.1.2 and -O3

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #11 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 31245 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh

[Bug middle-end/30907] [4.3 regression] Propagation of addresses within loops pessimizes code

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #7 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 30907 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh://[EMAIL

[Bug tree-optimization/30590] [4.1/4.2/4.3 Regression] tree-nrv optimization clobbers return variable

2007-04-27 Thread kargl at gcc dot gnu dot org
--- Comment #20 from kargl at gcc dot gnu dot org 2007-04-28 05:14 --- Subject: Bug 30590 Author: kargl Date: Sat Apr 28 05:11:29 2007 New Revision: 124256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124256 Log: Merged revisions 123029-123122 via svnmerge from svn+ssh

[Bug libfortran/31760] missing elemental applicability

2007-04-29 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2007-04-29 18:12 --- This falls into the enhancement request category, and I agree that these functions should be elemental. I'll also note that the gfortran documentation claims that these functions are already elemental. -- kargl

[Bug fortran/31765] gfortran gcc_gobble_whitespace broke previously working source

2007-04-30 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-04-30 17:41 --- The code does not conform to any Fortran standard. A compiler can do whatever it wants with the tab. I'd suggest that you fix the code. -- kargl at gcc dot gnu dot org changed: What|Removed

[Bug fortran/31765] gfortran gcc_gobble_whitespace broke previously working source

2007-04-30 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2007-04-30 19:17 --- Mark, Section 3.1 of the Fortran 95 standard defines the Fortran Character Set. tab is not a member of this set whereas space (or blank) is. One then needs to read Section 3.3.2 that covers fixed-form source code

[Bug fortran/31251] Non-integer character length leads to segfault

2007-05-03 Thread kargl at gcc dot gnu dot org
--- Comment #8 from kargl at gcc dot gnu dot org 2007-05-04 06:16 --- This appears to be an alignment issue. On x86_64-*-FreeBSD, I do not see the segfault. On i386-*-FreeBSD, I see the segfault. Here's is the backtrace Starting program: /usr/home/kargl/work/4x/libexec/gcc/i386

[Bug fortran/31720] [4.1/4.2 only] ICE for module function returning automatic array

2007-05-04 Thread kargl at gcc dot gnu dot org
--- Comment #5 from kargl at gcc dot gnu dot org 2007-05-04 18:14 --- (In reply to comment #4) (I guess I should qualify that. I don't have a copy of the standard laying around to check, but it's legal according to the Ellis, Philips and Lahey book.) It is not valid code

[Bug libfortran/31880] silent data corruption in gfortran read statement

2007-05-09 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2007-05-10 00:47 --- (In reply to comment #1) Confirmed on i686-linux, for all active branches. I'm not sure how you can confirm this. The program is invalid. a,b,c, and e are undefined in the write statement, so gfortran can do

[Bug fortran/31964] ishftc fails with certain thrid argument

2007-05-16 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-05-17 00:51 --- What output were you expecting? write(*,*) ishftc(aint,1) write(*,*) ishftc(aint,1,32) write(*,*) ishftc(aint,1,BIT_SIZE(aint)) All three of these statements are shifting the 32-bit representation of of 1

[Bug fortran/31971] Simple Fortran code fails with ICE

2007-05-17 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-05-17 16:05 --- Works for me. What OS are you using and where did you get the version of gfortran? An illegal instruction error normally means you are using a version of gfortran on the wrong architecture (ie., i686 on amd64

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

2007-05-20 Thread kargl at gcc dot gnu dot org
--- Comment #12 from kargl at gcc dot gnu dot org 2007-05-20 16:24 --- (In reply to comment #11) Fixed on 4.2. Do we want to backport to 4.1? With 4.2 finally released, I think it is time to let 4.1 go. If gfortran follows the GCC development rules, then this would need

[Bug testsuite/32057] Random failure on gfortran.dg/secnds.f

2007-05-23 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2007-05-23 16:05 --- Can't we use sleep here? No. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32057

[Bug c/38704] Very bad quality of compilation of a floating point numbers.

2009-01-02 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2009-01-02 20:14 --- (In reply to comment #2) Quantity of correct bits is 64, the size of long double is 128 bits. Half of quality is reached by usage of operations multiplication, divisions. What does 'grep LDBL /usr/include

[Bug c/38704] Very bad quality of compilation of a floating point numbers.

2009-01-02 Thread kargl at gcc dot gnu dot org
--- Comment #6 from kargl at gcc dot gnu dot org 2009-01-03 00:42 --- (In reply to comment #4) __LDBL_DIG__=18 __DBL_DIG__=15 sizeof(long double)=128 bits sizeof(double)=64 bits You didn't show what I requested. The other piece of the puzzle is LDBL_MANT_DIG, which I'll wager

[Bug libgomp/38724] New: Segfault with allocatable component in private clause

2009-01-04 Thread kargl at gcc dot gnu dot org
Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kargl at gcc dot gnu dot org GCC host triplet: i386-unknown-freebsd8.0 http://gcc.gnu.org

[Bug libgomp/38724] Segfault with allocatable component in private clause

2009-01-04 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2009-01-04 19:41 --- Created an attachment (id=17030) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17030action=view) openmp code showing segfault -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38724

[Bug libgomp/38724] Segfault with allocatable component in private clause

2009-01-04 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2009-01-04 19:43 --- gfc4x -g -o z -O -fopenmp gib.f90 (gdb) run ./z Starting program: /usr/home/kargl/tmp/z ./z [New LWP 100056] [New LWP 100056] 10 10 1 1 Assertion failed: (arena != NULL

[Bug libgomp/38724] Segfault with allocatable component in private clause

2009-01-04 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2009-01-04 19:46 --- Using gfortran 4.3.3, a segfault also occurs but the backtrace is different. (gdb) run Starting program: /usr/home/kargl/tmp/z [New LWP 100173] [New Thread 48301140 (LWP 100173)] 10 10

[Bug libgomp/38724] Segfault caused by derived-type with allocatable component in private clause

2009-01-04 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2009-01-04 19:47 --- Make the summary a little clear. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38763] New: Yet another TRANSFER ICE

2009-01-07 Thread kargl at gcc dot gnu dot org
ReportedBy: kargl at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38763

[Bug fortran/38763] Yet another TRANSFER ICE

2009-01-07 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2009-01-08 03:24 --- Removing the ISO C Binding stuff gives program sizetest implicit none integer, parameter :: ik1 = selected_int_kind(2) TYPE vehicle_t1 INTEGER, DIMENSION(:), ALLOCATABLE :: sensors END TYPE

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

2009-01-08 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2009-01-08 17:25 --- Update summary to something a little less annoying. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38773] Arithmetic Overflow with Integer Parameter Assignment

2009-01-08 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2009-01-09 01:22 --- See the -fno-range-check option. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/38772] r143102 breaks xplor-nih

2009-01-08 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2009-01-09 01:47 --- Without a testcase, it is difficult to determine if the problem is with gfortran or a bug in your application. From Section 9.2.2.1, Internal File Properties, (8) On input, blanks are treated in the same way

[Bug fortran/38853] internal compiler error with gfortran 4.4-20081107

2009-01-14 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2009-01-15 06:54 --- First, the code compiles fine on i386 with 4.4.0 20090113. Second, I support Joost's position in that the ICE you posted and the subsequent failure of loading f951 in dbx suggests the problem is in your installation

[Bug fortran/38823] Diagnose and treat (-2.0)**2.0 properly

2009-01-15 Thread kargl at gcc dot gnu dot org
--- Comment #13 from kargl at gcc dot gnu dot org 2009-01-16 00:40 --- I have a patch for this problem. I'll clean it up on Saturday and submit it. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38822] Compile-time simplification of x**(real) / ICE in in gfc_target_encode_expr

2009-01-15 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2009-01-16 00:55 --- (In reply to comment #2) Before closing, please also check the two longer cases: http://groups.google.com/group/comp.lang.fortran/msg/97c3ce6e98432ae9 and the older (partially incorrect?) one at http

[Bug fortran/38822] Compile-time simplification of x**(real) / ICE in in gfc_target_encode_expr

2009-01-15 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2009-01-16 02:47 --- I think I know how to fix this. I'll note that James' clever programs may be invoking processor defined behavior due to the multiplication by 0 in his specification statements. See 7.1.8.1. -- http://gcc.gnu.org

[Bug fortran/38822] Compile-time simplification of x**(real) / ICE in in gfc_target_encode_expr

2009-01-15 Thread kargl at gcc dot gnu dot org
--- Comment #6 from kargl at gcc dot gnu dot org 2009-01-16 05:26 --- (In reply to comment #5) ifort (IFORT) 10.1 20080801 Copyright (C) 1985-2008 Intel Corporation. All rights reserved. $ ./a.out T F I want to get my head around this too. :) Note, there are 2 separate

[Bug libfortran/38871] [4.4 Regression] libgfortran.so.3 dropped __iso_c_binding_c_f_procpointer@@GFORTRAN_1.0

2009-01-16 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2009-01-16 16:13 --- Jakub probably already knows this, but 2008-05-25 Tobias Burnus bur...@net-b.de PR fortran/32600 * intrinsics/iso_c_binding.c (c_f_procpointer): Remove. * intrinsics/iso_c_binding.h

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

2009-01-18 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2009-01-18 21:44 --- Confirmed for both ICEs. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

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

2009-01-18 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2009-01-18 21:47 --- Both variations of the program work with 4.2.5, so this is a regression. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

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