[Bug target/29443] ICE: output_operand: invalid expression as operand with -gstabs

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-10-23 06:48 --- Note this looks like a latent bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443

[Bug target/29443] ICE: output_operand: invalid expression as operand with -gstabs

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-10-23 06:47 --- Reduced testcase: struct string { struct _Rep{}; static _Rep _S_empty_rep_storage[]; void *_M_rep () const{} void _M_destroy () throw (); ~string () { _Rep *a = (_Rep *)((void *)(&_S_empty_re

[Bug target/29443] [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-10-23 06:39 --- (gdb) p debug_rtx(x) (unspec:DI [ (symbol_ref:DI ("_ZN6string20_S_empty_rep_storageE") [flags 0x40] ) ] 2) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443

[Bug fortran/24518] Intrinsic MOD incorrect for large arg1/arg2 and slow.

2006-10-22 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2006-10-23 06:19 --- Created an attachment (id=12477) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12477&action=view) Example patch I don't know if it's giving correct results in all cases, or if it works even on platforms wit

possible with gcc 4.1.1 found

2006-10-22 Thread djh
Background: This problem was found by running gnu mp's "make check" script after an successfull "make". GNU MP home page: http://www.swox.com/gmp/ Problem discovered while "make checking" ... of programs from gmp-4.2.1.tar.bz2 $ /usr/local/bin/gcc -v Using built-in specs. Tar

[Bug target/29443] [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-23 04:15 --- Sorry, not TLS but instead some PIC code. This is a target specific issue. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug debug/29443] [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-23 04:02 --- This is TLS that is being ICEd on so I doubt this is a regression, except for libstdc++ using TLS now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443

[Bug c++/28088] [4.1 Regression] Internal compiler error on boost mpl test/apply.cpp

2006-10-22 Thread bangerth at math dot tamu dot edu
--- Comment #13 from bangerth at math dot tamu dot edu 2006-10-23 04:01 --- Subject: Re: [4.1 Regression] Internal compiler error on boost mpl test/apply.cpp So maybe the question should be a different one: if it is difficult and/or potentially risky to backport the patch mentioned,

[Bug c++/28088] [4.1 Regression] Internal compiler error on boost mpl test/apply.cpp

2006-10-22 Thread fang at csl dot cornell dot edu
--- Comment #12 from fang at csl dot cornell dot edu 2006-10-23 03:34 --- Subject: Re: [4.1 Regression] Internal compiler error on boost mpl test/apply.cpp > There were PRs that showed that this extension (for those who don't > remember: we allowed to match templates with trailing de

[Bug c++/28088] [4.1 Regression] Internal compiler error on boost mpl test/apply.cpp

2006-10-22 Thread bangerth at math dot tamu dot edu
--- Comment #11 from bangerth at math dot tamu dot edu 2006-10-23 03:18 --- Subject: Re: [4.1 Regression] Internal compiler error on boost mpl test/apply.cpp > Technically, I think it would be feasible to backport the patch. However, > because that patch eliminates a GNU extension

[Bug rtl-optimization/29083] useless clrlwi instruction produced for 16-bit bitfield

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-23 02:28 --- This is also fixed at -O2 -fsee so SEE also fixes the problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29083

[Bug rtl-optimization/29083] useless clrlwi instruction produced for 16-bit bitfield

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-23 02:16 --- Yes this is fixed on the dataflow branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29083

[Bug c++/24604] namespace std aliasing

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-23 00:56 --- Related to PR 29556. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added BugsThisDepen

[Bug c++/29556] Expect error when 'using namespace std' is declared when std namespace is not defined

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-23 00:48 --- Confirmed. Related to: http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00945.html -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug rtl-optimization/29083] useless clrlwi instruction produced for 16-bit bitfield

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-22 23:55 --- Confirmed, what happens is that combine combines: (insn 18 16 19 3 (set (reg/v/f:SI 123 [ node ]) (plus:SI (reg/v/f:SI 123 [ node ]) (const_int -4 [0xfffc]))) 79 {*addsi3_internal1} (n

[Bug fortran/29550] Optimize -fexternal-blas calls for conjg()

2006-10-22 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2006-10-22 23:14 --- I've been thinking a bit about this. It's a common case, and it would probably be worth optimizing it. We could detect in iresolve.c (gfc_resolve_matmul) that one (or both) of the arguments to MATMUL is a call to

[Bug rtl-optimization/16456] PowerPC - redundant subtract involving pointer types

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-22 23:13 --- (In reply to comment #2) > This is another example of premature tree optimization, and it should be > addressed > in the reworking of fold itself. I don't think this should be attempted at > stage 3 First off, fo

[Bug c++/29556] New: Expect error when 'using namespace std' is declared when std namespace is not defined

2006-10-22 Thread brandon at rioja dot us
"using namespace std" does not issue an error or warning when the namespace std is not declared. Using other namespaces that are not declared issue a warning. Expects: "using namespace std;" to issue the error error: ‘std’ is not a namespace-name. when namespace std is not defined. System: 2.6.

[Bug tree-optimization/29543] Poor code generated for arrays with variable bounds

2006-10-22 Thread laurent at guerby dot net
--- Comment #13 from laurent at guerby dot net 2006-10-22 21:55 --- Indeed :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29543

[Bug target/29555] New: failure building cross compiler for fr30

2006-10-22 Thread larsi at wh2 dot tu-dresden dot de
I want to build a cross compiler for fr30 architecture (including c++) and configure in a separate build dir as follows: ../gcc-4.1.1/configure --prefix=/usr/cross --target=fr30-unknown-elf --with-gnu-as --with-gnu-ld --enable-languages=c --disable-libssp Then is make and make install, which runs

[Bug fortran/24518] Intrinsic MOD incorrect for large arg1/arg2 and slow.

2006-10-22 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2006-10-22 21:01 --- Having thought about it some more, MODULO should be implemented using fmod{f,,l} and MOD should use remainder{f,,l}. See how BUILT_IN_POWL is used, for example, to emit the same kind of code in gfc_conv_intrinsic_

[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-10-22 Thread aldot at gcc dot gnu dot org
--- Comment #8 from aldot at gcc dot gnu dot org 2006-10-22 21:08 --- Created an attachment (id=12476) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12476&action=view) untested proposed fix I hope to test this patch soon. Note that it adds a warning about blank common in block da

[Bug tree-optimization/29543] Poor code generated for arrays with variable bounds

2006-10-22 Thread laurent at guerby dot net
--- Comment #11 from laurent at guerby dot net 2006-10-22 20:55 --- My point is that the subprogram I wrote is probably the way most Ada programmers will write when they want to multiply matrices (if not using BLAS/Lapack). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29543

[Bug tree-optimization/29553] wrong-code / trivial logic misscompiled.

2006-10-22 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-10-22 20:47 --- In flag ? (unsigned)__x : __x , __x is promoted to unsigned and then promoted to long, so the code is different than bar. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug target/9383] [SYSV] stack frame always made for nested functions

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-22 23:01 --- Fixed in 4.0 by the tree-ssa merge. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/29553] New: wrong-code / trivial logic misscompiled.

2006-10-22 Thread pluto at agmk dot net
long foo( bool flag, int __x ) { return ( flag ? (unsigned)__x : __x ); // broken } long bar( bool flag, int __x ) { if ( flag ) return (unsigned)__x; else return __x; } : 0: 89 f0 mov%esi,%eax

[Bug libgcj/29424] FAIL: events output

2006-10-22 Thread andreast at gcc dot gnu dot org
--- Comment #1 from andreast at gcc dot gnu dot org 2006-10-22 20:27 --- Fixed with this commit: http://gcc.gnu.org/ml/java-patches/2006-q4/msg00084.html Confirmed here: http://gcc.gnu.org/ml/gcc-testresults/2006-10/msg01120.html This also fixes events run test on linux-ppc 32-bit.

[Bug fortran/24790] arguments are displayed as reference or pointer to normal type in GDB

2006-10-22 Thread burnus at net-b dot de
--- Comment #6 from burnus at net-b dot de 2006-10-22 21:03 --- See http://gcc.gnu.org/ml/gcc-patches/2006-10/msg01086.html for a preliminary patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24790

[Bug target/21508] non-optimal code with __builtin_signbit

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-22 21:01 --- On the mainline we get: subl$12, %esp fld1 faddl 16(%esp) fstpl (%esp) movl4(%esp), %eax addl$12, %esp andl$-2147483648, %eax ret W

[Bug inline-asm/29554] GNU as crashes on bad register syntax

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-22 21:02 --- (In reply to comment #0) > (BTW, none of the product categories seem right, but I was directed here by > the > manual of gnu as.) The correct place is http://sourceware.org/bugzilla/ under binutils. This bugzilla

[Bug inline-asm/29554] New: GNU as crashes on bad register syntax

2006-10-22 Thread dagit at codersbase dot com
The following bit of (malformed) assembly causes GNU as to crash. .globl foo .type foo, @function foo: sete$%al Here is the error message: $ as test.s test.s: Assembler messages: test.s:4: Internal error, aborting at ../../gas/config/tc-i386.c line 2123 in optimize_imm Pleas

[Bug tree-optimization/15911] VRP/DOM does not like TRUTH_AND_EXPR

2006-10-22 Thread rguenth at gcc dot gnu dot org
--- Comment #32 from rguenth at gcc dot gnu dot org 2006-10-22 20:16 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNE

[Bug target/28232] Wrong aligned load is generated with -m4a on sh-*

2006-10-22 Thread kkojima at gcc dot gnu dot org
--- Comment #5 from kkojima at gcc dot gnu dot org 2006-10-23 00:28 --- Fixed. -- kkojima at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/29550] Optimize -fexternal-blas calls for conj()

2006-10-22 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2006-10-22 18:45 --- The current code already recognizes matrix transposition and gives BLAS gemm functions the right TRANSA and TRANSB argument in this case. Confirmed for CONJG, which we don't currently handle. -- fxcoudert at

[Bug tree-optimization/29543] Poor code generated for arrays with variable bounds

2006-10-22 Thread ebotcazou at gcc dot gnu dot org
--- Comment #12 from ebotcazou at gcc dot gnu dot org 2006-10-22 21:27 --- > My point is that the subprogram I wrote is probably the way most Ada > programmers will write when they want to multiply matrices (if not using > BLAS/Lapack). OK, but you have not simplified the problem in do

[Bug fortran/29539] ICE in variable_decl

2006-10-22 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Ke

[Bug middle-end/23869] Missed optimization with integer booleans when compiling for pentium and higher

2006-10-22 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-10-22 20:20 --- In both cases we now get a call to g(1) due to the fix for 15911. So, fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/15911] VRP/DOM does not like TRUTH_AND_EXPR

2006-10-22 Thread rguenth at gcc dot gnu dot org
--- Comment #31 from rguenth at gcc dot gnu dot org 2006-10-22 20:11 --- Subject: Bug 15911 Author: rguenth Date: Sun Oct 22 20:11:09 2006 New Revision: 117960 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117960 Log: 2006-10-22 Jeff Law <[EMAIL PROTECTED]> Richard G

[Bug libstdc++/29552] std::power() is not in the std namespace when including

2006-10-22 Thread brandon at rioja dot us
--- Comment #2 from brandon at rioja dot us 2006-10-22 18:09 --- Ahh, I see. This document says that the __gnu_cxx namespace is for the C++ extentions for public use: http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/doxygroups_8cc-source.html """ This namespace serves two purposes

[Bug tree-optimization/29543] Poor code generated for arrays with variable bounds

2006-10-22 Thread ebotcazou at gcc dot gnu dot org
--- Comment #10 from ebotcazou at gcc dot gnu dot org 2006-10-22 18:33 --- > I don't know how to write the equivalent fortran code, but it's likely better > to concentrate on the subprogram version for optimization purpose. Sorry, I don't see your point. -- http://gcc.gnu.org/bugz

[Bug tree-optimization/29551] FAIL: gcc.dg/tree-ssa/pr26421.c scan-tree-dump-times V_MAY_DEF 1

2006-10-22 Thread dberlin at gcc dot gnu dot org
--- Comment #5 from dberlin at gcc dot gnu dot org 2006-10-22 17:39 --- (In reply to comment #1) > I think it's ok again, but it shows one weakness of the current NONLOCAL > scheme: > > foo () > { > struct Foo a; > int D.1534; > > : > # SFT.0_2 = V_MUST_DEF ; > a.i = 1; > #

[Bug tree-optimization/29551] FAIL: gcc.dg/tree-ssa/pr26421.c scan-tree-dump-times V_MAY_DEF 1

2006-10-22 Thread dberlin at dberlin dot org
--- Comment #4 from dberlin at gcc dot gnu dot org 2006-10-22 17:37 --- Subject: Re: FAIL: gcc.dg/tree-ssa/pr26421.c scan-tree-dump-times V_MAY_DEF 1 On 22 Oct 2006 17:16:00 -, rguenth at gcc dot gnu dot org <[EMAIL PROTECTED]> wrote: > > > --- Comment #2 from rguenth at gcc do

[Bug target/26674] missed optimization / 128-bit arithmetic.

2006-10-22 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2006-10-22 17:44 --- recent 4.2 produces worse %rcx setup code. previously: xorl%edx, %edx movq%rdx, %rcx now: movq%rdi, %rax sarq$63, %rax movq%rax, %rcx -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26674

[Bug tree-optimization/29551] FAIL: gcc.dg/tree-ssa/pr26421.c scan-tree-dump-times V_MAY_DEF 1

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-22 17:30 --- http://gcc.gnu.org/ml/gcc-cvs/2006-10/msg00625.html That just needs to merged back. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29551

[Bug libstdc++/29552] New: std::power() is not in the std namespace when including

2006-10-22 Thread brandon at rioja dot us
Sees: In power() is not declared in the std namespace, and the program doesn't compile. Expects: power to be included in the namespace. Source: using namespace std; #include #include int main() { cout << power (2,30) << endl; } Command line Flag and Compiler error: [EMAIL PROTECTED] testp

[Bug tree-optimization/29551] FAIL: gcc.dg/tree-ssa/pr26421.c scan-tree-dump-times V_MAY_DEF 1

2006-10-22 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-10-22 17:12 --- I think it's ok again, but it shows one weakness of the current NONLOCAL scheme: foo () { struct Foo a; int D.1534; : # SFT.0_2 = V_MUST_DEF ; a.i = 1; # SFT.0_6 = V_MAY_DEF ; # NONLOCAL.6_7 = V_M

[Bug tree-optimization/29551] FAIL: gcc.dg/tree-ssa/pr26421.c scan-tree-dump-times V_MAY_DEF 1

2006-10-22 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-10-22 17:16 --- Adding p = &a and using that produces foo () { struct Foo * p; struct Foo a; int D.1535; : # SFT.2_2 = V_MUST_DEF ; a.i = 1; p_3 = &a; # SFT.0_9 = V_MAY_DEF ; # SFT.1_10 = V_MAY_DEF ; #

[Bug libstdc++/29552] std::power() is not in the std namespace when including

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-22 17:35 --- Right because this power is an extension to the C++ standard. This is not a bug. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/29551] New: FAIL: gcc.dg/tree-ssa/pr26421.c scan-tree-dump-times V_MAY_DEF 1

2006-10-22 Thread danglin at gcc dot gnu dot org
This test has regressed. Executing on host: /home/dave/gnu/gcc-4.3/objdir/gcc/xgcc -B/home/dave/gnu/gcc-4 .3/objdir/gcc/ /home/dave/gnu/gcc-4.3/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr26421. c -O2 -fdump-tree-alias1-vops -fno-show-column -S -o pr26421.s(timeout = 300) PASS: gcc.dg/tree-ssa/pr26

[Bug rtl-optimization/20586] bootstrap comparision fails with -funroll-loops.

2006-10-22 Thread pluto at agmk dot net
--- Comment #10 from pluto at agmk dot net 2006-10-22 17:17 --- i will no longer test the 4.1 branch. for me it's closed with /dontcare. -- pluto at agmk dot net changed: What|Removed |Added -

[Bug target/28232] Wrong aligned load is generated with -m4a on sh-*

2006-10-22 Thread kkojima at gcc dot gnu dot org
--- Comment #4 from kkojima at gcc dot gnu dot org 2006-10-23 00:14 --- Subject: Bug 28232 Author: kkojima Date: Mon Oct 23 00:14:39 2006 New Revision: 117961 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117961 Log: PR target/28232 * config/sh/sh.c (expand_bloc

[Bug fortran/29550] New: Optimize -fexternal-blas calls for transpose()/conj()

2006-10-22 Thread tobias dot burnus at physik dot fu-berlin dot de
Often, matrix multiplications contain transpose() or conj(), e.g. matmul(transpose(A),B) or matmul(A,conj(transpose(B)) matmul(A,transpose(conj(B)) The *gemm subroutines of BLAS anticipate this via the TRANSA and TRANSB options: - 'N' (unchanged) - 'T' (transpose) - 'C' (hermitian conjugate

[Bug middle-end/28176] FAIL: gfortran.dg/actual_array_constructor_1.f90 -O0 (ICE)

2006-10-22 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #9 from dave at hiauly1 dot hia dot nrc dot ca 2006-10-22 16:18 --- Subject: Re: FAIL: gfortran.dg/actual_array_constructor_1.f90 -O0 (ICE) > --- Comment #8 from sje at cup dot hp dot com 2006-10-19 18:09 --- > Well, I found that the TImode is getting introduced

[Bug tree-optimization/29543] Poor code generated for arrays with variable bounds

2006-10-22 Thread laurent at guerby dot net
--- Comment #9 from laurent at guerby dot net 2006-10-22 16:13 --- Eric, build is "i686-pc-linux-gnu" I don't understand why you speak of generalization :). Anyway, I changed the code to match more likely use, that is by using a subprogram: procedure Compute (A, B : in Real_Matrix;

[Bug libstdc++/20647] Wrong typeid for incomplete types

2006-10-22 Thread nathan at gcc dot gnu dot org
--- Comment #15 from nathan at gcc dot gnu dot org 2006-10-22 16:09 --- 2006-10-22 Nathan Sidwell <[EMAIL PROTECTED]> PR c++/20647 * rtti.c (tinfo_base_init): The type info string is always global. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20647

[Bug libstdc++/20647] Wrong typeid for incomplete types

2006-10-22 Thread nathan at gcc dot gnu dot org
--- Comment #14 from nathan at gcc dot gnu dot org 2006-10-22 16:07 --- Subject: Bug 20647 Author: nathan Date: Sun Oct 22 16:07:41 2006 New Revision: 117957 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117957 Log: cp/ PR c++/20647 * rtti.c (tinfo_base_init): T

[Bug fortran/29549] New: matmul slow for complex matrices

2006-10-22 Thread tobias dot burnus at physik dot fu-berlin dot de
Comparison by Francois-Xavier: http://www.eleves.ens.fr/home/coudert/timing.png (bottom row: complex numbers; black gfortran matmul, others: optimized libraries). See also http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00343.html -- Summary: matmul slow for complex matrices

[Bug middle-end/29548] Does not fold b * -2 + a * 6

2006-10-22 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-10-22 15:56 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|

[Bug middle-end/29548] New: Does not fold b * -2 + a * 6

2006-10-22 Thread rguenth at gcc dot gnu dot org
fold_plusminus_mult_expr does not fold int f6 (int a, int b) { return b * -2 + a * 6; } this blocks the fix for PR23295 because a fix for it makes the test for PR23294 fail. -- Summary: Does not fold b * -2 + a * 6 Product: gcc Version: 4.3.0 Stat

[Bug tree-optimization/29543] Poor code generated for arrays with variable bounds

2006-10-22 Thread jeff at thecreems dot com
--- Comment #8 from jeff at thecreems dot com 2006-10-22 15:50 --- (In reply to comment #7) > > No, but there is an obvious one why the Fortran version trounces the Ada > > version. Let's not compare apples with oranges. > > The adverse effect of the indirection can be alleviated thoug

[Bug middle-end/23666] Fold does not reduce C - ~a into a + (C+1)

2006-10-22 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2006-10-22 15:12 --- With the patch for 23295 we get the behavior as noted in comment #7. This is due to negate_expr_p (correctly) containing case BIT_NOT_EXPR: return INTEGRAL_TYPE_P (type) && (TYPE_UNSIGNED

[Bug tree-optimization/29543] Poor code generated for arrays with variable bounds

2006-10-22 Thread ebotcazou at gcc dot gnu dot org
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2006-10-22 15:03 --- > No, but there is an obvious one why the Fortran version trounces the Ada > version. Let's not compare apples with oranges. The adverse effect of the indirection can be alleviated though: N : Positive := Po

[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-10-22 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #7 from sgk at troutmask dot apl dot washington dot edu 2006-10-22 15:00 --- Subject: Re: ICE in gfc_match_common for blank common in BLOCK DATA unit On Sun, Oct 22, 2006 at 11:36:15AM -, aldot at gcc dot gnu dot org wrote: > > --- Comment #5 from aldot at gcc dot

[Bug middle-end/23295] fold does not simplify -a - (5) to (-5) - a

2006-10-22 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2006-10-22 14:45 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned

[Bug preprocessor/29546] Wrong preprocessing when value of a define is "powerpc"

2006-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-22 14:15 --- Note if you add -pedantic or -ansi or -std=c99 or -std=c89, powerpc will not be defined as it is not in the reserved space. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29546

[Bug preprocessor/29546] Wrong preprocessing when value of a define is "powerpc"

2006-10-22 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-10-22 13:21 --- powerpc is one of the standard defines gcc defines if running on ppc-linux. It is changed to __powerpc if you define powerpc yourself. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug target/29541] Enable IBM long double format in PowerPC Linux soft float

2006-10-22 Thread joseph at codesourcery dot com
--- Comment #2 from joseph at codesourcery dot com 2006-10-22 13:20 --- Subject: Re: Enable IBM long double format in PowerPC Linux soft float On Sat, 21 Oct 2006, pinskia at gcc dot gnu dot org wrote: > There was talking about this on the mailing list but I cannot find it right > no

[Bug preprocessor/29546] New: Wrong preprocessing when value of a define is "powerpc"

2006-10-22 Thread glibersat at linux62 dot org
When you want to set the "powerpc" string as a value of a define (-D or #define), you get the integer value 1 instead of the string. Here's an example : test.c : - Arch = ARCH - With the "powerpc" string (bug) : gcc -E -DARCH=powerpc test.c Result is : # 1 "test.c" # 1 "" # 1 "" # 1 "te

[Bug target/27891] [4.0/4.1 regression] ICE in tree_split_edge, at tree-cfg.c:3107

2006-10-22 Thread falk at debian dot org
--- Comment #3 from falk at debian dot org 2006-10-22 12:50 --- This bug is still there in 4.1, but not in mainline. Janis, can you perhaps do a regression hunt to see what fixed this and whether it is feasible to backport? -- falk at debian dot org changed: What|Rem

[Bug tree-optimization/29543] Poor code generated for arrays with variable bounds

2006-10-22 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2006-10-22 12:42 --- > Eric, if the type is Long_Float your solution will be much worse since the > alignement on the stack of the matrices will be 4-bytes so you have 50% chance > the code will be N times slower (when not 8-bytes ali

[Bug fortran/28585] Fortran 2003: Support NEW_LINE intrinsic

2006-10-22 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2006-10-22 12:26 --- Fixed in 4.2 and later, thanks to Tobias. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/29543] Poor code generated for arrays with variable bounds

2006-10-22 Thread laurent at guerby dot net
--- Comment #5 from laurent at guerby dot net 2006-10-22 12:04 --- Eric, if the type is Long_Float your solution will be much worse since the alignement on the stack of the matrices will be 4-bytes so you have 50% chance the code will be N times slower (when not 8-bytes aligned). So in

[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-10-22 Thread aldot at gcc dot gnu dot org
--- Comment #6 from aldot at gcc dot gnu dot org 2006-10-22 11:50 --- > I think the code in comment #1 is valid. Rejecting blank common in block data stmts would add a regression in testsuite's blockdata_1.f90 like so: [EMAIL PROTECTED]:~/src/gcc-4.2/gcc/testsuite/gfortran.dg$ gfortran-

[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-10-22 Thread aldot at gcc dot gnu dot org
--- Comment #5 from aldot at gcc dot gnu dot org 2006-10-22 11:36 --- I think the code in comment #1 is valid. f95, 5.5.2.4 Differences between named common and blank common reads: A blank common block has the same properties as a named common block except (iii) [...] objects in blank c

[Bug middle-end/29519] [4.2 Regression] Bad code on MIPS with -fnon-call-exceptions

2006-10-22 Thread richard at codesourcery dot com
--- Comment #7 from richard at codesourcery dot com 2006-10-22 08:51 --- Subject: Re: [4.2 Regression] Bad code on MIPS with -fnon-call-exceptions "daney at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: > Richard, does this look right? Looks good to me. -- http://gcc.gnu.org/

[Bug fortran/22547] Fortran 2003: ISO_FORTRAN_ENV intrinsic module missing

2006-10-22 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2006-10-22 07:45 --- I don't think we want to have a real .mod file somewhere, but I know how I'll implement it internally. I'll do it. -- fxcoudert at gcc dot gnu dot org changed: What|Removed

[Bug fortran/26025] Optionally use BLAS for matmul

2006-10-22 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2006-10-22 07:43 --- Fixed on mainline. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/26025] Optionally use BLAS for matmul

2006-10-22 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2006-10-22 07:42 --- Subject: Bug 26025 Author: fxcoudert Date: Sun Oct 22 07:41:48 2006 New Revision: 117948 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117948 Log: PR fortran/26025 * lang.opt: Add -fexte

[Bug fortran/29383] Fortran 2003/F95[TR15580:1999]: Floating point exception (IEEE) support

2006-10-22 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2006-10-22 07:19 --- Confirmed. This one will probably be implemented after ISO_C_BINDING. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/29453] [g77 support] chmod intrinsic function not implemented in gfortran

2006-10-22 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2006-10-22 07:18 --- No, it's implemented, it's only that the subroutine and function with the same name cannot be called in the same scoping unit. -- fxcoudert at gcc dot gnu dot org changed: What|Removed

[Bug fortran/29452] Keyword check for specifiers in WRITE, READ and OPEN/CLOSE

2006-10-22 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2006-10-22 07:15 --- (In reply to comment #1) > - A compile-time-error is shown (probably fixed by FX patch, not checked) Yes, it's fixed by my patch. Confirming this bug. Tobias, if you want to submit a global patch to resolve thes