Re: RFC: Hack to make restrict more useful

2007-09-03 Thread Richard Guenther
On 9/3/07, Daniel Berlin [EMAIL PROTECTED] wrote: On 9/2/07, Paul Brook [EMAIL PROTECTED] wrote: That said, second, my understanding of restrict, from reading the c99 standard, is that it is perfectly valid for restrict pointers to alias each other during *loads*.. IE you can

RE: DFA Scheduler - unable to pipeline loads

2007-09-03 Thread Ye, Joey
Matt, I just started working on pipeline description and I'm confused one thing in your description. For integer, your cpu have a 1-cycle latency, but with 3 units stages issue,iu,wb. What does that mean? My understanding is that the number of units seperated by , should be equal to latency.

Re: RFC: Hack to make restrict more useful

2007-09-03 Thread Joseph S. Myers
On Sun, 2 Sep 2007, Mark Mitchell wrote: Daniel Berlin wrote: Again, I'd love to just ignore this and say we don't care. Ugh. I think you're right that the standard says that we only get to assume non-aliasing when the pointed-to memory is modified, so all-parameters-restrict is

Re: DFA Scheduler - unable to pipeline loads

2007-09-03 Thread Maxim Kuvyrkov
Matt Lee wrote: Hi, I am working with GCC-4.1.1 on a simple 5-pipe stage simple scalar RISC processors with the following description for loads and stores, (define_insn_reservation integer 1 (eq_attr type branch,jump,call,arith,darith,icmp,nop) issue,iu,wb) (define_insn_reservation load 3

Re: question about rtl loop-iv analysis

2007-09-03 Thread Dorit Nuzman
Zdenek's patch here - http://gcc.gnu.org/ml/gcc-patches/2007-08/msg02291.html - solved the problem. Kenny, Zdenek - many thanks for solving this issue! dorit Seongbae Park (박성배, 朴成培) [EMAIL PROTECTED] wrote on 29/08/2007 01:01:42: On 8/28/07, Zdenek Dvorak [EMAIL PROTECTED] wrote: ...

has_volatile_ops and early optimization w/o alias information

2007-09-03 Thread Richard Guenther
We set has_volatile_ops on all(?) memory references during early optimization because we don't have alias information. But we do it inconsistently for loads. For example I see D.2574_23 = *D.2573_22; (no volatile) and D.2565_28 ={v} tab[D.2560_27].__delta; (volatile). Because for

About allocating registers for instrumentation

2007-09-03 Thread 吴曦
Hi, I am working on gcc-4.1.1 and Itanium architecture. Current now I have finished instrumenting ld and st instructions before the second scheduling pass by reserving two global registers at backend. However, in order to enhance the performance (e.g. make the scheduling better), I choose to

Re: RFC: Hack to make restrict more useful

2007-09-03 Thread Mark Mitchell
Joseph S. Myers wrote: The rules that unmodified memory may alias were a deliberate change in the FDIS relative to the previous public draft; see http://www.open-std.org/jtc1/sc22/wg14/www/docs/n866.htm: That explains why I had no memory of this, despite having researched restrict pretty

Re: RFC: Hack to make restrict more useful

2007-09-03 Thread Paul Brook
In any case, I guess we should consider my patch withdrawn. Although, if the new meaning of restrict matches standard Fortran semantics, then our Fortran handling must be wrong, since all my patch did was make us match our current Fortran semantics. In Fortran the pointers are not exposed at

Re: RFC: Hack to make restrict more useful

2007-09-03 Thread Tim Prince
Mark Mitchell wrote: Joseph S. Myers wrote: The rules that unmodified memory may alias were a deliberate change in the FDIS relative to the previous public draft; see http://www.open-std.org/jtc1/sc22/wg14/www/docs/n866.htm: That explains why I had no memory of this, despite having

Re: RFC: Hack to make restrict more useful

2007-09-03 Thread Daniel Berlin
On 9/3/07, Richard Guenther [EMAIL PROTECTED] wrote: On 9/3/07, Daniel Berlin [EMAIL PROTECTED] wrote: On 9/2/07, Paul Brook [EMAIL PROTECTED] wrote: That said, second, my understanding of restrict, from reading the c99 standard, is that it is perfectly valid for restrict pointers to

Re: RFC: Hack to make restrict more useful

2007-09-03 Thread Richard Guenther
On 9/3/07, Daniel Berlin [EMAIL PROTECTED] wrote: On 9/3/07, Richard Guenther [EMAIL PROTECTED] wrote: On 9/3/07, Daniel Berlin [EMAIL PROTECTED] wrote: On 9/2/07, Paul Brook [EMAIL PROTECTED] wrote: That said, second, my understanding of restrict, from reading the c99

gcc-4.1-20070903 is now available

2007-09-03 Thread gccadmin
Snapshot gcc-4.1-20070903 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-20070903/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.1 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

[Bug fortran/33288] New: ICE (segfault) in mpfr_cmp2 when evaluating array initializers containing addition

2007-09-03 Thread rainy6144 at gmail dot com
gfortran 4.1.2/4.2.0/4.3.0 segfaults when compiling the following program: program initbug integer,parameter :: n0 = 3, n = 5 real(kind=8),parameter :: x0(n0) = (/ 0.0d0, 0.0d0, 0.0d0 /) real(kind=8),parameter :: x(n) = (/ -x0, x0(n0-1:1:-1) /) + 1.0d0 end program initbug Valgrind

[Bug fortran/33288] ICE (segfault) in mpfr_cmp2 when evaluating array initializers containing addition

2007-09-03 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2007-09-03 07:39 --- I don't see the ICE on PPC Darwin8, revision 128037, but the following modifed code gives a wrong answer: program initbug integer,parameter :: n0 = 3, n = 5 real(kind=8),parameter :: x0(n0) = (/ 2.0d0,

[Bug c++/33289] New: [4.2/4.3 Regression] __sprintf_chk etc. not DECL_ANTICIPATED

2007-09-03 Thread jakub at gcc dot gnu dot org
typedef __SIZE_TYPE__ size_t; extern C int __sprintf_chk (char *__restrict, int, size_t, const char *, ...) throw (); extern C int __sprintf_chk (char *__restrict, int, size_t, const char *, ...) throw (); fails to compile with: /tmp/4.C:3: error: declaration of 'int __sprintf_chk(char*, int,

[Bug fortran/33288] ICE (segfault) in mpfr_cmp2 when evaluating array initializers containing addition

2007-09-03 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-09-03 09:34 --- I don't see the ICE on PPC Darwin8, revision 128037, but the following modifed code gives a wrong answer: For me (4.3.0 20070903, r128037, x86_64-unknown-linux-gnu) both examples cause a segmentation fault

[Bug fortran/33288] ICE (segfault) in mpfr_cmp2 when evaluating array initializers containing addition

2007-09-03 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2007-09-03 09:43 --- If I try to regtestify the code (uncomment the commented line): program initbug integer,parameter :: n0 = 3, n = 5 real(kind=8),parameter :: x0(n0) = (/ 2.0d0, 2.0d0, 2.0d0 /) real(kind=8),parameter

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

2007-09-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-09-03 10:04 --- (In reply to comment #3) A) I see that you and others put a number of patches and regenerations. Do you want me to rebootstrap and then do it? I don't think we've touched anything who should affect this since

[Bug fortran/33261] gfortran 4.3.0 doesn't work on Windows Vista.

2007-09-03 Thread joerg dot richter at gedas dot de
--- Comment #5 from joerg dot richter at gedas dot de 2007-09-03 10:05 --- Subject: AW: [SPAM Verdacht] - gfortran 4.3.0 doesn't work on Windows Vista. - Bayesian Filter detected spam Dear Sir, I am sending You the output generated by gfortran 4.3.0 (Version 20070813)using

[Bug fortran/33288] ICE (segfault) in mpfr_cmp2 when evaluating array initializers containing addition

2007-09-03 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-09-03 10:12 --- The following does not ICE for me and produces the right result (note the extra +0.0): real,parameter :: x(n) = (/ -x0, x0(n0-1:1:-1) + 0.0 /) +1.0 analogously for (note extra (...)): real,parameter ::

[Bug fortran/33261] gfortran 4.3.0 doesn't work on Windows Vista.

2007-09-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2007-09-03 10:25 --- The output you posted shows that you have gfortran-4.3.0 in your path but you also have a f951 binary coming from a G95 installation (it says: G95 Fortran 95 version 4.0.3 (g95 0.90!) Jul 27 2006). What happens

[Bug fortran/33281] gfortran crt2.o not found under Vista

2007-09-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-09-03 10:40 --- (In reply to comment #0) I'm trying to run gfortran under Windows Vista. Do you compile yourself or use pre-made binaries (and which binaries)? What version of gfortran do you use? If you build the compiler

[Bug fortran/33282] [4.2] ICE in find_array_section when using vector subscripts

2007-09-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-09-03 10:42 --- Unless this is a regression, won't be fixed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/33252] GCC-4.3.0 Bootstrap testsuite error increase

2007-09-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #16 from fxcoudert at gcc dot gnu dot org 2007-09-03 10:44 --- The Fortran part has its PR, I saw a PR for some C problem also, so I'm closing this. If other you experience other powerpc regressions, please open new PRs. -- fxcoudert at gcc dot gnu dot org changed:

[Bug fortran/33288] ICE (segfault) in mpfr_cmp2 when evaluating array initializers containing addition

2007-09-03 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2007-09-03 11:01 --- I confirm that program initbug integer,parameter :: n0 = 3, n = 5 real(kind=8),parameter :: x0(n0) = (/ 2.0d0, 2.0d0, 2.0d0 /) real(kind=8),parameter :: x(n) = (/ -x0, x0(n0-1:1:-1) + 0.0d0 /) + 1.0d0

[Bug middle-end/33290] New: [4.3 Regression] gcc.c-torture/execute/930921-1.c fails at -O1 and above now

2007-09-03 Thread pinskia at gcc dot gnu dot org
+++ This bug was initially created as a clone of Bug #33283 +++ [18:22] apinski /home/apinski/src/local/gcc/gcc/testsuite/gcc.c-torture/execute/930921-1.c:5: error: could not split insn^M [18:22] apinski new failure [18:23] apinski on ppc-linux-gnu [18:23] apinski between 127935 and 128000

[Bug middle-end/33290] [4.3 Regression] gcc.c-torture/execute/930921-1.c fails at -O1 and above now

2007-09-03 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33290

[Bug middle-end/33283] [4.3 Regression] gcc.c-torture/execute/930921-1.c fails at -O1 and above now

2007-09-03 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-09-03 11:17 --- Closing as offtopic stuff was added again. Maybe I should mention something about 4.2.x, gentoo also decided to use it :). And it is not a bad release, 4.2.1 is much better. If glibc does not build with 4.2.1,

[Bug tree-optimization/33291] New: a+=2; a+=2 not simplified to a+=4; with -O3 (ok with gcc-4.2.1)

2007-09-03 Thread wouter dot vermaelen at scarlet dot be
I triggered this is the inner loop of the CPU emulation code of openMSX (http://openmsx.sf.net/). I tried to reduce the code. Below is the smallest code I could come with up that still shows the problem: --- struct Clock { void f(); void add(unsigned n) {

[Bug tree-optimization/33291] a+=2; a+=2 not simplified to a+=4; with -O3 (ok with gcc-4.2.1)

2007-09-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-09-03 11:28 --- # VUSE tab_56, SMT.9_58, SMT.10_60 D.2581_35 = this_2(D)-D.2503.a; D.2582_36 = (unsigned int) D.2581_35; D.2583_37 = D.2582_36 + 2; D.2584_38 = (int) D.2583_37; # tab_76 = VDEF tab_56 # SMT.9_77 = VDEF

[Bug fortran/33288] ICE (segfault) in mpfr_cmp2 when evaluating array initializers containing addition

2007-09-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-09-03 11:31 --- (In reply to comment #4) Seemingly, the array range x0(n0-1:1:-1) does not get properly simplified and thus -value.real points to the nirvana. Nope. I get an ICE for the following testcase: real, parameter

[Bug fortran/29396] segfault with character pointer association

2007-09-03 Thread pault at gcc dot gnu dot org
-- pault at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org |dot org

[Bug fortran/29606] Internal Error: Derived type I/O should have been handled via the frontend

2007-09-03 Thread pault at gcc dot gnu dot org
-- pault at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org |dot org

[Bug fortran/30625] Array pointers to components of derived type arrays do not work

2007-09-03 Thread pault at gcc dot gnu dot org
-- pault at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org |dot org

[Bug fortran/30871] Pointer to substring rejected with Different character lengths in pointer assignment

2007-09-03 Thread pault at gcc dot gnu dot org
-- pault at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org |dot org

[Bug tree-optimization/33291] a+=2; a+=2 not simplified to a+=4; with -O3 (ok with gcc-4.2.1)

2007-09-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-09-03 12:01 --- The problem is that forwprop doesn't propagate addr_exprs to memory reference stmts in early optimization anymore (due to the volatile issues) and value numbering cannot deal with the different (but same)

[Bug middle-end/33290] [4.3 Regression] gcc.c-torture/execute/930921-1.c fails at -O1 and above now

2007-09-03 Thread rsandifo at gcc dot gnu dot org
--- Comment #1 from rsandifo at gcc dot gnu dot org 2007-09-03 12:04 --- Created an attachment (id=14152) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14152action=view) Proposed patch It was indeed my fault, sorry. When doing a 32x32-64 multiplication, CONST_INTs are

[Bug tree-optimization/33291] a+=2; a+=2 not simplified to a+=4; with -O3 (ok with gcc-4.2.1)

2007-09-03 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-09-03 12:04 --- That is, rtl level DSE removes the dead store: _ZN3CPU7executeEv: .LFB5: pushq %rbx .LCFI0: movq%rdi, %rbx leaq8(%rdi), %rdi call_ZN5Clock1fEv .p2align 4,,10

[Bug c++/29731] [4.0/4.1/4.2/4.3 regression] ICE with statement expression as template parameter

2007-09-03 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2007-09-03 12:09 --- Fixing the second ICE. -- pcarlini at suse dot de changed: What|Removed |Added

[Bug c/33292] New: optimizer optimizes out a piece of code

2007-09-03 Thread nicolas at dyalog dot com
the optimizer skips a function call that should not be skipped. -- Summary: optimizer optimizes out a piece of code Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/33292] optimizer optimizes out a piece of code

2007-09-03 Thread nicolas at dyalog dot com
--- Comment #1 from nicolas at dyalog dot com 2007-09-03 12:26 --- Created an attachment (id=14153) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14153action=view) preprocessed source of a repro Sorry guys the repro is a bit complicated but i could NOT narrow it down any further.

[Bug middle-end/33290] [4.3 Regression] gcc.c-torture/execute/930921-1.c fails at -O1 and above now

2007-09-03 Thread andreast at gcc dot gnu dot org
--- Comment #2 from andreast at gcc dot gnu dot org 2007-09-03 13:05 --- Looks ok on PowerPC Darwin. 16 passes. I tested on top of 128028. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33290

[Bug middle-end/33290] [4.3 Regression] gcc.c-torture/execute/930921-1.c fails at -O1 and above now

2007-09-03 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2007-09-03 13:10 --- The test case works: [karma] gcc/darwin_buildw% ../gcc4.3w/bin/gcc -O ../gcc-4.3-work/gcc/testsuite/gcc.c-torture/execute/930921-1.c ../gcc-4.3-work/gcc/testsuite/gcc.c-torture/execute/930921-1.c: In function

[Bug rtl-optimization/15473] Sibcall optimization for libcalls.

2007-09-03 Thread chrbr at gcc dot gnu dot org
--- Comment #3 from chrbr at gcc dot gnu dot org 2007-09-03 13:24 --- this report is quite old, but worth to pop : We found similar problems with implicit memory block copying when using struct copying by value. (frequent in C++ ) Softfloat architectures making a very extensive use of

[Bug middle-end/33216] [4.1/4.2/4.3 Regression] ICE in named_section_real, at varasm.c:419

2007-09-03 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2007-09-03 13:43 --- It is not bogus. -fprofile-arcs is one way of introducing .ctors stuff. When building crtstuff, if it is supposed to work, you must avoid all options that generate such stuff, whether it is -fprofile-arcs,

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

2007-09-03 Thread michelin60 at gmail dot com
--- Comment #5 from michelin60 at gmail dot com 2007-09-03 13:49 --- (gcc a.c -lm -W -Wall; try with -O0 and -O1, I expect it will fail only at -O0). One last question: in your build tree, you should have a file named ${builddir}/${target_triplet}/libgfortran/config.h. How does

[Bug c/33292] optimizer optimizes out a piece of code

2007-09-03 Thread nicolas at dyalog dot com
--- Comment #2 from nicolas at dyalog dot com 2007-09-03 14:07 --- after a bit more work it seems optimized out because diff64() doesn't observe strict aliasing... that was tricky because it was not the diff64() code that was snipped out but TimeValToFileTime()... I think the compiler

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

2007-09-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-09-03 14:09 --- (In reply to comment #5) Let me start off by saying that today is a holiday and that tomoorow I am back at work and traveling, I am not allowed to use __any__ business assets for GCC connected activity.

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

2007-09-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2007-09-03 14:11 --- And please stop CCing people! I'm taking care of this bug, and there really is no need to bother other people by sending them copies of all comments/investigation we exchange on the issue. -- fxcoudert at gcc

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

2007-09-03 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2007-09-03 14:25 --- One last question: in your build tree, you should have a file named ${builddir}/${target_triplet}/libgfortran/config.h. How does it define the macros HAVE_LLROUND, HAVE_LLROUNDF, HAVE_LLROUNDL, HAVE_LROUND,

[Bug tree-optimization/33291] a+=2; a+=2 not simplified to a+=4; with -O3 (ok with gcc-4.2.1)

2007-09-03 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-09-03 14:36 --- I have a patch that makes it work apart from the tree level DSE issue. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/21920] aliasing violations

2007-09-03 Thread rguenth at gcc dot gnu dot org
--- Comment #119 from rguenth at gcc dot gnu dot org 2007-09-03 15:20 --- *** Bug 33292 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/33292] optimizer optimizes out a piece of code

2007-09-03 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-09-03 15:20 --- The cast to (void *) disables the alias warning. This was done on purpose, so it's unfortunate that this in some cases makes debugging harder. *** This bug has been marked as a duplicate of 21920 *** --

[Bug tree-optimization/33291] [4.3 Regression] a+=2; a+=2 not simplified to a+=4; with -O3 (ok with gcc-4.2.1)

2007-09-03 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to fail||4.3.0 Known to work||4.2.1

[Bug middle-end/33290] [4.3 Regression] gcc.c-torture/execute/930921-1.c fails at -O1 and above now

2007-09-03 Thread dominiq at lps dot ens dot fr
# of expected failures 169 # of untested testcases 35 # of unsupported tests 412 /opt/gcc/darwin_buildw/gcc/xgcc version 4.3.0 20070903 (experimental) (GCC) That's the normal unexpected failures/successes on Darwin8. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33290

[Bug middle-end/33290] [4.3 Regression] gcc.c-torture/execute/930921-1.c fails at -O1 and above now

2007-09-03 Thread rsandifo at gcc dot gnu dot org
--- Comment #5 from rsandifo at gcc dot gnu dot org 2007-09-03 15:36 --- Subject: Bug 33290 Author: rsandifo Date: Mon Sep 3 15:35:52 2007 New Revision: 128048 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128048 Log: gcc/ PR middle-end/33290 * optabs.c

[Bug middle-end/33290] [4.3 Regression] gcc.c-torture/execute/930921-1.c fails at -O1 and above now

2007-09-03 Thread rsandifo at gcc dot gnu dot org
--- Comment #6 from rsandifo at gcc dot gnu dot org 2007-09-03 15:36 --- Thanks to Andreas and Dominique for the testing. Now applied to 4.3. Sorry to everyone for the breakage. -- rsandifo at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/10541] [DR 354] Is NULL a valid pointer-type template argument?

2007-09-03 Thread mec at google dot com
--- Comment #8 from mec at google dot com 2007-09-03 15:47 --- DR 354 has been in state WP since October 2005. Is that good enough to unsuspend this issue? http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#354 -- mec at google dot com changed: What

[Bug c/33292] optimizer optimizes out a piece of code

2007-09-03 Thread nicolas at dyalog dot com
--- Comment #4 from nicolas at dyalog dot com 2007-09-03 16:08 --- That's what I feared I have lots of those in my code... Thanks for the quick reply anyway =) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33292

[Bug middle-end/33216] [4.1 Regression] ICE in named_section_real, at varasm.c:419

2007-09-03 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2007-09-03 16:24 --- I see. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/30302] [4.0/4.1/4.2/4.3 regression] ICE with invalid member in anonymous struct

2007-09-03 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2007-09-03 16:35 --- On it. -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned at gcc dot

[Bug fortran/31675] Fortran front-end and libgfortran should have a common header file

2007-09-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-09-03 16:44 --- Subject: Bug 31675 Author: fxcoudert Date: Mon Sep 3 16:44:15 2007 New Revision: 128050 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128050 Log: PR fortran/31675 * libgfortran.h: New

[Bug fortran/31675] Fortran front-end and libgfortran should have a common header file

2007-09-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-09-03 16:47 --- Fixed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/33293] New: inlining std::inner_product()

2007-09-03 Thread simon dot marshall at misys dot com
I use std::inner_product() to do the vector multiplication when performing matrix multiplication. This involves calling std::inner_product() within 2 nested loops (one across all rows, one across all columns). Unfortunately, g++-4.1.2 will not, it seems, inline the call even at -O5. If I

[Bug c/31955] gcc-4.2.0.tar.bz2 is missing INSTALL html files

2007-09-03 Thread simon dot marshall at misys dot com
--- Comment #2 from simon dot marshall at misys dot com 2007-09-03 16:54 --- This is also true of 4.2.1. Sorry if I have missed something. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31955

[Bug libstdc++/33293] inlining std::inner_product()

2007-09-03 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-09-03 17:20 --- Note, in GCC any -Ox, x 3 is identical to -O3. Anyway, I think we can safely add inline to std::accumulate and std::inner_product. -- pcarlini at suse dot de changed: What|Removed

[Bug c++/10541] [DR 354] Is NULL a valid pointer-type template argument?

2007-09-03 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2007-09-03 17:29 --- DR 354 has been in state WP since October 2005. Is that good enough to unsuspend this issue? Yes. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/33294] New: [4.2/4.3 Regression] -fno-strict-aliasing -ftree-vrp miscompilation

2007-09-03 Thread belyshev at depni dot sinp dot msu dot ru
Compile with -O2 -fno-strict-aliasing, fails on amd64 and alpha at least. Doesn't fail with -fno-tree-vrp. Seems to be related to bug 32575. Breaks linux kernel in many places (this asm is used with prefetch instruction). struct T { void *p; } *t; int main (void) { struct T *a; a = t;

[Bug libstdc++/33293] inlining std::inner_product()

2007-09-03 Thread paolo at gcc dot gnu dot org
--- Comment #2 from paolo at gcc dot gnu dot org 2007-09-03 17:48 --- Subject: Bug 33293 Author: paolo Date: Mon Sep 3 17:48:31 2007 New Revision: 128053 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128053 Log: 2007-09-03 Paolo Carlini [EMAIL PROTECTED] PR

[Bug libstdc++/33293] inlining std::inner_product()

2007-09-03 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2007-09-03 17:50 --- Fixed for 4.3.0. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/33295] New: ICE in fold_const.c (fold_convert) when reordering USE statements

2007-09-03 Thread jaydub66 at gmail dot com
The following code produces the error internal compiler error: in fold_convert, at fold-const.c:2626 when compiled with GCC trunk rev. 128037: module A type A_type real comp end type end module A module B contains function initA() use A implicit none type(A_type)::

[Bug c++/33287] namespace hides class definition

2007-09-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-09-03 18:05 --- Yes and this correct. Though the error was wrong. On the trunk we get: t.cc:12: error: 'namespace C1 { }' redeclared as different kind of symbol t.cc:2: error: previous declaration of 'class C1' --

[Bug fortran/33295] ICE in fold_const.c (fold_convert) when reordering USE statements

2007-09-03 Thread jaydub66 at gmail dot com
--- Comment #1 from jaydub66 at gmail dot com 2007-09-03 18:05 --- The error is also killed by A_var = initA() Sorry. The error is killed by *removing* this line. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33295

[Bug c++/33287] namespace hides class definition

2007-09-03 Thread fang at csl dot cornell dot edu
--- Comment #2 from fang at csl dot cornell dot edu 2007-09-03 18:11 --- Subject: Re: namespace hides class definition --- Comment #1 from pinskia at gcc dot gnu dot org 2007-09-03 18:05 --- Yes and this correct. Though the error was wrong. On the trunk we get:

[Bug tree-optimization/33294] [4.2/4.3 Regression] -fno-strict-aliasing -ftree-vrp miscompilation

2007-09-03 Thread belyshev at depni dot sinp dot msu dot ru
--- Comment #1 from belyshev at depni dot sinp dot msu dot ru 2007-09-03 18:13 --- This bug is invalid because asm() does NULL pointer dereference, thus triggering undefined behavior. -- belyshev at depni dot sinp dot msu dot ru changed: What|Removed

[Bug c++/33287] namespace hides class definition

2007-09-03 Thread ilgb at livius dot net
--- Comment #3 from ilgb at livius dot net 2007-09-03 18:15 --- it looks we are talking about different bugs, the error I get is different: ../src/a.cpp:26: error: 'C1' does not name a type where the line 26 is the following: C1 c; --

[Bug c++/33287] namespace hides class definition

2007-09-03 Thread fang at csl dot cornell dot edu
--- Comment #4 from fang at csl dot cornell dot edu 2007-09-03 18:19 --- Subject: Re: namespace hides class definition --- Comment #3 from ilgb at livius dot net 2007-09-03 18:15 --- it looks we are talking about different bugs, the error I get is different:

[Bug libfortran/33253] namelist: reading back a string with apostrophe

2007-09-03 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2007-09-03 19:05 --- Subject: Bug number PR33253 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00153.html --

[Bug libfortran/33253] namelist: reading back a string with apostrophe

2007-09-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2007-09-03 19:27 --- Subject: Bug 33253 Author: jvdelisle Date: Mon Sep 3 19:27:48 2007 New Revision: 128056 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128056 Log: 2007-09-03 Jerry DeLisle [EMAIL PROTECTED] PR

[Bug libfortran/33253] namelist: reading back a string with apostrophe

2007-09-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2007-09-03 19:29 --- Subject: Bug 33253 Author: jvdelisle Date: Mon Sep 3 19:29:17 2007 New Revision: 128057 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128057 Log: 2007-09-03 Jerry DeLisle [EMAIL PROTECTED] PR

[Bug libfortran/33253] namelist: reading back a string with apostrophe

2007-09-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2007-09-03 19:32 --- Fixed on trunk. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/33017] [4.3 Regression] tree check fail for legal code

2007-09-03 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug fortran/33295] ICE in fold_const.c (fold_convert) when reordering USE statements

2007-09-03 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2007-09-03 20:07 --- Confirmed on x86_64 (-O0), RECORD_TYPE is entering fold_convert() from gfc_trans_scalar_assign(): (gdb) bt #0 fancy_abort (file=0xb322f0 ../../gcc-svn/trunk/gcc/fold-const.c, line=2626, function=0xb321d2

[Bug target/28902] Fix for alingment of XXX is greater than maximum object alignment on AVR

2007-09-03 Thread aesok at gcc dot gnu dot org
--- Comment #2 from aesok at gcc dot gnu dot org 2007-09-03 20:35 --- Subject: Bug 28902 Author: aesok Date: Mon Sep 3 20:35:10 2007 New Revision: 128059 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128059 Log: PR target/28902 * config/avr/avr.h

[Bug target/28902] Fix for alingment of XXX is greater than maximum object alignment on AVR

2007-09-03 Thread aesok at gcc dot gnu dot org
--- Comment #3 from aesok at gcc dot gnu dot org 2007-09-03 21:04 --- Subject: Bug 28902 Author: aesok Date: Mon Sep 3 21:03:50 2007 New Revision: 128060 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128060 Log: PR target/28902 * config/avr/avr.h

[Bug target/1078] Problems with attributes documentation

2007-09-03 Thread eweddington at cso dot atmel dot com
--- Comment #6 from eweddington at cso dot atmel dot com 2007-09-04 03:37 --- (In reply to comment #5) Patch to document AVR progmem attribute: http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01832.html Now committed: http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00159.html This bug

[Bug target/12017] ICE: in spill_failure, at reload1.c:1862 with builtin_apply/builtin_return

2007-09-03 Thread eweddington at cso dot atmel dot com
--- Comment #13 from eweddington at cso dot atmel dot com 2007-09-04 03:46 --- Seems to be fixed in 4.2.1, at least. I haven't tried earlier releases. Changing target milestone and closing bug. -- eweddington at cso dot atmel dot com changed: What|Removed

[Bug c++/33287] namespace hides class definition

2007-09-03 Thread eweddington at cso dot atmel dot com
--- Comment #5 from eweddington at cso dot atmel dot com 2007-09-04 04:02 --- (In reply to comment #1) Yes and this correct. Andrew, Are you saying that this bug is invalid? If so, then it needs to be closed as such. Thanks -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33287

[Bug target/33256] internal compiler error: in print_operand_reloc, at config/mips/mips.c:5579

2007-09-03 Thread daney at gcc dot gnu dot org
-__cxa_atexit --disable-jvmpi Thread model: posix gcc version 4.3.0 20070903 (experimental) [trunk revision 128061] (GCC) COLLECT_GCC_OPTIONS='-B/home/ddaney/gccsvn/trunk-build/gcc/' '-v' '-S' '-mabi=64' '-msym32' '-mno-abicalls' '-O2' '-march=sb1' '-mno-shared' /home/ddaney/gccsvn/trunk-build/gcc

[Bug target/33256] internal compiler error: in print_operand_reloc, at config/mips/mips.c:5579

2007-09-03 Thread daney at gcc dot gnu dot org
--- Comment #6 from daney at gcc dot gnu dot org 2007-09-04 04:27 --- OK I can reproduce with my mips64-linux cross compiler. I wonder if it is big-endian related... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33256

[Bug libfortran/33225] [4.3 regression] Missing last digit is some formatted output (on 32bit targets)

2007-09-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #12 from jvdelisle at gcc dot gnu dot org 2007-09-04 04:47 --- Found the problem. I will submit the update patch against this PR -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/33225] Missing last digit in some formatted output (on 32bit targets), per kind write_float

2007-09-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #13 from jvdelisle at gcc dot gnu dot org 2007-09-04 04:49 --- Changed title to reflect what this is, not really a regression at this point. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/33225] Missing last digit in some formatted output (on 32bit targets), per kind write_float

2007-09-03 Thread dominiq at lps dot ens dot fr
--- Comment #14 from dominiq at lps dot ens dot fr 2007-09-04 04:58 --- Did you also have a look to the other problem: print *, nearest(huge(1.0),1.0), nearest(-huge(1.0),-1.0), nearest(huge(1.0d0) 1 Error: Result of NEAREST overflows its kind at (1) ? --

[Bug libfortran/33225] Missing last digit in some formatted output (on 32bit targets), per kind write_float

2007-09-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #15 from jvdelisle at gcc dot gnu dot org 2007-09-04 05:39 --- Yes, I also checked the huge testcase and its all clean now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33225

[Bug libfortran/33225] Missing last digit in some formatted output (on 32bit targets), per kind write_float

2007-09-03 Thread patchapp at dberlin dot org
--- Comment #16 from patchapp at dberlin dot org 2007-09-04 05:40 --- Subject: Bug number PR33225 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00176.html --

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

2007-09-03 Thread dominiq at lps dot ens dot fr
The following code: real x x = nearest(huge(1.0),1.0) end gives x = nearest(huge(1.0),1.0) 1 Error: Result of NEAREST overflows its kind at (1) instead of setting x to +Inf. This bug is also present in GNU F95 version 4.2.1. -- Summary: nearest(huge(1.0),1.0) gives an

[Bug libfortran/33225] Missing last digit in some formatted output (on 32bit targets), per kind write_float

2007-09-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #17 from jvdelisle at gcc dot gnu dot org 2007-09-04 05:44 --- Dominique: The problem in comment 14 is not fixed and I do not think its related. I will check further though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33225

[Bug target/33256] internal compiler error: in print_operand_reloc, at config/mips/mips.c:5579

2007-09-03 Thread daney at gcc dot gnu dot org
--- Comment #7 from daney at gcc dot gnu dot org 2007-09-04 05:46 --- Here is what is happening: The value of avenrun[0] is being passed to a function that takes an 32 bit int parameter. Since avenrun is an array of 64 bit unsigned long, the conversion to int can be done by loading an

[Bug libfortran/33225] Missing last digit in some formatted output (on 32bit targets), per kind write_float

2007-09-03 Thread dominiq at lps dot ens dot fr
--- Comment #18 from dominiq at lps dot ens dot fr 2007-09-04 05:47 --- I do not think its related. I just realized that and I filled PR33296. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33225

  1   2   >