[Bug fortran/33271] nint_2.f90 abort compiled with -O0

2007-09-11 Thread dominiq at lps dot ens dot fr
--- Comment #19 from dominiq at lps dot ens dot fr 2007-09-11 10:44 --- In order to avoid a too long post, I am splitting my answer in pieces. > PS: I should note that the bug in question is a relatively minor one: > lround(), on ppc-glibc and AIX, returns a wrong answer f

[Bug fortran/33296] nearest(huge(1.0),1.0) gives an error

2007-09-11 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2007-09-11 10:48 --- Subject: Re: nearest(huge(1.0),1.0) gives an error > (Doing so is a missed optimization, now filed as PR33387.) When fixed, will the second test throw an error or not? While looking for jokes about Intel, I can

[Bug target/33391] [4.3 regression] gfortran.dg/do_3.F90 fails at -O2

2007-09-11 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2007-09-11 15:40 --- > Well, I think the "depending on the language being compiled" is important. I > think the testcase is valid Fortran, and shouldn't fail whatever the > optimization level you use. FX, may I

[Bug java/33390] build of java hangs on powerPC

2007-09-11 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2007-09-11 15:46 --- Is this a duplicate of PR33384? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33390

[Bug target/33391] [4.3 regression] gfortran.dg/do_3.F90 fails at -O2

2007-09-11 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2007-09-11 15:54 --- > this behaviour was prohibited which behavior: folding huge(0)+1 as -huge(0)-1? or considering huge(0)+1 as invalid (out of range) and doing an optimization based on the fact that any valid integer is smaller

[Bug bootstrap/33406] New: At revision 128385 Bootstraping PPC Darwin still fail in Java

2007-09-12 Thread dominiq at lps dot ens dot fr
: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: powerpc-apple-darwin8 GCC host triplet: powerpc-apple-darwin8 GCC target triplet

[Bug testsuite/28837] need to prune "can't find atom for N_GSYM stabs" warnings on Darwin for -m64

2007-09-12 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2007-09-13 06:39 --- The (spurious?) warning is also present in 4.3. > The patch here is clearly wrong. If you don't like the warnings, you should > work out why they are being output and fix the underlying bug, rather tha

[Bug middle-end/33348] [4.3 Regression] gfortran.dg/g77/19990826-3.f fails at -O1

2007-09-15 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2007-09-15 19:47 --- I have reduced the test to: C* PCAPOP SUBROUTINE PCAPOP() DIMENSION NVA(6) C ! P1=FLOAT(NB)/FLOAT(M1) 10IP1=P1 IF(IP1.GE.NVA(K)) GOTO 7 IF(IP2.EQ.0) GOTO 3 7 IF(K.EQ.6) GOTO 11

[Bug target/33406] [4.3 Regression] At revision 128385 Bootstraping PPC Darwin still fail in Java

2007-09-15 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2007-09-15 19:53 --- I won't comment about the incredible activity on this bug!-( > Lastly, if this is the same bug that is breaking the libgomp build on > powerpc64 > linux, those testresults are now all being poste

[Bug middle-end/33348] [4.3 Regression] gfortran.dg/g77/19990826-3.f fails at -O1

2007-09-15 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2007-09-15 20:28 --- The line SUBROUTINE PCAPOP() is not necessary to get the failure. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33348

[Bug fortran/33446] [4.3 regression] ERROR: gfortran.dg/nint_2.f90 -O0 : syntax error in target selector

2007-09-15 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2007-09-15 21:17 --- see http://gcc.gnu.org/ml/fortran/2007-09/msg00247.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33446

[Bug target/33406] [4.3 Regression] At revision 128385 Bootstraping PPC Darwin still fail in Java

2007-09-16 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2007-09-16 19:55 --- > It is impossible to get some preprocessed source from this break since it does > not preprocess anything. It is a .class to .o compilation. May be you could have a look at the reduced code in PR

[Bug target/33406] [4.3 Regression] At revision 128385 Bootstraping PPC Darwin still fail in Java

2007-09-17 Thread dominiq at lps dot ens dot fr
--- Comment #11 from dominiq at lps dot ens dot fr 2007-09-17 13:59 --- Subject: Re: [4.3 Regression] At revision 128385 Bootstraping PPC Darwin still fail in Java Did you try to bootstrap with Java with the one line patch in: http://gcc.gnu.org/ml/gcc-bugs/2007-09/msg01311.html It

[Bug fortran/33469] New: Add one digit to the default formatted output

2007-09-18 Thread dominiq at lps dot ens dot fr
output Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr http://gcc.gnu.org

[Bug fortran/33469] Add one digit to the default formatted output

2007-09-18 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2007-09-18 09:47 --- Created an attachment (id=14219) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14219&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33469

[Bug libfortran/33469] Default formats for real input are not precise enough

2007-09-19 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2007-09-19 12:38 --- Subject: Re: Add one digit to the default formatted output > Dominique, what is the output of your test program on ppc-darwin? real(4) default 808 1PG20.61881 1PG20.7 808 1PG2

[Bug fortran/33554] Seg.fault: Default initialization of derived type uses uninitialized values

2007-09-25 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2007-09-25 20:08 --- On Darwin8 I get: [karma] f90/bug% gfc -O0 -fbounds-check -fbacktrace -g pr33554.f90 [karma] f90/bug% a.out before construct_temp, size (temp) = 2 Enter construct_temp, size (temp) = 2 Leave

[Bug fortran/33554] [4.3 regression] Seg.fault: Default initialization of derived type uses uninitialized values

2007-09-26 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2007-09-26 07:45 --- > Failing: > GNU Fortran (GCC) 4.3.0 20070805 (experimental) Did you try a more recent version? I don't see the problem with Target: powerpc-apple-darwin8 gcc version 4.3.0 20070925 (experimental) (GCC)

[Bug fortran/33554] [4.3 regression] Seg.fault: Default initialization of derived type uses uninitialized values

2007-09-26 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2007-09-26 08:10 --- Now I get a bus error, but I have to use: gfc -m64 -g pr33554.f90 -O0 with gfc -m64 -g pr33554.f90 -fbounds-check -O0 the bus error disappear. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33554

[Bug fortran/33568] ICE with ANINT (with KIND and an array)

2007-09-27 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2007-09-27 13:59 --- The patch fixes the test case on this PR, but gives ICE on several of my tests. The simplest is: program aint_anint_1 implicit none real(8) :: s = 42.7D0, s1, s2 s1 = aint(s) ! s2 = aint(s, kind=4) end

[Bug fortran/33568] ICE with ANINT (with KIND and an array)

2007-09-27 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2007-09-27 16:18 --- With the new patch I still have an ICE on: reala real*8 c print *, (nearest(0.5,-1.0)+0.5)-1.0 a = 8388609.0 print '(3(1PG26.9))', a, anint(a), anint

[Bug fortran/33609] New: ICE on arithmetic overflow

2007-10-01 Thread dominiq at lps dot ens dot fr
: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: powerpc-apple-darwin8 GCC host triplet: powerpc-apple-darwin8 GCC target triplet

[Bug fortran/33609] ICE on arithmetic overflow

2007-10-01 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2007-10-01 15:13 --- Subject: Re: ICE on arithmetic overflow > What does it do with -fno-range-check? compiles and outputs +Infinity -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33609

[Bug fortran/33609] ICE on arithmetic overflow

2007-10-01 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2007-10-01 16:48 --- Subject: Re: ICE on arithmetic overflow > What does -fdump-tree-original give when you use the -fno-range-check > option? MAIN__ () { static int4 options.0[7] = {68, 127, 0, 0, 0, 1, 0}; _gfortran_set_o

[Bug libfortran/33469] Default formats for real input are not precise enough

2007-10-02 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2007-10-02 08:29 --- Subject: Re: Default formats for real input are not precise enough > Part of it is simply a libc bug. There are numbers close to 1.0 and -1.0 that > the darwin libc can't output properly: Nice catch!

[Bug fortran/33542] gfortran does not detect ambigious specific names if they are the same as generic names

2007-10-02 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2007-10-02 10:05 --- Works as advertised without regression on PPC Darwin. However there may be room for improvements for the error message: pr33542.f90:24.9: USE M1 1 Error: Ambiguous interfaces 'foo2' and 'f

[Bug fortran/33636] Rejects valid use of vector subscript in derived type parameter

2007-10-03 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2007-10-03 13:03 --- On PPC Darwin, I get: [karma] f90/bug% gfc pr33636.f90 [karma] f90/bug% a.out 0 [karma] f90/bug% gfc -m64 pr33636.f90 [karma] f90/bug% a.out 0 [karma] f90/bug% gfc /opt/gcc/_gcc-clean/gcc

[Bug libfortran/33469] Default formats for real input are not precise enough

2007-10-03 Thread dominiq at lps dot ens dot fr
--- Comment #10 from dominiq at lps dot ens dot fr 2007-10-03 19:30 --- gcc/testsuite/gfortran.dg/default_format_1.f90 passes the test if I replace if (y /= x) res = res + 1 by z=0.0_k if (abs(x-y)>nearest(z,1.0_k)) res = res + 1 in the two places of test

[Bug libfortran/33469] Default formats for real input are not precise enough

2007-10-03 Thread dominiq at lps dot ens dot fr
--- Comment #11 from dominiq at lps dot ens dot fr 2007-10-03 19:34 --- BTW I have forgotten to explain why I have to use an auxiliary variable 'z': if I usenearest(0.0_8,1.0_8); I get default_format_1_db.f90:70.29: if (abs(x-y)>nearest(0.0_8,1.0_8)) print

[Bug fortran/33646] [4.3 Regression] Gcc 4.3 failed to compile tonto in SPEC CPU 2006

2007-10-03 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2007-10-03 21:32 --- > It's me I have warned you;-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33646

[Bug fortran/33656] Internal compiler error

2007-10-04 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2007-10-04 13:51 --- Works for me: [karma] f90/bug% gfc -c -w -O pr33656.f [karma] f90/bug% gfc -m64 -c -w -O pr33656.f [karma] f90/bug% gfc -v Using built-in specs. Target: powerpc-apple-darwin8 Configured with: ../gcc-4.3-work

[Bug fortran/31608] wrong types in character array/scalar binop

2007-10-06 Thread dominiq at lps dot ens dot fr
--- Comment #24 from dominiq at lps dot ens dot fr 2007-10-06 21:47 --- The patch in comment #22 fixes the 3 PR's, but cause a quite massive regression on my tests, for instance: INTEGER :: I CHARACTER(LEN=100) :: data="1.0 3.0" REAL :: C,D READ(data,*) C,D I=TRANSFE

[Bug libfortran/33683] calculating lgamma instead of gamma

2007-10-06 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2007-10-06 22:28 --- On Darwin I get: /usr/bin/ld: Undefined symbols: _gammaf collect2: ld returned 1 exit status Target: powerpc-apple-darwin8 Configured with: ../gcc-4.3-work/configure --prefix=/opt/gcc/gcc4.3w --mandir=/opt/gcc

[Bug fortran/33689] [Regression 4.3] Array with constant bound rejected as automatic array

2007-10-08 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2007-10-08 10:11 --- works with revision 129038 (20071005). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33689

[Bug fortran/33686] FORALL loop gives wrong result

2007-10-08 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2007-10-08 12:05 --- You can add xlf to the (3, 1, 4, 2) list. I think this is the right answer. The following code PROGRAM TST IMPLICIT NONE INTEGER :: P(4),Q(4),I P = (/2,4,1,3/) FORALL(I=1:4) Q(P(I)) = I END FORALL

[Bug fortran/33686] FORALL loop gives wrong result

2007-10-10 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2007-10-10 09:35 --- Are the codes in #7 and #8 supposed to behave differently? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33686

[Bug fortran/33727] Segfault with ugly string array constructor

2007-10-10 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2007-10-10 14:38 --- Note that the (IMHO) valid code: program array_char implicit none character (len=2) :: x, y character (len=2) :: z(2) x = "a " y = "cd" z = (/y(1:len(trim(x))), x(1:len(trim(x)))/) ! causes seg

[Bug fortran/33254] Diagnose different string lengths in array constructors at run time

2007-10-11 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2007-10-11 09:38 --- After applying the patch and the one to PR33727 (thanks Paul!-), the first test fails at runtime: At line 6 of file pr32703_1.f90 Fortran runtime error: Different CHARACTER lengths (1/2) in array constructor but

[Bug fortran/31608] wrong types in character array/scalar binop

2007-10-11 Thread dominiq at lps dot ens dot fr
--- Comment #31 from dominiq at lps dot ens dot fr 2007-10-11 10:17 --- Works as advertised without regression so far (PPC Darwin, 32 bit mode close to complete), but for the codelets in #30. I wonder if the code in #28 is valid: the line(s) merge(transfer(string,"x",

[Bug fortran/33254] Diagnose different string lengths in array constructors at run time

2007-10-11 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2007-10-11 12:34 --- > This is weird, and can't really be (well, in a hypothetical world where > only the bounds check goes wrong), as the whole array has only a single > string length, so I would expect it to either pr

[Bug fortran/33733] ICEs in simplify_transfer

2007-10-11 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2007-10-11 13:53 --- The patch fixes the tests but resurect an old ICE on (was pr18769): program gfcbug21 implicit none type t integer :: i end type t type (t), parameter :: u = t (1) integer, parameter :: idx_list(1

[Bug fortran/33254] Diagnose different string lengths in array constructors at run time

2007-10-11 Thread dominiq at lps dot ens dot fr
--- Comment #10 from dominiq at lps dot ens dot fr 2007-10-11 14:10 --- > ... What I menat is the following: after the > data has been added to the array, the compiler should use the string > length of the array, ... I agree, this is why I posted the second code with y(1:l

[Bug fortran/33733] ICEs in simplify_transfer

2007-10-11 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2007-10-11 14:14 --- I don't know if this the right fix, but --- /opt/gcc/_gcc-clean/gcc/fortran/simplify.c 2007-10-07 09:37:46.0 +0200 +++ /opt/gcc/gcc-4.3-work/gcc/fortran/simplify.c2007-10-11 16:05:57.0

[Bug fortran/33233] Parent and contained procedure: Wrongly treated as generic procedures

2007-10-11 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2007-10-11 17:30 --- Works as expected: now gfortran agrees with xlf. Regtest almost finished in 32 bit mode. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33233

[Bug fortran/33733] ICEs in simplify_transfer

2007-10-11 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2007-10-11 17:31 --- > Oui, c'est bon! Merci. Question: is this the only omission? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33733

[Bug testsuite/33739] New: Failure of gfortran.dg/literal_character_constant_1_*.F with -m64 -g on Darwin

2007-10-11 Thread dominiq at lps dot ens dot fr
uct: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: powerpc-apple-darwin8 GCC h

[Bug fortran/33733] ICEs in simplify_transfer

2007-10-11 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2007-10-12 06:58 --- It works for my tests, so the simpler the better. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33733

[Bug debug/33739] Failure of gfortran.dg/literal_character_constant_1_*.F with -m64 -g on Darwin

2007-10-12 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2007-10-12 13:44 --- > Have you tried building gcc trunk with the Xcode 2.5 Developer Preview ...? No, I am at 2.4.1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33739

[Bug fortran/33749] Wrong evaluation of expressions in lhs of assignment statements

2007-10-12 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2007-10-12 15:23 --- The same on PPC Darwin: pr33749 with -m64 gives the expected result, but pr33686 gives the same result for 32 and 64 bit modes. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33749

[Bug fortran/33686] FORALL loop gives wrong result

2007-10-12 Thread dominiq at lps dot ens dot fr
--- Comment #11 from dominiq at lps dot ens dot fr 2007-10-12 13:47 --- > In the case where the FORALL only fills part of the array P, yes. If you mean, say "FORALL(I=2:3)", you are right! I overlooked this possibility. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33686

[Bug debug/33739] Failure of gfortran.dg/literal_character_constant_1_*.F with -m64 -g on Darwin

2007-10-12 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2007-10-12 19:51 --- > No, I am at 2.4.1. I have installed Xcode 2.5 and rebuilt gcc and gfortran, but it did not help!-(though I may have missed something else). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33739

[Bug fortran/31608] wrong types in character array/scalar binop

2007-10-12 Thread dominiq at lps dot ens dot fr
--- Comment #33 from dominiq at lps dot ens dot fr 2007-10-12 20:31 --- > It's an easy fix but let's do one thing at a time:-) Sure! I have filled PR33759 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31608

[Bug fortran/33759] New: Unequal character lengths in MERGE intrinsic not detected in contained function.

2007-10-12 Thread dominiq at lps dot ens dot fr
the function, unless I am missing something. -- Summary: Unequal character lengths in MERGE intrinsic not detected in contained function. Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug fortran/33759] Unequal character lengths in MERGE intrinsic not detected at run time

2007-10-12 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2007-10-12 22:18 --- Subject: Re: Unequal character lengths in MERGE intrinsic not detected at run time > scalar ("string") is conformable with any array (such as "tmp") Yes, I missed that, so if the length of

[Bug debug/33739] [Regression 4.3] Failure of gfortran.dg/literal_character_constant_1_*.F with -m64 -g on Darwin

2007-10-13 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2007-10-13 21:52 --- I have forgotten to say that it is a regression, the tests pass with version 4.3.0 20071004 (revision 129004) and fail at after version 4.3.0 20071005 )revision 129038). -- dominiq at lps dot ens dot fr changed

[Bug middle-end/33780] different results between O3 and O0

2007-10-15 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2007-10-15 15:51 --- > that causes numerical results with CP2K to change going from -O0 to -O3. If you do expect that optimization optimizes your computation, you should expect some change of the numerical results, so put s

[Bug middle-end/33806] New: [regression 4.3] gfortran.dg/cray_pointers_2.f90 give an ICE at -O3 -m64 on Darwin

2007-10-17 Thread dominiq at lps dot ens dot fr
on Darwin Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: powerpc-app

[Bug middle-end/33806] [regression 4.3] gfortran.dg/cray_pointers_2.f90 give an ICE at -O3 -m64 on Darwin

2007-10-18 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2007-10-18 12:55 --- This regression affects also gfortran.fortran-torture/execute/stack_varsize.f90. A reduced test case is: ! Program to test the stack variable size limit. program stack call sub1 contains ! Local variables

[Bug tree-optimization/33812] Vectorizer testcases fail

2007-10-18 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2007-10-18 13:40 --- This seems to be a duplicate of PR33806, at least the ICE occurs at the same point. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812

[Bug tree-optimization/33812] Vectorizer testcases fail

2007-10-18 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2007-10-18 14:32 --- The same occurs in 32 bit mode, see for instance http://gcc.gnu.org/ml/gcc-testresults/2007-10/msg00804.html [karma] dominiq/Desktop% gfc -O2 -ftree-vectorize -maltivec /opt/gcc/_gcc-clean/gcc/testsuite/gcc.dg/vect

[Bug tree-optimization/33812] Vectorizer testcases fail

2007-10-18 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2007-10-18 14:37 --- The PR started between revisions 129388 (works) and 129401 (does not). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812

[Bug middle-end/33780] different results between O3 and O0

2007-10-18 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2007-10-18 15:23 --- > while we expand a constant integral power to an optimal (as of the count of > multiplications / additions) series of multiplications and additions. It seems the difference is coming from something else. I&

[Bug tree-optimization/33812] Vectorizer testcases fail

2007-10-18 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2007-10-18 16:40 --- May I guess revision 129400? --- trunk/gcc/ChangeLog 2007/10/17 00:46:27 129399 +++ trunk/gcc/ChangeLog 2007/10/17 01:05:50 129400 @@ -1,3 +1,10 @@ +2007-10-17 Alan Modra <[EMAIL PROTEC

[Bug target/33812] [4.3 Regression] Vectorizer testcases fail

2007-10-19 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2007-10-19 21:21 --- After reverting the changes made in revision 129400 (otherwise revision 129491 + gfortran patches), the gcc testsuite gives: Target: powerpc-apple-darwin8 === gcc tests === Schedule of variations: unix

[Bug target/33812] [4.3 Regression] Vectorizer testcases fail

2007-10-19 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2007-10-19 16:39 --- See comment#2 of PR33806. I did not tested the gcc side. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812

[Bug middle-end/33806] [regression 4.3] gfortran.dg/cray_pointers_2.f90 give an ICE at -O3 -m64 on Darwin

2007-10-19 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2007-10-19 16:36 --- I have reverted the changes made in revision 129400 and the reported errors disappeared. Hence added Alan Modra to the cc list. -- dominiq at lps dot ens dot fr changed: What|Removed

[Bug fortran/33818] [Regression 4.3] Bogus error "Variable 'str' is used at (1) before the ENTRY statement"

2007-10-19 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2007-10-19 15:12 --- It is not in gcc version 4.3.0 20070713. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33818

[Bug fortran/33818] [Regression 4.3] Bogus error "Variable 'str' is used at (1) before the ENTRY statement"

2007-10-19 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2007-10-19 15:07 --- The bug is not present in 4.2.2, and appeared before revision 129038. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33818

[Bug fortran/33254] Diagnose different string lengths in array constructors at run time

2007-10-21 Thread dominiq at lps dot ens dot fr
--- Comment #14 from dominiq at lps dot ens dot fr 2007-10-21 20:05 --- Now I understand the strange result I reported in comment #5. What is happening is that there is a second nonprintable character. If I redirect the output to a file I see it (in general ^@). >From what I underst

[Bug fortran/35937] Wrong type for charlength of function

2008-08-08 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2008-08-08 21:50 --- On i686-apple-darwin9, the testcase in comment #4 gives a "Bus error" at -m32 (rev. 138886). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35937

[Bug fortran/37099] New: Wrong results when comparing a character array to a character expression

2008-08-12 Thread dominiq at lps dot ens dot fr
} { struct __st_parameter_dt dt_parm.6; dt_parm.6.common.filename = &"pack_bug_red.f90"[1]{lb: 1 sz: 1}; dt_parm.6.common.line = 23; dt_parm.6.format = &"(55L)"[1]{lb: 1 sz: 1}; dt_parm.6.format_len = 5; dt_parm.6.common.flags = 4096; dt_parm.6.common.unit = 6; _gfortran_st_write (&dt_parm.6); { struct array1_logical(kind=4) parm.7; integer(kind=4) D.1002; D.1002 = i; parm.7.dtype = 273; parm.7.dim[0].lbound = 1; parm.7.dim[0].ubound = 55; parm.7.dim[0].stride = 1; parm.7.data = (void *) &tmp[D.1002 * 55 + -55]; parm.7.offset = -56; _gfortran_transfer_array (&dt_parm.6, &parm.7, 4, 0); } _gfortran_st_write_done (&dt_parm.6); } L.1:; D.1013 = i == 1; i = i + 1; if (D.1013) goto L.2; } } } L.2:; } -- Summary: Wrong results when comparing a character array to a character expression Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37099

[Bug middle-end/37104] New: [4.4 Regression] ICE: in compare_values_warnv, at tree-vrp.c:1031

2008-08-12 Thread dominiq at lps dot ens dot fr
nu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: powerpc-apple-darwin9 GCC host triplet: powerpc-apple-darwin9 GCC target triplet: powerpc-apple-darwin9 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37104

[Bug c++/37105] New: stackalign failures

2008-08-13 Thread dominiq at lps dot ens dot fr
ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: i686-apple-darwin9 GCC host triplet: i686-apple-darwin9 GCC target triplet: i686-apple-darwin9 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37105

[Bug c/37106] New: ICE: in mems_in_disjoint_alias_sets_p, at alias.c:278

2008-08-13 Thread dominiq at lps dot ens dot fr
Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: i686-apple-darwin9 GCC host triplet: i686-apple-d

[Bug fortran/37099] Wrong results when comparing a character array to a character expression

2008-08-13 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2008-08-13 12:40 --- The strings must have more than one character to reproduce the bug: integer, parameter :: n = 10 integer, parameter :: ilst(n) = (/(i,i=1,n)/) character(*), parameter :: c0lst(n) = (/(char(96+i),i=1,n)/) character

[Bug middle-end/37161] [4.4 Regression]: Revision 139225 caused gfortran.dg/vect/pr33301.f -O

2008-08-20 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2008-08-20 07:54 --- Confirmed on i686-apple-darwin9 in 32-bit mode: [ibook-dhum] lin/test% gfc -c -O2 -ftree-vectorize /opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/vect/pr33301.f /opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/vect

[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c

2008-08-21 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2008-08-21 09:15 --- Same thing here on i686-apple-darwin9. > Does the patch work for you? No! I still get: FAIL: gcc.dg/weak/weak-1.c scan-assembler weak[^ \t]*[ \t]_?j FAIL: gcc.dg/weak/weak-12.c scan-assembler weak[^ \t]*[ \t]_?

[Bug middle-end/37185] New: [4.4 Regression]: gcc.dg/matrix/transpose-3.c:16: internal compiler error: verify_stmts failed

2008-08-21 Thread dominiq at lps dot ens dot fr
g ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: *-apple-darwin* GCC host triplet: *-apple-darwin* GCC target triplet: *-apple-darwin* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37185

[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c

2008-08-21 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2008-08-21 15:33 --- > But was the failures you see too introduced with r139233? It is not in r139096, but appeared in r139293. So it is the right window, but I don't have anything in between. From what I have seen it looks mor

[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c

2008-08-21 Thread dominiq at lps dot ens dot fr
--- Comment #10 from dominiq at lps dot ens dot fr 2008-08-21 19:06 --- I have had a closer look to the failures on i686-apple-darwin9 and they are due to the replacement of '.weak_definition' with '.indirect_symbol' in the assembly code (the regexp problem seems

[Bug fortran/37199] array assignment from function writes out of bounds

2008-08-22 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2008-08-22 10:56 --- Confirmed on i686-apple-darwin9 (both 32 and 64 bit modes). Compiling the test with -fbounds-check gives at run time: At line 18 of file pr37199.f90 Fortran runtime error: Array bound mismatch for dimension 1 of

[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c

2008-08-22 Thread dominiq at lps dot ens dot fr
--- Comment #15 from dominiq at lps dot ens dot fr 2008-08-22 11:48 --- > I don't think this has anything to do with your patch. Unfortunately it has (at least on i686-apple-darwin9). Reverting the patch for gcc/varasm.c I have bootstrapped without any problem and the good news

[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c

2008-08-22 Thread dominiq at lps dot ens dot fr
--- Comment #16 from dominiq at lps dot ens dot fr 2008-08-22 11:51 --- Note the patch in comment #12 minus the varasm.c part fixes also FAIL: g++.dg/ext/weak2.C scan-assembler weak[^ \\t]*[ \\t]_?_Z3foov All the results for 32-bit mode only, but I am pretty confident that they will

[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c

2008-08-22 Thread dominiq at lps dot ens dot fr
--- Comment #18 from dominiq at lps dot ens dot fr 2008-08-22 13:20 --- > Could one (or both) please attach preprocessed code and command line so I can > reproduce the ICE you see with the *whole* patch applied? I don't see it for > neither cris-elf nor native and I don&

[Bug middle-end/37104] [4.4 Regression] ICE: in compare_values_warnv, at tree-vrp.c:1031

2008-08-22 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2008-08-22 14:20 --- I still see it at revision 139372. I am not yet at revision 139385 on ppc. I'll start an update ASAP, result by tomorrow (~10 hours). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37104

[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c

2008-08-22 Thread dominiq at lps dot ens dot fr
--- Comment #23 from dominiq at lps dot ens dot fr 2008-08-22 14:53 --- Here is the command line and its result from directory /opt/gcc/i686-darwin/i686-apple-darwin9/x86_64/libgcc: [ibook-dhum] x86_64/libgcc% /opt/gcc/i686-darwin/./gcc/xgcc -v -save-temps -B/opt/gcc/i686-darwin/./gcc

[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c

2008-08-22 Thread dominiq at lps dot ens dot fr
--- Comment #24 from dominiq at lps dot ens dot fr 2008-08-22 14:54 --- Created an attachment (id=16129) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16129&action=view) libggc2.i for i686-apple-darwin9 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37170

[Bug testsuite/37202] New: FAIL: gcc.dg/visibility-1[4-9].c

2008-08-22 Thread dominiq at lps dot ens dot fr
Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: *-apple-darwin* GCC host triplet: *-apple-darwin* GCC target triplet: *

[Bug testsuite/37202] FAIL: gcc.dg/visibility-1[4-9].c

2008-08-22 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2008-08-22 16:17 --- > This is a duplicate of 37170 I don't think so. Although I am bootstraping with the patch for 37170 and cannot conclude yet, my previous attempt fixed the weak tests, but not the visibility ones. --

[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c

2008-08-22 Thread dominiq at lps dot ens dot fr
--- Comment #26 from dominiq at lps dot ens dot fr 2008-08-22 17:09 --- Bootstrap fails at [ibook-dhum] x86_64/libjava% /opt/gcc/i686-darwin/./gcc/xgcc -shared-libgcc -B/opt/gcc/i686-darwin/./gcc -nostdinc++ -L/opt/gcc/i686-darwin/i686-apple-darwin9/x86_64/libstdc++-v3/src -L/opt/gcc

[Bug middle-end/37104] [4.4 Regression] ICE: in compare_values_warnv, at tree-vrp.c:1031

2008-08-22 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2008-08-22 17:55 --- Quick answer without a full bootstrap, the ICE is still there at rev. 139471. Answer with a full bootstrap tomorrow morning. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37104

[Bug middle-end/37218] [4.4 Regression] Revision 139525 caused many SLP regressions

2008-08-24 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2008-08-24 09:17 --- > Well, it seems that revision included enabling ipa-cp by default at -O2 ;) May this explain the following failures (i686-apple-darwin9): [ibook-dhum] f90/bug% gfc -O2 /opt/gcc/_gcc_clean/gcc/testsuite/gfortran

[Bug tree-optimization/37185] [4.4 Regression]: gcc.dg/matrix/transpose-3.c:16: internal compiler error: verify_stmts failed

2008-08-24 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2008-08-24 14:13 --- After applying the patch in comment #3, the ICE disappeared. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37185

[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c

2008-08-24 Thread dominiq at lps dot ens dot fr
--- Comment #33 from dominiq at lps dot ens dot fr 2008-08-24 16:46 --- > All the results for 32-bit mode only, but I am pretty confident that they will > hold with -m64. This is wrong: the tests pass in 32-bit mode, but fail with -m64. -- http://gcc.gnu.org/bugzilla/show_b

[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c

2008-08-24 Thread dominiq at lps dot ens dot fr
--- Comment #34 from dominiq at lps dot ens dot fr 2008-08-24 16:50 --- [ibook-dhum] f90/bug% gfc -m64 -S -fno-common /opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/weak/weak-2.c [ibook-dhum] f90/bug% grep ffoo1a weak-2.s movq[EMAIL PROTECTED](%rip), %rax -- http

[Bug middle-end/37226] [4.4 Regression] Multiple test regressions: gcc.dg/ipa/ipa*

2008-08-25 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2008-08-25 08:53 --- Same thing on i686-apple-darwin9 for both 32 and 64 bit modes. I have in addition: Running target unix/-m64 WARNING: program timed out. FAIL: gfortran.fortran-torture/compile/logical-1.f90, -O2 -fomit-frame-pointer

[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c

2008-08-25 Thread dominiq at lps dot ens dot fr
--- Comment #38 from dominiq at lps dot ens dot fr 2008-08-25 09:56 --- With the patch in comment #37 I bootstraped Using built-in specs. Target: i686-apple-darwin9 Configured with: ../gcc-4.4-work/configure --prefix=/opt/gcc/gcc4.4w --mandir=/opt/gcc/gcc4.4w/share/man --infodir=/opt

[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c

2008-08-25 Thread dominiq at lps dot ens dot fr
--- Comment #39 from dominiq at lps dot ens dot fr 2008-08-25 11:44 --- More good news, the weak gcc tests pass now for 32 and 64 bit modes. Also bad news, I have extra failures in the g++ tests (32-bit mode so far), e.g.: [ibook-dhum] f90/bug% g++44 /opt/gcc/_gcc_clean/gcc/testsuite

[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c

2008-08-25 Thread dominiq at lps dot ens dot fr
--- Comment #40 from dominiq at lps dot ens dot fr 2008-08-25 13:35 --- Here is the list of new g++ failures (32 and 64 bit modes, except g++.dg/abi/empty7.C): FAIL: g++.dg/abi/empty7.C (test for excess errors)<--- 32-bit mode only FAIL: g++.dg/abi/layout2.C (test for exc

[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c

2008-08-25 Thread dominiq at lps dot ens dot fr
--- Comment #43 from dominiq at lps dot ens dot fr 2008-08-25 17:10 --- > Patch #4 still fixes all "weak" test regressions on avr. Did you test g++? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37170

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