[Bug fortran/15809] ICE Using Pointer Functions

2005-12-06 Thread pault at gcc dot gnu dot org
--- Comment #22 from pault at gcc dot gnu dot org 2005-12-07 06:20 --- Subject: Bug 15809 Author: pault Date: Wed Dec 7 06:20:21 2005 New Revision: 108150 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108150 Log: 2005-12-07 Paul Thomas <[EMAIL PROTECTED]> PR fortran

[Bug tree-optimization/24793] [4.1/4.2 Regression] ICE: expected ssa_name, have var_decl in verify_ssa, at tree-ssa.c:746

2005-12-06 Thread pault at gcc dot gnu dot org
--- Comment #9 from pault at gcc dot gnu dot org 2005-12-07 06:06 --- (In reply to comment #8) > Showstopper. > What is the status on this one? Paul T -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24793

[Bug target/24997] [4.1 regression] ICE with -ftree-vectorize

2005-12-06 Thread amodra at bigpond dot net dot au
--- Comment #12 from amodra at bigpond dot net dot au 2005-12-07 05:50 --- pr25212 has a more complete fix that I propose applying to the 4.1 branch. -- amodra at bigpond dot net dot au changed: What|Removed |Added

[Bug fortran/25264] write to internal unit from the string itself gives wrong result ?

2005-12-06 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2005-12-07 05:16 --- I have found the offending code. I am working on the fix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25264

[Bug c++/16468] [DR460] using-declaration of namespace name

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #16 from pinskia at gcc dot gnu dot org 2005-12-07 04:34 --- Closing as invalid based on the resolution of the Defect report making this code invalid and should be rejected as GCC does. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug rtl-optimization/10050] ifcvt is not smart enough

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-12-07 04:14 --- This is only an if conversion failure now. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug rtl-optimization/7003] [ppc] address of array loaded int register twice without any need

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2005-12-07 04:13 --- Fixed in 4.2.0 by: 2005-11-24 Paolo Bonzini <[EMAIL PROTECTED]> * gcse.c (hash_scan_set): Look through REG_EQUAL or REG_EQUIV notes also when doing PRE, rather than only for global CPROP. -- pi

[Bug middle-end/25120] builtin *printf handlers are confused by -fexec-charset

2005-12-06 Thread ghazi at gcc dot gnu dot org
--- Comment #13 from ghazi at gcc dot gnu dot org 2005-12-07 03:54 --- (In reply to comment #12) > Subject: Re: builtin *printf handlers are confused by -fexec-charset > "ghazi at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: > | Backporting this fix to 3.4 requires also backporting

[Bug tree-optimization/15347] [tree-ssa] fold if ("<12ers" + 1 == 0).

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2005-12-07 03:23 --- I should note that the first testcase in comment #0 in the bug is fixed but not the second, non reduced one. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/9814] gcc fails to optimise if (l&2) l|=2 away

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2005-12-07 03:12 --- Once fold does (a&b)!=0?a|b:a to a and PR 25290 is fixed then this will be caught at the tree level. There are most likely others like this too. -- pinskia at gcc dot gnu dot org changed: What|Rem

[Bug tree-optimization/25290] New: PHI-OPT could be rewritten so that is uses fold

2005-12-06 Thread pinskia at gcc dot gnu dot org
PHI-OPT could be rewritten so that it uses fold_ternary (type, COND_EXPR, cond, op1, op2) and that it could remove code which is already done in fold_ternary. A patch like http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00153.html will work but it needs to be reworked for the changes which made it in

[Bug testsuite/25247] syntax error in target selector for gcc.dg/torture/fp-int-convert-float128-timode.c

2005-12-06 Thread billingd at gcc dot gnu dot org
--- Comment #8 from billingd at gcc dot gnu dot org 2005-12-07 01:08 --- I can confirm this works for me on trunk. -- billingd at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/25283] gcj generates invalid signature

2005-12-06 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2005-12-07 00:38 --- Fix checked in. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Status|UN

[Bug java/25283] gcj generates invalid signature

2005-12-06 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2005-12-07 00:35 --- Subject: Bug 25283 Author: tromey Date: Wed Dec 7 00:35:06 2005 New Revision: 108145 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108145 Log: PR java/25283: * parse.y (patch_new_array_init)

[Bug java/25283] gcj generates invalid signature

2005-12-06 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2005-12-07 00:34 --- Subject: Bug 25283 Author: tromey Date: Wed Dec 7 00:34:36 2005 New Revision: 108144 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108144 Log: PR java/25283: * parse.y (patch_new_array_init)

[Bug java/25283] gcj generates invalid signature

2005-12-06 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2005-12-07 00:32 --- Subject: Bug 25283 Author: tromey Date: Wed Dec 7 00:31:58 2005 New Revision: 108143 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108143 Log: PR java/25283: * parse.y (patch_new_array_init)

[Bug c++/21494] condensed nested namespaces

2005-12-06 Thread bkoz at gcc dot gnu dot org
--- Comment #3 from bkoz at gcc dot gnu dot org 2005-12-07 00:16 --- I still want this. Someday... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21494

[Bug target/25258] [4.0 regression/hpux] gcc generates incorrect stabs debug output

2005-12-06 Thread danglin at gcc dot gnu dot org
--- Comment #4 from danglin at gcc dot gnu dot org 2005-12-07 00:16 --- Mine. -- danglin at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned

[Bug middle-end/25266] SJLJ exception handling fails in function using alloca()

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-12-06 23:56 --- Confirmed, very much related to PR 19774. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/25255] packed structure: pointers to self result in "error: initializer for integer value is too complicated"

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-12-06 23:55 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug debug/25234] [3.3 Regression] g++ fails to emit debug information for SOME local variables in class member function that has templated local variables

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2005-12-06 23:43 --- So the 3.3 was a regression so closing as fixed for 3.4.0 as 3.3.x is no longer being maintained. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug libfortran/25289] New: Cannot handle record numbers large than huge(0_4)

2005-12-06 Thread fxcoudert at gcc dot gnu dot org
malo /tmp $ cat a.f integer*1 abyte integer*8 n n = huge(0_4) n = 256 * n print *, n open(10,file="foo",recl=1,form='unformatted',access='direct') write(10,rec=n) abyte close(10) end malo /tmp $ ifort a.f && ./a.out 549755813632 malo /

[Bug fortran/25174] gfortran ignores explicit return type for functions

2005-12-06 Thread albertm at uphs dot upenn dot edu
--- Comment #2 from albertm at uphs dot upenn dot edu 2005-12-06 22:52 --- Subject: Re: gfortran ignores explicit return type for fun ctions Thank you very much. My apologies. I don't understand Fortran as well as I should. Sincerely, Mike Albert On Tue, 6 Dec 2005, tkoenig at

[Bug other/19266] [mudflap] ICE when compiling with -fmudflap -O

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #15 from pinskia at gcc dot gnu dot org 2005-12-06 22:37 --- *** Bug 25280 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/25280] g++ crash with -fmudflap

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-12-06 22:37 --- *** This bug has been marked as a duplicate of 19266 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libstdc++/25288] std::list insert members should have no effects if an exception is thrown

2005-12-06 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2005-12-06 22:36 --- Ouch! Luckily seems not too difficult to fix, consistently with other similar situations in the library. Thanks for your report. -- pcarlini at suse dot de changed: What|Removed |Adde

[Bug debug/19523] [4.0/4.1/4.2 Regression] DBX_USE_BINCL support broken in the C++ compiler

2005-12-06 Thread dpatel at apple dot com
--- Comment #5 from dpatel at apple dot com 2005-12-06 22:23 --- Created an attachment (id=10430) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10430&action=view) zem's patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19523

[Bug ada/25245] Discriminant is left uninitialized.

2005-12-06 Thread listor1 dot rombobeorn at comhem dot se
--- Comment #4 from listor1 dot rombobeorn at comhem dot se 2005-12-06 22:21 --- Subject: Re: Discriminant is left uninitialized. laurent at guerby dot net wrote: > The problem is that you are using "Unbounded_String" in your record, and > this brings in lots of dope information for F

[Bug target/24220] gcc.dg/i386-sse-vect-types.c (test for errors, line 17) fails

2005-12-06 Thread dpatel at apple dot com
--- Comment #2 from dpatel at apple dot com 2005-12-06 22:19 --- This is already fixed. -- dpatel at apple dot com changed: What|Removed |Added Status|ASSIGNE

[Bug fortran/25174] gfortran ignores explicit return type for functions

2005-12-06 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2005-12-06 22:14 --- (In reply to comment #0) > PROGRAM BUG > external real function Mfunc This declares an external symbol called "realfunctionmfunc" (fixed form), which is probably not what you intended. If you replace t

[Bug rtl-optimization/25285] pessimization of goto * ("computed goto")

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-12-06 21:58 --- (In reply to comment #4) > So, no, the code is not worse, but much better. I hope this > workaround will continue to work in future versions. You are wrong in general since this is a conditional indirect jump. Sin

[Bug rtl-optimization/25285] pessimization of goto * ("computed goto")

2005-12-06 Thread anton at mips dot complang dot tuwien dot ac dot at
--- Comment #4 from anton at mips dot complang dot tuwien dot ac dot at 2005-12-06 21:46 --- Subject: Re: pessimization of goto * ("computed goto") pinskia at gcc dot gnu dot org wrote: > __asm__(""); makes stuff worse. I just applied the following patch to engine1.i: --- engine1.i

[Bug fortran/23815] Add -byteswapio flag

2005-12-06 Thread tkoenig at gcc dot gnu dot org
--- Comment #22 from tkoenig at gcc dot gnu dot org 2005-12-06 21:45 --- Added new patch. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added U

[Bug libstdc++/25288] std::list insert members should have no effects if an exception is thrown

2005-12-06 Thread lennox at cs dot columbia dot edu
--- Comment #2 from lennox at cs dot columbia dot edu 2005-12-06 21:31 --- Created an attachment (id=10427) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10427&action=view) Custom debug allocator, based on libstdc++'s malloc_allocator. -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug libstdc++/25288] std::list insert members should have no effects if an exception is thrown

2005-12-06 Thread lennox at cs dot columbia dot edu
--- Comment #1 from lennox at cs dot columbia dot edu 2005-12-06 21:30 --- Created an attachment (id=10426) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10426&action=view) C source file, constructing a list with a custom debug allocator. -- http://gcc.gnu.org/bugzilla/show_b

[Bug libstdc++/25288] New: std::list insert members should have no effects if an exception is thrown

2005-12-06 Thread lennox at cs dot columbia dot edu
According to section 23.2.2.3 [lib.list.modifiers] of the C++ specification, for all the insert member functions of std::list, "If an exception is thrown there are no effects." However, this doesn't appear to be the case for libstdc++. It's possible for an exception to be thrown out of an insert

[Bug target/25286] [4.1/4.2 Regression] ext/pool_allocator/allocate_chunk.cc execution test fails

2005-12-06 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2005-12-06 21:09 --- (In reply to comment #0) > The failure in bug 25168 appeared between the same pair of revisions; I don't > know if they are related. At least, both testcases replace operator new... -- http://gcc.gnu.org/bugzilla/show

[Bug target/25287] PPC has conditional indirect jumps if ra allocates the a in ctr before the jumps

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-12-06 21:09 --- Ignore the: .L3: mtctr %r30 bctr Part and "beqctr %cr7,.L3" should have been "beqctr %cr7" -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25287

[Bug target/25287] New: PPC has conditional indirect jumps if ra allocates the a in ctr before the jumps

2005-12-06 Thread pinskia at gcc dot gnu dot org
Code: int f(void *a, int b) { if (b ==1) goto *a; g(); if (b ==2) goto *a; g(); return 1 } This is very minor but I thought it would be cool if GCC could do something like: .f: mflr %r0 cmpwi %cr7,%r4,1 std %r30,-16(%r1) std %r31,-8(%r1) mr %r30,%r

[Bug rtl-optimization/25285] pessimization of goto * ("computed goto")

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-12-06 20:57 --- Since there is no conditional indirect jumps on x86 this is not a bug. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug middle-end/20218] Can't use __attribute__ ((visibility ("hidden"))) to hide a symbol

2005-12-06 Thread pluto at agmk dot net
--- Comment #21 from pluto at agmk dot net 2005-12-06 20:55 --- ok, I hope this ppc-elf-linux fix for pr20218-x86-32_64.patch is correct. with this both testcases work. diff -uNrp a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h --- a/gcc/config/rs6000/linux.h2005-11-30 11:15

[Bug rtl-optimization/25285] pessimization of goto * ("computed goto")

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-12-06 20:46 --- __asm__(""); makes stuff worse. Anyways it looks like the code in GCC only deals with non conditional jumps (unless I am missing something). Is there a conditional jump of an indirect jump for x86/x86_64? -- ht

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rakdver at gcc dot gnu dot org
--- Comment #23 from rakdver at gcc dot gnu dot org 2005-12-06 20:33 --- Patch: http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00454.html -- rakdver at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgcj/25265] linking BC-compiled classes with incompatible changes

2005-12-06 Thread aph at gcc dot gnu dot org
-- aph at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |aph at gcc dot gnu dot org |dot org

[Bug c++/24138] [4.1 regression] ICE with the code in PR 20407

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2005-12-06 20:20 --- Reopening since this was only fixed for 4.2.0 and not also for 4.1.0. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/25286] New: [4.1/4.2 Regression] ext/pool_allocator/allocate_chunk.cc execution test fails

2005-12-06 Thread jsm28 at gcc dot gnu dot org
FAIL: ext/pool_allocator/allocate_chunk.cc execution test appeared on mainline between 20051117 and 20051118 (revisions 107115 and 107161) on hppa2.0w-hp-hpux11.11 and still appears present on mainline and 4.1 branch. This test previously passed. The failure in bug 25168 appeared between the same

[Bug tree-optimization/25285] pessimization of goto * ("computed goto")

2005-12-06 Thread anton at mips dot complang dot tuwien dot ac dot at
--- Comment #1 from anton at mips dot complang dot tuwien dot ac dot at 2005-12-06 20:00 --- Created an attachment (id=10425) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10425&action=view) test case input -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25285

[Bug tree-optimization/25285] New: pessimization of goto * ("computed goto")

2005-12-06 Thread anton at mips dot complang dot tuwien dot ac dot at
This is the gcc-4.0 reincarnation of PR 15242. Since about gcc-3.2 or so gcc tends to compile "goto *" into direct jumps to a shared indirect jump. Gcc-4.0 tries to undo this in a later stage, but apparently it is not completely successful: This is a fragment from the engine1.i file I will attac

[Bug c++/24138] [4.1/4.2 regression] ICE with the code in PR 20407

2005-12-06 Thread aldyh at gcc dot gnu dot org
--- Comment #7 from aldyh at gcc dot gnu dot org 2005-12-06 19:48 --- Fixed. http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01175.html -- aldyh at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c/25284] incorrect double value returned from function testo() called from main().

2005-12-06 Thread gnassre at earthlink dot net
--- Comment #5 from gnassre at earthlink dot net 2005-12-06 19:45 --- (In reply to comment #1) > The C standard says that if a function is not declared (prototyped) then > implicately it returns the type of int. > ok thanks, that makes sense =) -- http://gcc.gnu.org/bugzilla/show_

[Bug c++/24138] [4.1/4.2 regression] ICE with the code in PR 20407

2005-12-06 Thread aldyh at gcc dot gnu dot org
--- Comment #6 from aldyh at gcc dot gnu dot org 2005-12-06 19:45 --- Subject: Bug 24138 Author: aldyh Date: Tue Dec 6 19:45:00 2005 New Revision: 108126 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108126 Log: PR C++/24138 * tree.c (integer_all_onesp): Always

[Bug c/25284] incorrect double value returned from function testo() called from main().

2005-12-06 Thread gnassre at earthlink dot net
--- Comment #4 from gnassre at earthlink dot net 2005-12-06 19:41 --- Created an attachment (id=10424) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10424&action=view) main() function definition file from gcc --save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25284

[Bug c/25284] incorrect double value returned from function testo() called from main().

2005-12-06 Thread gnassre at earthlink dot net
--- Comment #3 from gnassre at earthlink dot net 2005-12-06 19:41 --- Created an attachment (id=10423) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10423&action=view) testo() function definition file from gcc --save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25284

[Bug c/25284] incorrect double value returned from function testo() called from main().

2005-12-06 Thread gnassre at earthlink dot net
--- Comment #2 from gnassre at earthlink dot net 2005-12-06 19:40 --- Created an attachment (id=10422) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10422&action=view) output of gcc -v -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25284

[Bug c/25284] incorrect double value returned from function testo() called from main().

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-12-06 19:40 --- The C standard says that if a function is not declared (prototyped) then implicately it returns the type of int. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/18197] bus error on returning from a function

2005-12-06 Thread eedelman at gcc dot gnu dot org
--- Comment #7 from eedelman at gcc dot gnu dot org 2005-12-06 19:38 --- (In reply to comment #6) > Working on a patch. Posted a pacth here: http://gcc.gnu.org/ml/fortran/2005-12/msg00116.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18197

[Bug c/25284] New: incorrect double value returned from function testo() called from main().

2005-12-06 Thread gnassre at earthlink dot net
inside main(), a call is made to function testo() which simply returns a double(1415.149). The correct double value is returned only if main.c has #include , which is where testo() is declared. I've compiled two versions of this program, with and without the include line, withinclude.a.out and wi

[Bug c++/2922] [DR 197] two-stage lookup for unqualified function calls with type-dependent arguments

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #19 from pinskia at gcc dot gnu dot org 2005-12-06 19:27 --- *** Bug 25278 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/25278] g++ seems to ignore an overloaded function.

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-12-06 19:27 --- The reason why removing one enum works is because the size of the RGB will be one instead of two so that the specialized version of SwapEndianness::swap can be used. There is nothing magical here with respect with t

[Bug middle-end/20218] Can't use __attribute__ ((visibility ("hidden"))) to hide a symbol

2005-12-06 Thread pluto at agmk dot net
--- Comment #20 from pluto at agmk dot net 2005-12-06 19:26 --- Created an attachment (id=10421) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10421&action=view) patch for current 4.1 branch. I would love to see a ppc-linux part for this patch. -- http://gcc.gnu.org/bugzilla/

[Bug java/25283] New: gcj generates invalid signature

2005-12-06 Thread tromey at gcc dot gnu dot org
gcj generates an invalid signature for the anonymous constructor in this test case: public class t { public t(char[][] args) { } public Object m() { return new t(new char[][] { "hi".toCharArray(), "bob".toCharArray(), "and jo

[Bug c++/25278] g++ seems to ignore an overloaded function.

2005-12-06 Thread theodore dot papadopoulo at sophia dot inria dot fr
--- Comment #4 from theodore dot papadopoulo at sophia dot inria dot fr 2005-12-06 18:51 --- (In reply to comment #2) I may accept that g++ is right to reject this code. I cannot convince myself from reading the standard but I'm not a langage lawyer. I think that this is a major flaw in

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread bergner at vnet dot ibm dot com
--- Comment #22 from bergner at vnet dot ibm dot com 2005-12-06 18:47 --- ...and I can verify that the patch fixes the reduced test case. Thanks! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25248

[Bug c++/25278] g++ seems to ignore an overloaded function.

2005-12-06 Thread theodore dot papadopoulo at sophia dot inria dot fr
cause > the default class for SwapEndianness does not contain any swap method. > > This has been tested with gcc version 4.2.0 20051206 (experimental). > > Note also that things slightly improved since > gcc version 4.2.0 20051124 (experimental) > which failed also if the e

[Bug target/25281] [3.4/4.0 only] Request fix for Bug #23150 (aka Bug #24675) in gcc 3.4.x and gcc 4.0.x for arm arch.

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-12-06 18:39 --- *** Bug 25282 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25281

[Bug c/25282] Request fix for Bug #23150 (aka Bug #24675) in gcc 3.4.x and gcc 4.0.x for arm arch.

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-12-06 18:39 --- *** This bug has been marked as a duplicate of 25281 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/25281] [3.4/4.0 only] Request fix for Bug #23150 (aka Bug #24675) in gcc 3.4.x and gcc 4.0.x for arm arch.

2005-12-06 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|Request fix for Bug #23150 |[3.4/4.0 only] Request fix |(aka Bug #24675) in gcc

[Bug c/25282] New: Request fix for Bug #23150 (aka Bug #24675) in gcc 3.4.x and gcc 4.0.x for arm arch.

2005-12-06 Thread bill dot thompsons at gmail dot com
Hello, A bug #24675 was logged on Nov 4th for gcc 3.2.1 (arm arch). After several emails communication by helpful people, it was determined that the issue is similar to bug #23150 and is still there for: gcc 3.2.1, gcc 3.3.3, gcc 3.3.6, gcc 3.4.4 gcc 4.0.1 and gcc 4.0.2 It was tested and

[Bug c/25281] New: Request fix for Bug #23150 (aka Bug #24675) in gcc 3.4.x and gcc 4.0.x for arm arch.

2005-12-06 Thread bill dot thompsons at gmail dot com
Hello, A bug #24675 was logged on Nov 4th for gcc 3.2.1 (arm arch). After several emails communication by helpful people, it was determined that the issue is similar to bug #23150 and is still there for: gcc 3.2.1, gcc 3.3.3, gcc 3.3.6, gcc 3.4.4 gcc 4.0.1 and gcc 4.0.2 It was tested and

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread olh at suse dot de
--- Comment #21 from olh at suse dot de 2005-12-06 18:11 --- Created an attachment (id=10420) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10420&action=view) pr25248.patch This patch fixes it for me. Let me attach it in a readable form. -- http://gcc.gnu.org/bugzilla/show_bu

[Bug testsuite/25247] syntax error in target selector for gcc.dg/torture/fp-int-convert-float128-timode.c

2005-12-06 Thread janis at gcc dot gnu dot org
--- Comment #7 from janis at gcc dot gnu dot org 2005-12-06 18:04 --- Subject: Bug 25247 Author: janis Date: Tue Dec 6 18:04:00 2005 New Revision: 108124 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108124 Log: PR testsuite/25247 * lib/target-supports-dg.exp (

[Bug fortran/18197] bus error on returning from a function

2005-12-06 Thread eedelman at gcc dot gnu dot org
--- Comment #6 from eedelman at gcc dot gnu dot org 2005-12-06 18:03 --- Working on a patch. -- eedelman at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/25279] [4.0/4.1/4.2 Regression] Invalid diagnostic about implicitly defined built-in

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-12-06 17:59 --- This is a glibc bug. round is not prototype any where when looking at the preprocessed source for the file but is when adding -std=c99. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/25279] New: [4.0/4.1/4.2 Regression] Invalid diagnostic about implicitly defined built-in

2005-12-06 Thread rguenth at gcc dot gnu dot org
#include int foo(double x) { return round(x); } causes $ gcc -c t.c t.c: In function 'foo': t.c:5: warning: incompatible implicit declaration of built-in function 'round' the transformation of round to lround here done in convert_to_integer is likely the cause for this. Compiling with -std=

[Bug c++/25278] g++ seems to ignore an overloaded function.

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-12-06 17:48 --- No, GCC is correct to reject this code. What is happening is that the overloaded set for the ChangeEndianness in the second ChangeEndianness is only the first and the second so there is no way to consider the third

[Bug c++/25278] g++ seems to ignore an overloaded function.

2005-12-06 Thread theodore dot papadopoulo at sophia dot inria dot fr
--- Comment #1 from theodore dot papadopoulo at sophia dot inria dot fr 2005-12-06 17:39 --- Created an attachment (id=10419) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10419&action=view) The code describing the regression. Simplify compile with g++ -- http://gcc.gnu.org/

[Bug c++/25278] New: g++ seems to ignore an overloaded function.

2005-12-06 Thread theodore dot papadopoulo at sophia dot inria dot fr
from ChangeEndianness(T* begin,const T* end) so that the generic version ChangeEndianness(T& t) is called instead generating and error because the default class for SwapEndianness does not contain any swap method. This has been tested with gcc version 4.2.0 20051206 (experimental). Note also tha

[Bug c++/19397] [3.4 regression] ICE with invalid typedef

2005-12-06 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2005-12-06 17:32 --- Testing a patch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug c++/19762] [3.4 regression] ICE in invalid explicit instantiation of a destructor

2005-12-06 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2005-12-06 17:31 --- Testing a patch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug c++/19764] [3.4 regression] ICE on explicit instantiation of a non-template destructor

2005-12-06 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2005-12-06 17:30 --- Testing a patch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug libstdc++/19664] libstdc++ headers should have pop/push of the visibility around the declarations

2005-12-06 Thread pluto at agmk dot net
--- Comment #87 from pluto at agmk dot net 2005-12-06 17:05 --- current 4.1(+libstdc++ patch) works fine for PR21382 on amd64 and ppc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664

[Bug target/25277] missed optimization for simple mmx code.

2005-12-06 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-12-06 16:04 --- This is not fully a regression as this was on purpose change until emms was emmitted correctly. Anyways this is very much related to PR 22076 and PR 14552 -- pinskia at gcc dot gnu dot org changed: W

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rakdver at gcc dot gnu dot org
--- Comment #20 from rakdver at gcc dot gnu dot org 2005-12-06 15:43 --- This patch should fix the problem: Index: tree-scalar-evolution.c === *** tree-scalar-evolution.c (revision 108078) --- tree-scalar-evolution.c

[Bug c++/25263] [4.2 regression] ICE on invalid array bound: int x[1/0];

2005-12-06 Thread roger at eyesopen dot com
--- Comment #3 from roger at eyesopen dot com 2005-12-06 15:43 --- Fixed. I've checked all other uses of TREE_OVERFLOW in cp/decl.c and c-decl.c to confirm that the C front-end isn't affected by a similar issue there. Sorry for any inconvenience. -- roger at eyesopen dot com changed

[Bug c/7776] const char* p = "foo"; if (p == "foo") ... is compiled without warning!

2005-12-06 Thread roger at eyesopen dot com
--- Comment #14 from roger at eyesopen dot com 2005-12-06 15:39 --- Fixed for gcc v4.2 -- roger at eyesopen dot com changed: What|Removed |Added Status|NEW

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rakdver at gcc dot gnu dot org
--- Comment #19 from rakdver at gcc dot gnu dot org 2005-12-06 15:28 --- Seems like some problem in iv analysis: ssa name pstart_17 type long unsigned int base (long unsigned int) (unsigned int) D.1301_7 + (long unsigned int) (unsigned int) pstart_10 step (long unsigned int) step

[Bug other/25277] missed optimization for simple mmx code.

2005-12-06 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2005-12-06 15:02 --- (In reply to comment #0) > $ gcc tmp.c -S -O2 -mmmx fix: -S -O2 -mmmx -fomit-frame-pointer -mregparm=3 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25277

[Bug other/25277] New: missed optimization for simple mmx code.

2005-12-06 Thread pluto at agmk dot net
#include __v8qi foo(const __v8qi x, const __v8qi y){return x+y;} __v8qi bar(const __v8qi x, const __v8qi y){return __builtin_ia32_paddb(x,y);} $ gcc tmp.c -S -O2 -mmmx 3.3.6 produces the same code for foo() and bar(): foo:movq4(%esp), %mm0 paddb 12(%esp), %mm0 movq

[Bug middle-end/25276] New: [4.2 regression] testsuite failure: execution gcc.dg/attr-weakref-1.c

2005-12-06 Thread hp at gcc dot gnu dot org
Last known to work with: "Mon Dec 5 12:27:13 UTC 2005 (revision 108052M)". First known to fail with: "Mon Dec 5 22:19:13 UTC 2005 (revision 108077M)". Running /home/hp/combined/combined/gcc/testsuite/gcc.dg/dg.exp ... ... FAIL: gcc.dg/attr-weakref-1.c execution test With the message in the .log

[Bug target/25268] ICE on lshrdi3_31 pattern

2005-12-06 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2005-12-06 14:48 --- Yeah, making separate (define_insn "*di3_and_31" [(set (match_operand:DI 0 "register_operand" "=d") (SHIFT:DI (match_operand:DI 1 "register_operand" "0") (and:SI (match_operand:SI 2 "shift_c

[Bug target/25268] ICE on lshrdi3_31 pattern

2005-12-06 Thread krebbel at gcc dot gnu dot org
--- Comment #1 from krebbel at gcc dot gnu dot org 2005-12-06 14:33 --- Shorter testcase: long long foo (long long x, int y) { return x << ((y + 1) & 63); } The count operand of a shift instruction is a somewhat weird thing on S/390. It is basically an address accepting the sum of an

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread olh at suse dot de
--- Comment #18 from olh at suse dot de 2005-12-06 14:26 --- Adding -fno-ivopts to CFLAGS for hash_utils_64.o fixes it for me. Tested with gcc-4_1-branch r108104 and current binutils. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25248

[Bug c++/25263] [4.2 regression] ICE on invalid array bound: int x[1/0];

2005-12-06 Thread sayle at gcc dot gnu dot org
--- Comment #2 from sayle at gcc dot gnu dot org 2005-12-06 14:00 --- Subject: Bug 25263 Author: sayle Date: Tue Dec 6 14:00:09 2005 New Revision: 108119 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108119 Log: PR c++/25263 * decl.c (compute_array_index_type)

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rguenth at gcc dot gnu dot org
--- Comment #17 from rguenth at gcc dot gnu dot org 2005-12-06 13:59 --- IVOPTs truncates pstartD.1866_10 down to int, which is wrong: htab_bolt_mapping (pstartD.1866, cntD.1867) { unsigned intD.3 D.1959; long unsigned intD.4 D.1960; long unsigned intD.4 ivtmp.50D.1954; unsigne

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2005-12-06 13:48 --- Confirmed. -fno-ivopts fixes it. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/25271] gfortran fails to pad lines in format statements to 72 characters.

2005-12-06 Thread dir at lanl dot gov
--- Comment #3 from dir at lanl dot gov 2005-12-06 13:47 --- If you look at the output from format 2030, you will see that that comma at the end of the "44h e n d..." statement is printed, but the comma is the 45th character after the 44h . Like wise the '/' after the 8 is printed inspit

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2005-12-06 13:43 --- So, CCing zdenek. Btw., checking -floop-optimize2 may also be worth trying (setting up a rpoper chroot now). -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread bergner at vnet dot ibm dot com
--- Comment #14 from bergner at vnet dot ibm dot com 2005-12-06 13:40 --- sizeof(unsigned long) and sizeof(unsigned long long) are both 8 bytes on ppc64. Olaf, -O1 isn't a workaround, it's the minimum optimization level that still shows the bug. Trying some -fno-* options, using -fno-

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2005-12-06 13:39 --- hmhm, maybe I'm in a ppc32 chroot. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25248

[Bug middle-end/25248] [4.1/4.2 Regression] 2.6.15-rc4 arch/powerpc/mm/hash_utils_64.c miscompiled

2005-12-06 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2005-12-06 13:37 --- Note that in the reduced testcase we have pr25248.c: In function ?htab_bolt_mapping?: pr25248.c:15: warning: integer constant is too large for ?unsigned long? type pr25248.c: In function ?main?: pr25248.c:24: warn

  1   2   >