[Bug testsuite/25177] [4.1/4.2 Regression] gcc.target/powerpc/pr18096-1.c fails on PPC

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-03-04 03:07 --- I am applying the patch for Geoff. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/18192] Serious Performance Bug depending on a donothing destructor declaration

2006-03-03 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2006-03-04 01:29 --- Tested, bug not present in gcc 4.0.2. Not going to fix in 3.x. -- jason at gcc dot gnu dot org changed: What|Removed |Added -

[Bug libstdc++/26526] [4.1/4.2 Regression] std::__copy_streambufs link failure when _GLIBCXX_DEBUG is defined

2006-03-03 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2006-03-03 23:55 --- Fixed for 4.1.1. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/26526] [4.1/4.2 Regression] std::__copy_streambufs link failure when _GLIBCXX_DEBUG is defined

2006-03-03 Thread paolo at gcc dot gnu dot org
--- Comment #5 from paolo at gcc dot gnu dot org 2006-03-03 23:55 --- Subject: Bug 26526 Author: paolo Date: Fri Mar 3 23:55:07 2006 New Revision: 111691 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111691 Log: 2006-03-03 Paolo Carlini <[EMAIL PROTECTED]> PR libstd

[Bug libstdc++/26526] [4.1/4.2 Regression] std::__copy_streambufs link failure when _GLIBCXX_DEBUG is defined

2006-03-03 Thread paolo at gcc dot gnu dot org
--- Comment #4 from paolo at gcc dot gnu dot org 2006-03-03 23:54 --- Subject: Bug 26526 Author: paolo Date: Fri Mar 3 23:54:21 2006 New Revision: 111690 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111690 Log: 2006-03-03 Paolo Carlini <[EMAIL PROTECTED]> PR libstd

[Bug target/26552] gcc.dg/sibcall-6.c fails on x86-darwin with default options

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-03 23:51 --- After talking with Eric Christopher, this patch is going to be wrong when he removes the stubs for x86 as there will be a PLT now so I am not going to submit the patch and I am removing the missed-optimization. --

[Bug target/26552] gcc.dg/sibcall-6.c fails on x86-darwin with default options

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-03 23:40 --- Here is the patch which should fix this bug: Index: i386.c === --- i386.c (revision 111688) +++ i386.c (working copy) @@ -2232,7 +2232,9 @@ ix

[Bug classpath/26487] Weird handling of HTTP Headers

2006-03-03 Thread daney at gcc dot gnu dot org
-- daney at gcc dot gnu dot org changed: What|Removed |Added Component|libgcj |classpath Product|gcc |classpath

[Bug libgcj/26487] Weird handling of HTTP Headers

2006-03-03 Thread daney at gcc dot gnu dot org
--- Comment #12 from daney at gcc dot gnu dot org 2006-03-03 23:24 --- Fixed by this patch to GNU classpath: 2006-03-03 David Daney <[EMAIL PROTECTED]> * gnu/java/net/protocol/http/HTTPURLConnection.java (getRequestProperties): Rewrote. (addRequestProperty): Rewrote.

[Bug c++/26512] g++ doesn't recognize user-defined operator<<(ostream, const pair

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-03-03 23:10 --- (In reply to comment #4) > I looked at your link and at issue 197. I don't see how this applies to my bug > report, especially in connection with _user defined_ types. What I don't > understand is, why does g++ handl

[Bug libfortran/26499] gfortran - End of File incorrectly positioned after binary I/O.

2006-03-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2006-03-03 23:05 --- The case in Comment #9 is also very simple. I got myself again. I saw this before, but because I did not have a test case that failed, I left it alone. With this fix in file_pos.c all of Dale's rewind tests pa

[Bug c++/26512] g++ doesn't recognize user-defined operator<<(ostream, const pair

2006-03-03 Thread olaf dot dietsche at gfa-net dot de
--- Comment #4 from olaf dot dietsche at gfa-net dot de 2006-03-03 22:57 --- I looked at your link and at issue 197. I don't see how this applies to my bug report, especially in connection with _user defined_ types. What I don't understand is, why does g++ handle builtin types different

[Bug fortran/26551] gfortran compiles recursive subroutines declared without the RECURSIVE attribute

2006-03-03 Thread bdtaylo1 at uiuc dot edu
--- Comment #3 from bdtaylo1 at uiuc dot edu 2006-03-03 21:05 --- The second example (involving a recursive call to an ENTRY statement) also errors out on g77 (v3.4.4): >$ g77 -ffree-form sub2.f -c sub2.f: In subroutine `sub2': sub2.f:2: ENTRY ENT2() 1 sub2.f:3: (continued)

[Bug target/26445] SSE byte-by-byte load instruction fails to compile

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-03-03 20:54 --- Reducing. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug target/26445] SSE byte-by-byte load instruction fails to compile

2006-03-03 Thread gchernis11 at msn dot com
--- Comment #4 from gchernis11 at msn dot com 2006-03-03 20:48 --- Created an attachment (id=10966) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10966&action=view) gcc /v -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26445

[Bug target/26445] SSE byte-by-byte load instruction fails to compile

2006-03-03 Thread gchernis11 at msn dot com
--- Comment #3 from gchernis11 at msn dot com 2006-03-03 20:45 --- Created an attachment (id=10965) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10965&action=view) Preprocessed source that fails -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26445

[Bug target/26553] New: PIC stubs vs regparm

2006-03-03 Thread pinskia at gcc dot gnu dot org
While looking at PR 26552, I noticed that stubs would override eax, that is wrong as it is used to pass regparms. Testcase: int f(int ) __attribute__((regparm(3))); int g(void) { return f(1); } -- We get: _g: pushl %ebp movl%esp, %ebp subl$8, %esp m

[Bug target/26552] New: gcc.dg/sibcall-6.c fails on x86-darwin with default options

2006-03-03 Thread pinskia at gcc dot gnu dot org
gcc.dg/sibcall-6.c fails on x86-darwin since PIC is enabled by default but on darwin PIC is handled differently so it should be able to sibcall to the indirect function. -- Summary: gcc.dg/sibcall-6.c fails on x86-darwin with default options Product: gcc

[Bug c++/21279] static Derived-to-Base cast fails when ~Derived has run.

2006-03-03 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2006-03-03 20:21 --- 3.8 Object Lifetime[basic.life] ... Before the lifetime of an object has started but after the storage which the object will occupy has been allocated or, after the lifetime of an object has ended and before th

[Bug target/24959] Trampolines fail on i686-apple-darwin because stack is not executable

2006-03-03 Thread echristo at apple dot com
--- Comment #14 from echristo at apple dot com 2006-03-03 20:17 --- Fixed. -- echristo at apple dot com changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/26551] gfortran compiles recursive subroutines declared without the RECURSIVE attribute

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-03 20:02 --- g77 errored out: [dandelion:~] pinskia% /Volumes/home/pinskia/gcc-3.3/bin/g77 t.f -ffree-form t.f: In subroutine `sub': t.f:1: SUBROUTINE SUB() 1 t.f:2: (continued): CALL SUB() 2 Invalid

[Bug fortran/26551] gfortran compiles recursive subroutines declared without the RECURSIVE attribute

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-03 20:00 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug fortran/26551] New: gfortran compiles recursive subroutines declared without the RECURSIVE attribute

2006-03-03 Thread bdtaylo1 at uiuc dot edu
A subroutine or function that calls itself recursively must be declared with the RECURSIVE attribute. gfortran should refuse to compile the subroutine below and return an error indicating that the RECURSIVE attribute must be specified. >$ cat sub.f90 SUBROUTINE SUB() CALL SUB() END SUBROUTINE >$

[Bug fortran/25619] tempary array of constant size character type goes wrong

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-03-03 19:11 --- *** Bug 26550 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/26550] ICE in gimplify_expr() on valid code

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-03 19:11 --- *** This bug has been marked as a duplicate of 25619 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/26550] New: ICE in gimplify_expr() on valid code

2006-03-03 Thread uttamp at us dot ibm dot com
end subroutine end elm3b11:/home/pawar> /opt/gcc-nightly/trunk-20060303/bin/gfortran test.f90 test.f90: In function ‘p’: test.f90:10: internal compiler error: in gimplify_expr, at gimplify.c:5788 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bug

[Bug rtl-optimization/26479] suboptimal register allocation for return register

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-03 19:00 --- Oh, if I turn off the first pass of scheduling it also works so that means this is truely a ra issue. if conversion is just exposing the problem by moving the load of constant above the branch. -- http://gcc.gn

[Bug rtl-optimization/26479] suboptimal register allocation for return register

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-03 18:56 --- With -O2: L4: addi r1,r1,128 mr r3,r2 ld r0,16(r1) ld r31,-8(r1) mtlr r0 blr With -O2 -fno-if-conversion: L4: addi r1,r1,128 ld r0,16(r1) ld r3

[Bug rtl-optimization/26479] suboptimal register allocation for return register

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-03 18:54 --- Interesting it shows up on powerpc64 also with the work around of turning off if conversion fixing the issue too. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/26549] [3.4/4.0/4.1/4.2 Regression] pointer truncation in arch/powerpc/kernel/prom_init.c

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-03-03 18:51 --- Problem else where, and not in this piece of source. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/26549] [3.4/4.0/4.1/4.2 Regression] pointer truncation in arch/powerpc/kernel/prom_init.c

2006-03-03 Thread segher at kernel dot crashing dot org
--- Comment #4 from segher at kernel dot crashing dot org 2006-03-03 18:34 --- Not a bug at all, actually. GCC thinks it can mask out the lower few bits, because GPR1 should always be 16-byte aligned. And it isn't in your prom_init testing, and that's the bug. Better figure out how _

[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #31 from pinskia at gcc dot gnu dot org 2006-03-03 18:25 --- I am going to apply my patch to the mainline in the next or two, I will make sure I also apply my follow up patch too. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug bootstrap/26478] [4.2 Regression] bootstrap fails with readonly source directory

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-03 18:21 --- Fixed, confirmed fixed via Joseph S. Myers on IRC. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug rtl-optimization/26254] [4.2 Regression] FAIL: gcc.c-torture/compile/20011109-1.c,-O1

2006-03-03 Thread patchapp at dberlin dot org
--- Comment #7 from patchapp at dberlin dot org 2006-03-03 18:19 --- Subject: Bug number PR 26254 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/2006-02/msg01009.html -- http://gcc.gnu.org/bugzilla/s

[Bug c++/26115] [4.2 Regression] bogus warning for g++.dg/parse/register1.C

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-03-03 18:16 --- Caused by: +2006-02-03 Lee Millward <[EMAIL PROTECTED]> + + * typeck.c (string_conv_p): Pass appropiate + OPT_W values when calling warning(). + (build_array_ref, cxx_mark_addressable): Likewi

[Bug c++/26114] [4.2 Regression] g++.dg/init/ctor4.C and g++.old-deja/g++.jason/overload34.C and g++.old-deja/g++.mike/p11110.C fails

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-03-03 18:16 --- Caused by: +2006-02-03 Lee Millward <[EMAIL PROTECTED]> + + * typeck.c (string_conv_p): Pass appropiate + OPT_W values when calling warning(). + (build_array_ref, cxx_mark_addressable): Likewi

[Bug libgcj/26073] [4.2 regression] libjava fails to compile

2006-03-03 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENED|NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26073

[Bug bootstrap/25670] [4.2 Regression] build fail with 'make all-gcc'

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-03-03 18:11 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug bootstrap/25454] [4.2 Regression] bootstrap is still documented as working in the GCC subdirectory

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-03 18:09 --- This has been fixed. Though some of the toplevel targets are missing still but this bug has been fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/25453] [4.2 Regression] --disable-bootstrap is not documented

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-03 18:07 --- hmm, this might not that important any more since "make all-gcc" works, maybe documenting more of what works and what does is more important than documenting --disable-bootstrap. -- pinskia at gcc dot gnu dot org

[Bug libstdc++/24715] __exchange_and_add is called too much

2006-03-03 Thread bkoz at gcc dot gnu dot org
--- Comment #4 from bkoz at gcc dot gnu dot org 2006-03-03 18:05 --- This is being treated as a placeholder until there is actually information for reproducing the issue for the rest of us For information on the kinds of performance test cases that are useful, please consult the fi

[Bug bootstrap/18058] [4.2 Regression] Sun CC cannot bootstrap GCC (static inline)

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #27 from pinskia at gcc dot gnu dot org 2006-03-03 18:04 --- These functions come from vec.c, I wonder if we can aviod the ggc functions show different. Note this is why having the same header file for build and host is hard to keep updated. -- pinskia at gcc dot gnu do

[Bug libstdc++/25409] STL mt_allocator crash in global construcutor

2006-03-03 Thread bkoz at gcc dot gnu dot org
--- Comment #2 from bkoz at gcc dot gnu dot org 2006-03-03 18:03 --- >I've also found that, instead, the semi-documented '-pthread' >compilation [from the above PR] option makes things work OK too It is a good idea to use -pthread when compiling code that uses threads on linux. I can

[Bug tree-optimization/26197] [4.2 regression] ICE in is_old_name with vectorizer

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #15 from pinskia at gcc dot gnu dot org 2006-03-03 18:00 --- *** Bug 26518 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/26518] [4.2 Regression] ICE tree check: expected ssa_name, have struct_field_tag in verify_ssa, at tree-ssa.c:735

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-03-03 18:00 --- Yes this is the same bug as PR 26197. Closing as a dup. *** This bug has been marked as a duplicate of 26197 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Adde

[Bug tree-optimization/21513] [4.0/4.1/4.2 Regression] __builtin_expect getting in the way of uninitialized warnings

2006-03-03 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug libstdc++/22309] mt allocator doesn't pthread_key_delete its keys

2006-03-03 Thread bkoz at gcc dot gnu dot org
--- Comment #25 from bkoz at gcc dot gnu dot org 2006-03-03 17:55 --- Fixed -- bkoz at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/24469] Possible race condition in mt_allocator causing SIGSEGV

2006-03-03 Thread bkoz at gcc dot gnu dot org
--- Comment #7 from bkoz at gcc dot gnu dot org 2006-03-03 17:53 --- Created an attachment (id=10964) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10964&action=view) sources, as patched with p.20060303 Tarball of the patched sources. -- http://gcc.gnu.org/b

[Bug libstdc++/24469] Possible race condition in mt_allocator causing SIGSEGV

2006-03-03 Thread bkoz at gcc dot gnu dot org
--- Comment #6 from bkoz at gcc dot gnu dot org 2006-03-03 17:52 --- Created an attachment (id=10963) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10963&action=view) make _M_used, _M_free atomic Hey. This is a patch to make these operations atomic. It's based on top of another s

[Bug c++/16389] [ABI] POD array layout and alignment shifting [3.2/3.3/3.4]

2006-03-03 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2006-03-03 17:49 --- Again, the trunk matches the (incorrect) 3.4.1 output -- jason at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/16387] [ABI] POD double alignment shifting [3.2/3.3/3.4]

2006-03-03 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2006-03-03 17:48 --- This is also an issue for the trunk: sizealign sa 8 4 sa.a8 8 sb 12 4 sb.b8 8 -- jason at gcc dot gnu dot org changed: What|Removed

[Bug target/19061] IA64 GCC pointer confusion results in optimization error

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-03-03 17:33 --- Fixed in 4.1.1. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug rtl-optimization/26345] [4.2 Regression] -fmove-loop-invariants loses POINTER attribute

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-03-03 17:33 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug rtl-optimization/26549] [3.4/4.0/4.1/4.2 Regression] pointer truncation in arch/powerpc/kernel/prom_init.c

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-03 17:30 --- This is also independent of GNU/Linux as it happens on powerpc-darwin too. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug rtl-optimization/26549] [3.4/4.0/4.1/4.2 Regression] pointer truncation in arch/powerpc/kernel/prom_init.c

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-03 17:29 --- Confirmed, a regression from at least 3.2.3, I don't have a 3.3.x to test with. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug rtl-optimization/26549] pointer truncation in arch/powerpc/kernel/prom_init.c

2006-03-03 Thread segher at kernel dot crashing dot org
--- Comment #1 from segher at kernel dot crashing dot org 2006-03-03 16:58 --- Confirmed, bug is in combine... looking into it... -- segher at kernel dot crashing dot org changed: What|Removed |Added --

[Bug target/19061] IA64 GCC pointer confusion results in optimization error

2006-03-03 Thread sje at gcc dot gnu dot org
--- Comment #9 from sje at gcc dot gnu dot org 2006-03-03 16:45 --- Subject: Bug 19061 Author: sje Date: Fri Mar 3 16:45:47 2006 New Revision: 111679 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111679 Log: PR rtl-optimization/26345 PR target/19061 * c

[Bug rtl-optimization/26345] [4.2 Regression] -fmove-loop-invariants loses POINTER attribute

2006-03-03 Thread sje at gcc dot gnu dot org
--- Comment #7 from sje at gcc dot gnu dot org 2006-03-03 16:45 --- Subject: Bug 26345 Author: sje Date: Fri Mar 3 16:45:47 2006 New Revision: 111679 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111679 Log: PR rtl-optimization/26345 PR target/19061 * c

[Bug rtl-optimization/26345] [4.2 Regression] -fmove-loop-invariants loses POINTER attribute

2006-03-03 Thread sje at gcc dot gnu dot org
--- Comment #6 from sje at gcc dot gnu dot org 2006-03-03 16:43 --- Subject: Bug 26345 Author: sje Date: Fri Mar 3 16:43:43 2006 New Revision: 111678 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111678 Log: PR rtl-optimization/26345 PR target/19061 * c

[Bug target/19061] IA64 GCC pointer confusion results in optimization error

2006-03-03 Thread sje at gcc dot gnu dot org
--- Comment #8 from sje at gcc dot gnu dot org 2006-03-03 16:43 --- Subject: Bug 19061 Author: sje Date: Fri Mar 3 16:43:43 2006 New Revision: 111678 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111678 Log: PR rtl-optimization/26345 PR target/19061 * c

[Bug c/26549] New: pointer truncation in arch/powerpc/kernel/prom_init.c

2006-03-03 Thread olh at suse dot de
The address of variable val in prom_init_stdout is passed to prom_getprop. prom_getprop casts the pointer to u32 and passes it to call_prom in the hope that OpenFirmware stores something there. But the pointer is truncated in the lower bits and the expected value is stored somewhere else. This gcc

[Bug fortran/25031] Allocatable array can be reallocated.

2006-03-03 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2006-03-03 16:18 --- Subject: Bug 25031 Author: tkoenig Date: Fri Mar 3 16:18:46 2006 New Revision: 111677 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111677 Log: 2006-03-03 Thomas Koenig <[EMAIL PROTECTED]> PR fo

[Bug bootstrap/26545] undeclared 64bit constants in c-common.c

2006-03-03 Thread multix at gmail dot com
--- Comment #2 from multix at gmail dot com 2006-03-03 15:48 --- I have the AIX 4.2.1 awk in /usr/bin/awk -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26545

[Bug c++/26541] std lib problems at link time

2006-03-03 Thread multix at gmail dot com
--- Comment #2 from multix at gmail dot com 2006-03-03 15:47 --- I read those caveats, there are no mentions for Fixes needed for 4.2.1 and since the web-based fix inteface of ibm is for 4.3 and up... without knowing a specific fix number it is impossible to find it on the FTP for < 4.3.

[Bug libgcj/21637] [4.2 Regression] URL.openStream doesn't throw a FileNotFoundException with some urls

2006-03-03 Thread mark at gcc dot gnu dot org
--- Comment #9 from mark at gcc dot gnu dot org 2006-03-03 15:25 --- In classpath (cvs upstream) this seems to have been solved now by: 2006-03-03 Wolfgang Baer <[EMAIL PROTECTED]> * gnu/java/net/protocol/jar/Connection.java: (connect): Throw FileNotFoundException.

[Bug target/26511] Using -O3, doesn't assign in a pointer to a global structure

2006-03-03 Thread falk at debian dot org
--- Comment #11 from falk at debian dot org 2006-03-03 15:16 --- (In reply to comment #10) > This code passes configure and is thus included. Should I conclude glibc > is broken? The macro comes from the Debian package "linux-kernel-headers", which takes it from the Linux kernel. >

[Bug libfortran/26499] gfortran - End of File incorrectly positioned after binary I/O.

2006-03-03 Thread dir at lanl dot gov
--- Comment #9 from dir at lanl dot gov 2006-03-03 14:51 --- That got the one in comment #7. Here is the next one - [dranta:~/tests/gfortran-D] dir% g77 -o write29 write29.f [dranta:~/tests/gfortran-D] dir% write29 [dranta:~/tests/gfortran-D] dir% gfortran -o write29 write29.f [dranta:~/

[Bug c++/26543] friend class declaration inside class scope ignored

2006-03-03 Thread pato101 at gmail dot com
--- Comment #5 from pato101 at gmail dot com 2006-03-03 14:39 --- (In reply to comment #2) > (In reply to comment #1) > > Use -ffriend-injection to make it work. > > Note -ffriend-injection will not work in this case as -ffriend-injection is > only for friend functions and not for frien

[Bug target/26511] Using -O3, doesn't assign in a pointer to a global structure

2006-03-03 Thread wielemak at science dot uva dot nl
--- Comment #10 from wielemak at science dot uva dot nl 2006-03-03 14:37 --- Frank, Thanks a lot! It just comes from man gettid: NAME gettid - get thread identification SYNOPSIS #include #include #include _syscall0(pid_t,gettid) pid_t g

[Bug tree-optimization/26524] [4.1 Regression] ICE when compiling with -ffast-math and -O3 clatm5.f (lapack)

2006-03-03 Thread sayle at gcc dot gnu dot org
--- Comment #9 from sayle at gcc dot gnu dot org 2006-03-03 14:35 --- Subject: Bug 26524 Author: sayle Date: Fri Mar 3 14:35:23 2006 New Revision: 111676 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111676 Log: PR tree-optimization/26524 * tree-scalar-evoluti

[Bug c++/26543] friend class declaration inside class scope ignored

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-03-03 14:29 --- (In reply to comment #3) > (In reply to comment #1) > > This is invalid C++. Use -ffriend-injection to make it work. > > > Wait, why is it invalid? This was valid pre-standard C++, ARM C++ but is no longer valid.

[Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed

2006-03-03 Thread v dot merkatz at gmx dot net
--- Comment #7 from v dot merkatz at gmx dot net 2006-03-03 14:27 --- I should add that the prefix doesn't matter, configuring it with --prefix=$HOME/gcc41 has exactly the same result once the gcc in /usr is removed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26539

[Bug c++/26543] friend class declaration inside class scope ignored

2006-03-03 Thread pato101 at gmail dot com
--- Comment #3 from pato101 at gmail dot com 2006-03-03 14:26 --- (In reply to comment #1) > This is invalid C++. Use -ffriend-injection to make it work. > Wait, why is it invalid? At Bjarne Stroustrup's "C++ programming language" third edition, chapter 11, section "11.5 Friends" at it

[Bug target/26511] Using -O3, doesn't assign in a pointer to a global structure

2006-03-03 Thread falk at debian dot org
--- Comment #9 from falk at debian dot org 2006-03-03 14:24 --- The reason is: pl-thread.c:78: warning: ignoring asm-specifier for non-static local variable '_sc_0' pl-thread.c:78: warning: ignoring asm-specifier for non-static local variable '_sc_19' This makes gcc not know that $19 g

[Bug middle-end/26528] [4.2 regression] gcc miscompiles FFTW 3.1

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2006-03-03 14:24 --- (In reply to comment #12) > BTW, you probably meant '4.2.0', instead of '4.1.2' as target milestone, > right? Yes an off by one error on my part. -- pinskia at gcc dot gnu dot org changed: What

[Bug middle-end/26528] [4.2 regression] gcc miscompiles FFTW 3.1

2006-03-03 Thread martin at mpa-garching dot mpg dot de
--- Comment #12 from martin at mpa-garching dot mpg dot de 2006-03-03 14:22 --- (In reply to comment #10) > Can you try -O1 -fno-ivopts -ftree-vrp -finline-functions? > > I want to see if this is an interaction between VRP and IVopts, if it is there > is a bug about this issue already

[Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed

2006-03-03 Thread v dot merkatz at gmx dot net
--- Comment #6 from v dot merkatz at gmx dot net 2006-03-03 14:11 --- Because this is the main gcc package of my distribution, so it obviously has to go to /usr. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26539

[Bug middle-end/26528] [4.2 regression] gcc miscompiles FFTW 3.1

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-03-03 14:09 --- The other bug is PR 26304. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26528

[Bug middle-end/26528] [4.2 regression] gcc miscompiles FFTW 3.1

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-03-03 14:09 --- Can you try -O1 -fno-ivopts -ftree-vrp -finline-functions? I want to see if this is an interaction between VRP and IVopts, if it is there is a bug about this issue already filed and I bet it is the same bug. --

[Bug middle-end/26528] [4.2 regression] gcc miscompiles FFTW 3.1

2006-03-03 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug c/26542] bogus diagnostic with -pedantic?: format '%p'; expects type 'void*', but argument 2 has type 'A*'

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-03 14:07 --- This is actually expected. From the C standard: p The argument shall be a pointer to void. The value of the pointer is converted to a sequence of printing characters, in an implementation-defined manner. -- p

[Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-03-03 14:04 --- Why are you doing this: --prefix=/usr -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26539

[Bug tree-optimization/26546] [meta-bugs] couple of missed optimization with respect of vector and unions

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-03 14:02 --- Actually nope. There are a couple of different issues here. First is store_copyprop does not work: # SFT.10_29 = V_MAY_DEF ; # SFT.11_30 = V_MAY_DEF ; # SFT.12_31 = V_MAY_DEF ; # SFT.14_32 = V_MAY_DE

[Bug tree-optimization/26546] Passing unions of _vector_ types and struct or array of the same size as value to inline functions causes unecessary load/stores on the stack even if no members except th

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-03 13:56 --- I think this is just because b is used un-initialized. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26546

[Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed

2006-03-03 Thread v dot merkatz at gmx dot net
--- Comment #4 from v dot merkatz at gmx dot net 2006-03-03 13:52 --- CFLAGS="-march=athlon -mmmx -m3dnow -pipe -Os" LDFLAGS="-s" ../gcc-4.1.0/configure --host=i686-pc-linux-gnu \ --prefix=/usr \ --infodir=/usr/share/info \

[Bug bootstrap/26545] undeclared 64bit constants in c-common.c

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-03 13:51 --- What version of awk do you have installed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26545

[Bug tree-optimization/26546] Passing unions of _vector_ types and struct or array of the same size as value to inline functions causes unecessary load/stores on the stack even if no members except th

2006-03-03 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug c++/26543] friend class declaration inside class scope ignored

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-03 13:44 --- (In reply to comment #1) > Use -ffriend-injection to make it work. Note -ffriend-injection will not work in this case as -ffriend-injection is only for friend functions and not for friend classes. Anyways this is al

[Bug libfortran/26540] some gcc-4.1.0/libgfortran/intrinsics/signal.c warning: cast from/to pointer to/from integer of different size on x86-64

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-03 13:42 --- These warnings are semi expected in that signal is expected not to work with 64bit, this is due to g77 compatibility. -- pinskia at gcc dot gnu dot org changed: What|Removed |A

[Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-03 13:39 --- How did you configure GCC? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26539

[Bug libgcj/26522] [4.1/4.2 Regression] gcc-4.1.0-RC{1,2} install headers into a top-level (root) /include

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-03 13:37 --- *** Bug 26538 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug bootstrap/26538] 'make install' to non-standard prefix fails with java enabled

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-03 13:37 --- This is a known issue with 4.1.0, please next time read the announcement as it might have known bugs and how to work around them. http://gcc.gnu.org/ml/gcc/2006-03/msg00045.html *** This bug has been marked as a dup

[Bug libgcj/26522] [4.1/4.2 Regression] gcc-4.1.0-RC{1,2} install headers into a top-level (root) /include

2006-03-03 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Component|other |libgcj Summary|gcc-4.1.0-RC{1,2} install |[4.1/4.2 Regre

[Bug bootstrap/26547] bootstrap failure on darwin: assembler rejects stfiwx instructions

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-03 13:33 --- Please read the installation insturctions. http://gcc.gnu.org/install/specific.html#powerpc-x-darwin You need at least 590.7. I have 590.12 installed on 10.3.9 just fine. I downloaded it from ftp://gcc.gnu.org/pub/g

[Bug bootstrap/26547] New: bootstrap failure on darwin: assembler rejects stfiwx instructions

2006-03-03 Thread mikpe at csd dot uu dot se
A 'make bootstrap' of gcc-4.1.0 on MacOSX 10.3.9 (a G4 eMac) fails as follows: stage1/xgcc -Bstage1/ -B/Users/mikpeadm/pkgs/darwin-ppc/gcc-4.1.0/powerpc-apple-darwin7.9.0/bin/ -c -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variad

[Bug middle-end/26544] printf calls optimized at -O0

2006-03-03 Thread nathan at gcc dot gnu dot org
--- Comment #4 from nathan at gcc dot gnu dot org 2006-03-03 12:49 --- I find it a surprise that when not optimizing, the compiler has examined the printf string and determined it can replace the printf with a puts call. This seems more than mere constant folding. -- http://gcc.gnu

[Bug c/26542] bogus diagnostic with -pedantic?: format '%p'; expects type 'void*', but argument 2 has type 'A*'

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-03 12:45 --- Actually the C standard says void* only. I don't see the issue here. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26542

[Bug target/26511] Using -O3, doesn't assign in a pointer to a global structure

2006-03-03 Thread wielemak at science dot uva dot nl
--- Comment #8 from wielemak at science dot uva dot nl 2006-03-03 12:43 --- Created an attachment (id=10962) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10962&action=view) Sources and assembly output Contains sources and assembly for broken version as well as working version (r

[Bug middle-end/26544] printf calls optimized at -O0

2006-03-03 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-03 12:37 --- How is this confusing? We simplify/fold builtins and other expressions at -O0 all the time. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/26526] [4.1/4.2 Regression] std::__copy_streambufs link failure when _GLIBCXX_DEBUG is defined

2006-03-03 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-03-03 12:22 --- I have a patch in testing. -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|una

  1   2   >