[Bug tree-optimization/31847] [4.3 Regression] Printing to dump file broken

2007-05-07 Thread simartin at gcc dot gnu dot org
--- Comment #1 from simartin at gcc dot gnu dot org 2007-05-07 07:23 --- Hello. I've had a look at the code, and the PRE dump apparently directly calls print_generic_expr (not via default_tree_printer) with TDF_DIAGNOSTIC in the dump flags. I'm not sure how those flags are setup... I

[Bug middle-end/30250] Evaluate lgamma/gamma at compile-time

2007-05-07 Thread ghazi at gcc dot gnu dot org
--- Comment #2 from ghazi at gcc dot gnu dot org 2007-05-07 07:35 --- I'll be doing the reentrant lgamma_r/gamma_r versions as well. (They're actually easier because I get the signgam identifer as a pointer parameter rather than having to find it at global scope.) --

[Bug bootstrap/31344] [4.3 Regression] bootstrap broken on i[345]86-linux

2007-05-07 Thread ubizjak at gmail dot com
--- Comment #19 from ubizjak at gmail dot com 2007-05-07 08:19 --- Here is the problem: Compilation enteres emit_move_via_integer() with: x = (mem/i:SD (pre_dec:SI (reg/f:SI 7 sp)) [0 S4 A32]) y = (reg/v:SD 59 [ arg ]) emit_move_change_mode() generates invalid insn from x because it

[Bug preprocessor/31851] New: -MT doesn't overwrite the default target when used with -M(M)D and -o

2007-05-07 Thread c dot matuszewski at gmx dot de
Suppose, you have the following C-File (input.c), empty.h is just an empty file: #include empty.h void dummy(void) { } Issue the command: gcc -c input.c -MD -MT foo.o -o input.o The content of input.d is: foo.o input.o: input.c empty.h but I would expect: foo.o: input.c empty.h which also is

[Bug bootstrap/31344] [4.3 Regression] bootstrap broken on i[345]86-linux

2007-05-07 Thread ubizjak at gmail dot com
--- Comment #20 from ubizjak at gmail dot com 2007-05-07 08:51 --- Following one-liner fixes the failure. Note that this is for i386 only, as we also need to skip other autoinc/autodec references. This is now a generic RTL problem. 2007-05-07 Uros Bizjak [EMAIL PROTECTED] *

[Bug fortran/29400] constant arrays as intrinsic arguments lead to ICE

2007-05-07 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2007-05-07 08:59 --- (In reply to comment #4) FX, integer,parameter :: i(1,1) = reshape ((/0/),(/1,1/)) ! integer,parameter :: i(1,1) = 1 integer :: j(1) j = lbound(any(i==1,2)) print *, j end works correctly, so it is the

[Bug rtl-optimization/31849] [4.2/4.3 Regression] Code size regression caused by fix to PR 31360

2007-05-07 Thread rearnsha at gcc dot gnu dot org
--- Comment #4 from rearnsha at gcc dot gnu dot org 2007-05-07 09:34 --- (In reply to comment #2) 1) Hoists a register containing 0 out of the loop The correct thing to do. Not necessarily. Hoisting literal constants means that opportunities to simply insns based on that constant

[Bug rtl-optimization/31849] [4.2/4.3 Regression] Code size regression caused by fix to PR 31360

2007-05-07 Thread rakdver at kam dot mff dot cuni dot cz
--- Comment #5 from rakdver at kam dot mff dot cuni dot cz 2007-05-07 09:38 --- Subject: Re: [4.2/4.3 Regression] Code size regression caused by fix to PR 31360 (In reply to comment #2) 1) Hoists a register containing 0 out of the loop The correct thing to do. Not

[Bug fortran/30875] Equivalence of derived types with (same) default initializer

2007-05-07 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2007-05-07 09:45 --- This will be fixed at the same time as PR29786. This, in its turn, is awaiting the fix for PR18769, where Brooks is wading through the necessary gcc modifications. Paul -- pault at gcc dot gnu dot org changed:

[Bug rtl-optimization/31849] [4.2/4.3 Regression] Code size regression caused by fix to PR 31360

2007-05-07 Thread stevenb dot gcc at gmail dot com
--- Comment #6 from stevenb dot gcc at gmail dot com 2007-05-07 09:46 --- Subject: Re: [4.2/4.3 Regression] Code size regression caused by fix to PR 31360 Constant / copy simplifications should be done in at least CSE, fwprop, and the gcse CPROP passes (we run CPROP three times!).

[Bug libfortran/31607] CALL SYSTEM produces garbled output when writing to a buffered file

2007-05-07 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-05-07 09:59 --- Tentative patch: Index: intrinsics/system.c === --- intrinsics/system.c (revision 124460) +++ intrinsics/system.c (working copy) @@ -49,6 +49,9 @@

[Bug bootstrap/31523] bootstrap xgcc internal compiler error (using -O3)

2007-05-07 Thread anirkko at insel dot ch
--- Comment #12 from anirkko at insel dot ch 2007-05-07 10:29 --- (In reply to comment #10) ... Yes, I'm going to reopen it, but I'm not sure someone will tackle it. The culprit is -finline-functions: The gcc man page says -O3 adds only 3 additional options. My bootstrapping script

[Bug bootstrap/31523] bootstrap xgcc internal compiler error (using -O3)

2007-05-07 Thread anirkko at insel dot ch
--- Comment #13 from anirkko at insel dot ch 2007-05-07 10:33 --- (In addition to comment #12) PS: The above was done on sparcv9 (UltraSparc-III) with Solaris 8. Thus, the bug is confirmed on several machines with several versions of Solaris and several versions of binutils

[Bug rtl-optimization/31849] [4.2/4.3 Regression] Code size regression caused by fix to PR 31360

2007-05-07 Thread rearnsha at gcc dot gnu dot org
--- Comment #7 from rearnsha at gcc dot gnu dot org 2007-05-07 10:43 --- Here's another example of code that is now significantly worse (~20% larger). Rather than incrementing the base pointers on each iteration of the loop, we now maintain both base pointers and and offset. This

[Bug other/31852] New: Missing __builtin_memchr

2007-05-07 Thread pcarlini at suse dot de
It would be nice to have a builtin for memchr too, for many reasons. For example, on the C++ library side, char_traitschar::find could be better optimized; we could avoid including cstring anywhere in the headers (__builtin_memcpy, memmove, memset, memcmp are already available!)... --

[Bug bootstrap/31523] bootstrap failure with -O2 -finline-functions

2007-05-07 Thread ebotcazou at gcc dot gnu dot org
--- Comment #14 from ebotcazou at gcc dot gnu dot org 2007-05-07 10:58 --- Should -finline-functions be excluded from the default -O3 options? (until mended. If it can't be trusted building the comopiler, can it be trusted for anything else?) -finline-functions is very likely not

[Bug rtl-optimization/31344] [4.3 Regression] bootstrap broken on i[345]86-linux

2007-05-07 Thread ubizjak at gmail dot com
--- Comment #21 from ubizjak at gmail dot com 2007-05-07 11:11 --- Patch at http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00390.html -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug rtl-optimization/31849] [4.2/4.3 Regression] Code size regression caused by fix to PR 31360

2007-05-07 Thread rakdver at gcc dot gnu dot org
--- Comment #8 from rakdver at gcc dot gnu dot org 2007-05-07 11:22 --- (In reply to comment #7) Here's another example of code that is now significantly worse (~20% larger). Rather than incrementing the base pointers on each iteration of the loop, we now maintain both base pointers

[Bug libfortran/31607] CALL SYSTEM produces garbled output when writing to a buffered file

2007-05-07 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot |dot org

[Bug other/31852] Missing __builtin_memchr

2007-05-07 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-05-07 12:04 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/31400] enable static linking of support libraries through -static-libXY

2007-05-07 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot |dot org

[Bug c++/14258] typename in a using declaration not supported

2007-05-07 Thread rleigh at debian dot org
--- Comment #10 from rleigh at debian dot org 2007-05-07 13:04 --- Also fails with GCC 4.1.3. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14258

[Bug java/31853] New: ICE in bootstrap compiling gnu.CORBA.ObjectCreator

2007-05-07 Thread deknuydt at esat dot kuleuven dot be
I get the following while bootstrapping gcc on a Tru64 alpha: /bin/ksh ./libtool --mode=compile /freeware/gcc/build/4.1.2/gcc-alpha-build/gcc/gcj -B/freeware/gcc/build/4.1.2/gcc-alpha-build/alpha-dec-osf5.1/libjava/ -B/freeware/gcc/build/4.1.2/gcc-alpha-build/gcc/ -mieee -fclasspath=

[Bug preprocessor/14331] please add option to suppress warning message no newline at end of file

2007-05-07 Thread patchapp at dberlin dot org
--- Comment #17 from patchapp at dberlin dot org 2007-05-07 13:45 --- Subject: Bug number preprocessor/14331 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-05/msg00399.html --

[Bug rtl-optimization/31849] [4.2/4.3 Regression] Code size regression caused by fix to PR 31360

2007-05-07 Thread rearnsha at gcc dot gnu dot org
--- Comment #9 from rearnsha at gcc dot gnu dot org 2007-05-07 13:50 --- (In reply to comment #8) actually, this should save one addition (only the index is incremented, the additions of index to bases are done in the addressing mode). When a machine has a post-increment

[Bug rtl-optimization/31849] [4.2/4.3 Regression] Code size regression caused by fix to PR 31360

2007-05-07 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2007-05-07 13:57 --- So this comes down to the orders of passes? At least that is what is being said as far as I can tell (though maybe flow is just too stupid to pull back the increment and have it as being free). --

[Bug c/31854] New: internal compiler error: in cgraph_local_info, at cgraph.c:618

2007-05-07 Thread ubizjak at gmail dot com
This testcase ICEs with current mainline: --cut here-- _Decimal128 d128; long double tf; void foo (void) { d128 = tf; } --cut here-- gcc -O -std=gnu99 074.c: In function âfooâ: 074.c:6: internal compiler error: in cgraph_local_info, at cgraph.c:618 Please submit a full bug report, with

[Bug tree-optimization/31847] [4.3 Regression] Printing to dump file broken

2007-05-07 Thread dberlin at dberlin dot org
--- Comment #2 from dberlin at gcc dot gnu dot org 2007-05-07 14:02 --- Subject: Re: [4.3 Regression] Printing to dump file broken On 7 May 2007 06:23:40 -, simartin at gcc dot gnu dot org [EMAIL PROTECTED] wrote: --- Comment #1 from simartin at gcc dot gnu dot org

[Bug c++/31855] New: using boo::work does not resolve name resolution

2007-05-07 Thread cshinyee at gmail dot com
With or without using boo::work in func.h, it doesn't pick the template function in the namespace. However, changing work(a) to work(10) in func.h compiles. g++ error report: func.h: In function ‘void boo::rfunc(const boo::RT) [with T = hpc::B]’: main.cpp:11: instantiated from here func.h:14:

[Bug rtl-optimization/31849] [4.2/4.3 Regression] Code size regression caused by fix to PR 31360

2007-05-07 Thread rakdver at gcc dot gnu dot org
--- Comment #11 from rakdver at gcc dot gnu dot org 2007-05-07 14:25 --- (In reply to comment #10) So this comes down to the orders of passes? At least that is what is being said as far as I can tell (though maybe flow is just too stupid to pull back the increment and have it as