[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/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] 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 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 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/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 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/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/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 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 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 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 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 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 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 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 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 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 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 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 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 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 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

<    1   2