[Bug rtl-optimization/21254] [4.0 regression] Incorrect code with -funroll-loops for multiple targets with same code

2005-06-26 Thread dirtyepic dot sk at gmail dot com
--- Additional Comments From dirtyepic dot sk at gmail dot com 2005-06-26 08:30 --- Is it possible to backport this patch to 4.0.1? The attached patch applies cleanly to the current 4.0.1 branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21254

[Bug rtl-optimization/15023] -frename-registers is buggy and slow

2005-06-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-06-26 09:21 --- Thanks Serge! -- What|Removed |Added Status|WAITING |NEW

[Bug c++/22190] New: Bad registers optimization

2005-06-26 Thread hayim at dv-networks dot com
I add below a ~100-line code. When compiling the code with g++ -march=pentium4 -O3 -g -S allocator.cc (g++ is version 3.4.2) I get this assembly code: .loc 1 50 0 jne .L2 .loc 1 93 0 movl4(%ecx), %ebx // ebx now holds page-prev movl(%ecx), %eax

[Bug middle-end/22028] [4.0/4.1 Regression] ICE after invalid struct declaration

2005-06-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-06-26 10:33 --- Jakub, if this is fixed, please close the report. -- What|Removed |Added

[Bug rtl-optimization/18599] Quadratic behavior in copyprop_hardreg_forward

2005-06-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-06-26 11:05 --- There is still the pending request from Jeff to try DFS order: http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01845.html Kazu, are you going to do this? If not, I will, so please let me know. --

[Bug rtl-optimization/15023] -frename-registers is buggy and slow

2005-06-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-06-26 11:26 --- The patch for PR18599 might have addressed the slow part of this bug report. The buggy part may also be fixed already -- a number of e500 related regrename.c patches went in since this bug report was

[Bug rtl-optimization/20376] The missed-optimization of general induction variables in the new rtl-level loop optimizer cause performance degradation.

2005-06-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-06-26 12:12 --- But there are bugs about -frename-registers being slow and broken, see PR15023. It looks to me like the issues from that bug report may be fixed already, but someone should verify this. --

[Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long

2005-06-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-06-26 12:26 --- Taking three or more registers as in the test cases from comment #5 and from Bug 21469, or using regparam, is just asking for trouble on a target with only six registers available, total. While this is a

[Bug libgcj/22189] Table Full in gcj-dbtool if -m option used with smallest possible input

2005-06-26 Thread greenrd at greenrd dot org
--- Additional Comments From greenrd at greenrd dot org 2005-06-26 12:39 --- The problem is that a PersistentByteMap of capacity 1 is created by -m, but when a PersistentByteMap is created with capacity 1, its capacity method incorrectly returns 0. This is because, when it is created,

[Bug target/21803] [ia64] gcc produces really odd predicated code

2005-06-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-06-26 13:12 --- One possible fix would be to look for common tail (and head?) sequences in cond_exec_process_if_block. The code for tail merging in cfgcleanup.c could be used for this. -- What|Removed

[Bug rtl-optimization/6585] Redundant store/load instruction pairs on ix86

2005-06-26 Thread steven at gcc dot gnu dot org
mul, .-mul .ident GCC: (GNU) 4.1.0 20050626 (experimental) .section.note.GNU-stack,,@progbits There are still the questionable moves through %ebx and %edx, but it is still better than before. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6585

[Bug c++/22191] New: undefined reference to static member of template struct

2005-06-26 Thread bin-krzysiek at poczta dot gazeta dot pl
$ cat file1.cc #include list templatetypename T struct my_struct { typedef typename std::listT* list_t; static list_t list1; static list_t list2; }; template my_structint::list_t my_structint::list1; //error template my_structint::list_t my_structint::list2(0); //OK int

[Bug c++/22190] Bad registers optimization

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 14:31 --- You are violating C/C++ aliasing rules. Either use an union (which is defined for GCC) or use -fno- strict-aliasing. *** This bug has been marked as a duplicate of 21920 *** -- What

[Bug c/21920] alias violating

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 14:31 --- *** Bug 22190 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug middle-end/22028] [4.0 Regression] ICE after invalid struct declaration

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 14:34 --- Fixed at least on the mainline, still broken on the 4.0 branch. -- What|Removed |Added

[Bug middle-end/17965] ice in expand_call

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 14:36 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug c++/22191] undefined reference to static member of template struct

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 14:55 --- *** This bug has been marked as a duplicate of 15394 *** -- What|Removed |Added

[Bug c++/15394] g++ fails to produce a static definition for static template member

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 14:55 --- *** Bug 22191 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug libstdc++/22185] final link failed: Nonrepresentable section on output

2005-06-26 Thread pedro dot lamarao at mndfck dot org
--- Additional Comments From pedro dot lamarao at mndfck dot org 2005-06-26 14:58 --- Works in the same system with a g++ 3.4.4 compiled from source: [EMAIL PROTECTED] Projetos]$ $HOME/.local/gcc-3.4.4/bin/g++ -O3 -fPIC -c -o net_error.o net_error.ii [EMAIL PROTECTED] Projetos]$

[Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.

2005-06-26 Thread schlie at comcast dot net
--- Additional Comments From schlie at comcast dot net 2005-06-26 15:06 --- (In reply to comment #7) (In reply to comment #6) The problem here is that gcc is using a DImode register to handle 6 byte (int+long) structure. Why I have no idea! This is so it does not store it on the

[Bug c/22192] New: Rejection of valid array declaration.

2005-06-26 Thread neil at gcc dot gnu dot org
With -fsyntax-only GCC erroneously rejects the following array 'x' as having non-constant size. Its size should evaluate to 1. int bar (int v) { int (*p)[v]; int (*q)[2]; static int x[sizeof(*(v ? p : q)) == 2 * sizeof (int)]; return x[0]; } -- Summary: Rejection of valid

[Bug c/22192] Rejection of valid array declaration.

2005-06-26 Thread neil at gcc dot gnu dot org
--- Additional Comments From neil at gcc dot gnu dot org 2005-06-26 15:11 --- (In reply to comment #0) With -fsyntax-only GCC erroneously rejects the following array 'x' as having non-constant size. Its size should evaluate to 1. int bar (int v) { int (*p)[v]; int (*q)[2];

[Bug c/22192] Rejection of valid array declaration.

2005-06-26 Thread jsm28 at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||16989 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22192

[Bug middle-end/22177] error: in assign_stack_temp_for_type, at function.c:655

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 16:18 --- What options are used to reproduce this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22177

[Bug rtl-optimization/21848] load_mems / replace_loop_mems bug causes miscompilation of jcf-io.c / SEGV while processing java/lang/AbstractMethodError

2005-06-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|critical|normal Summary|[4.1 Regression] load_mems /|load_mems / |replace_loop_mems bug

[Bug tree-optimization/22171] [4.0/4.1 Regression] gcc-4.0-20050623 internal compiler error in linux/drivers/serial/8250.c

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 16:45 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug middle-end/22108] [4.1 Regression] intrinsic.c:2044: error: insn does not satisfy its constraints

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 17:01 --- Is this fixed now? -- What|Removed |Added CC|

[Bug tree-optimization/21005] [4.1 Regression] gcc.dg/uninit-1.c uninitialized variable warning (test for bogus messages, line 16 fails

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 17:07 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/20838] ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:3606

2005-06-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Known to fail|4.1.0 |4.1.0 4.0.0 Known to work|4.0.0 | Summary|[4.1 regression] ICE in

[Bug c++/21347] [4.0/4.1 Regression] spurious warning with -Wctor-dtor-privacy

2005-06-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org Last reconfirmed|2005-05-02

[Bug fastjar/22193] New: Compile Fails on SUSE 9.3 Professional

2005-06-26 Thread dave at joot dot com
* the exact version of GCC: # gcc -v Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.4/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada

[Bug target/21169] [4.0 regression] ICE in reload_cse_simplify_operands with -fnon-call-exceptions -fPIC -O2

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 17:39 --- Fixed at least on the mainline. -- What|Removed |Added GCC build

[Bug fastjar/22193] Compile Fails on SUSE 9.3 Professional

2005-06-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-06-26 17:47 --- You are trying to build in the source directory. Don't do that. See http://gcc.gnu.org/install/ (and especially the Configuration part) for further explanation. --

[Bug middle-end/21379] [4.0/4.1 Regression] GCC Internal Compiler Error

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 17:47 --- Fixed already. -- What|Removed |Added Status|NEW

[Bug c/22194] New: [4.0 Regression] ICE on linux-2.6.12 drivers/serial/8250.c

2005-06-26 Thread themis_hv at yahoo dot co dot uk
When using gc-4.0-20050623 snapshot to compile linux-2.6.12. I get the following error: drivers/serial/8250.c: In function 'serial8250_isa_init_ports': drivers/serial/8250.c:2016: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if

[Bug libgcj/21058] [4.1 Regression] fragile libgcj link process omits some inner classes

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 17:49 --- Would this fixed via compiling directory by directory? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21058

[Bug c/22194] [4.0 Regression] ICE on linux-2.6.12 drivers/serial/8250.c

2005-06-26 Thread themis_hv at yahoo dot co dot uk
--- Additional Comments From themis_hv at yahoo dot co dot uk 2005-06-26 17:49 --- Created an attachment (id=9154) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9154action=view) preprocessed file Attached preprocessed file. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22194

[Bug bootstrap/22193] Compile Fails on SUSE 9.3 Professional

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 17:51 --- *** This bug has been marked as a duplicate of 17383 *** -- What|Removed |Added

[Bug bootstrap/17383] [4.0 Regression] Building in src dir fails

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 17:51 --- *** Bug 22193 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c/22194] [4.0 Regression] ICE on linux-2.6.12 drivers/serial/8250.c

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 17:52 --- This was fixed a day after the snapshot was made. This is a dup of bug 22171. *** This bug has been marked as a duplicate of 22171 *** -- What|Removed |Added

[Bug tree-optimization/22171] [4.0/4.1 Regression] gcc-4.0-20050623 internal compiler error in linux/drivers/serial/8250.c

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 17:52 --- *** Bug 22194 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug tree-optimization/19703] [4.0/4.1 Regression] Poor optimisation of loop test, DOM causing unsigned to int and missing combine compares

2005-06-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||law at gcc dot gnu dot org Last reconfirmed|2005-01-30 05:25:46 |2005-06-26 18:03:23

[Bug tree-optimization/18501] [4.1 Regression] Missing 'used unintialized' warning

2005-06-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Status|REOPENED|ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501

[Bug tree-optimization/21493] [4.1 Regression] internal compiler error: Segmentation fault

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 18:13 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug target/19885] [4.0/4.1 Regression] avr dwarf-2 support is broken for head 4.0/4.1

2005-06-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|normal |minor Component|debug |target GCC build triplet|i686-linux |

[Bug bootstrap/21512] [4.0/4.1 Regression] build failure on ppc-apple-darwin5.5 in libcpp

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 18:17 --- (In reply to comment #3) Tried again to build gcc on powerpc-apple-darwin5.5 (MacOS 10.1), with the workaround for the bug reported in comment #0. That is a host bug and should be filed separately. --

[Bug c++/22195] New: Missing Documentation

2005-06-26 Thread dave at joot dot com
# gcc -v Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.4/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking

[Bug bootstrap/22195] Missing Documentation

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 18:31 --- I don't think this is a bug. Reading: http://gcc.gnu.org/install/prerequisites.html: Texinfo version 4.2 (or later) Necessary for running makeinfo when modifying *.texi files to test your changes. Necessary

[Bug tree-optimization/22196] New: Missed back prop

2005-06-26 Thread pinskia at gcc dot gnu dot org
The following two functions should be equal: unsigned f(int i, unsigned x) { unsigned y; if (i) y = 1024; else y = 1024*1024; return x/y ; } unsigned f1(int i, unsigned x) { unsigned y; if (i) y = x/ 1024; else y = x/(1024*1024); return y ; } --

[Bug tree-optimization/21449] Loop unroller is way over estimating the unroll size of a loop

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 20:20 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW

[Bug tree-optimization/21449] Loop unroller is way over estimating the unroll size of a loop

2005-06-26 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-06-26 20:48 --- tree complete unrolling, for the record... beef for zdenek? -- What|Removed |Added

[Bug c/21911] named parameter mistakenly identified as sentinel

2005-06-26 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-26 21:54 --- Subject: Bug 21911 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-06-26 21:54:25 Modified files: gcc: ChangeLog c-common.c c-common.h

[Bug c/21911] named parameter mistakenly identified as sentinel

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 22:14 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/21922] [4.1 Regression] internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1513

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 22:17 --- Note to reproduce this now on the mainline, you have to remove the static as unit-at-a-time is now default at -O1 and above. -- What|Removed |Added

[Bug middle-end/21953] [4.1 Regression] Many tmpdir-gcc.dg-struct-layout-1 tests fail on Tru64 UNIX V5.1B

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 22:18 --- Do these work now? -- What|Removed |Added CC|

[Bug c/21975] [4.0/4.1 Regression] Segmentation fault while compiling ipw2100

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 22:21 --- I think this was caused by my patch which also caused PR 22052 and should be fixed by the patch which should fix PR 22052 also. -- What|Removed |Added

[Bug c++/20665] poor diagnostic for missing semicolon at end of template struct declaration

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 01:58 --- Confirmed. -- What|Removed |Added Severity|normal

[Bug middle-end/22108] [4.1 Regression] intrinsic.c:2044: error: insn does not satisfy its constraints

2005-06-26 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-06-27 02:51 --- Yes. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22108

[Bug middle-end/22108] [4.1 Regression] intrinsic.c:2044: error: insn does not satisfy its constraints

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 02:52 --- Fixed so close. -- What|Removed |Added Status|WAITING

[Bug tree-optimization/22051] [4.0/4.1 regression] Wrong code for function pointer comparision during optimization

2005-06-26 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2005-06-27 02:53 --- Subject: Re: [4.0/4.1 regression] Wrong code for function pointer comparision during optimization What|Removed |Added

[Bug c++/16232] Poor diagnostic

2005-06-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|normal |enhancement Last reconfirmed|2005-04-06 18:13:06 |2005-06-27 04:36:15 date|

[Bug tree-optimization/17863] [4.0/4.1 Regression] threefold performance loss, not inlining as much

2005-06-26 Thread dank at kegel dot com
--- Additional Comments From dank at kegel dot com 2005-06-27 04:54 --- I just verified the regression here with -march=pentium on a pentium 4. On the original testcase, I got runtimes of 7.0, 4.9, 8.1, and 7.0 seconds with gcc-2.95.3, gcc-3.4.3, gcc-4.0.0, and gcc-4.1-20050603 using

[Bug tree-optimization/21959] [4.1 Regression] vrp miscompiles Ada front-end, drops loop exit test in well-defined wrap-around circumstances

2005-06-26 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|normal |critical http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21959

[Bug other/21350] [4.0/4.1 Regression] release now requires bision

2005-06-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 05:11 --- CCing the release manager. -- What|Removed |Added CC|