[Bug target/39115] [4.3 Regression] Value of variable is not read again

2009-02-05 Thread mt at debian dot org
--- Comment #3 from mt at debian dot org 2009-02-05 23:04 --- I should have added that this worked fine on 4.2 and was broken as of 4.3.1 at least, earlier versions (> 4.2) untested. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39115

[Bug libgcj/38861] gcjwebplugin.cc doesn't compile against latest xulrunner 1.9.1 sdk

2009-02-05 Thread gnu_andrew at member dot fsf dot org
--- Comment #3 from gnu_andrew at member dot fsf dot org 2009-02-05 23:09 --- Committed to GNU Classpath for 0.98. CVSROOT:/sources/classpath Module name:classpath Changes by: Andrew John Hughes 09/02/05 22:54:11 Modified files: . : ChangeLog

[Bug debug/39086] [4.4 Regression] ICE in decl_ultimate_origin, at dwarf2out.c:5770 when compiling with -fno-tree-sra

2009-02-05 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2009-02-05 23:39 --- Just s/class ios_base/struct ios_base/ if you don't want 4.3 to reject it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39086

[Bug target/38991] [4.3/4.4 Regression] SH: ICE in extract_insn at recog.c:1990

2009-02-05 Thread kkojima at gcc dot gnu dot org
--- Comment #3 from kkojima at gcc dot gnu dot org 2009-02-06 00:29 --- Subject: Bug 38991 Author: kkojima Date: Fri Feb 6 00:29:03 2009 New Revision: 143978 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143978 Log: PR target/38991 * config/sh/predicates.md (ge

[Bug rtl-optimization/39076] internal compiler error when cross-compiling flac

2009-02-05 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal Target Milestone|--- |4.3.4 http:/

[Bug debug/39073] [4.4 Regression] unable to debug CP2K (no local symbols)

2009-02-05 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2009-02-06 01:23 --- Not a gcc bug so closing as such. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/39081] missed optimization: un-needed copy of structure.

2009-02-05 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-02-06 01:35 --- > tv = my_tv_maker(434.23); // over-write previous tv. This needs to have a space for the return value as tv can be accessed via my_tv_maker as the address of it was passed to an extern function. Think of: exte

[Bug c++/39070] Segmentation fault

2009-02-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-02-06 01:37 --- I don't get a segfault on the trunk but I do get an error message: t.cc: In instantiation of 'const int junk::value': t.cc:6: instantiated from here t.cc:4: error: no matching function for call to 'junk::test(int)'

[Bug inline-asm/39078] Registers in on clober list are cloberred when compiled with optimization (x86_64) ?

2009-02-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-02-06 01:42 --- r11 is saved by the caller so this is the generated code is valid. Since nothing else uses r11 in the inline-asm, the code is correct. >From the i386.h header: The value is zero if the register is not call used o

[Bug tree-optimization/39068] signed short plus and signed char plus not vectorized

2009-02-05 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-02-06 01:45 --- (In reply to comment #3) > Are the casts actually needed in this case? It seems the get introduced very > early on, the .original dump already has: Yes because char = char + char is really char = (char)((int)char +

[Bug tree-optimization/26128] Trivial operation not vectorized on char/short

2009-02-05 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-02-06 01:45 --- *** Bug 39068 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug inline-asm/39116] New: wrong register used when generating assembly with -O1

2009-02-05 Thread fabrice at mocana dot com
The inline assembly can end up generating instructions of the form mulq %rax when the two operands should be distinct (i.e. one should not compute %rax * %rax, a square but a product of two different numbers).(The x86 mulq instruction will compute the product of the operand with the %rax register)

[Bug inline-asm/39116] wrong register used when generating assembly with -O1

2009-02-05 Thread fabrice at mocana dot com
--- Comment #1 from fabrice at mocana dot com 2009-02-06 01:50 --- Created an attachment (id=17257) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17257&action=view) preprocessed file Note that all multiplicands are distinct. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3911

[Bug inline-asm/39116] wrong register used when generating assembly with -O1

2009-02-05 Thread fabrice at mocana dot com
--- Comment #2 from fabrice at mocana dot com 2009-02-06 01:51 --- Created an attachment (id=17258) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17258&action=view) generated assembly note the mulq %rax instruction towards the end. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?

[Bug tree-optimization/39068] signed short plus and signed char plus not vectorized

2009-02-05 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2009-02-06 01:51 --- (In reply to comment #4) > Yes because char = char + char is really char = (char)((int)char + (int)char); Let me expand on that. ((char)CHAR_MAX) + 1 is well defined and there is no overflow that occurs. Since GCC

[Bug inline-asm/39116] wrong register used when generating assembly with -O1

2009-02-05 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-02-06 01:58 --- b[1] is uninitialized. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added S

[Bug rtl-optimization/39067] [PPC64] missed optimization: un-needed copy for small structs kept on stack

2009-02-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-02-06 02:11 --- Works on the trunk: bl _Z11my_tv_makerf nop mr 3,31 bl _ZN2TV4getTEv nop tv = my_tv_maker (4.34230010986328125e+2); [return slot optimization] D.1758 = getT (&tv); --

[Bug bootstrap/39111] gcc 4.4.0 20090204 - Configury from GNU linker to Operating System's Linker broke (reverse works OK)

2009-02-05 Thread rob1weld at aol dot com
--- Comment #2 from rob1weld at aol dot com 2009-02-06 02:15 --- There really is some trouble with the scripts in this area. As you might expect simply restarting the make simply repeats the trouble, shows the same errors and ends the build. If you restart the build with "gmake -i -k"

[Bug c++/39057] ICE with default argument in friend declaration

2009-02-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-02-06 02:22 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c++/39055] [4.2/4.3/4.4 regression] ICE with questionable default parameter of a member function

2009-02-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-02-06 02:25 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug middle-end/39117] New: missed strict-aliasing warning

2009-02-05 Thread bkoz at gcc dot gnu dot org
>From this thread: http://gcc.gnu.org/ml/gcc-patches/2009-02/msg00271.html Compiling with -c -g -O2 -Wall from r143978, I only get one warning, but should get two. struct A { int j; int i; }; void foo() { char buf[sizeof(struct A)]; // warns ((struct A*)buf)->i = 1; // does not

[Bug c++/39045] uninitialized reference in struct with operator new is not erroring out

2009-02-05 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-02-06 02:41 --- This is looks like PR 29039. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/39042] [LTO] LTO tests don't cleanup temporary files

2009-02-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-02-06 02:46 --- Do you know what temporary files are being used here? Is it an issue with the driver or with the reader? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39042

[Bug tree-optimization/39041] [4.3 Regression] ICE on valid during vrp2

2009-02-05 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39041

[Bug lto/39042] [LTO] LTO tests don't cleanup temporary files

2009-02-05 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-02-06 03:36 --- LTO creates huge temporary assembly files, some of which > 2GB. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39042

[Bug inline-asm/39116] wrong register used when generating assembly with -O1

2009-02-05 Thread fabrice at mocana dot com
--- Comment #4 from fabrice at mocana dot com 2009-02-06 03:48 --- (In reply to comment #3) > b[1] is uninitialized. Yes, initializing b[1] makes the problem go away in the snippet. I see this problem in a much larger program but I can't reproduce it in a simple context. Feel free to cl

[Bug target/38294] Enable multilib support for mingw

2009-02-05 Thread nightstrike at gmail dot com
--- Comment #11 from nightstrike at gmail dot com 2009-02-06 04:21 --- Created an attachment (id=17259) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17259&action=view) Kai's attempt This patch has a few caveats: You can't use the winsup link hack to work around the issue that Co

[Bug inline-asm/39116] wrong register used when generating assembly with -O1

2009-02-05 Thread fabrice at mocana dot com
--- Comment #5 from fabrice at mocana dot com 2009-02-06 04:24 --- (In reply to comment #4) > Yes, initializing b[1] makes the problem go away in the snippet. I see this > problem in a much larger program but I can't reproduce it in a simple context. > Feel free to close the bug as inval

[Bug target/39118] New: x86_64 red zone violation

2009-02-05 Thread ian at airs dot com
This is a bug report for gcc 4_3 branch. I will attach a test case, slightly reduced from zlib code. When compiling this test case for the x86_64-linux target with -O2 -fomit-frame-pointer, I see this at the start of the function: adler32: pushq %rbp movq%rdi, %rax

[Bug target/39118] x86_64 red zone violation

2009-02-05 Thread ian at airs dot com
--- Comment #1 from ian at airs dot com 2009-02-06 05:53 --- Created an attachment (id=17260) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17260&action=view) Test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39118

[Bug inline-asm/39078] Registers in on clober list are cloberred when compiled with optimization (x86_64) ?

2009-02-05 Thread valery_reznic at yahoo dot com
--- Comment #2 from valery_reznic at yahoo dot com 2009-02-06 07:12 --- (In reply to comment #1) > r11 is saved by the caller so this is the generated code is valid. > Since nothing else uses r11 in the inline-asm, the code is correct. The problem is not that r11 not saved at stack, but

[Bug target/35659] [4.3/4.4 Regression] Miscompiled code with -O2 (but not with -O2 -funroll-loops) on ia64

2009-02-05 Thread bonzini at gcc dot gnu dot org
--- Comment #28 from bonzini at gnu dot org 2009-02-06 07:33 --- Subject: Bug 35659 Author: bonzini Date: Fri Feb 6 07:33:05 2009 New Revision: 143980 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143980 Log: 2009-02-06 Paolo Bonzini PR tree-optimization/35659

<    1   2