Re: GCC 4.2.0 Status Report (2007-04-15)

2007-04-17 Thread Steven Bosscher
On 4/17/07, Maxim Kuvyrkov [EMAIL PROTECTED] wrote: There is a patch for this PR29841 in http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01134.html . The problem is that I don't really know which maintainer ask to review it :( I think this patch needs re-testing (because of my cfglayout

Re: Builtin functions?

2007-04-17 Thread Paulo J. Matos
On 4/16/07, Jan Hubicka [EMAIL PROTECTED] wrote: If you just want to scan every function you have around, the obvious way to do it is For each function FOR_EACH_BB_FN (function). This is probably slightly slower than For each function if cgraph_function_body_availability !=

Re: GCC 4.2.0 Status Report (2007-04-15)

2007-04-17 Thread Richard Guenther
On 4/17/07, Steven Bosscher [EMAIL PROTECTED] wrote: On 4/17/07, Maxim Kuvyrkov [EMAIL PROTECTED] wrote: There is a patch for this PR29841 in http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01134.html . The problem is that I don't really know which maintainer ask to review it :( I think this

GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Kenneth Hoste
Hiya, I'm doing research on which optimization passes to enable in the various -On flags, and I've stumbled onto a/some minor bug(s) and problems with the GCC documentation for the 4.1.2 version: * When using -falign-loops or -fno-align-loops the corresponding internal variable

Re: GCC 4.2.0 Status Report (2007-04-15)

2007-04-17 Thread Steven Bosscher
On 4/17/07, Richard Guenther [EMAIL PROTECTED] wrote: Indeed. The patch is ok after a re-bootstrap and re-test. Actually, please don't commit that patch. Eric Botcazou has already proposed a fix that looks better: http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01065.html Gr. Steven

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Steven Bosscher
On 4/17/07, Kenneth Hoste [EMAIL PROTECTED] wrote: * On x86, -fschedule-insns is disabled, but -fschedule-insns2 (or the corresponding internal flag flag_schedule_insns_after_reload) is still being used... The reason for disabling fschedule-insns is increased register pressure (and x86 has few

Re: EH references

2007-04-17 Thread Paulo J. Matos
Thank you for the references at Code Sourcery, regading SJLJ exception handling I found the paper (which references it): Exception Handling in the Choices Operating System, is the reference for SJLJ EH? Cheers, -- Paulo Jorge Matos - pocm at soton.ac.uk http://www.personal.soton.ac.uk/pocm PhD

RE: EH references

2007-04-17 Thread Dave Korn
On 17 April 2007 11:08, Paulo J. Matos wrote: Thank you for the references at Code Sourcery, regading SJLJ exception handling I found the paper (which references it): Exception Handling in the Choices Operating System, is the reference for SJLJ EH? Dunno about that, but I found this link

RE: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Eric Weddington
-Original Message- From: Kenneth Hoste [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 3:23 AM To: gcc@gcc.gnu.org Subject: GCC -On optimization passes: flag and doc issues - finline-functions is enabled at -Os, but isn't listed so And it seems to have some issues:

Re: Splay Tree

2007-04-17 Thread Brian Makin
Got the documents signed and they are now on their way. --- Richard Guenther [EMAIL PROTECTED] wrote: On 11/3/06, Ian Blanes [EMAIL PROTECTED] wrote: The original author of this patch said he sent his copyright assignment. I only did minor modification to his work so I don't I think I

Re: Duplicate assembler function names in cgraph

2007-04-17 Thread Mike Stump
On Apr 17, 2007, at 3:11 AM, Paulo J. Matos wrote: I wonder, that if I am to use gcc head, how can I do that? This isn't a trick question is it? Anyway, it is answered by our web site. Briefly, you check out trunk and then you edit it. patch is one way to mass edit a source tree for

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Ian Lance Taylor
Kenneth Hoste [EMAIL PROTECTED] writes: * When using -falign-loops or -fno-align-loops the corresponding internal variable 'align-loops' should be set to 0 (= use default setting) or 1 (= no aligning) resp. When parsing the various flags, a variable 'value' is used to set (value=1) or unset

Re: Duplicate assembler function names in cgraph

2007-04-17 Thread Paulo J. Matos
On 4/17/07, Mike Stump [EMAIL PROTECTED] wrote: On Apr 17, 2007, at 3:11 AM, Paulo J. Matos wrote: I wonder, that if I am to use gcc head, how can I do that? This isn't a trick question is it? Anyway, it is answered by our web site. Briefly, you check out trunk and then you edit it. patch

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Kenneth Hoste
On 17 Apr 2007, at 18:18, Eric Weddington wrote: -Original Message- From: Kenneth Hoste [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 3:23 AM To: gcc@gcc.gnu.org Subject: GCC -On optimization passes: flag and doc issues - finline-functions is enabled at -Os, but isn't

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Steven Bosscher
On 4/17/07, Eric Weddington [EMAIL PROTECTED] wrote: - finline-functions is enabled at -Os, but isn't listed so And it seems to have some issues: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31528 Comments #4 and #6. The only real issue here is a wrong expectation: That a certain combination

RE: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Eric Weddington
-Original Message- From: Steven Bosscher [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 2:52 PM To: Eric Weddington Cc: Kenneth Hoste; gcc@gcc.gnu.org Subject: Re: GCC -On optimization passes: flag and doc issues On 4/17/07, Eric Weddington [EMAIL PROTECTED] wrote:

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Joerg Wunsch
As Eric Weddington wrote: And it seems to have some issues: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31528 Comments #4 and #6. The only real issue here is a wrong expectation: That a certain combination of flags magically does the best thing for every target. No, the issue is

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Steven Bosscher
On 4/17/07, Eric Weddington [EMAIL PROTECTED] wrote: when perhaps they should also notice that the efficiency of GCC for -Os has increased tremendously in the past few years... That is what you think is important. To AVR users, compile time could increase by 100% and they wouldn't care, but

RE: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Eric Weddington
-Original Message- From: Steven Bosscher [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 2:52 PM To: Eric Weddington Cc: Kenneth Hoste; gcc@gcc.gnu.org Subject: Re: GCC -On optimization passes: flag and doc issues On 4/17/07, Eric Weddington [EMAIL PROTECTED] wrote:

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Ian Lance Taylor
Eric Weddington [EMAIL PROTECTED] writes: Also, as you mention the target code has a chance to tune this ..., can you give me a hint about where to look for these knobs? I might give it a try to see whether I can find a more optimal set of parameters. This was in response to your comment

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Joerg Wunsch
As Steven Bosscher wrote: Maybe you can look at the development of code size of AVR over time, and show a different trend, but I'd be surprised. Most AVR users use -Os, as small code is fast code in most of the cases on the AVR. The `overall summary' is that GCC continuously decreased its

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Steven Bosscher
On 4/18/07, Joerg Wunsch [EMAIL PROTECTED] wrote: As Eric Weddington wrote: And it seems to have some issues: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31528 Comments #4 and #6. The only real issue here is a wrong expectation: That a certain combination of flags magically does

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Joerg Wunsch
As Ian Lance Taylor wrote: If the code size increases for AVR, when using -Os, when comparing an older release to mainline or 4.2 branch, you should report that as a regression in bugzilla. Thanks. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31528 -- cheers, Jorg .-.-.

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Mike Stump
On Apr 17, 2007, at 2:56 PM, Eric Weddington wrote: Well this begs the question of why, when there are so many different targets, are there are only 4 optimization flags (1,2,3,s), especially when they only get tuned to certain targets? If you count again, you'll see there are more than 4

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Paul Brook
No, the issue is that the -Os option is *documented* to *only* include those optimizations that are known to not increase the code size. Where exactly is the documented? My documentation says It enables optimisations that do not *typically* increase code size (emphasis mine). Many

RE: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Eric Weddington
-Original Message- From: Ian Lance Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 4:20 PM To: Eric Weddington Cc: 'Steven Bosscher'; gcc@gcc.gnu.org; 'Joerg Wunsch'; 'Anatoly Sokolov' Subject: Re: GCC -On optimization passes: flag and doc issues Eric

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Joerg Wunsch
As Steven Bosscher wrote: And now that you've shown that for this test case GCC actually may have regressed on every target, you've shown that perhaps the global inlining heuristics should be changed. May well be, for all I know. Tuning heuristics is always hard and never provably optimal. I

RE: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Eric Weddington
-Original Message- From: Mike Stump [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 4:28 PM To: Eric Weddington Cc: 'Steven Bosscher'; gcc@gcc.gnu.org; 'Joerg Wunsch'; 'Anatoly Sokolov' Subject: Re: GCC -On optimization passes: flag and doc issues On Apr 17, 2007, at

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Ian Lance Taylor
Joerg Wunsch [EMAIL PROTECTED] writes: As Ian Lance Taylor wrote: If the code size increases for AVR, when using -Os, when comparing an older release to mainline or 4.2 branch, you should report that as a regression in bugzilla. Thanks.

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Eric Christopher
increase code size? I feel I must be missing something really obvious... is it just that the other optimisations that become possible on inline code usually compensate? That or the savings from not having to save/restore registers, set up the frame, etc as well. -eric

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Joe Buck
On Tue, Apr 17, 2007 at 03:44:36PM -0700, Ian Lance Taylor wrote: The relevant code is in opts.c: if (optimize_size) { /* Inlining of very small functions usually reduces total size. */ set_param_value (max-inline-insns-single, 5); set_param_value

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Joe Buck
On Wed, Apr 18, 2007 at 12:16:32AM +0100, Dave Korn wrote: Sorry for butting in, but I just can't follow the reasoning here. Unless a function is only ever used once and is inlined at the single callsite, or unless the prolog and epilog are several times the size of the function body, isn't

Re: CompileFarm and reghunt Was: GCC 4.2.0 Status Report (2007-04-15)

2007-04-17 Thread Janis Johnson
On Mon, Apr 16, 2007 at 10:09:35PM +0200, Laurent GUERBY wrote: On Mon, 2007-04-16 at 12:00 -0600, Tom Tromey wrote: I wonder whether there is a role for the gcc compile farm in this? For instance perhaps someone could keep a set of builds there and provide folks with a simple way to

HTML of -fdump-tree-XXXX proposal.

2007-04-17 Thread J.C. Pizarro
Hello, i've an idea to improve the report of -fdump-tree- using the HTML format for its output. I recommend XHTML-1.0 (26-Jan-2000) from http://www.w3.org/TR/xhtml1/ Note: HTML-4.01 (24-Dec-1999) from http://www.w3.org/TR/html401/ is very popular but very old and it's not XML-1.0

Re: HTML of -fdump-tree-XXXX proposal.

2007-04-17 Thread Diego Novillo
J.C. Pizarro wrote on 04/17/07 21:48: The visual representation in HTML is more effective for humans than in text. No. Heck, no.

Re: Call to arms: testsuite failures on various targets

2007-04-17 Thread Kaveh R. GHAZI
On Thu, 12 Apr 2007, FX Coudert wrote: Hi all, I reviewed this afternoon the postings from the gcc-testresults mailing-list for the past month, and we have a couple of gfortran testsuite failures showing up on various targets. Could people with access to said targets (possibly maintainers)

Re: HTML of -fdump-tree-XXXX proposal.

2007-04-17 Thread David Daney
Diego Novillo wrote: J.C. Pizarro wrote on 04/17/07 21:48: The visual representation in HTML is more effective for humans than in text. No. Heck, no. I agree. PDF is clearly superior ;-) J.C., Please submit a patch for PDF support. David Daney

Re: GCC -On optimization passes: flag and doc issues

2007-04-17 Thread Steven Bosscher
On 4/18/07, Joe Buck [EMAIL PROTECTED] wrote: Perhaps the number of arguments should be taken into account as well. We've been doing that for years. Gr. Steven

[Bug fortran/31594] gfortran failed to compiled a 'valid' code

2007-04-17 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2007-04-17 07:12 --- To the reporter: Even though this is already (correctly) closed as INVALID, please let us know if your code does compile and run correctly if you compile with the suggested extra command line option,

[Bug c++/29365] Unnecessary anonymous namespace warnings

2007-04-17 Thread gcc at magfr dot user dot lysator dot liu dot se
--- Comment #15 from gcc at magfr dot user dot lysator dot liu dot se 2007-04-17 07:15 --- I think there are still some kind of problem. If I try to compile bar.C using g++ -c bar.C then where g++ is g++ (GCC) 4.3.0 20070416 (experimental) (Hm, I'd wish for a revision number in there

[Bug c++/29365] Unnecessary anonymous namespace warnings

2007-04-17 Thread gcc at magfr dot user dot lysator dot liu dot se
--- Comment #16 from gcc at magfr dot user dot lysator dot liu dot se 2007-04-17 07:18 --- Created an attachment (id=13375) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13375action=view) Test showing that the current fix causes an ICE --

[Bug tree-optimization/25809] missed PRE optimization - move invariant casts out of loops

2007-04-17 Thread dorit at il dot ibm dot com
--- Comment #5 from dorit at il dot ibm dot com 2007-04-17 07:22 --- Doing cast motion actually causes about 25 *more* failures in the vectorizer testsuite. I'm closing this as won't fix since it seems there was no other reason to do this. can you please send me the patch so that I

[Bug tree-optimization/25809] missed PRE optimization - move invariant casts out of loops

2007-04-17 Thread dorit at il dot ibm dot com
--- Comment #6 from dorit at il dot ibm dot com 2007-04-17 07:38 --- can you please send me the patch so that I could look at this failures before you close this PR? I'm going over my inbox top down, so I just saw that you had laready sent the patch... so I will look into it.

[Bug fortran/31587] Module files shouldn't be updated if their content doesn't change

2007-04-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2007-04-17 07:52 --- Created an attachment (id=13376) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13376action=view) Patch that allows for module to be overwritten only if they changed This is the complete patch. Have fun!

[Bug fortran/31587] Module files shouldn't be updated if their content doesn't change

2007-04-17 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Keywords||patch Target Milestone|--- |4.3.0

[Bug libgcj/30071] make install fails for libjava

2007-04-17 Thread r dot emrich at de dot tecosim dot com
--- Comment #4 from r dot emrich at de dot tecosim dot com 2007-04-17 07:54 --- Created an attachment (id=13377) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13377action=view) Patch Proposed patch. I added a new target (install-exec-am) to Makefile.am to enforce the right

[Bug c/31595] New: internal compiler error

2007-04-17 Thread henman at it dot to-be dot co dot jp
/usr/local/bin/gcc -c -I. -DHAVE_CONFIG_H -DMODULE -Wall -Wmissing-prototypes -O2 -o rlimits..o rlimits.c rlimits.c: In function 'bin_unlimit': rlimits.c:674: error: unrecognizable insn: /usr/local/bin/gcc -v Using built-in specs. Target: i686-pc-cygwin Configured with: ../configure

[Bug c++/31596] New: Internal compiler error (Segmentation fault)

2007-04-17 Thread wolfgang dot roehrl at gi-de dot com
Dear all, I would like to post a bug report for the GNU C/C++ compiler 3.3-e500. We use the compiler to generate code for a PowerPC processor. Used invokation line for the GNU C++ compiler: ccppc -c -x c++ -ansi -Wall -Werror -mcpu=8540 -fverbose-asm -mbig -fmerge-templates -mmultiple

[Bug c++/31597] New: Unrecognized ambiguity in function overloading

2007-04-17 Thread wolfgang dot roehrl at gi-de dot com
Dear all, I would like to post a bug report for the GNU C/C++ compiler 3.3-e500. We use the compiler to generate code for a PowerPC processor. Used invokation line for the GNU C++ compiler: ccppc -c -x c++ -ansi -Wall -Werror -mcpu=8540 -fverbose-asm -mbig -fmerge-templates -mmultiple

[Bug c++/31598] New: g++ does not accept some OpenMP code

2007-04-17 Thread theodore dot papadopoulo at sophia dot inria dot fr
This is with gcc version 4.3.0 20070416 (experimental). The attached program when compiled with g++ and the flags -fopenmp gives the following diagnostic and aborts compilation: - /usr/local/gcc-4.3/bin/g++ -fopenmp BugOMP.C BugOMP.C: In constructor ‘RM::R()’: BugOMP.C:18: error: invalid use of

[Bug c++/31598] g++ does not accept some OpenMP code

2007-04-17 Thread theodore dot papadopoulo at sophia dot inria dot fr
--- Comment #1 from theodore dot papadopoulo at sophia dot inria dot fr 2007-04-17 09:21 --- Created an attachment (id=13378) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13378action=view) The source code showing the potential bug --

[Bug rtl-optimization/19580] [4.0/4.1/4.2/4.3 Regression] missed load/store motion

2007-04-17 Thread rguenth at gcc dot gnu dot org
--- Comment #31 from rguenth at gcc dot gnu dot org 2007-04-17 09:22 --- It's broken as we want the code from comment #1 back. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/27059] %T output specifier doesn't work right for floating point registers

2007-04-17 Thread amylaar at gcc dot gnu dot org
--- Comment #4 from amylaar at gcc dot gnu dot org 2007-04-17 09:48 --- Since I am no longer an SH port maintainer this is no longer of immediate interest to me. -- amylaar at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/29669] Support for compressed modules

2007-04-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-04-17 10:37 --- Closing this bug as WONTFIX, as I was convinced by other maintainers that it's not really a problem. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/31536] sparc64 build fails with `unknown endianness' error.

2007-04-17 Thread pluto at agmk dot net
--- Comment #6 from pluto at agmk dot net 2007-04-17 12:05 --- (In reply to comment #5) Can you unset CFLAGS and try again? without cflags and with cflags=-O0 - still the same error. I bet 4.1.2 is being miss compiled at least looking at the logs. what's wrong in logs? i see only

[Bug fortran/31594] gfortran failed to compiled a 'valid' code

2007-04-17 Thread tobi at gcc dot gnu dot org
--- Comment #4 from tobi at gcc dot gnu dot org 2007-04-17 12:14 --- (In reply to comment #3) To the reporter: Even though this is already (correctly) closed as INVALID, please let us know if your code does compile and run correctly if you compile with the suggested extra command

[Bug ada/31576] [4.3 regression] Ada bootstrap error

2007-04-17 Thread charlet at adacore dot com
--- Comment #2 from charlet at adacore dot com 2007-04-17 13:06 --- Subject: Re: [regression] Ada bootstrap error You need to add the following in system-xxx.ads: pragma Warnings (Off, Default_Bit_Order); -- kill constant condition warning as done in other system-* files, after

[Bug c/31599] New: Online gcc doc page is blank - no Attribute-Syntax.html

2007-04-17 Thread gordon at nomagicasia dot com
Page here omits doc which is in the pdf manual - http://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html -- Summary: Online gcc doc page is blank - no Attribute-Syntax.html Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/31602] New: Overflow warning causes GDB -Werror build failure

2007-04-17 Thread drow at gcc dot gnu dot org
GCC HEAD now warns about this testcase for mips-linux, reduced from gdb/value.c. Compile with -O2 -Wall: extern int foo(); int show_values (void) { int i; static int num; if (num = 0) num = 1; for (i = num; i num + 10; i++) foo(); return i; } overflow.c:10: warning:

[Bug tree-optimization/31602] Overflow warning causes GDB -Werror build failure

2007-04-17 Thread drow at false dot org
--- Comment #1 from drow at gcc dot gnu dot org 2007-04-17 13:26 --- Subject: Re: New: Overflow warning causes GDB -Werror build failure On Tue, Apr 17, 2007 at 12:21:36PM -, drow at gcc dot gnu dot org wrote: GCC HEAD now warns about this testcase for mips-linux,

[Bug fortran/31600] New: Better error message for redeclation of USEd symbols

2007-04-17 Thread burnus at gcc dot gnu dot org
The following program is invalid: -- module a implicit none contains integer function bar() bar = 42 end function end module a use a implicit none integer :: bar end -- gfortran -pedantic or gfortran -std=f95 gives the error: Error: Symbol 'bar' at (1)

[Bug fortran/31601] New: RFC: legacy-only allowed: State that code is allowed with -std=legacy ?

2007-04-17 Thread burnus at gcc dot gnu dot org
Currently, it is far from obvious that rejected code might be compilable with -std=legacy/-fno-range-check or similar (is there anything else?). I think one could add a note to the error message: Examples: Integer too big for its kind at %C - Integer too big for its kind at %C. Use

[Bug fortran/31594] gfortran failed to compiled a 'valid' code

2007-04-17 Thread deji_aking at yahoo dot ca
--- Comment #5 from deji_aking at yahoo dot ca 2007-04-17 13:21 --- Yes adding compiling with -ffixed-line-length-80 solved the issue for me, thanks to you both. I've noticed the original author of that code used tabs in a couple of space he should have used spaces, the other compilers

[Bug fortran/31587] Module files shouldn't be updated if their content doesn't change

2007-04-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #10 from fxcoudert at gcc dot gnu dot org 2007-04-17 13:33 --- (In reply to comment #8) The patch looks good, though it would probably be a better idea to use tmpnam() to get the name for the temporary file. Why not. But I like the idea that it is predictable :) A

[Bug fortran/31587] Module files shouldn't be updated if their content doesn't change

2007-04-17 Thread tobi at gcc dot gnu dot org
--- Comment #9 from tobi at gcc dot gnu dot org 2007-04-17 13:22 --- Oh, one more issue: do you have an idea how to write testcases for this? I'm a bit at a loss, though I've only thought about this for a few minutes. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31587

[Bug fortran/31587] Module files shouldn't be updated if their content doesn't change

2007-04-17 Thread tobi at gcc dot gnu dot org
--- Comment #11 from tobi at gcc dot gnu dot org 2007-04-17 13:41 --- (In reply to comment #10) (In reply to comment #8) The patch looks good, though it would probably be a better idea to use tmpnam() to get the name for the temporary file. Why not. But I like the idea that

[Bug middle-end/26640] gcc 4.1.0 fails to bootstrap build on SuSE 10 using gcc 4.0.3

2007-04-17 Thread chtitux at gmail dot com
--- Comment #5 from chtitux at gmail dot com 2007-04-17 13:46 --- I have the same problem on Gentoo : http://fr.pastebin.ca/51 I try to compile gcc-4.1.1 with gcc-4.1.1 on AMD Athlon(tm) XP 2600+ : Please Reopen the bug. CFLAGS=-march=athlon-xp -O2 -pipe CXXFLAGS=-march=athlon-xp

[Bug middle-end/31603] New: gcc 4.1.1-r3 failed to rebuild himself without test useflag on gentoo 2.6.19-gentoo-r5

2007-04-17 Thread gambaly at gmail dot com
+++ This bug was initially created as a clone of Bug #26640 +++ Note that this is a repeatable bug (three times in succession, the last time with a full delete and re-installation of the source). The following configure switches were used. ../configure --prefix=/home/gcc410

[Bug fortran/31587] Module files shouldn't be updated if their content doesn't change

2007-04-17 Thread tobi at gcc dot gnu dot org
--- Comment #8 from tobi at gcc dot gnu dot org 2007-04-17 13:20 --- The patch looks good, though it would probably be a better idea to use tmpnam() to get the name for the temporary file. A further thing one could do: instead of threatening If you edit this, you'll get what you

[Bug fortran/31600] Better error message for redeclation of USEd symbols

2007-04-17 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-17 13:14 --- If one tries to change the attribute of an USE-associated symbol the error is better: external omp_get_num_threads, omp_get_thread_num 1 Error: Cannot change attributes of USE-associated

[Bug libfortran/31604] New: Segfault at runtime on I/O to preconnected unit with OpenMP

2007-04-17 Thread fxcoudert at gcc dot gnu dot org
$ cat hello.f90 integer :: tid !$omp parallel private(tid) tid = 0 if (tid .eq. 0) write(*,*) 'hello' !$omp end parallel end $ gfortran -fopenmp hello.f90 -g -static $ ./a.out zsh: segmentation fault ./a.out It appears to be due to the combination of (i) spawning a thread

[Bug tree-optimization/31605] New: VRP eliminates a useful test due to overflow

2007-04-17 Thread drow at gcc dot gnu dot org
Most floating point tests fail when GDB is built with GCC trunk for mips-linux. I assume it shows up on all targets. The miscompiled function is doublest.c:put_field. Here is a reduced test case: int put_field (unsigned int start, unsigned int len) { int cur_bitshift = ((start + len) % 8) -

[Bug fortran/31601] RFC: legacy-only allowed: State that code is allowed with -std=legacy ?

2007-04-17 Thread tobi at gcc dot gnu dot org
-- tobi at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement Status|UNCONFIRMED |NEW

[Bug web/31599] Online gcc doc page is blank - no Attribute-Syntax.html

2007-04-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-17 15:03 --- The page is not blank for me: 5.26 Attribute Syntax This section describes the syntax with which __attribute__ may be used, and the constructs to which attribute specifiers bind, for the C language. Some details

[Bug libfortran/31604] Segfault at runtime on I/O with OpenMP and static linking

2007-04-17 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-04-17 15:59 --- You check where the segfault is happening. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31604

[Bug c/31595] internal compiler error

2007-04-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-17 16:03 --- 4.1.2 != 4.2.0, Anyways this was fixed in 4.2.0 and is a dup of bug 29826. *** This bug has been marked as a duplicate of 29826 *** -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/31606] ICE in try_instantiate_multiple_fields, at tree-sra.c:1601

2007-04-17 Thread 3dw4rd at verizon dot net
--- Comment #1 from 3dw4rd at verizon dot net 2007-04-17 16:17 --- Created an attachment (id=13380) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13380action=view) Preprocessed output from the source causing the ICE. The initial bug creation doesn't seem to allow attachments. :)

[Bug c++/31596] Internal compiler error (Segmentation fault)

2007-04-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-17 16:06 --- First 3.3 is getting old and no longer being supported. Second this is a modified version of 3.3 so we don't support it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31596

[Bug libfortran/31604] Segfault at runtime on I/O with OpenMP and static linking

2007-04-17 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-04-17 16:23 --- So pthreads is not linking in correctly. This was a known issue I thought and maybe in a way a non issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31604

[Bug fortran/31607] New: CALL SYSTEM produces garbled output when writing to a buffered file

2007-04-17 Thread michael dot a dot richmond at nasa dot gov
When I compile and run the following program: Hello world precedes the directory listing if standard output goes to the console Hello world follows the directory listing if standard output is redirected to a file g95 avoids this inconsistency by flushing all buffers before executing CALL SYSTEM

[Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin

2007-04-17 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2007-04-17 16:03 --- *** Bug 31595 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29826

[Bug c++/31606] New: ICE in try_instantiate_multiple_fields, at tree-sra.c:1601

2007-04-17 Thread 3dw4rd at verizon dot net
/home/ed/bin-4.3/bin/g++ -O2 -ffast-math -funroll-loops -fPIC -c -D__HAVE_OPEN_INVENTOR__ -U__HAVE_XML__ -U__HAVE_SQLITE__ -U__HAVE_MYSQL__ -U__HAVE_PGSQL__ -U__HAVE_ORACLE__ -D__STL_EXTENSION_TR1__ -W -Wall -o obj/collision.o ./collision.cpp ./collision.cpp: In member function ‘void

[Bug libfortran/31604] Segfault at runtime on I/O with OpenMP and static linking

2007-04-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-04-17 15:56 --- (In reply to comment #2) Can you check that the pthread functions are being resolved? Also do you have a libc which crashes for static linked TLS? How do I know the answer to those two questions? I have a

[Bug ada/31576] [4.3 regression] Ada bootstrap error

2007-04-17 Thread krebbel at gcc dot gnu dot org
--- Comment #3 from krebbel at gcc dot gnu dot org 2007-04-17 16:59 --- Subject: Bug 31576 Author: krebbel Date: Tue Apr 17 16:59:24 2007 New Revision: 123915 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123915 Log: 2007-04-17 Andreas Krebbel [EMAIL PROTECTED] PR

[Bug fortran/31487] Character array initialization in derived type: bad zero padding

2007-04-17 Thread tobi at gcc dot gnu dot org
--- Comment #3 from tobi at gcc dot gnu dot org 2007-04-17 16:12 --- The strings aren't actually padded. From the assembly output: _ctl.1000: .ascii 0z1jan .space 6 .ascii 1hr .space 6 .align 5 _tdefi.996: .ascii 0z1jan

[Bug c++/31606] ICE in try_instantiate_multiple_fields, at tree-sra.c:1601

2007-04-17 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-04-17 16:19 --- The initial bug creation doesn't seem to allow attachments. :) Which is fixed in bugzilla 3.0 which we will be updating in the near future. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31606

[Bug libstdc++/31247] std::vector::iterator::value_type is accessible

2007-04-17 Thread chris at bubblescope dot net
--- Comment #5 from chris at bubblescope dot net 2007-04-17 16:48 --- I've done a bit of research into this. Looks like, as Andrew says the standard doesn't have much to say on the issue. Any method of removing this is going to make some other things a bit more messy I think, and I

[Bug libstdc++/31247] std::vector::iterator::value_type is accessible

2007-04-17 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2007-04-17 17:04 --- I also had a look lately, and probably I'm coming to your same conclusions... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31247

[Bug fortran/31608] New: wrong types in array transfer

2007-04-17 Thread rguenth at gcc dot gnu dot org
gfortran.dg/achar_4.f90 generates the following snippet of original trees: { int8 S.5; S.5 = 0; while (1) { if (S.5 (D.1394 + 0) - 1) goto L.1; { char char.6; char.6 = (*(char[0:][1:1] *) atmp.0.data)[S.5][1]{lb: 1 sz:

[Bug fortran/31608] wrong types in array transfer

2007-04-17 Thread tobi at gcc dot gnu dot org
--- Comment #1 from tobi at gcc dot gnu dot org 2007-04-17 17:27 --- Adding pault, as he's the likely culprit :) Paul, I'm wondering if the testcase is really valid Fortran: snip if (any (Up (AbCdEfGhIjKlM) .ne. (/ABCDEFGHIJKLM/))) call abort () contains Character (len=20) Function

[Bug fortran/31609] New: gfortran segfaults when compiling a module that calls a contained function with an ENTRY point

2007-04-17 Thread michael dot a dot richmond at nasa dot gov
gfortran segfaults when I compile the following module. It also segfaults if I change i = k() to i = j(). MODULE ksbin1_aux_mod CONTAINS SUBROUTINE sub i = k() END SUBROUTINE sub FUNCTION j () j = 0 ENTRY k () k = 0 END FUNCTION j END MODULE ksbin1_aux_mod

[Bug c++/29365] Unnecessary anonymous namespace warnings

2007-04-17 Thread spark at gcc dot gnu dot org
--- Comment #17 from spark at gcc dot gnu dot org 2007-04-17 17:36 --- I'm testing the following patch (which fixes the ICE). It turned out to be a latent bug in the warning code not handling pointer types correctly. Index: cp/decl2.c

[Bug fortran/31610] New: ICE with transfer, merge in gfc_conv_expr_descriptor

2007-04-17 Thread pinskia at gcc dot gnu dot org
Testcase (4.3.0 20070415): Character(len=20) string Logical, Dimension(20) :: a string = transfer(merge (transfer(achar (ichar('A')), x, len(string)), string, a), repeat(x, len(string)) ) end -- Summary: ICE with transfer, merge in gfc_conv_expr_descriptor

[Bug rtl-optimization/31360] [4.2/4.3 Regression] rtl loop invariant is broken

2007-04-17 Thread rakdver at gcc dot gnu dot org
--- Comment #15 from rakdver at gcc dot gnu dot org 2007-04-17 17:42 --- Subject: Bug 31360 Author: rakdver Date: Tue Apr 17 17:42:29 2007 New Revision: 123919 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123919 Log: PR rtl-optimization/31360 * cfgloopanal.c

[Bug c++/29365] Unnecessary anonymous namespace warnings

2007-04-17 Thread pluto at agmk dot net
--- Comment #18 from pluto at agmk dot net 2007-04-17 17:51 --- (In reply to comment #14) Fixed. will it be backported to 4.2 branch? -- pluto at agmk dot net changed: What|Removed |Added

[Bug other/31536] sparc64 build fails with `unknown endianness' error.

2007-04-17 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-04-17 15:45 --- what's wrong in logs? i see only compilation error due to bad ifdefs. Right, the other testcases are testing at runtime see the $? = 0 in the log below? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31536

[Bug libfortran/31604] Segfault at runtime on I/O with OpenMP and static linking

2007-04-17 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-04-17 15:43 --- (iii) having a statically linked binary Can you check that the pthread functions are being resolved? Also do you have a libc which crashes for static linked TLS? -- pinskia at gcc dot gnu dot org changed:

[Bug tree-optimization/14495] [tree-ssa] Propagate range info into a switch statement

2007-04-17 Thread patchapp at dberlin dot org
--- Comment #7 from patchapp at dberlin dot org 2007-04-17 14:05 --- Subject: Bug number PR14495 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-04/msg01072.html --

[Bug middle-end/26640] gcc 4.1.0 fails to bootstrap build on SuSE 10 using gcc 4.0.3

2007-04-17 Thread gambaly at gmail dot com
--- Comment #6 from gambaly at gmail dot com 2007-04-17 13:52 --- Created an attachment (id=13379) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13379action=view) gcc rebuild failed without test useflag after that i did this cd

[Bug libfortran/31604] Segfault at runtime on I/O with OpenMP and static linking

2007-04-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-04-17 16:05 --- Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 140130416 (LWP 25328)] 0x in ?? () (gdb) where #0 0x in ?? () #1 0x0804cdbb in get_external_unit (n=6, do_create=1)

  1   2   >