[Bug target/21122] ICE in schedule_insns, at sched-rgn.c:2549

2006-08-07 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #3 from mkuvyrkov at gcc dot gnu dot org 2006-08-08 06:54 --- Probably this is a dublicate of 27883. -- mkuvyrkov at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/27077] [x86, 4.1] builtin strlen poor performance

2006-08-07 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2006-08-08 06:35 --- The strlen inlining depends on the -mtune switch. -mtune=athlon,generic and i686 unrolls the strlen by in-line loop, while -mtune=pentium4 use the rep operation. Would be possible to benchmark both -mtune=generic an

[Bug target/27827] [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3

2006-08-07 Thread hubicka at ucw dot cz
--- Comment #47 from hubicka at ucw dot cz 2006-08-08 06:28 --- Subject: Re: [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3 > In x86/x86-64 world one can be almost sure that the load+execute instruction > pair will execute (marginaly to noticeably) faste

Re: [Bug target/27827] [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3

2006-08-07 Thread Jan Hubicka
> In x86/x86-64 world one can be almost sure that the load+execute instruction > pair will execute (marginaly to noticeably) faster than move+load-and-execute > instruction pair as the more complex instructions are harder for on-chip > scheduling (they retire later).

[Bug target/27827] [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3

2006-08-07 Thread hubicka at gcc dot gnu dot org
--- Comment #46 from hubicka at gcc dot gnu dot org 2006-08-08 06:15 --- In x86/x86-64 world one can be almost sure that the load+execute instruction pair will execute (marginaly to noticeably) faster than move+load-and-execute instruction pair as the more complex instructions are harde

[Bug tree-optimization/28643] redundant phi-node in latch-block prevents vectorization

2006-08-07 Thread dberlin at dberlin dot org
--- Comment #2 from dberlin at gcc dot gnu dot org 2006-08-08 06:14 --- Subject: Re: redundant phi-node in latch-block prevents vectorization pinskia at gcc dot gnu dot org wrote: > --- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-08 01:47 > --- > SSA copy prop wit

Re: [Bug tree-optimization/28643] redundant phi-node in latch-block prevents vectorization

2006-08-07 Thread Daniel Berlin
pinskia at gcc dot gnu dot org wrote: > --- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-08 01:47 > --- > SSA copy prop with dce after that should really be the correct way. > Err, SSA copy prop should be enough, actually, since after copy-prop, the phi will have no users (and

[Bug target/27827] [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3

2006-08-07 Thread whaley at cs dot utsa dot edu
--- Comment #45 from whaley at cs dot utsa dot edu 2006-08-08 02:59 --- Guys, OK, with Dorit's -fdump-tree-vect-details, I made a little progress on vectorization. In order to get vectorization to work, I had to add the flag '-funsafe-math-optimizations'. I will try to create a tarfil

[Bug tree-optimization/28643] redundant phi-node in latch-block prevents vectorization

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-08 01:47 --- SSA copy prop with dce after that should really be the correct way. Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug testsuite/28602] All gfortran.dg/gomp tests fail

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-08 01:37 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug fastjar/28647] jar installation fails

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-08 01:33 --- fastjar does not exist any more in the mainline and has not for a while now. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/28583] [4.2 regression] ICE in default_secondary_reload, at targhooks.c:532 when building libgcc2.c as _divsc3.o

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-08 01:30 --- gcc_assert (insn_data[(int) icode].n_operands == 3); (define_expand "reload_incc" [(parallel [(set (match_operand:CC 2 "integer_register_operand" "=&d") (match_operand:CC 1 "memory_oper

[Bug bootstrap/28577] make of gcc-4.1.1 failed using icc v9.1.042 on ia64

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-08-08 01:26 --- (In reply to comment #7) > during the gcc "make bootstrap" it seems to be "frozen" at this stage: I think we can now declare this an ICC bug and close it as invalid. Please report this to Intel. -- pinskia at gc

[Bug fortran/28585] Fortran 2003: Support NEW_LINE intrinsic

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-08 01:24 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug rtl-optimization/28569] [4.2 Regression] Segmentation fault from struct pointers

2006-08-07 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28569

[Bug gcov/profile/28564] gcov fails to store the absolute path to the source files

2006-08-07 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement GCC build triplet|powerpc-apple-darwin8 | GCC h

[Bug fastjar/28647] New: jar installation fails

2006-08-07 Thread chat95 at mac dot com
* gcc-4.2.0-20060729 * I configured gcc --program-suffix=42.. * I also have jar in /usr/local/bin (symlink /usr/local/bin/jar@ -> /usr/local/bin/javavm) * then, gcc installes as fastjar as jar in /usr/local/bin, then rename to jar42. * however when /usr/local/bin/jar exists, installtion fails. --

[Bug middle-end/28622] [4.1 regression] ICE in extract_insn, at recog.c:2084 (unecognizable insn) [m68k]

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-08-08 01:05 --- Related to PR 27616. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28622

[Bug c/27184] [4.0/4.1/4.2 Regression] Wrong code with pointers to arrays and types and strict aliasing

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-08-08 00:56 --- I have been having problems with my work machine to be able to test this patch (before applying it) but hopefuly it will finish this time. If it does not work, I am going to test it using my home machine. -- htt

[Bug tree-optimization/28632] VRP should understand bitwise OR and AND

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-08-08 00:37 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug tree-optimization/28632] VRP should understand bitwise OR and AND

2006-08-07 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement Keywords||missed-op

[Bug target/28634] [4.1/4.2 regression] rounding problem with -fdelayed-branch on hppa/mips

2006-08-07 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28634

[Bug tree-optimization/28624] [4.2 regression] latent segfault in remove_phi_node

2006-08-07 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28624

[Bug middle-end/28581] Illegal loading the address of a label with -O2

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-08 00:33 --- This is invalid as there are no computed gotos in your example so the compiler does not know it is a target for a goto so it is able to move the label around. -- pinskia at gcc dot gnu dot org changed:

[Bug target/28623] [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha]

2006-08-07 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28623

[Bug target/28621] [4.1/4.2 Regression] SEGSEGV at set_fast_math () at ../../gcc/config/i386/crtfastmath.c:97 when using the -Os flag

2006-08-07 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |NEW Last reconfirmed|2006-08-06 17:19:06 |2006-08-08 00:29:

[Bug target/28634] [4.1/4.2 regression] rounding problem with -fdelayed-branch on hppa/mips

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-08 00:29 --- This sounds like two target problems rather than generic ones. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug rtl-optimization/28644] 400.perlbench never completes when compiled with -O3

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-08 00:21 --- We need a testcase to go any further on this bug. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug rtl-optimization/28644] 400.perlbench never completes when compiled with -O3

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-08 00:21 --- *** Bug 28646 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28644

[Bug c/28646] 400.perlbench never completes when compiled with -O3

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-08 00:21 --- *** This bug has been marked as a duplicate of 28644 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug testsuite/28645] Tests in nested directories are run twice

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-08 00:20 --- This is a bug in some versions of expect and/or TCL and/or dejagnu. [EMAIL PROTECTED]:~/src/gcc-3c/checkin/simdmathlibrary$ runtest --version Expect version is 5.42.1 Tcl version is 8.4 Framework versi

[Bug c/28646] New: 400.perlbench never completes when compiled with -O3

2006-08-07 Thread uttam_p at yahoo dot com
Hi, I've been trying to run perlbench (speccpu 2006 benchmark) compiled with gcc 4.1.0 with "-O3 -ffast-math -funroll-all-loops -m64". But when I run this benchmark, it never completes (it goes on more than 3 hours) and I'd to kiil it. It completes when I added -fno-inline option. Just wanted to r

[Bug testsuite/28645] New: Tests in nested directories are run twice

2006-08-07 Thread reichelt at gcc dot gnu dot org
Tests in nested directories are run twice, e.g.: Running .../gcc/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp ... Running .../gcc/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp ... Running .../gcc/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp ... Running .../gcc/gcc/tes

[Bug middle-end/28636] [4.0/4.1 regression] Miscompiled loop

2006-08-07 Thread schwab at suse dot de
--- Comment #4 from schwab at suse dot de 2006-08-08 00:04 --- Looks like introduced during the tree-ssa merge. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28636

[Bug middle-end/28622] [4.1 regression] ICE in extract_insn, at recog.c:2084 (unecognizable insn) [m68k]

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-08-07 23:16 --- (In reply to comment #4) > So it looks like point 2 is true. So it is a latent bug in CSE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28622

[Bug middle-end/28622] [4.1 regression] ICE in extract_insn, at recog.c:2084 (unecognizable insn) [m68k]

2006-08-07 Thread schwab at suse dot de
--- Comment #4 from schwab at suse dot de 2006-08-07 23:14 --- The removed comment says: - /* If will do cse, generate all results into pseudo registers - since 1) that allows cse to find more things - and 2) otherwise cse could produce an insn the machine - cannot support.

[Bug target/28183] [4.0/4.1/4.2 regression] assembler error "FATAL: can't close x.o" on m68k with new binutils

2006-08-07 Thread schwab at suse dot de
--- Comment #5 from schwab at suse dot de 2006-08-07 23:13 --- Sorry, wrong bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28183

[Bug target/28183] [4.0/4.1/4.2 regression] assembler error "FATAL: can't close x.o" on m68k with new binutils

2006-08-07 Thread schwab at suse dot de
--- Comment #4 from schwab at suse dot de 2006-08-07 23:12 --- The removed comment says: - /* If will do cse, generate all results into pseudo registers - since 1) that allows cse to find more things - and 2) otherwise cse could produce an insn the machine - cannot support.

[Bug tree-optimization/28622] [4.1 regression] ICE in extract_insn, at recog.c:2084 (unecognizable insn) [m68k]

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-07 23:09 --- (In reply to comment #2) > Broken since r102570: That would mean a latent bug in the m68k back-end. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28622

[Bug rtl-optimization/28622] [4.1 regression] ICE in extract_insn, at recog.c:2084 (unecognizable insn) [m68k]

2006-08-07 Thread schwab at suse dot de
--- Comment #2 from schwab at suse dot de 2006-08-07 23:00 --- Broken since r102570: * expr.c (expand_expr_real_1): Do not load mem targets into register. * i386.c (ix86_fixup_binary_operands): Likewise. (ix86_expand_unary_operator): Likewise. (ix86_expan

[Bug libgcj/23682] gnu.java.nio.SelectorImpl.select(long) throws ArrayIndexOutOfBoundsException

2006-08-07 Thread cvs-commit at developer dot classpath dot org
--- Comment #9 from cvs-commit at developer dot classpath dot org 2006-08-07 22:24 --- Subject: Bug 23682 CVSROOT:/cvsroot/classpath Module name:classpath Branch: generics-branch Changes by: Mark Wielaard 06/08/07 22:23:02 Modified files: .

[Bug libgcj/23682] gnu.java.nio.SelectorImpl.select(long) throws ArrayIndexOutOfBoundsException

2006-08-07 Thread cvs-commit at developer dot classpath dot org
--- Comment #8 from cvs-commit at developer dot classpath dot org 2006-08-07 22:23 --- Subject: Bug 23682 CVSROOT:/cvsroot/classpath Module name:classpath Branch: classpath-0_92-branch Changes by: Mark Wielaard 06/08/07 22:22:52 Modified files: .

[Bug libgcj/28579] [ecj] classpath build must use gcj

2006-08-07 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2006-08-07 22:17 --- On the gcj-eclipse branch, this works for me. It correctly picks the bootstrap gcj. However, this not not happening for Andrew Hughes... -- tromey at gcc dot gnu dot org changed: What|Removed

[Bug libgcj/28455] [ecj] defineclass.cc rewrites constant pool

2006-08-07 Thread tromey at gcc dot gnu dot org
-- tromey at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot |dot org

[Bug libgcj/28454] [ecj] runtime annotation support

2006-08-07 Thread tromey at gcc dot gnu dot org
-- tromey at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot |dot org

[Bug java/28453] [ecj] compiler support for reflection data

2006-08-07 Thread tromey at gcc dot gnu dot org
-- tromey at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot |dot org

[Bug target/27827] [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3

2006-08-07 Thread whaley at cs dot utsa dot edu
--- Comment #44 from whaley at cs dot utsa dot edu 2006-08-07 21:56 --- Guys, OK, the mystery of why my hand-patched gcc didn't work is now cleared up. My first clue was that neither did the SVN-build gcc! Turns out, your peephole opt is only done if I throw the flag -O3 rather than -

[Bug rtl-optimization/28644] 400.perlbench never completes when compiled with -O3

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-07 21:52 --- 4.1.0 is getting old and 4.1.1 has been released with bugs fixed. And this bug really has no info about what the problem is. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c/28644] New: 400.perlbench never completes when compiled with -O3

2006-08-07 Thread uttam_p at yahoo dot com
Hi, I've been trying to run perlbench (speccpu 2006 benchmark) compiled with gcc 4.1.0 with "-O3 -ffast-math -funroll-all-loops -m64". But when I run this benchmark, it never completes (it goes on more than 3 hours) and I'd to kiil it. It completes when I added -fno-inline option. Just wanted to r

[Bug target/28629] Segfault with --march=pentium-m -O2 when compiling faac

2006-08-07 Thread dannysmith at users dot sourceforge dot net
--- Comment #6 from dannysmith at users dot sourceforge dot net 2006-08-07 21:04 --- (In reply to comment #2) > (In reply to comment #0) > precisely, the bug can be reproduced with a combination of --march=pentium-m > (or --march=pentium3 -msse2), -mfpmath=sse,387, and any optimization

[Bug middle-end/28643] New: redundant phi-node in latch-block prevents vectorization

2006-08-07 Thread dorit at il dot ibm dot com
Since the fix for PR26969, we now fail to vectorize loops that have redundant phi-nodes in their (otherwise empty) latch block. The testcase committed with the PR fix is an example for such a case. See http://gcc.gnu.org/ml/gcc-patches/2006-08/msg00034.html for more details. -- Summar

[Bug libgcj/28609] make install broken in current trunk (svn 115947)

2006-08-07 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2006-08-07 20:39 --- I took your advice and checked in the result of that cp. Thanks! -- tromey at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libgcj/28609] make install broken in current trunk (svn 115947)

2006-08-07 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2006-08-07 20:37 --- Subject: Bug 28609 Author: tromey Date: Mon Aug 7 20:37:50 2006 New Revision: 116003 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116003 Log: PR libgcj/28609: * ltconfig: Copied from gcc.

[Bug target/27827] [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3

2006-08-07 Thread dorit at il dot ibm dot com
--- Comment #43 from dorit at il dot ibm dot com 2006-08-07 20:35 --- > I'm all for this. info gcc says that w/o a guarantee of alignment, loops are > duped, with an if selecting between vector and scalar loops, is this not > accurate? yes >I spent a day trying to get gcc to vectori

[Bug c/17645] Add a warning for potentially unsafe unsigned operations

2006-08-07 Thread mathieu at malaterre dot com
--- Comment #11 from mathieu at malaterre dot com 2006-08-07 20:25 --- Tested today (Aug 7, 2006) with: $ /usr/lib/gcc-snapshot/bin/g++ --version /tmp g++ (GCC) 4.2.0 20060721 (experimental) Copy

[Bug c++/28640] [4.1/4.2 regression] ICE redeclaring template with invalid parameter

2006-08-07 Thread lmillward at gcc dot gnu dot org
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org

[Bug c++/28638] [4.1/4.2 regression] ICE on invalid template parameter

2006-08-07 Thread lmillward at gcc dot gnu dot org
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org

[Bug c++/28637] [4.1/4.2 regression] ICE on invalid template parameter

2006-08-07 Thread lmillward at gcc dot gnu dot org
-- lmillward at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |lmillward at gcc dot gnu dot |dot org

[Bug c++/28642] ICE in layout_type, at stor-layout.c:1851

2006-08-07 Thread apl at alum dot mit dot edu
--- Comment #2 from apl at alum dot mit dot edu 2006-08-07 18:34 --- Amending the "description" attribute ((may_alias)) in a union causes ICE. I'm using the 7/15/2006 snapshot of 4.2 I realize that unions are implicitly 'aliased', but in fact this problem was encountered while I w

[Bug libmudflap/28578] A most simple multithreaded program (practically any multithreaded one) causes mudflap violation

2006-08-07 Thread fche at redhat dot com
-- fche at redhat dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |fche at redhat dot com |dot org |

[Bug c++/28642] ICE in layout_type, at stor-layout.c:1851

2006-08-07 Thread apl at alum dot mit dot edu
--- Comment #1 from apl at alum dot mit dot edu 2006-08-07 18:27 --- Created an attachment (id=12040) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12040&action=view) test case causing ICE compiled with: g++ -c ice.cxx -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28642

[Bug c++/28642] New: ICE in layout_type, at stor-layout.c:1851

2006-08-07 Thread apl at alum dot mit dot edu
attribute((maybe_aliased)) in a union causes ICE -- Summary: ICE in layout_type, at stor-layout.c:1851 Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unass

[Bug target/28074] -mstackrealign generates very inefficient code

2006-08-07 Thread hjl at lucon dot org
--- Comment #2 from hjl at lucon dot org 2006-08-07 18:24 --- Here is the debug info generated by icc The section .debug_info contains: Compilation Unit @ offset 0x0: Length:272 Version: 2 Abbrev Offset: 0 Pointer Size: 4 <0>: Abbrev Number: 1 (DW_TAG_comp

[Bug target/27827] [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3

2006-08-07 Thread paolo dot bonzini at lu dot unisi dot ch
--- Comment #42 from paolo dot bonzini at lu dot unisi dot ch 2006-08-07 18:19 --- Subject: Re: [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3 > We should get some idea by comparing gcc3 vs. your > patched compiler on the various platforms, though oth

[Bug libstdc++/28406] What should be value of sqrt(complex(-1.0,-0.0))?

2006-08-07 Thread pcarlini at suse dot de
--- Comment #8 from pcarlini at suse dot de 2006-08-07 18:16 --- (In reply to comment #7) > By the way, as I read the cited LIA-3 draft, it's also consisten with C99. To > restate my point in a different way, if we believe there is an inconsistency > between C99 and C++03, then the forme

[Bug middle-end/28636] [4.0/4.1 regression] Miscompiled loop

2006-08-07 Thread schwab at suse dot de
--- Comment #3 from schwab at suse dot de 2006-08-07 17:51 --- -floop-optimize2 doesn't help. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28636

[Bug c++/28638] [4.1/4.2 regression] ICE on invalid template parameter

2006-08-07 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28638

[Bug c++/28639] [4.1/4.2 regression] ICE trying to print error on invalid template parameter

2006-08-07 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28639

[Bug c++/28640] [4.1/4.2 regression] ICE redeclaring template with invalid parameter

2006-08-07 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28640

[Bug c++/28641] [4.1/4.2 regression] ICE calling template function with invalid template parameter

2006-08-07 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28641

[Bug c++/28641] New: [4.1/4.2 regression] ICE calling template function with invalid template parameter

2006-08-07 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE on mainline and 4.1 branch: === template void foo(); void bar() { foo<0>(); } === bug.cc:1: error: 'void' is not a valid type for a template constant

[Bug c++/28640] New: [4.1/4.2 regression] ICE redeclaring template with invalid parameter

2006-08-07 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE on mainline and 4.1 branch: === template struct A; template struct A; === bug.cc:1: error: 'void' is not a valid type for a template constant paramete

[Bug middle-end/28636] [4.0/4.1 regression] Miscompiled loop

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-07 17:34 --- I bet this is a loop.c bug. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28639] New: [4.1/4.2 regression] ICE trying to print error on invalid template parameter

2006-08-07 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers a ICE on mainline and 4.1 branch: === template struct A { static const int i = 1; char a[i]; }; === bug.cc:1: error: 'void' is not a valid type for a tem

[Bug c++/28638] New: [4.1/4.2 regression] ICE on invalid template parameter

2006-08-07 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers a ICE on mainline and 4.1 branch: === template struct A; template class> struct B {}; B b; === bug.cc:1: error: 'void' is not a valid type for a template c

[Bug libstdc++/28406] What should be value of sqrt(complex(-1.0,-0.0))?

2006-08-07 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2006-08-07 17:26 --- By the way, as I read the cited LIA-3 draft, it's also consisten with C99. To restate my point in a different way, if we believe there is an inconsistency between C99 and C++03, then the former can only win about this speci

[Bug c++/28637] [4.1/4.2 regression] ICE on invalid template parameter

2006-08-07 Thread reichelt at gcc dot gnu dot org
--- Comment #1 from reichelt at gcc dot gnu dot org 2006-08-07 17:25 --- Lee, this is fallout from your patch for PR 27668. Would you mind having a look? -- reichelt at gcc dot gnu dot org changed: What|Removed |Added -

[Bug libstdc++/28406] What should be value of sqrt(complex(-1.0,-0.0))?

2006-08-07 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2006-08-07 17:24 --- (In reply to comment #5) > Insofar as I understand this issue, it seems that C99 and the C++ standard > specify different results for the square root of (-1, -0). > > If that is correct, then we can decide that we want lib

[Bug c++/28637] New: [4.1/4.2 regression] ICE on invalid template parameter

2006-08-07 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers a segfault on mainline and 4.1 branch: === template struct A {}; A<0> a; === bug.cc:1: error: 'void' is not a valid type for a template constant parameter bug.cc:2: internal compiler error: Segment

[Bug target/27827] [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3

2006-08-07 Thread whaley at cs dot utsa dot edu
--- Comment #41 from whaley at cs dot utsa dot edu 2006-08-07 17:19 --- Paolo, >Actually, the peephole phase may not change the register usage, but it >could peruse a scratch register if available. But it would be much more >controversial (even if backed by your hard numbers on ATLAS)

[Bug libstdc++/28406] What should be value of sqrt(complex(-1.0,-0.0))?

2006-08-07 Thread ian at airs dot com
--- Comment #5 from ian at airs dot com 2006-08-07 17:14 --- Insofar as I understand this issue, it seems that C99 and the C++ standard specify different results for the square root of (-1, -0). If that is correct, then we can decide that we want libstdc++ to follow C99 rather than the

[Bug target/27827] [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3

2006-08-07 Thread paolo dot bonzini at lu dot unisi dot ch
--- Comment #40 from paolo dot bonzini at lu dot unisi dot ch 2006-08-07 16:58 --- Subject: Re: [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3 >> I don't see how the last fmul[sl] can be removed without increasing code >> size. >> > However, I c

[Bug target/27827] [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3

2006-08-07 Thread whaley at cs dot utsa dot edu
--- Comment #39 from whaley at cs dot utsa dot edu 2006-08-07 16:47 --- Paolo, OK, never mind about all the questions on assembly/patches/SVN/gcc3 perf: I checked out the main branch, and vi'd the patched file, and I see that your patch is there. I am presently building the SVN gcc on

[Bug libgcj/28312] peer libraries are installed into gcjversionedlibdir, not into nativeexeclib

2006-08-07 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2006-08-07 16:38 --- Is this fixed by that commit? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28312

[Bug java/28380] ICE compiling class implementing nested interface from class compiled from jar

2006-08-07 Thread tromey at gcc dot gnu dot org
-- tromey at gcc dot gnu dot org changed: What|Removed |Added BugsThisDependsOn||28067 Status|UNCONFIRMED |NEW Ever Co

[Bug middle-end/28636] [4.0/4.1 regression] Miscompiled loop

2006-08-07 Thread schwab at suse dot de
--- Comment #1 from schwab at suse dot de 2006-08-07 16:34 --- Created an attachment (id=12039) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12039&action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28636

[Bug middle-end/28636] New: [4.0/4.1 regression] Miscompiled loop

2006-08-07 Thread schwab at suse dot de
$ gcc -O2 input.c -o input $ ./input input: input.c:36: main: Assertion `s.buffer_position == s.buffer_end' failed. The loop loses the increment of s.buffer_position. -- Summary: [4.0/4.1 regression] Miscompiled loop Product: gcc Version: 4.1.2 Statu

[Bug java/28153] Under Windows Xp the generated JNI headers need to have a '_' prepended for each function.

2006-08-07 Thread tromey at gcc dot gnu dot org
--- Comment #8 from tromey at gcc dot gnu dot org 2006-08-07 16:30 --- I think comment #3 explains the problem. So, this is either a more general GCC bug, or it is not a bug at all. In any case it isn't a gcj problem :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28153

[Bug target/28635] Interaction between different asm statements

2006-08-07 Thread Martin dot vGagern at gmx dot net
--- Comment #4 from Martin dot vGagern at gmx dot net 2006-08-07 16:14 --- (In reply to comment #2) > I bet this is not a bug. x86 is known to be very register starved. Yes, I know that. But this situation does not explain, why adding two more functions containing the asm statements s

[Bug target/28635] Interaction between different asm statements

2006-08-07 Thread Martin dot vGagern at gmx dot net
--- Comment #3 from Martin dot vGagern at gmx dot net 2006-08-07 16:02 --- One more observation: I tried adding the flags corresponding to -O1 according to the info page: -fdefer-pop -fdelayed-branch -fguess-branch-probability -fcprop-registers -floop-optimize -fif-conversion -fif-conv

[Bug target/28635] Interaction between different asm statements

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-07 15:53 --- I bet this is not a bug. x86 is known to be very register starved. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug inline-asm/28635] Interaction between different asm statements

2006-08-07 Thread Martin dot vGagern at gmx dot net
--- Comment #1 from Martin dot vGagern at gmx dot net 2006-08-07 15:49 --- Created an attachment (id=12038) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12038&action=view) Testcase demonstrating interference between assembler statements This test case exhibits the following beha

[Bug inline-asm/28635] New: Interaction between different asm statements

2006-08-07 Thread Martin dot vGagern at gmx dot net
I was experimenting with the way gcc does register allocation depending on different flags. I encountered one strange test file where adding a second asm statement made a first one fail which did work before. Even stranger, when I have both parts as separate functions before, the combined version c

[Bug target/25500] [4.0/4.1/4.2 Regression]: SSE2 vectorized code is slower on 4.x.x than previous

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #20 from pinskia at gcc dot gnu dot org 2006-08-07 15:35 --- (In reply to comment #19) > This patchlet makes GCC use element-copy for struct FF: You have to be careful when editing count_type_elements so that the elements of a constructor that are not explict are zeroed.

[Bug target/27827] [4.0/4.1 Regression] gcc 4 produces worse x87 code on all platforms than gcc 3

2006-08-07 Thread whaley at cs dot utsa dot edu
--- Comment #38 from whaley at cs dot utsa dot edu 2006-08-07 15:32 --- Paolo, Thanks for all the help. I'm not sure I understand everything perfectly though, so there's some questions below . . . >I don't see how the last fmul[sl] can be removed without increasing code size. Since t

[Bug c++/28633] CMOV accessing unmapped memory

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-07 15:03 --- Two things: 1. don't file a bug with a code fragment. 2. this is not a bug as _KERN_STACK can never be unmapped memory at least to the compiler. Use the attribute weak and that should fix your issue. -- pinskia a

[Bug tree-optimization/28632] [PATCH] add VRP for bitwise OR and AND

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-07 14:54 --- First patches should be off of the mainline. Second Patchs should be sent to [EMAIL PROTECTED] Third and this should be able to fix PR 18031 which I added a patch already (though not officially sent it because I ha

[Bug libgcj/28340] gij ignores -Djava.security.manager

2006-08-07 Thread gbenson at redhat dot com
--- Comment #2 from gbenson at redhat dot com 2006-08-07 14:54 --- I fixed it now -- gbenson at redhat dot com changed: What|Removed |Added Status|ASSIGNED

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

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #24 from pinskia at gcc dot gnu dot org 2006-08-07 14:50 --- *** Bug 28631 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/28631] no candidate even when it exists, depends on position of the function

2006-08-07 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-07 14:50 --- GCC 4.1.0 is actually the correct behavior. This is a dup of bug 2922 which changed the behavior to be what the standard says it should be. *** This bug has been marked as a duplicate of 2922 *** -- pinskia at

  1   2   >