Build a function call with variable number of arguments

2007-03-29 Thread François-Xavier Coudert
Hi all, Could someone give me a pointer to doc or code about building a function decl and function call expr that take a variable number of arguments (like printf)? Thanks, FX

Re: Build a function call with variable number of arguments

2007-03-29 Thread Andreas Schwab
François-Xavier Coudert [EMAIL PROTECTED] writes: Could someone give me a pointer to doc or code about building a function decl and function call expr that take a variable number of arguments (like printf)? See c-common.c:def_fn_type for the decl. Andreas. -- Andreas Schwab, SuSE Labs,

Bootstrap broken on i386-pc-mingw32

2007-03-29 Thread François-Xavier Coudert
Hi Zack, hi all, A bootstrap of GCC mainline, rev. 123324, fails because of: gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition

Re: Bootstrap broken on i386-pc-mingw32

2007-03-29 Thread François-Xavier Coudert
I'm CCing Zack Away on vacation until March 31st, said the automated reply. PS: I've launched a cross build to see if I can reproduce it there, which would of course make it easier for tracking down. Works OK on the cross. So, it's probably a host problem in gengtype. It appears to exist on

Re: core changes for mep port

2007-03-29 Thread Joern Rennecke
In http://gcc.gnu.org/ml/gcc/2007-03/msg01007.html, Steven Bosscher wrote: All of this feels (to me anyway) like adding a lot of code to the middle end to support MEP specific arch features. I understand it is in the mission statement that more ports is a goal for GCC, but I wonder if this

Re: Bootstrap broken on i386-pc-mingw32

2007-03-29 Thread Zack Weinberg
On 3/29/07, François-Xavier Coudert [EMAIL PROTECTED] wrote: Works OK on the cross. So, it's probably a host problem in gengtype. It appears to exist on HPUX as well, as Steve noted. Yeah, it appears I was overly optimistic in hoping vsnprintf() would do what C99 says it does. I do not have

Re: Bootstrap broken on i386-pc-mingw32

2007-03-29 Thread François-Xavier Coudert
Yeah, it appears I was overly optimistic in hoping vsnprintf() would do what C99 says it does. I do not have access to any system that shows the problem, but I've attached a patch that should fix it (it just reverts the oprintf() changes, which were not really necessary, I was just trying to be

Re: Bootstrap broken on i386-pc-mingw32

2007-03-29 Thread Zack Weinberg
[resend] On 3/29/07, François-Xavier Coudert [EMAIL PROTECTED] wrote: I've attached a patch that should fix it (it just reverts the oprintf() changes, which were not really necessary, I was just trying to be more efficient). Thanks, that fixes it for me on i386-pc-mingw32. committed. zw

Re: GCC 4.2.0 Status Report (2007-03-22)

2007-03-29 Thread Diego Novillo
Mark Mitchell wrote on 03/22/07 22:10: Diego, Roger, Jason, would you please let me know if you can work on the issues above? I'm going to try to test Jim's patch for PR 31273 tonight. I'm looking at 29585 today.

Re: Instrumenting for a different profiling algorithm

2007-03-29 Thread Michael Veksler
Ian Lance Taylor wrote: It's really a lot easier to do this as a source code modification than as a compiler change. Unless you already have a lot of experience with the compiler, I think you'd be lucky or very good to get it done in two weeks. I have already done it as source code modification,

Re: Splay Tree

2007-03-29 Thread David Edelsohn
Brian Makin writes: Brian I had sent in the paperwork in october 2005. Brian [EMAIL PROTECTED] Brian Brian N. Makin Brian I can certainly send another if necessary. Did you send in a request for an assignment or did you fill out an assignment yourself? Did you receive an

A sibcall is also a leaf?!?

2007-03-29 Thread Dave Korn
Hi Gcc gang, Are my eyes playing tricks on me? While compiling this code: /tmp/warn $ cat leaf.c extern void external_func (void); void __attribute__ ((__isr__)) foo4 (void) { external_func (); return ; } the compiler sets current_function_is_leaf. Huh? It doesn't

Re: A sibcall is also a leaf?!?

2007-03-29 Thread Paul Brook
This logic works fine - except when gcc tells me that this sibcall function is a leaf, despite the fact that it calls out to another function that probably clobbers the call_used regs. A leaf function is one that doesn't make any function calls. Technically speaking, a sibcall isn't really

tuples: data structure separation from trees

2007-03-29 Thread Aldy Hernandez
Hi guys! I've been having sporadic conversations with both Diego and Rth regarding tuples, and I wanted to sum up, and get others' opinions. After doing the GIMPLE_MODIFY_STMT work, I've come to the conlusion that to continue overloading trees will be more work in the long run than doing the

Re: tuples: data structure separation from trees

2007-03-29 Thread Richard Henderson
On Thu, Mar 29, 2007 at 04:16:35PM -0400, Aldy Hernandez wrote: * By extension, we will also need: typedef struct gimple_expression_d { ... } * gimple_expr; For example, PLUS_EXPR, etc. These will have location, btw. Something like: gimple_stmt

Re: classes visualizer

2007-03-29 Thread Ben Elliston
What application/tool can show inheritance tree of C++ classes, or list all classes from a source code, which g++ can compile without errors or warnings ? This question is not relevant on this mailing list. This list is used for discussions about GCC development. Next time, please try the

Re: tuples: data structure separation from trees

2007-03-29 Thread Ian Lance Taylor
Aldy Hernandez [EMAIL PROTECTED] writes: After doing the GIMPLE_MODIFY_STMT work, I've come to the conlusion that to continue overloading trees will be more work in the long run than doing the actual separation between tuples and trees. This business of this is a tree, but not really,

Re: tuples: data structure separation from trees

2007-03-29 Thread Andrew Pinski
On 29 Mar 2007 18:24:56 -0700, Ian Lance Taylor [EMAIL PROTECTED] wrote: Why will expressions have location? It seems to me preferable to save the memory. After a few optimization passes many of the expressions have no location anyhow. And I know from past experiences, that this is really a

Re: tuples: data structure separation from trees

2007-03-29 Thread Daniel Jacobowitz
On Thu, Mar 29, 2007 at 06:40:30PM -0700, Andrew Pinski wrote: On 29 Mar 2007 18:24:56 -0700, Ian Lance Taylor [EMAIL PROTECTED] wrote: Why will expressions have location? It seems to me preferable to save the memory. After a few optimization passes many of the expressions have no location

Re: tuples: data structure separation from trees

2007-03-29 Thread Ian Lance Taylor
Andrew Pinski [EMAIL PROTECTED] writes: On 29 Mar 2007 18:24:56 -0700, Ian Lance Taylor [EMAIL PROTECTED] wrote: Why will expressions have location? It seems to me preferable to save the memory. After a few optimization passes many of the expressions have no location anyhow. And I

Re: Bug building target libiberty for mips64vrel-elf toolchain

2007-03-29 Thread Richard Sandiford
Hi Eric, Hi Richard, We recently ran across an ICE building a target libiberty for one of the multilibs of the mips64vrel-elf toolchain: .../libiberty/regex.c: In function 'byte_re_match_2_internal': .../libiberty/regex.c:7481: error: insn does not satisfy its constraints:

[Bug target/31388] New: ICE building libiberty multilib for mips16 multilibs

2007-03-29 Thread nickc at redhat dot com
I recently ran across an ICE building a target libiberty for one of the multilibs of the mips64vrel-elf toolchain: .../libiberty/regex.c: In function 'byte_re_match_2_internal': .../libiberty/regex.c:7481: error: insn does not satisfy its constraints: (insn 5211 1697 1699 173

Re: Bug building target libiberty for mips64vrel-elf toolchain

2007-03-29 Thread Nick Clifton
Hi Richard, But I am pretty sure that this is the wrong solution. Since I am not a MIPS expert however I am punting this problem to you guys. :-) Yeah, I'm afraid it's the wrong solution. ;) Thought so :-) I gather from the insn above that a use of the GP pseudo register has been

[Bug c++/31338] [4.1/4.2/4.3 regression] Cannot apply ! to complex constants

2007-03-29 Thread rsandifo at gcc dot gnu dot org
-- rsandifo at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rsandifo at gcc dot gnu dot |dot org

[Bug c++/31338] [4.1/4.2/4.3 regression] Cannot apply ! to complex constants

2007-03-29 Thread rsandifo at gcc dot gnu dot org
--- Comment #1 from rsandifo at gcc dot gnu dot org 2007-03-29 11:02 --- Sigh. Wrong bug #, sorry. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31338

[Bug c++/31338] [4.1/4.2/4.3 regression] Cannot apply ! to complex constants

2007-03-29 Thread rsandifo at gcc dot gnu dot org
--- Comment #2 from rsandifo at gcc dot gnu dot org 2007-03-29 11:03 --- Sigh. Wrong bug #, sorry. -- rsandifo at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/31388] ICE building libiberty multilib for mips16 multilibs

2007-03-29 Thread rsandifo at gcc dot gnu dot org
-- rsandifo at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rsandifo at gcc dot gnu dot |dot org

[Bug driver/31353] gcc --help=target gives a linker error.

2007-03-29 Thread nickc at redhat dot com
--- Comment #4 from nickc at redhat dot com 2007-03-29 11:05 --- Brooks' patch is better than mine, so I would recommend that it be adopted. Cheers Nick -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31353

[Bug driver/31355] --help=language option isn't documented.

2007-03-29 Thread nickc at redhat dot com
--- Comment #4 from nickc at redhat dot com 2007-03-29 11:08 --- Subject: Re: --help=language option isn't documented. Hi Brooks, The patch tracker missed the patch I'd already posted for this one as well: http://gcc.gnu.org/ml/gcc-patches/2007-03/msg01655.html I think our fixes

[Bug other/31356] gcc --help=language option has problems in the output header line.

2007-03-29 Thread nickc at redhat dot com
--- Comment #2 from nickc at redhat dot com 2007-03-29 11:11 --- Hi Brooks, One difference that I see between our patches -- you have: + if (* descrip_extra == '\0') +descrip_extra = lang_names [i]; whereas mine just unconditionally assigns descrip_extra to

[Bug fortran/31259] ICE on elemental character function

2007-03-29 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2007-03-29 11:44 --- Yes, indeed; a dummy argument of an elemental procedure cannot appear in a specification expression. 12.7.1 Constraint: A dummy argument, or a subobject thereof, shall not appear in a specification-expr except as the

[Bug c/31389] New: [4.3 Regression] undefined reference with inline function and -std=gnu99

2007-03-29 Thread tbm at cyrius dot com
Is the following buggy core or a bug in 4.3? I don't see why it should fail. The problem is that when I compile an inline function with -std=gnu99, it will not be found during linking. Example: gcc -c t.c gcc -c -std=gnu99 timer.c gcc -o t t.o timer.o This results in: t.c:(.text+0x1c):

[Bug c/31389] [4.3 Regression] undefined reference with inline function and -std=gnu99

2007-03-29 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2007-03-29 11:51 --- I forgot to mention that it works fine with 4.1. -- tbm at cyrius dot com changed: What|Removed |Added

[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L

2007-03-29 Thread marc dot glisse at normalesup dot org
--- Comment #64 from marc dot glisse at normalesup dot org 2007-03-29 12:29 --- (In reply to comment #63) However, I'm working on speculative fixes for newlib and linux, which are predicated on the correct __cplusplus values. I may get to solaris too, if my sanity stretches that

[Bug target/19745] [meta-bug]: cris-elf gcc, g++, objc testsuite failures as of Tue Feb 1 22:03:59 UTC 2005

2007-03-29 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2007-03-29 13:00 --- No dependent bugs left. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/19747] [meta-bug] : cris-elf libstdc++ testsuite failures as of Tue Feb 1 22:03:59 UTC 2005

2007-03-29 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2007-03-29 13:01 --- Lack of activity alone is reason enough to close this. On top of that, this meta-bug has no dependent bugs left. In fact it appears to never have had any. -- steven at gcc dot gnu dot org changed:

[Bug tree-optimization/13875] [tree-ssa] missed jump thread optimization on the tree-level

2007-03-29 Thread steven at gcc dot gnu dot org
--- Comment #26 from steven at gcc dot gnu dot org 2007-03-29 13:18 --- I have looked at the various test cases in this PR, and all of them work for me. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31390] New: ICE due to transfer function

2007-03-29 Thread drewmccormack at mac dot com
I receive the following ICE: transferbug.f90: In function ‘bucketindexofkey’: transferbug.f90:14: internal compiler error: in gfc_get_element_type, at fortran/trans-types.c:741 when compiling this test code: module InternalCompilerError type Byte private character(len=1)

[Bug tree-optimization/24568] [meta-bug] Missed optimization: trivialization of silly code

2007-03-29 Thread steven at gcc dot gnu dot org
--- Comment #8 from steven at gcc dot gnu dot org 2007-03-29 13:29 --- For the original test case, our current output before expand (i.e. the final_cleanup dump) on hosts where sizeof(long)==sizeof(int) is this: ;; Function convertToMinutes (convertToMinutes) convertToMinutes

[Bug debug/31391] New: [4.3 Regression] undefined label with -O -g

2007-03-29 Thread tbm at cyrius dot com
I get the following link error with 4.3 and -O -g: $ gcc -c -g -O test.c -o test.o $ gcc -o m m.c test.o test.o:(.debug_info+0x539): undefined reference to `.L4' collect2: ld returned 1 exit status test.c: #include netdb.h #include stdio.h #include malloc.h typedef struct _hostEntry {

[Bug debug/31391] [4.3 Regression] undefined label with -O -g

2007-03-29 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2007-03-29 13:56 --- This problem was introduced between 20070303 and 20070326. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31391

[Bug c/31389] [4.3 Regression] undefined reference with inline function and -std=gnu99

2007-03-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-03-29 14:24 --- Inline behavior is now C99 compatible by default, you need to use extern inline in this case. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/30666] [4.3 Regression] warning: canonical types differ for identical types double __complex__ and double __complex__

2007-03-29 Thread patchapp at dberlin dot org
--- Comment #10 from patchapp at dberlin dot org 2007-03-29 14:25 --- Subject: Bug number PR 30666 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/2007-03/msg01939.html --

[Bug tree-optimization/31383] ICE with -O2 -ftree-vectorize (regression)

2007-03-29 Thread rakdver at gcc dot gnu dot org
--- Comment #2 from rakdver at gcc dot gnu dot org 2007-03-29 14:29 --- Mine. -- rakdver at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31392] New: [meta-bug] gfortran problems with initialization

2007-03-29 Thread tobi at gcc dot gnu dot org
This bug is meant to collect issues related to initializations and type declarations. -- Summary: [meta-bug] gfortran problems with initialization Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: meta-bug Severity: normal

[Bug fortran/31393] New: [meta-bug] gfortran compile-time problems with intrinsics

2007-03-29 Thread tobi at gcc dot gnu dot org
This bug is meant to collext bugs WRT intrinsics that happen at compile-time, i.e. no implementation issues, but issues where an intrinsic can be called where it shouldn't and the like. -- Summary: [meta-bug] gfortran compile-time problems with intrinsics

[Bug middle-end/30666] [4.3 Regression] warning: canonical types differ for identical types double __complex__ and double __complex__

2007-03-29 Thread dgregor at gcc dot gnu dot org
--- Comment #11 from dgregor at gcc dot gnu dot org 2007-03-29 15:11 --- Subject: Bug 30666 Author: dgregor Date: Thu Mar 29 15:11:28 2007 New Revision: 123330 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123330 Log: 2007-03-29 Douglas Gregor [EMAIL PROTECTED] PR

[Bug debug/31391] [4.3 Regression] undefined label with -O -g

2007-03-29 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 middle-end/30666] [4.3 Regression] warning: canonical types differ for identical types double __complex__ and double __complex__

2007-03-29 Thread dgregor at gcc dot gnu dot org
--- Comment #12 from dgregor at gcc dot gnu dot org 2007-03-29 15:14 --- Fix committed to mainline -- dgregor at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/31389] [4.3 Regression] undefined reference with inline function and -std=gnu99

2007-03-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-03-29 15:15 --- Plain inline without any thing which says static or extern in C99 is the same as what GNU-C90 considers as their extern inline and not what C99 considers as extern inline. If you add a prototype that says extern,

[Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base

2007-03-29 Thread bangerth at dealii dot org
--- Comment #11 from bangerth at dealii dot org 2007-03-29 16:13 --- Still happens with 4.1.2 -- bangerth at dealii dot org changed: What|Removed |Added

[Bug c++/712] diagnostic line is split between quotes if it happens to appear in the wrong place

2007-03-29 Thread bangerth at dealii dot org
--- Comment #10 from bangerth at dealii dot org 2007-03-29 16:20 --- This appears fixed with current mainline (at the very least, I don't know how far back this reaches, but 3.3.5 is still broken). -- bangerth at dealii dot org changed: What|Removed

[Bug c++/189] [DR176] parse error in qualified member name lookup

2007-03-29 Thread bangerth at dealii dot org
--- Comment #11 from bangerth at dealii dot org 2007-03-29 16:25 --- Still happens with a recent mainline snapshot. -- bangerth at dealii dot org changed: What|Removed |Added

[Bug c++/712] diagnostic line is split between quotes if it happens to appear in the wrong place

2007-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #11 from tromey at gcc dot gnu dot org 2007-03-29 16:27 --- This still happens with -fmessage-length=80, per comment #9. Perhaps we don't care, though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=712

[Bug c++/99] Bug in template type in error message.

2007-03-29 Thread bangerth at dealii dot org
--- Comment #14 from bangerth at dealii dot org 2007-03-29 16:28 --- Still happens with a recent mainline snapshot. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=99

Re: [Bug c++/99] Bug in template type in error message.

2007-03-29 Thread Gabriel Dos Reis
bangerth at dealii dot org [EMAIL PROTECTED] writes: | Still happens with a recent mainline snapshot. This one is tricky. I once had a patch for it, but then the patch broke some other diagnostic. :-( I'll try to revive it. -- Gaby

[Bug c++/99] Bug in template type in error message.

2007-03-29 Thread gdr at cs dot tamu dot edu
--- Comment #15 from gdr at cs dot tamu dot edu 2007-03-29 16:43 --- Subject: Re: Bug in template type in error message. bangerth at dealii dot org [EMAIL PROTECTED] writes: | Still happens with a recent mainline snapshot. This one is tricky. I once had a patch for it, but then the

[Bug c++/712] diagnostic line is split between quotes if it happens to appear in the wrong place

2007-03-29 Thread bangerth at dealii dot org
--- Comment #12 from bangerth at dealii dot org 2007-03-29 17:05 --- (In reply to comment #11) This still happens with -fmessage-length=80, per comment #9. Uh, but that's exactly what I tried and it wrapped just fine, with the tick on the second line... W. -- bangerth at dealii

[Bug fortran/31390] ICE due to transfer function

2007-03-29 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-03-29 17:10 --- I'd say it's a duplicate of PR31193, which was fixed on 2007-03-22. At least, your testcase doesn't trigger the bug on i386-linux nor on x86_64-linux. Closing as duplicate: could you try it with an updated

[Bug fortran/31193] [4.2 only] ICE on non-constant character tranfert

2007-03-29 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-03-29 17:10 --- *** Bug 31390 has been marked as a duplicate of this bug. *** -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/712] diagnostic line is split between quotes if it happens to appear in the wrong place

2007-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #13 from tromey at gcc dot gnu dot org 2007-03-29 17:18 --- Right you are. Sorry about that :( -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=712

[Bug tree-optimization/31169] Bootstrap comparison error at revision 122821

2007-03-29 Thread rth at gcc dot gnu dot org
--- Comment #33 from rth at gcc dot gnu dot org 2007-03-29 17:30 --- I've been trying to track down this same failure on Alpha. I can reproduce that reverting the third hunk allows the bootstrap to complete. Finding what has got miscompiled has been very difficult. Only two files

[Bug libgcj/29869] LogManager class loading failure with Tomcat

2007-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2007-03-29 17:48 --- I suspect we're trying to initialize the logging manager too early. In particular in libgcj we use 'null' as the loader parameter to Class.forName during startup -- this will bypass the system class loader. Second,

[Bug c/31394] New: cos() returns wrong value unless -O0 is used

2007-03-29 Thread sdirkse at gams dot com
I have some code that involves computing a cosine via cos(), specifically b = cos(v). Depending on the context of the cos call, I get correct and incorrect answers. In the example code's main program, I get a correct result regardless of the compilation flags. In the MATHNEW_funceval routine,

[Bug c/31394] cos() returns wrong value unless -O0 is used

2007-03-29 Thread sdirkse at gams dot com
--- Comment #1 from sdirkse at gams dot com 2007-03-29 17:55 --- Created an attachment (id=13297) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13297action=view) test case for the bug Building with gcc -m64 -O1 -o xxx cosbug.i -lm shows the bug bug gcc -m64 -o xxx cosbug.i -lm is

[Bug libgcj/29869] LogManager class loading failure with Tomcat

2007-03-29 Thread marcus at better dot se
--- Comment #5 from marcus at better dot se 2007-03-29 18:11 --- (In reply to comment #4) Third, what's up with the class name 1catalina.org.apache.juli.FileHandler,? Perhaps we are not parsing something correctly? It comes from a configuration file for the logging mechanism,

[Bug tree-optimization/31169] Bootstrap comparison error at revision 122821

2007-03-29 Thread rth at gcc dot gnu dot org
--- Comment #34 from rth at gcc dot gnu dot org 2007-03-29 18:13 --- Actually, on second thought, I don't think the sign_bit_p change is legit: Value ranges after VRP: -mask_lo_1: [0, +INF] EQUIVALENCES: { } (0 elements) +mask_lo_1: [0x0, +INF] EQUIVALENCES: { } (0

[Bug tree-optimization/31169] Bootstrap comparison error at revision 122821

2007-03-29 Thread rth at gcc dot gnu dot org
--- Comment #35 from rth at gcc dot gnu dot org 2007-03-29 18:21 --- With some sed help, one can see that fold_binary is completely ruined: - mhi = 0x0 128 - width; - if ((~(hi2 | hi1) mhi) == 0) goto L; else goto L; - -L:; - mlo = 0x0; + mhi = 0;

[Bug libgcj/29869] LogManager class loading failure with Tomcat

2007-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2007-03-29 18:43 --- Thanks. This is a little bit screwy since Java 5 claims that 'handlers' is whitespace-separated -- but I see that in Java 6 they updated the docs to reflect the actual implementation. Also tomcat seems to rely on

[Bug target/31394] cos() returns wrong value unless -O0 is used

2007-03-29 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2007-03-29 18:50 --- This bug reminds me PR30980 and PR31161, though they were reported only for g++ and gfortran (they were fixed on 2007-03-16). Could you look at them to see if the bug you have reported is not a duplicate? If yes, you

[Bug fortran/31395] New: Colon edit descriptor is ignored unless preceded by a comma or a slash

2007-03-29 Thread michael dot a dot richmond at nasa dot gov
When run the following program: PROGRAM test INTEGER :: i = 1 WRITE(*, 10) i 10 FORMAT('i =',I2:,' this should not print') END PROGRAM test It prints: i = 1 this should not print If I insert a comma or a slash between I2 and : it will work correctly. -- Summary: Colon edit

[Bug tree-optimization/29585] [4.2 Regression] tree check: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:558

2007-03-29 Thread dnovillo at gcc dot gnu dot org
--- Comment #13 from dnovillo at gcc dot gnu dot org 2007-03-29 19:55 --- I can't reproduce this on mainline anymore. It does fail on the 4.2 branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29585

[Bug c/31396] New: Inline code performance much worse than out-of-line

2007-03-29 Thread jamagallon at ono dot com
A simple function that just sums over a vector is much slower if inlined than out of line. The o-o-l version keeps the sum in a xmm register, the inline version keeps reading and storing the stack variable on each iteration (guessed looking at the assembler). Timings on a 2.4 P4 Xeon: out-of

[Bug c/31396] Inline code performance much worse than out-of-line

2007-03-29 Thread jamagallon at ono dot com
--- Comment #1 from jamagallon at ono dot com 2007-03-29 23:17 --- Created an attachment (id=13298) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13298action=view) testcase Simple test case with a loop in main() and a call to a function. Both just calculate the sum of all elements

[Bug c/31396] Inline code performance much worse than out-of-line

2007-03-29 Thread jamagallon at ono dot com
--- Comment #2 from jamagallon at ono dot com 2007-03-29 23:18 --- Created an attachment (id=13299) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13299action=view) Makefile for testcase Makefile to build tst.c. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31396

[Bug tree-optimization/17116] Missed jump threading/bypassing optimization with loop and % (or ands)

2007-03-29 Thread law at redhat dot com
--- Comment #7 from law at redhat dot com 2007-03-29 23:18 --- Subject: Re: Missed jump threading/bypassing optimization with loop and % (or ands) IMHO, this PR should simply be closed. This is a case where aggressive threading is going to explode codesize with marginal

[Bug c/31396] Inline code performance much worse than out-of-line

2007-03-29 Thread jamagallon at ono dot com
--- Comment #3 from jamagallon at ono dot com 2007-03-29 23:22 --- Sample assembler for the loops. For the funcion, out of line: #APP #FBGN #NO_APP movldata, %edx fldz movl$1, %eax .L2: fadds -4(%edx,%eax,4) addl$1, %eax cmpl$268435457,

[Bug middle-end/31396] Inline code performance much worse than out-of-line

2007-03-29 Thread jamagallon at ono dot com
--- Comment #4 from jamagallon at ono dot com 2007-03-29 23:47 --- Assembler for the opteron. out-of-line: .L2: cvtss2sd(%rdx,%rax,4), %xmm0 incq%rax cmpq$268435456, %rax addsd %xmm0, %xmm1 jne .L2 inline: .L11: cvtss2sd(%rdx,%rax,4), %xmm0

[Bug bootstrap/31379] make[3]: *** [s-gtype] Segmentation fault (core dumped)

2007-03-29 Thread sje at cup dot hp dot com
--- Comment #4 from sje at cup dot hp dot com 2007-03-30 00:22 --- This has been fixed for me with this patch: 2007-03-29 Zack Weinberg [EMAIL PROTECTED] * gengtype.c (oprintf): Mostly revert changes from 2007-03-26; add comment explaining why vsnprintf cannot be

[Bug bootstrap/31379] make[3]: *** [s-gtype] Segmentation fault (core dumped)

2007-03-29 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca 2007-03-30 00:32 --- Subject: Re: make[3]: *** [s-gtype] Segmentation fault (core dumped) This has been fixed for me with this patch: 2007-03-29 Zack Weinberg [EMAIL PROTECTED] * gengtype.c (oprintf): Mostly

[Bug fortran/31222] Rejected: implicitly-typed dummys used in initialization expressions

2007-03-29 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2007-03-30 00:34 --- This fixes it and regtests OK Paul Index: gcc/fortran/check.c === *** gcc/fortran/check.c (revision 123183) --- gcc/fortran/check.c (working copy)

[Bug bootstrap/31039] Latest CVS-stage 2-Cannot create executables

2007-03-29 Thread dave dot korn at artimi dot com
--- Comment #5 from dave dot korn at artimi dot com 2007-03-30 01:50 --- I have just checked in a fix for this in newlib. See the thread at: http://sourceware.org/ml/newlib/2007/msg00292.html and the references therein: http://cygwin.com/ml/cygwin/2007-03/msg00705.html

[Bug libgcj/29869] LogManager class loading failure with Tomcat

2007-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #7 from tromey at gcc dot gnu dot org 2007-03-30 05:09 --- Subject: Bug 29869 Author: tromey Date: Fri Mar 30 05:09:35 2007 New Revision: 123356 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123356 Log: libjava PR libgcj/29869: *

[Bug libgcj/29869] LogManager class loading failure with Tomcat

2007-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #8 from tromey at gcc dot gnu dot org 2007-03-30 05:12 --- Fix checked in. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgcj/29869] LogManager class loading failure with Tomcat

2007-03-29 Thread cvs-commit at developer dot classpath dot org
--- Comment #9 from cvs-commit at developer dot classpath dot org 2007-03-30 05:14 --- Subject: Bug 29869 CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Tom Tromey tromey 07/03/30 04:13:43 Modified files: . : ChangeLog

[Bug libgcj/29869] LogManager class loading failure with Tomcat

2007-03-29 Thread tromey at gcc dot gnu dot org
--- Comment #10 from tromey at gcc dot gnu dot org 2007-03-30 05:35 --- Subject: Bug 29869 Author: tromey Date: Fri Mar 30 05:34:58 2007 New Revision: 123357 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123357 Log: libjava PR libgcj/29869: *