[Bug ada/27999] FAIL: c64005c

2007-05-04 Thread charlet at gcc dot gnu dot org
--- Comment #2 from charlet at gcc dot gnu dot org 2007-05-04 08:26 --- Let's assume this is fixed, as per your latest 4.3.0 results -- charlet at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/29685] testsuite hang running c910002

2007-05-04 Thread charlet at gcc dot gnu dot org
--- Comment #2 from charlet at gcc dot gnu dot org 2007-05-04 08:28 --- Assuming you haven't disabled this test manually, this is fixed as per your latest test results on 4.3.0 -- charlet at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/25819] CXF3A01 core dump

2007-05-04 Thread charlet at gcc dot gnu dot org
--- Comment #4 from charlet at gcc dot gnu dot org 2007-05-04 08:25 --- >From the test results you posted yesterday on 4.3.0, I assume this is fixed: << === acats tests === FAIL: c37215h FAIL: cd10002 FAIL: cxh1001 Native configuration is hppa-unknown-linux-gnu >>

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

2007-05-04 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-05-04 08:54 --- Subject: Bug 25071 Author: burnus Date: Fri May 4 07:54:06 2007 New Revision: 124411 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124411 Log: 2007-05-04 Tobias Burnus <[EMAIL PROTECTED]> PR fort

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

2007-05-04 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2007-05-04 08:55 --- Note: Only the string length problem is fixed; the array storage extend still needs to be fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25071

[Bug fortran/31803] ICE for character pointer => target(range)

2007-05-04 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-05-04 08:57 --- Note: Please uncomment also the two marked lines in gcc/testsuite/gfortran.dg/char_result_2.f90 when you fix this PR. http://gcc.gnu.org/viewcvs/trunk/gcc/testsuite/gfortran.dg/char_result_2.f90?r1=124411&r2=124410&p

[Bug tree-optimization/31797] gcc-4.2.0 racing

2007-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-05-04 09:05 --- On the mainline I get an ICE: t.c:20: internal compiler error: in compute_antic, at tree-ssa-pre.c:1968 -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

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

2007-05-04 Thread jv244 at cam dot ac dot uk
--- Comment #96 from jv244 at cam dot ac dot uk 2007-05-04 09:15 --- (In reply to comment #91) > current (i.e. this morning) mainline seems to miscompile CP2K (tested current > CVS of CP2K). Current SVN gfortran compiles CP2K again correctly. Closing the bug again -- jv244 at cam d

[Bug fortran/31812] New: Better message than "syntax error" when truncating long lines

2007-05-04 Thread burnus at gcc dot gnu dot org
gfortran silently trunkates lines which gives syntax errors. Especially in free format, the truncation is usually not intended. (In fixed format is sometimes is.) Other compiles print a warning (such as g95, all options; syntax error afterwards), give an error (such as NAG f95) or (silently) accep

[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should

2007-05-04 Thread pcarlini at suse dot de
--- Comment #41 from pcarlini at suse dot de 2007-05-04 09:41 --- In case it wasn't clear already, many thanks Ian and everyone for fixing this annoying issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29286

[Bug fortran/31813] New: Warn about deleted feature: H edit descriptor

2007-05-04 Thread burnus at gcc dot gnu dot org
>From Fortran 95 standard, Annex B, B1: Deleted Features: "H edit descriptor. In FORTRAN 77, and for consistency also in Fortran 90, there was an alternative form of character string edit descriptor, which had been the only such form in FORTRAN 66; this has been deleted." Other compiles warn: NA

[Bug ada/26465] Ada.Characters.Conversions comment announces Ada.Characters.Handling

2007-05-04 Thread charlet at gcc dot gnu dot org
--- Comment #1 from charlet at gcc dot gnu dot org 2007-05-04 09:58 --- Was fixed on 2006-10-31 -- charlet at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/30686] ada: ICE in expand_expr_addr_expr_1, at expr.c:6563

2007-05-04 Thread charlet at gcc dot gnu dot org
--- Comment #4 from charlet at gcc dot gnu dot org 2007-05-04 10:08 --- Fixed in 4.3.0 -- charlet at gcc dot gnu dot org changed: What|Removed |Added Status|U

[Bug ada/29157] gnattools fail on cross compilation - Makefile bug?

2007-05-04 Thread charlet at gcc dot gnu dot org
--- Comment #5 from charlet at gcc dot gnu dot org 2007-05-04 10:13 --- install.texi would be the place to add this documentation. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29157

[Bug fortran/31781] fortran regressions on trunk if you --disable-checking

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-05-04 10:26 --- Subject: Bug 31781 Author: fxcoudert Date: Fri May 4 09:26:41 2007 New Revision: 124412 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124412 Log: PR fortran/31781 * simplify.c (gfc_simpl

[Bug fortran/31781] fortran regressions on trunk if you --disable-checking

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-05-04 10:29 --- Fixed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|ASSI

[Bug c++/31809] [4.1/4.2/4.3 Regression] sometimes TREE_READONLY is still set for non read only variables causing wrong code

2007-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-05-04 10:33 --- Confirmed. Should be easy to work around. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

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

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #11 from fxcoudert at gcc dot gnu dot org 2007-05-04 10:44 --- (In reply to comment #10) > Again, I am unable to really test this, but here is a suggestion This patch fixes the ICE, and I agree it's the right thing to do. I retested your other patch from scratch (the one t

[Bug ada/24564] Bug box in Ada compiler: in create_tmp_var, at gimplify.c:368

2007-05-04 Thread charlet at gcc dot gnu dot org
--- Comment #6 from charlet at gcc dot gnu dot org 2007-05-04 10:55 --- Fixed on trunk -- charlet at gcc dot gnu dot org changed: What|Removed |Added Status|N

[Bug ada/24381] Error in visibility rules of formal generic packages

2007-05-04 Thread charlet at gcc dot gnu dot org
--- Comment #1 from charlet at gcc dot gnu dot org 2007-05-04 11:22 --- Compiles cleanly on trunk -- charlet at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/22251] Bug box in Ada compiler: Assert_Failure sinfo.adb:2479, Error detected at test.adb:12:16

2007-05-04 Thread charlet at gcc dot gnu dot org
--- Comment #3 from charlet at gcc dot gnu dot org 2007-05-04 11:31 --- Now compiles properly (and generates error message as expected). Arno -- charlet at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should

2007-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #42 from rguenth at gcc dot gnu dot org 2007-05-04 11:45 --- I put it on the tester. A testcase that does regress (simplified from tramp3d): template class Vector { public: Vector() { for (int i = 0; i < D; ++i) new (&x_m[i]) T(); } T& operator[](

[Bug c/31804] gcc segfaults on very long pointer chains

2007-05-04 Thread joseph at codesourcery dot com
--- Comment #4 from joseph at codesourcery dot com 2007-05-04 12:00 --- Subject: Re: gcc segfaults on very long pointer chains On Fri, 4 May 2007, bangerth at dealii dot org wrote: > But seriously, while I do think that we should strive to compile even > programs that are "weird" or "

[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should

2007-05-04 Thread pcarlini at suse dot de
--- Comment #43 from pcarlini at suse dot de 2007-05-04 12:03 --- (In reply to comment #42) > this happens in hot tramp3d loops and is a quite common idiom for initializing > storage. To fix this we need to avoid creating the asm if the type of the > original storage is the same as the

[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should

2007-05-04 Thread pcarlini at suse dot de
--- Comment #44 from pcarlini at suse dot de 2007-05-04 12:07 --- (In reply to comment #43) > (By the way, someone should tell the tramp3d developers that using placement > new for a POD type like double isn't a very smart idea ;) The only tricky > point > for default inizialization is

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

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #12 from fxcoudert at gcc dot gnu dot org 2007-05-04 12:10 --- Subject: Bug 31251 Author: fxcoudert Date: Fri May 4 11:10:06 2007 New Revision: 124415 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124415 Log: PR fortran/31251 * simplify.c (gfc_simp

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

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-05-04 12:31 --- RESHAPE is not simplified, because "x" has type EXPR_CONSTANT (scalar constant) which is not accepted by the simplification routine gfc_simplify_reshape, because it wants arguments to be EXPR_ARRAY (ie array const

[Bug fortran/31764] NEW_LINE with array argument

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-05-04 12:52 --- (Side note: NEW_LINE is not an elemental function. It can be used with an array argument, but it's different from being elemental.) As for the bug itself, there's no reason that the argument to NEW_LINE should be

[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should

2007-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #45 from rguenth at gcc dot gnu dot org 2007-05-04 13:03 --- Of course in the tramp3d case the code is written in such a generic way that it supports non-POD data members... (And yes, "upstream" has this optimized, but tramp3d-v4.cpp is about having a gcc testcase, not perf

[Bug target/31674] [4.3 Regression] internal consistency failure on ia64 with -O

2007-05-04 Thread tbm at cyrius dot com
--- Comment #7 from tbm at cyrius dot com 2007-05-04 13:17 --- Alexandre, can you investigate this issue? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31674

[Bug ada/19002] GNAT BUG DETECTED, unqualified record aggregate triggers

2007-05-04 Thread charlet at gcc dot gnu dot org
--- Comment #4 from charlet at gcc dot gnu dot org 2007-05-04 13:26 --- gcc -c matter.ads no longer crashes the compiler -- charlet at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/18876] Bug box, Assert_Failure at namet.adb:630, on legal program

2007-05-04 Thread charlet at gcc dot gnu dot org
--- Comment #2 from charlet at gcc dot gnu dot org 2007-05-04 13:42 --- Compiles cleanly on trunk -- charlet at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/18845] Illegal program not detected, RM 4.7(3)

2007-05-04 Thread charlet at gcc dot gnu dot org
--- Comment #2 from charlet at gcc dot gnu dot org 2007-05-04 13:44 --- Fixed on trunk: $ gcc -c test_134.adb test_134.adb:11:24: expected type "T1" defined at line 3 test_134.adb:11:24: found type "T1'Class" defined at line 3 test_134.adb:13:17: expected type "T1" defined at line 3 tes

[Bug ada/17960] GNAT.Sockets Stream feature not working properly

2007-05-04 Thread charlet at gcc dot gnu dot org
--- Comment #5 from charlet at gcc dot gnu dot org 2007-05-04 14:29 --- Closing, since it's not clear what behavior the reporter is expecting. -- charlet at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/31816] New: If a function foo is defined before declaring a template class A, overloaded version of foo defined after the class declaration will not be available within class A.

2007-05-04 Thread gcc-bugzilla at gcc dot gnu dot org
Let us consider the following code: - void qHash(double) {} template struct QSet { void foo() { qHash(T()); } }; // void qHash(double) {} // ok if placed here void qHash(int*) {} int main() { QSet s; s.foo(); // ok QSet sp; sp.foo(); // do not compile, qHash(int*) is no

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

2007-05-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #13 from jvdelisle at gcc dot gnu dot org 2007-05-04 14:36 --- I noticed after applying the patch to simplify.c the double error problem returned. I will continue on that part. Subtle things going on here. Side effects. At least we have the segfault resolved. -- http:

[Bug fortran/31803] ICE for character pointer => target(range)

2007-05-04 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-05-04 14:40 --- Subject: Bug 31803 Author: burnus Date: Fri May 4 13:40:32 2007 New Revision: 124419 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124419 Log: 2007-05-04 Tobias Burnus <[EMAIL PROTECTED]> PR fort

[Bug fortran/31803] ICE for character pointer => target(range)

2007-05-04 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-05-04 14:46 --- Fixed in 4.3. Not for 4.2.0. If someone has strong feelings about 4.2.1, please reopen. -- burnus at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug ada/16101] Illegal program not detected, pragma Convention after freeze

2007-05-04 Thread charlet at gcc dot gnu dot org
--- Comment #2 from charlet at gcc dot gnu dot org 2007-05-04 14:50 --- Fixed on trunk: $ gcc -c test_248687.ads test_248687.ads:6:04: representation item appears too late -- charlet at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/31210] I/O of string with (non-constant) zero length

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-05-04 15:06 --- Reduced testcase: integer :: l = 0 write(*,'(A,I1)') foo(), 0 contains function foo() character(len=l) :: foo foo = "" end function end When a function result is a string of length 0, and

[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should

2007-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #46 from rguenth at gcc dot gnu dot org 2007-05-04 15:31 --- http://www.suse.de/~gcctest/c++bench/tramp3d/ 2nd graph from the top :( boost ICEs: /gcc/spec/sb-vangelis-head-64/boost_1_33_1/boost/wave/util/unput_queue_iterator.hpp:221: warning: suggest parentheses around &&

[Bug fortran/31210] I/O of string with (non-constant) zero length

2007-05-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2007-05-04 16:04 --- I agree, this patch is OK for trunk Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31210

[Bug target/31786] error: unable to find a register to spill in class 'BASE_POINTER_REGS'

2007-05-04 Thread eweddington at cso dot atmel dot com
--- Comment #9 from eweddington at cso dot atmel dot com 2007-05-04 16:06 --- >From Bjoern Haase: Hi all, I think that we could resolve this ICE by adding an unnamed pattern like (define_insn "*strangeMovhi" [(set (mem:HI (plus:HI (reg:HI 28) (const_int 1))

[Bug fortran/31210] I/O of string with (non-constant) zero length

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-05-04 16:14 --- Subject: Bug 31210 Author: fxcoudert Date: Fri May 4 15:14:07 2007 New Revision: 124428 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124428 Log: PR libfortran/31210 * io/transfer.c (tra

[Bug fortran/31210] I/O of string with (non-constant) zero length

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-05-04 16:20 --- Subject: Bug 31210 Author: fxcoudert Date: Fri May 4 15:20:17 2007 New Revision: 124429 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124429 Log: PR libfortran/31210 * gfortran.dg/zero_l

[Bug libfortran/31210] I/O of string with (non-constant) zero length

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-05-04 16:21 --- Fixed on mainline. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/29523] [4.1/4.2 only] ICE with some non up-to date .mod files

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2007-05-04 16:38 --- I can reproduce that ICE with 4.2.0. It's working fine with gfortran 4.3 (even under ElectricFence and valgrind). It's not a regression from the 4.1 branch, since you already had that problem there, as far as I un

[Bug fortran/31467] internal compiler error when compiling with gfortran

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-05-04 16:40 --- Closing. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|WA

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

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-05-04 16:49 --- Also happens on i686-linux. It's a 4.1/4.2 regression, which means we could theoretically try to fix it. I'm closing this as WONTFIX nonetheless due to the small impact of the bug (it's triggered by invalid code)

[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should

2007-05-04 Thread ian at airs dot com
--- Comment #47 from ian at airs dot com 2007-05-04 16:54 --- Unfortunately there is no obvious way to avoid creating the asm if the types are the same. The reason is that the dynamic types are different, and we don't know the dynamic type. Look at your original test case: Bar *

[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should

2007-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #48 from rguenth at gcc dot gnu dot org 2007-05-04 16:57 --- Doh, you are right. So we're back to doing it in the aliasing machinery and with a new tree-code I think. On IRC Danny said he "can do it" ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29286

[Bug fortran/31197] [4.3/4.2 regression^2] TRANSPOSE/RESHAPE and strings

2007-05-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2007-05-04 17:20 --- Segafult is because sym->ts.cl is NULL coming into gfc_conv_function_call. I suspect reshape is not getting resolved correctly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31197

[Bug fortran/31817] New: Give at least a warning for specification function without explicit interface

2007-05-04 Thread burnus at gcc dot gnu dot org
"A function is a specification function if it is a pure function, is not a standard intrinsic function, is not an internal function, is not a statement function, and does not have a dummy procedure argument." This is true for "fn" in: function f2 (fn, i) integer :: i, fn character (len

[Bug fortran/31197] [4.3/4.2 regression^2] TRANSPOSE/RESHAPE and strings

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-05-04 17:29 --- (In reply to comment #5) > Segafult is because sym->ts.cl is NULL coming into gfc_conv_function_call. I > suspect reshape is not getting resolved correctly. I've given this one a look this afternoon, and I could

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

2007-05-04 Thread terry at chem dot gu dot se
--- Comment #3 from terry at chem dot gu dot se 2007-05-04 17:46 --- While being a reasonably uncommon case, AFAICT it's a legal construct. That is: not invalid code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31720

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

2007-05-04 Thread terry at chem dot gu dot se
--- Comment #4 from terry at chem dot gu dot se 2007-05-04 17:50 --- (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.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31720

[Bug fortran/31197] [4.3/4.2 regression^2] TRANSPOSE/RESHAPE and strings

2007-05-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2007-05-04 17:51 --- The problem is transpose related. In gfc_conv_intrinsic_funcall we pull in the symbol with gfc_get_symbol_for_expr and then do nothing with it before calling gfc_conv_function_call. The symbol type is BT_UNKNOWN

[Bug fortran/31818] New: Wrongly accepts namelists with assumed-sized arrays

2007-05-04 Thread burnus at gcc dot gnu dot org
subroutine test(cha) implicit none character(len=10) :: cha(:) namelist /z/ cha end subroutine test See also: gfortran.dg/namelist_14.f90 This is invalid: "5.4 NAMELIST statement" "C574 (R553) A namelist-group-object shall not be an assumed-size array." Other compilers reject this: ifo

[Bug fortran/31820] New: Warning if case label value exceeds maximum value for type

2007-05-04 Thread burnus at gcc dot gnu dot org
integer(kind=1) i ! kind = 1, -128 <= i < 127 select case (i) case (200) ! kind = 4, unreachable because of range of i Taken from gfortran.dg/select_5.f90. This is valid, but one should print a warning. One may also print an error since having such a case label does not m

[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. The

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

2007-05-04 Thread terry at chem dot gu dot se
--- Comment #6 from terry at chem dot gu dot se 2007-05-04 18:35 --- Created an attachment (id=13507) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13507&action=view) Revised acmod.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31720

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

2007-05-04 Thread terry at chem dot gu dot se
--- Comment #7 from terry at chem dot gu dot se 2007-05-04 18:35 --- Created an attachment (id=13508) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13508&action=view) Revised nnh.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31720

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

2007-05-04 Thread terry at chem dot gu dot se
--- Comment #8 from terry at chem dot gu dot se 2007-05-04 18:37 --- (In reply to comment #5) > (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.

[Bug target/22539] Internal compiler error with maximum sized array

2007-05-04 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-05-04 19:02 --- Subject: Bug 22539 Author: dfranke Date: Fri May 4 18:02:18 2007 New Revision: 124437 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124437 Log: gcc/fortran: 2007-05-04 Daniel Franke <[EMAIL PROTECTED]>

[Bug fortran/22359] [4.1/4.2 regression] fseek intrinsic not implemented

2007-05-04 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2007-05-04 19:34 --- Fixed in trunk. Due to a typo in the PR number, the commit message went to PR22539. Sorry for that :( As it is a regression wrt g77, this patch probably needs to be backported to 4.1/4.2. Unassigning myself for no

[Bug fortran/22359] fseek intrinsic not implemented

2007-05-04 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.1/4.2 regression] fseek |fseek intrinsic not |intrinsic not implemented |i

[Bug libgcj/31659] config-int.h:327:1: error: "INT8_MIN" redefined

2007-05-04 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2007-05-04 19:58 --- The same happens on Solaris up to and including release 9. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/31821] New: character pointer => target(range) should detect if lengths don't match

2007-05-04 Thread burnus at gcc dot gnu dot org
character (len=4), s1 character (len=20), pointer :: p1 s1 = 'abcd' p1 => s1(2:3) should be rejected at compile time as len(s1(2:3)) == 2 but p1 has the length 20. This is not detected because primary.c's match_varspec contains: if (substring) primary->ts.cl = NULL; If

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

2007-05-04 Thread burnus at gcc dot gnu dot org
Test case. The comments show what NAG f95 -C=all prints at run time. program ptr implicit none character(len=10), target :: s1 character(len=5), pointer :: p1 integer, volatile :: i i = 8 ! Unequal character lengths (5 and 8) in pointer assignment p1 => s1(1:i) call bar(s1) contains

[Bug libgomp/28482] Cannot use libgomp in shared library

2007-05-04 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-05-04 20:21 --- Subject: Bug 28482 Author: jakub Date: Fri May 4 19:21:18 2007 New Revision: 124445 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124445 Log: PR libgomp/28482 * configure.tgt: Don't link with

[Bug libfortran/31760] missing elemental applicability

2007-05-04 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2007-05-04 20:24 --- Subject: Bug 31760 Author: dfranke Date: Fri May 4 19:24:43 2007 New Revision: 124446 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124446 Log: gcc/fortran: 2007-05-04 Daniel Franke <[EMAIL PROTECTED]>

[Bug libfortran/31760] missing elemental applicability

2007-05-04 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2007-05-04 20:29 --- Fixed in trunk. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31197] [4.3/4.2 regression^2] TRANSPOSE/RESHAPE and strings

2007-05-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2007-05-04 20:39 --- I have been chasing this around a bit, clear into decl.c and matchexp.c Nowhere does cl get set. I wonder if there is a separate code path taken when A is defined as a component of a derived type. Stating the o

[Bug fortran/31821] character pointer => target(range) should detect if lengths don't match

2007-05-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2007-05-04 20:43 --- This looks suspiciously like the problem we are hunting down in pr31197. Can you have a look and see if its related, if not the same bug? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31821

[Bug fortran/31627] -bounds-check doesn't check lower bound of assumed-sized array

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-05-04 21:32 --- Created an attachment (id=13509) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13509&action=view) Tentative patch for this bug Not yet fully tested, nor regtested, but it should do the deed. -- http://

[Bug libgcj/31659] config-int.h:327:1: error: "INT8_MIN" redefined

2007-05-04 Thread andreast at gcc dot gnu dot org
--- Comment #7 from andreast at gcc dot gnu dot org 2007-05-04 22:06 --- builds here too: sparc-sun-solaris2.8, multilib, native 32-bit. Tests are failing due to boehm-gc stuff: sp out of bounds and compilation complains about: /export/data/devel-test/gcc-svn/trunk/libjava/classpath/to

[Bug fortran/31823] New: [4.2 regression] COMPLEX not documented

2007-05-04 Thread brooks at gcc dot gnu dot org
The COMPLEX intrinsic is not documented in 4.2. -- Summary: [4.2 regression] COMPLEX not documented Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unass

[Bug fortran/31823] [4.2 regression] COMPLEX not documented

2007-05-04 Thread brooks at gcc dot gnu dot org
--- Comment #1 from brooks at gcc dot gnu dot org 2007-05-04 22:11 --- Created an attachment (id=13510) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13510&action=view) Documentation patch for COMPLEX -- brooks at gcc dot gnu dot org changed: What|Removed

[Bug fortran/31821] character pointer => target(range) should detect if lengths don't match

2007-05-04 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-05-04 22:14 --- See also: http://gcc.gnu.org/ml/fortran/2007-05/msg00072.html One also needs a run-time test for: character (len=4), target :: s1 character (len=2), pointer :: p1 s1 = 'abcd' p1 => s1(1:2) if(s1

[Bug fortran/31725] substring bound evaluated multiple times: wrong code for string(function():) = 'X'

2007-05-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-05-04 22:15 --- Here's a patch that avoids multiple evaluation of substring start and end indices. It was tested on the testcase, also by changing the (start:) range into a (:end) range, and also by using -fbounds-check (which ev

[Bug ada/31824] New: Code generation problem with gnat-4.1.2

2007-05-04 Thread theorizer at freemail dot hu
I've realized a strange code generation behavior I cannot explain and I think to be a bug. It's merely about that a function calls to another one with a parameter read from a constant array. The constant array superfluously gets copied onto the stack. I've attached the test code with one can repro

[Bug ada/31824] Code generation problem with gnat-4.1.2

2007-05-04 Thread theorizer at freemail dot hu
--- Comment #1 from theorizer at freemail dot hu 2007-05-04 22:20 --- Created an attachment (id=13511) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13511&action=view) the code snippet for reproducing the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31824

[Bug fortran/31197] [4.3/4.2 regression^2] TRANSPOSE/RESHAPE and strings

2007-05-04 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2007-05-04 22:29 --- If ts.cl->length is set to one, the test case of comment 6 works; see also http://gcc.gnu.org/ml/fortran/2007-05/msg00072.html which contains a bogus patch which fixes this. As that patch messes around with length, t

[Bug c++/31825] New: bug in g++ a.out for stl::map

2007-05-04 Thread lbana at hotmail dot com
# gcc -v Reading specs from /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/specs Configured with: ./configure Thread model: posix gcc version 3.4.4 I have compiled a simple test program in C++ using stl::map. #g++ -DDOESNT_WORK test.cpp #./a.out Added value TYpe=0name = varnum0value =199 Added valu

[Bug libstdc++/31825] bug in g++ a.out for stl::map

2007-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-05-04 23:05 --- I don't think this is a bug as you changing the key from underneath of std::map. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgcj/31659] config-int.h:327:1: error: "INT8_MIN" redefined

2007-05-04 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #8 from dave at hiauly1 dot hia dot nrc dot ca 2007-05-04 23:10 --- Subject: Re: config-int.h:327:1: error: "INT8_MIN" redefined > and compilation complains about: > /export/data/devel-test/gcc-svn/trunk/libjava/classpath/tools/gnu/classpath/tools/jar/Messages.java:64: > w

[Bug libstdc++/31826] New: Invalid read of size 1

2007-05-04 Thread shw_mail at wp dot pl
Dears Valgrind reports me something shown below. ==1193== Invalid read of size 1 ==1193==at 0x4023694: strcpy (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==1193==by 0x41D8837: (below main) (in /lib/libc-2.5.so) ==1193== Address 0x42F1455 is 13 bytes inside a block of size 15 f

[Bug libffi/31574] FAIL: libffi.call/cls_6byte.c -O3 output pattern test

2007-05-04 Thread danglin at gcc dot gnu dot org
--- Comment #1 from danglin at gcc dot gnu dot org 2007-05-04 23:43 --- This test is no longer failing. I believe that the problem was fixed by this change: http://gcc.gnu.org/ml/gcc-patches/2007-04/msg02036.html -- danglin at gcc dot gnu dot org changed: What|Remove

[Bug middle-end/31493] FAIL: gcc.c-torture/execute/991118-1.c execution at -Os and -O3

2007-05-04 Thread danglin at gcc dot gnu dot org
--- Comment #4 from danglin at gcc dot gnu dot org 2007-05-04 23:46 --- This test is no longer failing. I believe that this problem was fixed by this change: http://gcc.gnu.org/ml/gcc-patches/2007-04/msg02036.html -- danglin at gcc dot gnu dot org changed: What|Remov

[Bug middle-end/31492] FAIL: gcc.c-torture/execute/20040709-2.c execution at -O1 and above

2007-05-04 Thread danglin at gcc dot gnu dot org
--- Comment #3 from danglin at gcc dot gnu dot org 2007-05-04 23:48 --- This test is no longer failing. I believe that the problem was fixed by this change: http://gcc.gnu.org/ml/gcc-patches/2007-04/msg02036.html -- danglin at gcc dot gnu dot org changed: What|Remove

[Bug testsuite/31168] FAIL: g++.dg/eh/ia64-2.C (test for excess errors)

2007-05-04 Thread danglin at gcc dot gnu dot org
--- Comment #1 from danglin at gcc dot gnu dot org 2007-05-04 23:53 --- *** This bug has been marked as a duplicate of 30459 *** -- danglin at gcc dot gnu dot org changed: What|Removed |Added --

[Bug testsuite/30459] FAIL: g++.dg/eh/ia64-2.C (test for excess errors)

2007-05-04 Thread danglin at gcc dot gnu dot org
--- Comment #1 from danglin at gcc dot gnu dot org 2007-05-04 23:53 --- *** Bug 31168 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30459

[Bug other/31827] New: limits-exprparen.c: Pid 2297 received a SIGSEGV for stack growth failure

2007-05-04 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ - O0 -w -fno-show-column -c -o limits-exprparen.o /test/gnu/gcc/gcc/gcc/testsuit e/gcc.c-torture/compile/limits-exprparen.c(timeout = 300) ^M Pid 2297 received a SIGSEGV for stack growth failure.^M Possble causes:

[Bug testsuite/31828] New: FAIL: gcc.dg/float-range-[3-5].c (test for excess errors)

2007-05-04 Thread danglin at gcc dot gnu dot org
FAIL: gcc.dg/float-range-3.c (test for excess errors) Excess errors: /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/float-range-3.c:10: error: 'FP_INFINITE' undeclared (first use in this function) /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/float-range-3.c:10: error: (Each undeclar ed identifier is reported onl

[Bug libstdc++/31825] bug in g++ a.out for stl::map

2007-05-04 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2007-05-05 00:11 --- You are only passing around a pointer to name and not allocating memory for the various "C" strings, instead overwriting each time in the loop the same char array. Well, there are also other problems in the code, like not p

[Bug libstdc++/31826] Invalid read of size 1

2007-05-04 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-05-05 00:12 --- We need self-contained, minimal code, before taking any further action. Thanks. -- pcarlini at suse dot de changed: What|Removed |Added ---

[Bug c++/31829] New: FAIL: g++.dg/warn/multiple-overflow-warn-3.C (test for warnings, line 8)

2007-05-04 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/g++/../../g++ -B/test/gnu/ gcc/objdir/gcc/testsuite/g++/../../ /test/gnu/gcc/gcc/gcc/testsuite/g++.dg/warn/ multiple-overflow-warn-3.C -nostdinc++ -I/test/gnu/gcc/objdir/hppa64-hp-hpux11. 11/libstdc++-v3/include/hppa64-hp-hpux11.11 -I/test/gnu/

[Bug fortran/31823] [4.2 regression] COMPLEX not documented

2007-05-04 Thread brooks at gcc dot gnu dot org
--- Comment #2 from brooks at gcc dot gnu dot org 2007-05-05 00:29 --- Created an attachment (id=13512) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13512&action=view) Documentation patch (not corrupted, this time) -- brooks at gcc dot gnu dot org changed: What

[Bug target/31830] New: Input parameter trashed with optimization -O when using a union and bit field

2007-05-04 Thread gmorain at gmail dot com
This occurs with a cross compilation from i386-linux to powerpc-elf. The input parameter in r3 gets overwritten by the return value from a function call. This only occurs when optimization is enabled (-O1 or higher). This has something to do with unions and bit fields. A simple test case follow

[Bug target/31830] Input parameter trashed with optimization -O when using a union and bit field

2007-05-04 Thread gmorain at gmail dot com
--- Comment #1 from gmorain at gmail dot com 2007-05-05 00:47 --- Created an attachment (id=13513) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13513&action=view) Source that demonstrates the problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31830

  1   2   >