[Bug fortran/44773] [4.6 Regression] Unnecessary temporaries increase the runtime for channel.f90 by ~70%

2010-07-02 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2010-07-02 16:53 --- Yes, please reduce and lets see if we can discover something more specific wrong here. Then also consider Mikael's idea. I don't think there is anything specific to discover. The fix for PR44582 is too

[Bug middle-end/44592] [4.5 Regression] wrong code at -O3

2010-07-01 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2010-07-01 12:16 --- Fixed for 4.6, waiting a bit for 4.5. Revision 161496 caused pr44699. I think the PRINTs are of no use in the testsuite for gfortran.dg/pr44592.f90. I'ld suggest to apply the following patch: --- ../_clean/gcc

[Bug middle-end/44592] [4.5 Regression] wrong code at -O3

2010-07-01 Thread dominiq at lps dot ens dot fr
--- Comment #10 from dominiq at lps dot ens dot fr 2010-07-01 13:18 --- The important question is if the testcase still ICEs with the fix reverted when you do that change. The test aborts with revisions before 161496. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44592

[Bug fortran/44744] New: [4.6 Regression] Missed runtime error after revision 161550

2010-07-01 Thread dominiq at lps dot ens dot fr
: 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/bugzilla/show_bug.cgi?id=44744

[Bug fortran/44596] [OOP] Dynamic dispatch uses broken types

2010-07-01 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2010-07-01 14:25 --- This may be a duplicate of pr44662. Could you try the patch in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44662#c2 ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44596

[Bug fortran/32454] Bounds-check misses overflow of lhs array

2010-07-01 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-07-01 15:01 --- I forgot to mention: I think this file is valid Fortran 2003 and only invalid Fortran 95. Maybe using: integer, dimension(4) :: y is a better test case. It is caught at compile time: y = [y, (99,i=1,4)] 1

[Bug fortran/44596] [OOP] Dynamic dispatch uses broken types

2010-07-01 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2010-07-01 15:57 --- (In reply to comment #8) This may be a duplicate of pr44662. Could you try the patch in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44662#c2 ? It is not. Agreed for this pr (and pr44745 is a duplicate

[Bug fortran/44235] array temporary with high upper bound

2010-07-01 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-07-01 20:23 --- Lightly tested patch that does not create temporaries for the test in comment #1 --- ../_clean/gcc/fortran/dependency.c 2010-06-21 17:31:37.0 +0200 +++ gcc/fortran/dependency.c2010-07-01 22:16

[Bug fortran/44773] New: [4.6 Regression] Unnecessary temporaries increase the runtime for channel.f90 by ~70%

2010-07-01 Thread dominiq at lps dot ens dot fr
Version: 4.6.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=44773

[Bug fortran/44744] [4.6 Regression] Missed runtime error after revision 161550

2010-07-01 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-07-01 21:24 --- I think it is not really a regression in terms of the code path. Well, my definition of a regression is something working as expected at revision n, no longer working as expected at revision n+1. Indeed revision n

[Bug bootstrap/44726] New: [4.6 Regression] Yet another broken bootstrap

2010-06-30 Thread dominiq at lps dot ens dot fr
: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: x86_64-apple-darwin10.4.0 GCC host triplet: x86_64-apple-darwin10.4.0 GCC target triplet: x86_64-apple-darwin10.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44726

[Bug bootstrap/44730] [4.6 Regression] Failed to bootstrap due to uninitialized error

2010-06-30 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-06-30 16:16 --- This is a duplicate of pr44726. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44730

[Bug bootstrap/44720] [4.6 Regression] Yet another bootstrap failure on x86_64-apple-darwin10

2010-06-30 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-06-30 16:41 --- Subject: Bug 44034 Author: iains Date: Wed Jun 30 14:33:40 2010 New Revision: 161606 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161606 Log: PR other/44034 * config/darwin.c

[Bug bootstrap/44699] [4.6 Regression] Bootstrap failure for x86_64-apple-darwin10: ICE while compiling genmodes.c

2010-06-29 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2010-06-29 12:06 --- On revision 161462 with the patch of revision 161496 I have located the problem in: static void create_modes (void) { /* make_int_mode (BI, 1, 1, ../../work/gcc/machmode.def, 176); */ make_int_mode (QI, -1U, 1

[Bug bootstrap/44699] [4.6 Regression] Bootstrap failure for x86_64-apple-darwin10: ICE while compiling genmodes.c

2010-06-29 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2010-06-29 13:24 --- Created an attachment (id=21038) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21038action=view) reduced test The reduced test gives an ICE: [macbook] f90/bug% /opt/gcc/gcc4.6bw/bin/gcc -c -O2 genmodes.c

[Bug bootstrap/44699] [4.6 Regression] Bootstrap failure for x86_64-apple-darwin10: ICE while compiling genmodes.c

2010-06-29 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2010-06-29 13:30 --- The backtrace for the reduced test of comment #5 is Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0022 0x0001007c320a in execute_vrp

[Bug bootstrap/44699] [4.6 Regression] Bootstrap failure for x86_64-apple-darwin10: ICE while compiling genmodes.c

2010-06-29 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2010-06-29 14:36 --- Is /opt/gcc/gcc4.6bw/bin/gcc a bootstrapped compiler or one created without bootstrapping? Sorry for the confusion. /opt/gcc/gcc4.6bw/bin/gcc was built with revision 161462 and the patch of revision 161496 (see

[Bug bootstrap/44699] [4.6 Regression] Bootstrap failure for x86_64-apple-darwin10: ICE while compiling genmodes.c

2010-06-29 Thread dominiq at lps dot ens dot fr
--- Comment #10 from dominiq at lps dot ens dot fr 2010-06-29 14:57 --- Yes, but I'm asking if it was a bootstrapped compiler (in difference to one built with configuring with --disable-bootstrap) or not. If it was a bootstrapped compiler, are you saying that bootstrap fails

[Bug bootstrap/44720] New: [4.6 Regression] Yet another bootstrap failure on x86_64-apple-darwin10

2010-06-29 Thread dominiq at lps dot ens dot fr
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: x86_64-apple-darwin10 GCC host triplet: x86_64-apple-darwin10 GCC target triplet: x86_64-apple-darwin10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44720

[Bug bootstrap/44699] [4.6 Regression] Bootstrap failure for x86_64-apple-darwin10: ICE while compiling genmodes.c

2010-06-29 Thread dominiq at lps dot ens dot fr
--- Comment #13 from dominiq at lps dot ens dot fr 2010-06-29 22:40 --- Created an attachment (id=21042) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21042action=view) preprocessed tree.i The patch in http://gcc.gnu.org/ml/gcc-patches/2010-06/msg03011.html fixes the reported ICE

[Bug fortran/44662] unitialized memory on testcases abstract_type_6.f03 and typebound_call_4.f03

2010-06-28 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-06-28 08:48 --- This is likely the cause of recent failures for gfortran on ppc, see http://gcc.gnu.org/ml/gcc-testresults/2010-06/msg02876.html http://gcc.gnu.org/ml/gcc-testresults/2010-06/msg02871.html The patch in comment #2

[Bug bootstrap/44699] New: [4.6 Regression] Bootstrap failure for x86_64-apple-darwin10: ICE while compiling genmodes.c

2010-06-28 Thread dominiq at lps dot ens dot fr
Version: 4.6.0 Status: 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: x86_64-apple-darwin10 GCC host triplet: x86_64-apple

[Bug bootstrap/44699] [4.6 Regression] Bootstrap failure for x86_64-apple-darwin10: ICE while compiling genmodes.c

2010-06-28 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-06-28 17:21 --- Last successful bootstrap at revision 161470. -- dominiq at lps dot ens dot fr changed: What|Removed |Added

[Bug bootstrap/44699] [4.6 Regression] Bootstrap failure for x86_64-apple-darwin10: ICE while compiling genmodes.c

2010-06-28 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-06-28 18:55 --- This is caused by revision 161496: Author: matz Date: Mon Jun 28 15:14:31 2010 UTC (2 hours, 52 minutes ago) Changed paths: 4 Log Message: PR middle-end/44592 * gimple-fold.c

[Bug middle-end/44592] [4.5 Regression] wrong code at -O3

2010-06-28 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2010-06-28 20:42 --- Fixed for 4.6, waiting a bit for 4.5. Revision 161496 caused pr44699. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44592

[Bug fortran/44693] New: Missed error for invalid SUM

2010-06-27 Thread dominiq at lps dot ens dot fr
for invalid SUM Product: gcc Version: 4.6.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

[Bug fortran/43829] Scalarization of reductions

2010-06-27 Thread dominiq at lps dot ens dot fr
--- Comment #21 from dominiq at lps dot ens dot fr 2010-06-27 19:20 --- With the patch in comment #19, the test suite pass with -m32 and -m64, but for gfortran.dg/transpose_2.f90 which needs an adjustment of the dg-error. AFAICT the SUM of the different tests are scalarized (it would

[Bug fortran/43829] Scalarization of reductions

2010-06-27 Thread dominiq at lps dot ens dot fr
--- Comment #23 from dominiq at lps dot ens dot fr 2010-06-27 20:05 --- (In reply to comment #22) (although I am puzzled by the following error for the second test: IF(DBUG.AND.NX.GT.0) THEN 1 Error: Operands of logical operator '.and.' at (1

[Bug fortran/43829] Scalarization of reductions

2010-06-27 Thread dominiq at lps dot ens dot fr
--- Comment #24 from dominiq at lps dot ens dot fr 2010-06-27 21:30 --- (In reply to comment #23) Now I have forgotten another ICE with the patch: the second invalid test in comment #2 gives See pr44693. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43829

[Bug fortran/43829] Scalarization of reductions

2010-06-25 Thread dominiq at lps dot ens dot fr
--- Comment #17 from dominiq at lps dot ens dot fr 2010-06-25 22:08 --- With the patch in comment #13 I get the following failures: FAIL: gfortran.dg/entry_10.f90 -O0 (internal compiler error) ... FAIL: gfortran.dg/entry_13.f90 -O0 (internal compiler error) ... FAIL: gfortran.dg

[Bug testsuite/44654] check-fortran / gfortran.dg/dg.exp ignores test specification in RUNTESTFLAGS

2010-06-24 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-06-24 13:24 --- Confirmed. Yet another bug or feature dilemma!-) Using make check-fortran RUNTESTFLAGS='dg.exp=data_invalid.f90' works for me. I don't know what gfortran.dg/ is supposed to do. -- http://gcc.gnu.org/bugzilla

[Bug testsuite/44654] check-fortran / gfortran.dg/dg.exp ignores test specification in RUNTESTFLAGS

2010-06-24 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-06-24 14:52 --- It's supposed to specify the testsuite driver. That it does, but then it forgets that it was supposed to run a specific test. dg.exp=files_to_test does it (without path). What is not clear to me is what

[Bug fortran/44604] Wrong run-time checks with VALUE dummies and pointer/allocatable actuals

2010-06-21 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-06-21 08:55 --- Is it not a duplicate of pr35203? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44604

[Bug fortran/44582] gfortran generates wrong results due to wrong ABI in function with array return

2010-06-20 Thread dominiq at lps dot ens dot fr
--- Comment #12 from dominiq at lps dot ens dot fr 2010-06-20 20:10 --- With the patch in comment #10, the modified test for pr31538 from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31538#c5 integer :: a(-4:1), b(0:4) b = 5 ! a(-4:1) = b(0:4) ! Error: different shape for Array

[Bug c++/44590] New: [4.6 Regression] Revision 159362 caused multiple failures on the libstdc++-v3 tests

2010-06-19 Thread dominiq at lps dot ens dot fr
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: *--apple-darwin* GCC host triplet: *-apple-darwin* GCC target triplet: *-apple-darwin* http://gcc.gnu.org

[Bug fortran/44592] New: [4.5/4.6 Regression] wrong code at -O3

2010-06-19 Thread dominiq at lps dot ens dot fr
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=44592

[Bug fortran/44565] [OOP] ICE in gimplify_expr when passing generic function as argument

2010-06-17 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-06-17 11:07 --- Confirmed on thrunk after having added integer :: dim = 2 in 'type :: lin_approx_cont_type'. The modified code compile with 4.5.0, hence a regression I can trace between revisions 158215 (working) and 158921

[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-06-17 Thread dominiq at lps dot ens dot fr
--- Comment #14 from dominiq at lps dot ens dot fr 2010-06-17 12:30 --- From comments #11 to #13, given links and http://gcc.gnu.org/ml/gcc-patches/2010-06/msg01744.html closing as fixed. -- dominiq at lps dot ens dot fr changed: What|Removed

[Bug bootstrap/44509] [4.6 Regression] Revision 160626 breaks bootstrap on *-apple-darwin*

2010-06-16 Thread dominiq at lps dot ens dot fr
--- Comment #22 from dominiq at lps dot ens dot fr 2010-06-16 09:13 --- (In reply to comment #20) Could the patch in comment #17 explain the following failures? ... False alarm! AFAICT the failures where due to messed up libs for mpfr and mpc while trying to update to mpfr 3.0. Sorry

[Bug lto/44533] [4.6 Regression] Revision 160679 miscompiles capacita.f90 with -O3 -finline-limit=600 -flto

2010-06-16 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-06-16 09:21 --- The miscompilation occurs between -finline-limit=300 (works) and =400 (Segmentation fault). This seems related to the inlining of the subroutine 'fourir2d' (called 4 times with =400) instead of 'fourir' (called 14

[Bug fortran/44549] New: [OOP][F2008] Type-bound procedure: bogus error from list after PROCEDURE

2010-06-15 Thread dominiq at lps dot ens dot fr
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: x86_64-apple-darwin10.3.0 GCC host triplet: x86_64-apple-darwin10.3.0 GCC target triplet: x86_64-apple

[Bug lto/44533] New: [4.6 Regression] Revision 160679 miscompiles capacita.f90 with -O3 -finline-limit=600 -flto

2010-06-14 Thread dominiq at lps dot ens dot fr
: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: x86_64-apple-darwin10 GCC host triplet: x86_64-apple-darwin10 GCC target triplet: x86_64-apple-darwin10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44533

[Bug bootstrap/44509] [4.6 Regression] Revision 160626 breaks bootstrap on *-apple-darwin*

2010-06-14 Thread dominiq at lps dot ens dot fr
--- Comment #18 from dominiq at lps dot ens dot fr 2010-06-14 11:15 --- With the patch in comment #17, x86_64-apple-darwin10 bootstrapped without problem. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44509

[Bug bootstrap/44509] [4.6 Regression] Revision 160626 breaks bootstrap on *-apple-darwin*

2010-06-14 Thread dominiq at lps dot ens dot fr
--- Comment #20 from dominiq at lps dot ens dot fr 2010-06-14 12:32 --- Could the patch in comment #17 explain the following failures? FAIL: gcc.dg/torture/builtin-math-5.c -O0 scan-tree-dump-times original cexpf 2 FAIL: gcc.dg/torture/builtin-math-5.c -O0 scan-tree-dump-times

[Bug middle-end/44505] [4.6 Regression] gcc.c-torture/execute/frame-address.c

2010-06-13 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-06-13 09:52 --- Confirmed on x86_64-apple-darwin10.3.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44505

[Bug bootstrap/44512] --enable-build-with-cxx bootstrap fails in revision 160669

2010-06-13 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-06-13 11:46 --- Could it be a duplicate of pr44509? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44512

[Bug bootstrap/44509] [4.6 Regression] Revision 160626 breaks bootstrap on *-apple-darwin*

2010-06-13 Thread dominiq at lps dot ens dot fr
--- Comment #16 from dominiq at lps dot ens dot fr 2010-06-13 11:47 --- See also pr44512. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44509

[Bug bootstrap/44509] New: [4.6 Regression] Revision 160626 breaks bootstrap on *-apple-darwin9*

2010-06-12 Thread dominiq at lps dot ens dot fr
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=44509

[Bug bootstrap/44509] [4.6 Regression] Revision 160626 breaks bootstrap on *-apple-darwin*

2010-06-12 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-06-12 11:02 --- Oops! fixed a typo in the summary. -- dominiq at lps dot ens dot fr changed: What|Removed |Added

[Bug bootstrap/44509] [4.6 Regression] Revision 160626 breaks bootstrap on *-apple-darwin*

2010-06-12 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-06-12 12:19 --- On powerpc-apple-darwin9 at revision 160627, the minimal command is /opt/gcc/darwin_buildw/prev-gcc/xgcc -B/opt/gcc/darwin_buildw/prev-gcc/ -c -DIN_GCC_FRONTEND -g -mdynamic-no-pic -DIN_GCC -W -Wall -Wwrite-strings

[Bug bootstrap/44509] [4.6 Regression] Revision 160626 breaks bootstrap on *-apple-darwin*

2010-06-12 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2010-06-12 12:20 --- Created an attachment (id=20901) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20901action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44509

[Bug bootstrap/44509] [4.6 Regression] Revision 160626 breaks bootstrap on *-apple-darwin*

2010-06-12 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2010-06-12 14:31 --- Just run gdb ./cc1 -O2 pr44509.i The *.i files compile without ICE, see comment #3: The ICE disappears if -g is removed for any optimization, it also disappears with -save-temps. ^^ [karma

[Bug bootstrap/44509] [4.6 Regression] Revision 160626 breaks bootstrap on *-apple-darwin*

2010-06-12 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2010-06-12 15:01 --- There should not be a /usr/include/float.h but the gcc internal header should be included. Please check if that is the case I don't understand what I am supposed to do (please use baby English;-). Why did I

[Bug bootstrap/44509] [4.6 Regression] Revision 160626 breaks bootstrap on *-apple-darwin*

2010-06-12 Thread dominiq at lps dot ens dot fr
--- Comment #10 from dominiq at lps dot ens dot fr 2010-06-12 15:53 --- Can you attach all headers that get included instead of attaching preprocessed source? Thx. How am I supposed to know what are all headers that get included? Please assume zero knowledge from my side and provide

[Bug libgomp/44498] [4.6 Regression] Many libgomp failures

2010-06-11 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2010-06-11 17:48 --- For the record revision 160549 also broke boostrap on x86_64-apple-darwin10.3.0 near the end of stage 2: echo CRTSTUFF_T_CFLAGS = '' tmp-libgcc.mvars echo CRTSTUFF_T_CFLAGS_S = '' tmp-libgcc.mvars echo

[Bug rtl-optimization/44460] [4.6 Regression] r160380 breaks libjava bootstrap on *-apple-darwin*

2010-06-09 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2010-06-09 13:50 --- The following http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00692.html It definitly avoids the ICE, but it would be nice to know if libstdc++ testsuite passes. It does fix the bootstrap failure. I am currently

[Bug rtl-optimization/44460] [4.6 Regression] r160380 breaks libjava bootstrap on *-apple-darwin*

2010-06-09 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2010-06-09 18:39 --- The following http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00692.html It definitly avoids the ICE, but it would be nice to know if libstdc++ testsuite passes. It does fix the bootstrap failure. I am currently

[Bug fortran/33341] array temporaries for array constructors (unnecessary stores)

2010-06-09 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2010-06-09 20:57 --- *** Bug 2 has been marked as a duplicate of this bug. *** -- dominiq at lps dot ens dot fr changed: What|Removed |Added

[Bug fortran/44442] Useless temporary with RESHAPE

2010-06-09 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2010-06-09 20:57 --- (In reply to comment #2) This is a known limitation of array constructors handling by gfortran. I was about to ask if this pr is a duplicate. From comment #3, it is; so I am closing it as such. For the record

[Bug rtl-optimization/44460] [4.6 Regression] r160380 breaks libjava bootstrap on *-apple-darwin*

2010-06-08 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-06-08 08:53 --- Created an attachment (id=20864) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20864action=view) preprocessed file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44460

[Bug rtl-optimization/44460] [4.6 Regression] r160380 breaks libjava bootstrap on *-apple-darwin*

2010-06-08 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-06-08 10:35 --- Needs '-g -O1' to fails: [macbook] i386/libjava% /opt/gcc/build_w/gcc/xgcc -B/opt/gcc/build_w/gcc -nostdinc++ -DHAVE_CONFIG_H -I. -I../../../../work/libjava -I./include -I./gcj -I../../../../work/libjava -Iinclude

[Bug middle-end/44453] [4.6 Regression] Revision 160380 caused g++.dg/torture/pr32304.C

2010-06-08 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-06-08 10:37 --- pr44460 is probably a duplicate. The test fails with -g -O1 and the backtrace is #0 fancy_abort (file=0x100ad07d0 ../../work/gcc/emit-rtl.c, line=1674, function=0x100b42a40 set_mem_attributes_minus_bitpos

[Bug tree-optimization/44467] [4.6 Regression]: cris-elf build broken in libstdc++

2010-06-08 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-06-08 12:58 --- Likely pr44453 and pr44460. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44467

[Bug fortran/44442] New: Useless temporary with RESHAPE

2010-06-07 Thread dominiq at lps dot ens dot fr
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=2

[Bug fortran/44442] Useless temporary with RESHAPE

2010-06-07 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-06-07 13:49 --- Useless temporaries are also emitted for PAD and ORDER optional arguments: program main integer :: i, k, l, m, n real :: e1, e2 real, dimension(4,5) :: b real, dimension(5,4) :: c b = reshape([(i, i=1,20

[Bug bootstrap/44428] [4.6 Regression] Bootstrap failure for powerpc-apple-darwin9: Insn `*' will never be issued

2010-06-06 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-06-06 08:00 --- Patch posted at http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00449.html With this patch I am at stage 2, so this pr is a duplicate of pr44427 and fixed. *** This bug has been marked as a duplicate of 44427

[Bug bootstrap/44427] genautomata uses more than 1.5GB of RAM on powerpc64-linux

2010-06-06 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-06-06 08:00 --- *** Bug 44428 has been marked as a duplicate of this bug. *** -- dominiq at lps dot ens dot fr changed: What|Removed |Added

[Bug middle-end/41753] [OOP] segfault with -O2 using methods as actual arguments

2010-06-06 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2010-06-06 08:05 --- At r160335, I don't see the failure on x86_64-unknown-linux-gnu. Maybe it has been fixed by some middle-end changes by now. Can anyone confirm that the error is gone? No error for the flags I have tried

[Bug fortran/44430] [4.6 Regression] Infinite recursion with -fdump-parse-tree

2010-06-06 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-06-06 10:32 --- gcc version 4.4.4 gives Namespace: A-H: (REAL 4) I-N: (INTEGER 4) O-Z: (REAL 4) procedure name = foo symtree: __convert_i4_i8 Ambig 0 symbol __convert_i4_i8 (INTEGER 8)(PROCEDURE

[Bug target/43729] Mach-O LTO support needed for darwin

2010-06-06 Thread dominiq at lps dot ens dot fr
--- Comment #50 from dominiq at lps dot ens dot fr 2010-06-06 10:50 --- On x86_64-apple-darwin10.3.0 between revisions 160235 and 160330 the failures with -m32 went from FAIL: gcc.c-torture/execute/builtins/abs-1.c compilation, -O2 -fwhopr FAIL: gcc.c-torture/execute/builtins/memcpy

[Bug fortran/44434] [OOP] ICE in in gfc_add_component_ref

2010-06-06 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-06-06 12:18 --- It looks like a duplicate of the unfixed part of pr43945. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44434

[Bug target/43729] Mach-O LTO support needed for darwin

2010-06-06 Thread dominiq at lps dot ens dot fr
--- Comment #51 from dominiq at lps dot ens dot fr 2010-06-06 13:46 --- The 14 tests were fixed by revision 160258 (that has nothing to do with darwin). Also I see the following changes, 160257: === gcc tests === Schedule of variations: unix/-m32 unix/-m64

[Bug target/43729] Mach-O LTO support needed for darwin

2010-06-06 Thread dominiq at lps dot ens dot fr
--- Comment #52 from dominiq at lps dot ens dot fr 2010-06-06 20:23 --- On powerpc-apple-darwin9 I see a similar improvement at revision 160335: === gcc tests === Schedule of variations: unix/-m32 unix/-m64 Running target unix/-m32 Using /sw/share/dejagnu

[Bug fortran/44430] [4.5/4.6 Regression] Infinite recursion with -fdump-parse-tree

2010-06-06 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-06-06 20:39 --- This was between rev. 149577 (works) and rev. 149607 (does not work). The only candidate I see is 149586. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44430

[Bug fortran/44334] rnflow.f90 ~27% slower with -fwhole-program -flto after revision 159852

2010-06-05 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2010-06-05 09:52 --- At revision 160309, I get [macbook] lin/test% gfc -O3 -ffast-math -funroll-loops -fomit-frame-pointer -fwhole-program -flto rnflow.f90 --param hot-bb-frequency-fraction=1000 [macbook] lin/test% time a.out /dev/null

[Bug tree-optimization/43716] [4.6 Regression] Revision 158105 miscompiles doduc.f90

2010-06-05 Thread dominiq at lps dot ens dot fr
--- Comment #28 from dominiq at lps dot ens dot fr 2010-06-05 09:54 --- Is there any interest to understand what broke the test and what fixed it? If not, I'll close this pr as fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43716

[Bug bootstrap/44428] New: [4.6 Regression] Bootstrap failure for powerpc-apple-darwin9: Insn `*' will never be issued

2010-06-05 Thread dominiq at lps dot ens dot fr
Product: gcc Version: 4.6.0 Status: 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-darwin9 GCC

[Bug testsuite/44418] New: FAIL: gcc.target/powerpc/recip-[123].c on powerpc-apple-darwin9

2010-06-04 Thread dominiq at lps dot ens dot fr
AssignedTo: unassigned at gcc dot gnu 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=44418

[Bug testsuite/44418] FAIL: gcc.target/powerpc/recip-[123].c on powerpc-apple-darwin9

2010-06-04 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-06-04 17:52 --- Created an attachment (id=20842) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20842action=view) assembly for recip-1.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44418

[Bug testsuite/44418] FAIL: gcc.target/powerpc/recip-[123].c on powerpc-apple-darwin9

2010-06-04 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-06-04 17:52 --- Created an attachment (id=20843) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20843action=view) assembly for recip-2.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44418

[Bug testsuite/44418] FAIL: gcc.target/powerpc/recip-[123].c on powerpc-apple-darwin9

2010-06-04 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-06-04 17:52 --- Created an attachment (id=20844) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20844action=view) assembly for recip-3.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44418

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-06-04 Thread dominiq at lps dot ens dot fr
--- Comment #39 from dominiq at lps dot ens dot fr 2010-06-04 18:25 --- I confirm that the failures for libjava reported in comment #33 were due to some misconfiguration. With the patches in http://gcc.gnu.org/bugzilla/attachment.cgi?id=20762 and http://gcc.gnu.org/bugzilla

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-06-03 Thread dominiq at lps dot ens dot fr
--- Comment #33 from dominiq at lps dot ens dot fr 2010-06-03 14:52 --- On x86_64-apple-darwin10.3.0 the patch in comment #26 applied on top of r160219 cause === libjava Summary for unix/-m64 === # of expected passes2459 # of unexpected failures62

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-06-03 Thread dominiq at lps dot ens dot fr
--- Comment #35 from dominiq at lps dot ens dot fr 2010-06-03 15:21 --- Extracted from x86_64-apple-darwin10.3.0/libjava/testsuite/libjava.log: ... set_ld_library_path_env_vars: ld_library_path=.:/opt/gcc/build_w/x86_64-apple-darwin10.3.0/./libjava/.libs invoke: /opt/gcc/build_w/x86_64

[Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6

2010-06-03 Thread dominiq at lps dot ens dot fr
--- Comment #70 from dominiq at lps dot ens dot fr 2010-06-03 18:23 --- (In reply to comment #68) That makes sense, so all we need to do in config/tls.m4 is probably: 1) move a_in_main_thread variable to file scope, and neither a_in_main_thread nor a_in_other_thread should be static

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-06-03 Thread dominiq at lps dot ens dot fr
--- Comment #37 from dominiq at lps dot ens dot fr 2010-06-03 20:57 --- (In reply to comment #35) Note the failures occur only with -m64, not with -m32. This may due to a misconfiguration of libjava similar to pr43170. I am bootstrapping with the latest patch and I'll redo the testing

[Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6

2010-06-02 Thread dominiq at lps dot ens dot fr
--- Comment #32 from dominiq at lps dot ens dot fr 2010-06-02 08:59 --- 4.5-branch (as of r160013) has an error in config.gcc (which I just fixed on trunk yesterday, with r159979) in which several t-make fragments are included twice on x86_64-*-darwin*. I wonder if this could

[Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6

2010-06-02 Thread dominiq at lps dot ens dot fr
--- Comment #34 from dominiq at lps dot ens dot fr 2010-06-02 09:35 --- can you do me a favor? (a) copy the config.{log,out} files. (b) rm -r and reconfigure/re-bootstrap w/out changing *anything* .. I suspect a configure race condition - and would not be surprised if the second

[Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6

2010-06-02 Thread dominiq at lps dot ens dot fr
--- Comment #36 from dominiq at lps dot ens dot fr 2010-06-02 09:53 --- Since I had a new comparison failure before your answer, I did the following: (1) delete the various libgomp folders, (2) resume make. Indeed the new libgomp were correctly built and I am now building libgfortran

[Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6

2010-06-02 Thread dominiq at lps dot ens dot fr
--- Comment #38 from dominiq at lps dot ens dot fr 2010-06-02 10:16 --- make -jN all or make -jn bootstrap? make -j2 log_file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43170

[Bug lto/44390] LTO strips out symbols that are actually needed

2010-06-02 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-06-02 16:35 --- This looks like a duplicate of pr40873. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44390

[Bug lto/44390] LTO strips out symbols that are actually needed

2010-06-02 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2010-06-02 16:51 --- No, this is not fortran. I am not sure that fortran matter here. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44390

[Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6

2010-06-02 Thread dominiq at lps dot ens dot fr
--- Comment #40 from dominiq at lps dot ens dot fr 2010-06-02 17:09 --- Can you (someone with darwin) ... I have tried: [macbook] f90/bug% gcc46 pthread_create.c [macbook] f90/bug% a.out ; echo $? 0 Is it the correct way to do the test? (so far I only got zeros). -- http

[Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6

2010-06-02 Thread dominiq at lps dot ens dot fr
--- Comment #42 from dominiq at lps dot ens dot fr 2010-06-02 18:22 --- I am using the following script: #!/bin/sh i=0 tls.ex while [ $? == 0 ] do i=`expr $i + 1` tls.ex done echo $i tls.ex is generated by /opt/gcc/build_w/prev-gcc/xgcc -B/opt/gcc/build_w/prev-gcc/ -g -O2

[Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6

2010-06-02 Thread dominiq at lps dot ens dot fr
--- Comment #43 from dominiq at lps dot ens dot fr 2010-06-02 18:36 --- The following variant #!/bin/sh i=0 while [ $i != 1000 ] do i=`expr $i + 1` tls.ex if [ $? != 0 ] then echo $i fi done gives 26 84 87 90 266 386 426 587 611 614 617 637 640 647 653 656 962

[Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6

2010-06-02 Thread dominiq at lps dot ens dot fr
--- Comment #44 from dominiq at lps dot ens dot fr 2010-06-02 19:06 --- This seems linked to the optimization: [macbook] f90/bug% /opt/gcc/build_w/prev-gcc/xgcc -B/opt/gcc/build_w/prev-gcc/ -O2 -pthread pthread_create.c -o tls.ex [macbook] f90/bug% rm -f tmp ; tls_1.sh tmp ; cat tmp

[Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6

2010-06-02 Thread dominiq at lps dot ens dot fr
--- Comment #47 from dominiq at lps dot ens dot fr 2010-06-02 20:08 --- At the risk of stating the obvious - since there are no DYLD_LIBRARY_PATH in your posts... Are you doing this uninstalled? I guess you have to be sure that the right libgcc_s is being found -- or emutls

[Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6

2010-06-02 Thread dominiq at lps dot ens dot fr
--- Comment #50 from dominiq at lps dot ens dot fr 2010-06-02 20:19 --- What is the output of grep -i tls your_paths/libgomp/config.log on darwin9? For me the answer is gcc_cv_have_tls=no for both powerpc-apple-darwin9 gcc 4.6 r160081 and i686-apple-darwin9 gcc 4.5 r156693

[Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6

2010-06-02 Thread dominiq at lps dot ens dot fr
--- Comment #53 from dominiq at lps dot ens dot fr 2010-06-02 20:39 --- Created an attachment (id=20814) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20814action=view) [edit] adds some TLS torture tests to gcc.dg Hm - the placeholder, temporary fix for EMUTLS doesn't appear

[Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6

2010-06-02 Thread dominiq at lps dot ens dot fr
--- Comment #55 from dominiq at lps dot ens dot fr 2010-06-02 20:59 --- and on D10 - no @ stage1 (correct) I see [macbook] gcc/build_w% grep -i tls stage1-x86_64-apple-darwin10.3.0/libgomp/config.log | #define HAVE_TLS 1 | #define HAVE_TLS 1 | #define HAVE_TLS 1 | #define HAVE_TLS 1

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