[Bug middle-end/37884] [4.4 Regression] Bootstrap failure due to miscompilation of tree-vrp.c

2008-10-25 Thread hjl at gcc dot gnu dot org
--- Comment #3 from hjl at gcc dot gnu dot org 2008-10-26 06:54 --- Subject: Bug 37884 Author: hjl Date: Sun Oct 26 06:53:25 2008 New Revision: 141371 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141371 Log: 2008-10-25 Vladimir Makarov <[EMAIL PROTECTED]> PR middle-

[Bug c/37917] New: inline functions are lost when defining c99/gnu99 without inline optimizations

2008-10-25 Thread peroyvind at mandriva dot org
gcc will simply remove functions if they're declared inline without optimizations. testinline.c: inline int testinline() { return 1; } int main(int argc, char *argv[]) { return testinline(); } [EMAIL PROTECTED] src]$ gcc -std=gnu99 testinline.c; echo $? /home/peroyvind/tmp/ccKURkm

[Bug c++/26997] g++ reports misleading error message when the identifier with error occurs earlier on the same line

2008-10-25 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2008-10-26 01:58 --- I also have trouble understanding what is going on in cp_parser_cast_expression. It seems that after parsing a '(type-id)' we cannot be sure that this is a cast: /* If ok so far, parse the dependent expression. W

[Bug c++/26997] g++ reports misleading error message when the identifier with error occurs earlier on the same line

2008-10-25 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2008-10-26 01:42 --- The culprit is (yet again) parsing tentatively. cp_parser_cast_expression parses tentatively the whole: (t *)malloc(sizeof(t) * t->a) not committing to parse definitively at any moment. Hence, when this fails, the who

[Bug libfortran/37754] [4.4 Regression] READ I/O Performance regression from 4.3 to 4.4

2008-10-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2008-10-25 23:59 --- Created an attachment (id=16549) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16549&action=view) Program to generate simple test file used above. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37754

[Bug libfortran/37754] [4.4 Regression] READ I/O Performance regression from 4.3 to 4.4

2008-10-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2008-10-25 23:58 --- Created an attachment (id=16548) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16548&action=view) The test program used above. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37754

[Bug libfortran/37754] [4.4 Regression] READ I/O Performance regression from 4.3 to 4.4

2008-10-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2008-10-25 23:56 --- Created an attachment (id=16547) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16547&action=view) Experimental patch With this patch, I see some improvement with a more realistic test case. Here are test r

[Bug tree-optimization/37916] [4.0 Regression] SSA names causing register pressure; unnecessarily many simultaneously "live" names.

2008-10-25 Thread hp at gcc dot gnu dot org
-- hp at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/37916] [4.0 Regression] SSA names causing register pressure; unnecessarily many simultaneously "live" names.

2008-10-25 Thread hp at gcc dot gnu dot org
--- Comment #6 from hp at gcc dot gnu dot org 2008-10-25 21:20 --- Created an attachment (id=16546) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16546&action=view) As 4.3.3 above but with -fno-tree-reassoc As attachment id=16544, but adding -fno-tree-reassoc. Note that it now "on

[Bug tree-optimization/37916] [4.0 Regression] SSA names causing register pressure; unnecessarily many simultaneously "live" names.

2008-10-25 Thread hp at gcc dot gnu dot org
--- Comment #5 from hp at gcc dot gnu dot org 2008-10-25 21:09 --- Created an attachment (id=16545) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16545&action=view) As 4.4.0 above but with -fno-tree-reassoc As attachment id=16543, but adding -fno-tree-reassoc. -- http://gcc.g

[Bug tree-optimization/37916] [4.0 Regression] SSA names causing register pressure; unnecessarily many simultaneously "live" names.

2008-10-25 Thread hp at gcc dot gnu dot org
--- Comment #4 from hp at gcc dot gnu dot org 2008-10-25 21:06 --- Created an attachment (id=16544) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16544&action=view) Assembly output corresponding to gcc-4.3.3 (gcc-4_3-branch at 141344) Similar: for cris-axis-elf, with -O2 -march=v1

[Bug fortran/37903] [4.3/4.4 Regression] wrong-code for complicated vector subscripts

2008-10-25 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37903

[Bug tree-optimization/37916] [4.0 Regression] SSA names causing register pressure; unnecessarily many simultaneously "live" names.

2008-10-25 Thread hp at gcc dot gnu dot org
--- Comment #3 from hp at gcc dot gnu dot org 2008-10-25 20:57 --- Created an attachment (id=16543) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16543&action=view) Assembly output corresponding to gcc-4.4.0 (trunk at 141361) For cris-axis-elf, with -O2 -march=v10 -mno-mul-bug-wor

[Bug libstdc++/37915] bootstrap broken for cygwin

2008-10-25 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2008-10-25 20:55 --- Same here. gcc-4.4-20081024 configured with --enable-languages=c,c++ and built using gcc-4.3.2/binutils-2.18.93 on cygwin (XP 64 Pro) ICEs when compiling type_traits.h. It also ICEs in the same place when configured for x

[Bug tree-optimization/37916] [4.0 Regression] SSA names causing register pressure; unnecessarily many simultaneously "live" names.

2008-10-25 Thread hp at gcc dot gnu dot org
--- Comment #2 from hp at gcc dot gnu dot org 2008-10-25 20:22 --- Created an attachment (id=16542) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16542&action=view) Assembly output corresponding to gcc-3.2.1 For cris-axis-elf, with -O2 -march=v10 -fno-gcse -fno-reorder-blocks (act

[Bug tree-optimization/37916] [4.0 Regression] SSA names causing register pressure; unnecessarily many simultaneously "live" names.

2008-10-25 Thread hp at gcc dot gnu dot org
--- Comment #1 from hp at gcc dot gnu dot org 2008-10-25 20:13 --- Created an attachment (id=16541) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16541&action=view) Preprocessed adler32.c from zlib-1.1.3, with header gunk pruned. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=

[Bug tree-optimization/37916] New: [4.0 Regression] SSA names causing register pressure; unnecessarily many simultaneously "live" names.

2008-10-25 Thread hp at gcc dot gnu dot org
The attached preprocessed code in the first attachment is that of the adler32 function in zlib-1.1.3. It comes highest in the profile of a zlib-based performance regression test (the "example" program with no parameters). I'm attaching the assembly code corresponding to gcc-3.2.1 for cris-axis-elf

[Bug middle-end/37870] [4.3/4.4 Regression] ICE in extract_bit_field_1

2008-10-25 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-10-25 18:43 --- Patch is wrong, we should go through memory somehow. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/37316] [4.4 Regression] Small structs are not passed correctly on hppa64-*-*

2008-10-25 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #19 from dave at hiauly1 dot hia dot nrc dot ca 2008-10-25 17:48 --- Subject: Re: [4.4 Regression] Small structs are not passed correctly on hppa64-*-* > @@ -9277,7 +9281,7 @@ > offset += 8; > } > > - return gen_rtx_PARALLEL (mode, gen_rtvec_v

[Bug target/37615] terminate called after throwing and instance of 'XXX' c++ testsuite failures

2008-10-25 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2008-10-25 17:28 --- closed as INVALID then. -- manu at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug other/36969] MIPS: gcc-4.3.1 still fails to compile glibc w/ PR/35802 applied

2008-10-25 Thread kumba at gentoo dot org
--- Comment #3 from kumba at gentoo dot org 2008-10-25 16:58 --- The patch did work, but I've since moved onto using 4.3.2, which has no problems. Closing as WORKSFORME -- kumba at gentoo dot org changed: What|Removed |Added --

[Bug middle-end/37316] [4.4 Regression] Small structs are not passed correctly on hppa64-*-*

2008-10-25 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #18 from dave at hiauly1 dot hia dot nrc dot ca 2008-10-25 16:53 --- Subject: Re: [4.4 Regression] Small structs are not passed correctly on hppa64-*-* > emit_group_store clearly doesn't care about BLOCK_REG_PADDING if dst is > CONCAT, > I think the code pretty much assum

[Bug libstdc++/37915] New: bootstrap broken for cygwin

2008-10-25 Thread murali dot vemulapati at gmail dot com
'make bootstrap' broken on cygwin with following error: /home/vmk/gccdev/gcctr/gccobj/./gcc/xgcc -shared-libgcc -B/home/vmk/gccdev/gcctr/gccobj/./gcc -nostdinc++ -L/home/vmk/gccdev/gcctr/gccobj/i686-pc-cygwin/libstdc++-v3/src -L/home/vmk/gccdev/gcctr/gccobj/i686-pc-cygwin/libstdc++-v3/src/.libs -B

[Bug c++/36921] [4.3/4.4 Regression] warning "comparison does not have mathematical meaning" is not correct for overloaded operators that do not return boolean

2008-10-25 Thread manu at gcc dot gnu dot org
--- Comment #7 from manu at gcc dot gnu dot org 2008-10-25 14:53 --- Patch and update summary. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/37909] internal compiler error: in fixup_mova, at config/sh/sh.c:3756

2008-10-25 Thread kkojima at gcc dot gnu dot org
--- Comment #3 from kkojima at gcc dot gnu dot org 2008-10-25 14:53 --- Created an attachment (id=16540) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16540&action=view) a reduced test case The reduced test case fails on 4.2/4.3. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug c++/35334] [4.2/4.3/4.4 regression] Broken diagnostic for complex cast

2008-10-25 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2008-10-25 14:52 --- The C front-end prints: error: called object ‘(int __complex__){(int)__real__ (i), (int)__imag__ (i)}’ is not a function which is not great either. We could try to dump the complex expression as a CONVERT_EXPR: erro

[Bug target/37909] internal compiler error: in fixup_mova, at config/sh/sh.c:3756

2008-10-25 Thread kkojima at gcc dot gnu dot org
--- Comment #2 from kkojima at gcc dot gnu dot org 2008-10-25 14:48 --- I've confirmed that it fails on the trunk and the reduced test case fails on 4.2.4. -- kkojima at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/37914] New: internal compiler error: vector VEC(basic_block,base) index domain error

2008-10-25 Thread waldi at debian dot org
The build of the Debian gcc-snapshot package, version 20081023, fails buring the build of libgcc: ../../../../src/libgcc/../gcc/libgcc2.c: In function '__divti3': ../../../../src/libgcc/../gcc/libgcc2.c:1083: internal compiler error: vector VEC(basic_block,base) index domain error, in nearest_comm

[Bug fortran/36355] matmul argument-check: wrong error messages

2008-10-25 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2008-10-25 12:29 --- Not yet. IIRC, there was an issue left not addressed by this. Judging from the latest status reports, I'll find the time to look into it again in December before 4.4 is released. -- http://gcc.gnu.org/bugzilla/

[Bug middle-end/37316] [4.4 Regression] Small structs are not passed correctly on hppa64-*-*

2008-10-25 Thread jakub at gcc dot gnu dot org
--- Comment #17 from jakub at gcc dot gnu dot org 2008-10-25 10:47 --- I'd say this is a bug in emit_group_store, but I'd fear how many ports will break if we touch it. emit_group_store clearly doesn't care about BLOCK_REG_PADDING if dst is CONCAT, I think the code pretty much assumes t

[Bug middle-end/37913] [4.4 Regression] internal compiler error: Segmentation fault

2008-10-25 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2008-10-25 10:14 --- Minimized testcase: --cut here-- void Perl_croak (void) __attribute__ ((noreturn)); static int __attribute__ ((noreturn)) not_here (void) { Perl_croak (); } void XS_IO__Handle_setvbuf (void) { int i = not_here (); }

[Bug middle-end/37913] [4.4 Regression] internal compiler error: Segmentation fault

2008-10-25 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2008-10-25 09:46 --- Confirmed on x86_64-pc-linux-gnu: Program received signal SIGSEGV, Segmentation fault. 0x004c6e04 in link_block (b=0x7fa2cf6fba20, after=0x7fa2cf6fb840) at ../../gcc-svn/trunk/gcc/cfg.c:153 /home/uros/gcc-svn/tr

[Bug c/37913] internal compiler error: Segmentation fault

2008-10-25 Thread mhx-perl at gmx dot net
--- Comment #1 from mhx-perl at gmx dot net 2008-10-25 08:56 --- Created an attachment (id=16539) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16539&action=view) Preprocessed source that triggers ICE/segfault -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37913

[Bug c/37913] New: internal compiler error: Segmentation fault

2008-10-25 Thread mhx-perl at gmx dot net
[EMAIL PROTECTED] $ gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.4-20081024/configure --program-suffix=-4.4 --prefix=/home/mhx/gcc/gcc-4.4-20081024 --enable-languages=c,c++ --disable-nls Thread model: posix gcc version 4.4.0 20081024 (experimental) (GCC) [EMAIL

[Bug fortran/36355] matmul argument-check: wrong error messages

2008-10-25 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2008-10-25 08:40 --- Daniel, do you want to apply this patch? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36355

[Bug fortran/37614] Change position of padding for aligned COMMONs

2008-10-25 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2008-10-25 08:26 --- This would mean an ABI change, but it is worth thinking about. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added --