Re: {Spam?} Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Paolo Bonzini
You can't put new features and bug fixes in the same basket. They can even be viewed as steering the compiler in opposite directions quality-wise. If you don't want to increase the patches-per-day ratio, the only solution is to prioritize bug fixes over new features. For example we could

gcc modifications for an arm architecture

2006-06-15 Thread Leontie Eugen
I need to make the following change to gcc: - Once every 7 assembler instructions , I need to generate a nop. ( for each cache block insert a nop ).My whole code (statically linked) needs to have this so I also need to insert the noops for the entire libc. Inserting the nops in the asm code does

Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Manuel López-Ibáñez
On 15/06/06, Mike Stump [EMAIL PROTECTED] wrote: For example, would be nice to have a batch tester that would bootstrap and regression test on 2-5 platforms for all patch submitters post approval but pre-checkin. If any regressions, dump all patches and move on to the next set, repeat as fast

Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Manuel López-Ibáñez
On 14/06/06, Eric Botcazou [EMAIL PROTECTED] wrote: For example we could introduce secondary maintainers with approval rights for bug fixes only or something along these lines. Or the secondary maintainers could review patches and reject them but not approve them for commit. They may add

Re: Some C++0x experiments

2006-06-15 Thread Manuel López-Ibáñez
(We should really update contribute.html to explicitly said what must be done) Hi Pedro, as far as I know, you just need to email [EMAIL PROTECTED] and request a personal copyright assignment for GCC. You'll need to include your physical mailing address so they can send some forms to you. They

Code Flow for RTL generation

2006-06-15 Thread kernel coder
hi, I'm trying to figure out the code flow of gcc.But i'm not been able to locate the location at which an expression is compared with pattern given in .md file. I think .md file is resposible fo generation of emit-insn.c file.But again at which point the functions in emit-insn.c

Re: Code Flow for RTL generation

2006-06-15 Thread Andrew Haley
kernel coder writes: hi, I'm trying to figure out the code flow of gcc.But i'm not been able to locate the location at which an expression is compared with pattern given in .md file. I think .md file is resposible fo generation of emit-insn.c file.But again at which

Re: Code Flow for RTL generation

2006-06-15 Thread kernel coder
is there any way in gdb to step backward. On 6/15/06, Andrew Haley [EMAIL PROTECTED] wrote: kernel coder writes: hi, I'm trying to figure out the code flow of gcc.But i'm not been able to locate the location at which an expression is compared with pattern given in .md file.

Re: Code Flow for RTL generation

2006-06-15 Thread Sebastian Pop
kernel coder wrote: is there any way in gdb to step backward. not yet, and if this feature is implemented it should be quite restricted, think about undoing side effects, as disk read/write... But you can put a breakpoint before the current point, and then run again gdb on your program.

Re: sh-elf build failure on mainline]

2006-06-15 Thread Joern RENNECKE
David Ayers wrote: (I assume you didn't configure with --enable-objc-gc or java.) No, I didn't. I've used a unified tree, created like this: mv trunk gcc mkdir srcw-l cd srcw-l ln -s ../gcc/* . rm libgfortran ln -s ../src/* . rm include mkdir include cd include ln -s

Re: Code Flow for RTL generation

2006-06-15 Thread Robert Dewar
Sebastian Pop wrote: kernel coder wrote: is there any way in gdb to step backward. not yet, and if this feature is implemented it should be quite restricted, think about undoing side effects, as disk read/write... But you can put a breakpoint before the current point, and then run again gdb

Re: Code Flow for RTL generation

2006-06-15 Thread Daniel Jacobowitz
On Thu, Jun 15, 2006 at 10:05:10AM -0400, Robert Dewar wrote: You don't need to undo side effects for debugging purposes, you just need to be able to recreate previous states from the point of view of the application. So for I/O operations, you need to restore memory to the state before the

Re: Code Flow for RTL generation

2006-06-15 Thread Robert Dewar
Daniel Jacobowitz wrote: The point of going backwards (a feature quite familiar to me from the use of hardware debuggers on PC's in bygone years) is to figure out what went wrong, and for that purpose you only need to worry about the machine/memory state. Not when you're debugging userspace

Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Andrew Pinski
On Jun 15, 2006, at 2:34 AM, Manuel López-Ibáñez wrote: I am new to the project so please don't take me too seriously if I am saying some dumb thing: why review a patch that doesn't pass bootstrap and check? This is not usually an issue. Yes most people will only test one target but that is

Re: Code Flow for RTL generation

2006-06-15 Thread Daniel Jacobowitz
On Thu, Jun 15, 2006 at 10:31:55AM -0400, Robert Dewar wrote: Daniel Jacobowitz wrote: The point of going backwards (a feature quite familiar to me from the use of hardware debuggers on PC's in bygone years) is to figure out what went wrong, and for that purpose you only need to worry about

Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Manuel López-Ibáñez
On 15/06/06, Andrew Pinski [EMAIL PROTECTED] wrote: On Jun 15, 2006, at 2:34 AM, Manuel López-Ibáñez wrote: I am new to the project so please don't take me too seriously if I am saying some dumb thing: why review a patch that doesn't pass bootstrap and check? This is not usually an issue.

Re: Code Flow for RTL generation

2006-06-15 Thread Sebastian Pop
Daniel Jacobowitz wrote: It doesn't have an actual reverse debugging implementation yet - but it's been proposed. Here it is, but I don't know the exact current status of the proposal: http://sourceware.org/ml/gdb/2006-01/msg00013.html

Deprecating -f options?

2006-06-15 Thread Andrew MacLeod
Is there a standard process we use to eliminate -f options? or is it more on a per options basis. Im reworking out-of-ssa for 4.3 and there are a couple of options that were initially added which I prefer to no longer support. -ftree-combine-temps attempts to coalesce non-related ssa_names into

Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Diego Novillo
Manuel López-Ibáñez wrote on 06/15/06 05:34: I mean, there is a patch queue, you put your patch or patch set in the queue, it gets bootstrapped and tested as you said on 2-5 patforms, then either it passes and a notification is send to the Actually, the patch queue only stores the patches.

Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Joe Buck
On Thu, Jun 15, 2006 at 03:57:05PM +0100, Manuel López-Ibáñez wrote: Mike Stump proposed a batch tester that would bootstrap and regression test on 2-5 platforms for all patch submitters post approval but pre-checkin. My point is that a batch tester post-approval is just wasting reviewers

Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Joe Buck
On Thu, Jun 15, 2006 at 01:03:17PM -0400, Diego Novillo wrote: Manuel López-Ibáñez wrote on 06/15/06 05:34: I mean, there is a patch queue, you put your patch or patch set in the queue, it gets bootstrapped and tested as you said on 2-5 patforms, then either it passes and a notification

Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Richard Guenther
On 6/15/06, Joe Buck [EMAIL PROTECTED] wrote: On Thu, Jun 15, 2006 at 01:03:17PM -0400, Diego Novillo wrote: Manuel López-Ibáñez wrote on 06/15/06 05:34: I mean, there is a patch queue, you put your patch or patch set in the queue, it gets bootstrapped and tested as you said on 2-5

RE: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Dave Korn
On 15 June 2006 18:09, Joe Buck wrote: On Thu, Jun 15, 2006 at 01:03:17PM -0400, Diego Novillo wrote: Manuel López-Ibáñez wrote on 06/15/06 05:34: I mean, there is a patch queue, you put your patch or patch set in the queue, it gets bootstrapped and tested as you said on 2-5 patforms, then

Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Joe Buck
On 6/15/06, Joe Buck [EMAIL PROTECTED] wrote: Right, but Manuel was commenting on Mike Stump's proposal, wondering why Mike proposed to run the bootstrap tests *after* reviewer approval instead of before. On Thu, Jun 15, 2006 at 07:12:38PM +0200, Richard Guenther wrote: It might be a

Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Daniel Berlin
Diego Novillo wrote: Manuel López-Ibáñez wrote on 06/15/06 05:34: I mean, there is a patch queue, you put your patch or patch set in the queue, it gets bootstrapped and tested as you said on 2-5 patforms, then either it passes and a notification is send to the Actually, the patch queue

Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Zdenek Dvorak
Hello, Diego Novillo wrote: Manuel López-Ibá?ez wrote on 06/15/06 05:34: I mean, there is a patch queue, you put your patch or patch set in the queue, it gets bootstrapped and tested as you said on 2-5 patforms, then either it passes and a notification is send to the Actually, the

Re: Deprecating -f options?

2006-06-15 Thread Joern RENNECKE
In http://gcc.gnu.org/ml/gcc/2006-06/msg00549.html, you wrote: -ftree-live-range-split splits live ranges on exit from ssa. This is on by default, and in fact it is more work to NOT split unrelated live ranges, and creates extra register pressure. I've found that in 4.1, -fno-web is often

Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Joe Buck
I know, for example, SuSE has such a build farm that is accessible by email (IE you email patches to it). If they were willing to let the patchapp submit emails (or xmlrpc or whatever), and there was a way for it to notify the patchapp about the results (xmlrpc or http post would be

Re: Deprecating -f options?

2006-06-15 Thread Steven Bosscher
On 6/15/06, Joern RENNECKE [EMAIL PROTECTED] wrote: In http://gcc.gnu.org/ml/gcc/2006-06/msg00549.html, you wrote: -ftree-live-range-split splits live ranges on exit from ssa. This is on by default, and in fact it is more work to NOT split unrelated live ranges, and creates extra register

Re: gcc modifications for an arm architecture

2006-06-15 Thread Joern RENNECKE
In http://gcc.gnu.org/ml/gcc/2006-06/msg00533.html, you wrote: Inserting the nops in the asm code does not work, because will cause some offets to go out of range. It should when you adjust the ranges used by gcc to anticipate the insertion of nops by the assembler.

Re: Deprecating -f options?

2006-06-15 Thread Andrew MacLeod
On Thu, 2006-06-15 at 19:06 +0100, Joern RENNECKE wrote: In http://gcc.gnu.org/ml/gcc/2006-06/msg00549.html, you wrote: -ftree-live-range-split splits live ranges on exit from ssa. This is on by default, and in fact it is more work to NOT split unrelated live ranges, and creates extra

Re: Deprecating -f options?

2006-06-15 Thread Joern RENNECKE
Steven Bosscher wrote: Well, is that something you have to blame live range splitting for, or is perhaps flow just too stupid to see through the split live ranges? See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20211

Re: Deprecating -f options?

2006-06-15 Thread Mike Stump
On Jun 15, 2006, at 9:36 AM, Andrew MacLeod wrote: Is there a standard process we use to eliminate -f options? or is it more on a per options basis. I think we should take into consideration the option. For corner case options that aren't used very often, removing them outright be well be

A new branch boehms-gc created

2006-06-15 Thread Laurynas Biveinis
Hi, FYI I've created a branch boehms-gc for my work. I'm about to commit wwwdocs patch describing it - boehms-gc The goal of this branch is to test Boehm's GC feasibility as the garbage collector for GCC proper. This is a part of Google Summer of Code project, described in detail at

Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Mike Stump
On Jun 15, 2006, at 2:34 AM, Manuel López-Ibáñez wrote: Maintainers said that they are overwhelmed by the amount of work required to review. Post-approval testing seems just a waste of time to me. It is, well, unless you want mainline to build and pass a regression suite. No amount of

Re: Deprecating -f options?

2006-06-15 Thread Kenneth Zadeck
Steven Bosscher wrote: On 6/15/06, Joern RENNECKE [EMAIL PROTECTED] wrote: In http://gcc.gnu.org/ml/gcc/2006-06/msg00549.html, you wrote: -ftree-live-range-split splits live ranges on exit from ssa. This is on by default, and in fact it is more work to NOT split unrelated live ranges,

Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Manuel López-Ibáñez
On 15/06/06, Joe Buck [EMAIL PROTECTED] wrote: This is understandable. In any case, it would probably best to have a human in the loop before submitting patches to autobuilders, both for security reasons and as a sanity check, to avoid wasting resources on an unacceptable patch. Machine donors

Re: Patch queue and reviewing (Was Re: Generator programs can only be built with optimization enabled?)

2006-06-15 Thread Richard Kenner
thus, the pre-review batch test was a way to avoid wasting (human) resources on an unacceptable patch. You are confusing the review process with whether the patch works. To a large extent, those two issues are very different. A reviewer will always presume the patch works and is

Top-level bootstrap question

2006-06-15 Thread Richard Kenner
I haven't had to to do this with the new mechanism for a while, but now I need to do the equivalent of the old make unstage1 and can't find any documentation on how to do that (I thought this would be discussed inside Makefile.tpl). I basically had something blow up in stage2, so I want to go

gcc-4.0-20060615 is now available

2006-06-15 Thread gccadmin
Snapshot gcc-4.0-20060615 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20060615/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.0 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

try/finally in GNU C

2006-06-15 Thread Gabriel Dos Reis
Hi, while looking into a recent mismatch between GCC-4.x and a C dialect EH implemented as setjmp/longjmp, I recalled there was a talk about extending GNU C with __try/__finally construct: http://gcc.gnu.org/ml/gcc-patches/2002-11/msg00239.html What happened to that project? Is it dead

Re: try/finally in GNU C

2006-06-15 Thread Andrew Pinski
while looking into a recent mismatch between GCC-4.x and a C dialect EH implemented as setjmp/longjmp, I recalled there was a talk about extending GNU C with __try/__finally construct: http://gcc.gnu.org/ml/gcc-patches/2002-11/msg00239.html What happened to that project? Is it dead

Re: try/finally in GNU C

2006-06-15 Thread Joe Buck
On Thu, Jun 15, 2006 at 07:21:03PM -0400, Andrew Pinski wrote: while looking into a recent mismatch between GCC-4.x and a C dialect EH implemented as setjmp/longjmp, I recalled there was a talk about extending GNU C with __try/__finally construct:

Re: try/finally in GNU C

2006-06-15 Thread Andrew Pinski
On Thu, Jun 15, 2006 at 07:21:03PM -0400, Andrew Pinski wrote: while looking into a recent mismatch between GCC-4.x and a C dialect EH implemented as setjmp/longjmp, I recalled there was a talk about extending GNU C with __try/__finally construct:

Re: try/finally in GNU C

2006-06-15 Thread Gabriel Dos Reis
Andrew Pinski [EMAIL PROTECTED] writes: |while looking into a recent mismatch between GCC-4.x and a C dialect | EH implemented as setjmp/longjmp, I recalled there was a talk about | extending GNU C with __try/__finally construct: | |

Re: try/finally in GNU C

2006-06-15 Thread Gabriel Dos Reis
On Thu, 15 Jun 2006, Andrew Pinski wrote: | | On Thu, Jun 15, 2006 at 07:21:03PM -0400, Andrew Pinski wrote: | while looking into a recent mismatch between GCC-4.x and a C dialect |EH implemented as setjmp/longjmp, I recalled there was a talk about |extending GNU C with

Re: try/finally in GNU C

2006-06-15 Thread Andrew Pinski
Andrew Pinski [EMAIL PROTECTED] writes: |while looking into a recent mismatch between GCC-4.x and a C dialect | EH implemented as setjmp/longjmp, I recalled there was a talk about | extending GNU C with __try/__finally construct: | |

Re: try/finally in GNU C

2006-06-15 Thread Gabriel Dos Reis
On Thu, 15 Jun 2006, Andrew Pinski wrote: | | Andrew Pinski [EMAIL PROTECTED] writes: | | |while looking into a recent mismatch between GCC-4.x and a C dialect | | EH implemented as setjmp/longjmp, I recalled there was a talk about | | extending GNU C with __try/__finally construct: |

Re: try/finally in GNU C

2006-06-15 Thread Mike Stump
On Jun 15, 2006, at 4:47 PM, Andrew Pinski wrote: The front-end in question has stopped working because the traditional setjmp/longjmp translation of try/catch constructs is no longer working correctly with versions of GCC higher than 4.0. How is it no longer working? I don't understand how

c99 VLA semantics

2006-06-15 Thread Mike Stump
Here are just a few more issues I was wondering about for VLAs: static int i; static int new_i() { i++; return i; } static int bar(int a[new_i()][new_i()]); void foo(int n) { /* Presently an error, but, should it be (due to bar having a VM type and bar having other than no linkage)? */

Re: libsupc++.a(eh_globals.o): In function `__gnu_internal::get_global()': undefined reference to `___tls_get_addr'

2006-06-15 Thread yang xiaoxin
I add AS_NEEDED directive in /usr/lib/libc.so and then anything is ok. Thanks to Ian and Jakub! yxx 2006/6/13, Jakub Jelinek [EMAIL PROTECTED]: On Tue, Jun 13, 2006 at 08:35:17AM -0700, Ian Lance Taylor wrote: Well, your libstdc++ was configured for a system which supports TLS (Thread Local

Re: Generator programs can only be built with optimization enabled?

2006-06-15 Thread Geoffrey Keating
David Edelsohn [EMAIL PROTECTED] writes: Daniel Jacobowitz writes: Daniel On Mon, Jun 12, 2006 at 10:22:17AM -0400, David Edelsohn wrote: Typing make in the gcc subdirectory does not do what I expect. Daniel Then could you clarify what happens, and what you expect, please? The

Re: Generator programs can only be built with optimization enabled?

2006-06-15 Thread Eric Botcazou
I actually like the existing behaviour, which I'm pretty sure hasn't changed for many years. It has, at least for make quickstrap. -- Eric Botcazou

[Bug c++/27648] [4.0/4.1 Regression] ICE on attribute on pointers in static_cast

2006-06-15 Thread mmitchel at gcc dot gnu dot org
--- Comment #7 from mmitchel at gcc dot gnu dot org 2006-06-15 06:01 --- Subject: Bug 27648 Author: mmitchel Date: Thu Jun 15 06:00:49 2006 New Revision: 114672 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114672 Log: PR c++/27648 * parser.c

[Bug c++/27648] [4.0 Regression] ICE on attribute on pointers in static_cast

2006-06-15 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|mark at codesourcery dot com|unassigned at gcc dot gnu |

[Bug c++/27640] [4.2 Regression] segfault, related to constructor instantiation and virtual base case and templates and new operator

2006-06-15 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org

[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-06-15 Thread mmitchel at gcc dot gnu dot org
--- Comment #9 from mmitchel at gcc dot gnu dot org 2006-06-15 06:25 --- Eric -- Here, valid_initializer_constant_p returns true -- but output_constant aborts, saying: /* Make sure eliminating the conversion is really a no-op, except with VIEW_CONVERT_EXPRs to

[Bug c++/9925] ostrstream (buf, size) ... does not work properly

2006-06-15 Thread kspiteri at ieee dot org
--- Comment #25 from kspiteri at ieee dot org 2006-06-15 06:25 --- In reply to comment #24: No it should not be. a() is a temporary so it cannot be bound to a. At least it should not be. Then this is not a bug. The C++ standard in 27.6.2.1 defines * basic_ostreamcharT,traits

[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-06-15 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-06-15 06:32 --- The error orginally came from: 2005-09-01 DJ Delorie [EMAIL PROTECTED] * varasm.c (output_constant): Let the target resolve conversions of addresses to non-default pointer sizes. And then there

[Bug other/27063] Fail to build gcc-core-4.2 snapshots

2006-06-15 Thread bonzini at gnu dot org
--- Comment #3 from bonzini at gnu dot org 2006-06-15 06:33 --- I agree it is a packaging issue, but we can work around it and it can be useful for other front ends as well. Taking the bug. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug fortran/27998] character arrays: warn if erray constructor values have different lengths

2006-06-15 Thread paul dot richard dot thomas at cea dot fr
--- Comment #1 from paul dot richard dot thomas at cea dot fr 2006-06-15 06:33 --- (In reply to comment #0) According to section 4.5 of the Fortran95 standard: If the ac-value expressions are of type character, each ac-value expression in the array-constructor shall have the same

[Bug other/27063] Fail to build gcc-core-4.2 snapshots

2006-06-15 Thread bonzini at gnu dot org
--- Comment #4 from bonzini at gnu dot org 2006-06-15 06:35 --- Also, fixing this PR would allow us to ship Objective-C++ in the objc tarball. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27063

[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-06-15 Thread ebotcazou at gcc dot gnu dot org
--- Comment #11 from ebotcazou at gcc dot gnu dot org 2006-06-15 06:39 --- I don't understand the assertion, given that removing it seems to generate correct output for this test case. Since you edited this code not to long ago, do you have thoughts? Not really. I've only

[Bug c++/28015] Nonspecific error messages

2006-06-15 Thread falk at debian dot org
-- falk at debian dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28015

[Bug bootstrap/26188] [4.2 Regression] 4.2.0 fails to compile on FreeBSD 4.11

2006-06-15 Thread bonzini at gnu dot org
--- Comment #12 from bonzini at gnu dot org 2006-06-15 07:21 --- Created an attachment (id=11670) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11670action=view) updated configure script for libdecnumber Gerald, here it is. Again, don't forget to disable fortran. --

[Bug c/28038] New: Double to char conversion fails at 32769.0

2006-06-15 Thread barryb at cwipapps dot net
The program #include stdio.h main() { double d; int i; printf(Starting at 32758\n); for (d=32758.0, i=0; i20; i++) { printf(d is %f, as integer is 0x%0.8x, and (ushort)d is 0x%0.4x while (unsigned char)d is 0x%0.2x\n,

[Bug c/28038] Double to char conversion fails at 32769.0

2006-06-15 Thread falk at debian dot org
--- Comment #1 from falk at debian dot org 2006-06-15 10:16 --- If the value of the integral part cannot be represented by the integer type, the behavior is undefined. So this is not a bug. -- falk at debian dot org changed: What|Removed |Added

[Bug fortran/28039] New: Warn when ignoring extra characters in the format specification

2006-06-15 Thread tobias dot burnus at physik dot fu-berlin dot de
Assume the following case: One had somewhere '(3(a,),f)', now one copies this and realizes that one does not need the 3(..) anymore. Result: '(a,),f)' Ups, the ,f) is ignored. Currently, gfortran does not warn in such a case. Expected: gfortran warns at compile time Ifort (9.1) even

[Bug target/28040] New: [m68k]wrong move const extends output at coldfire v4

2006-06-15 Thread tyokota at k2 dot dion dot ne dot jp
Hi I think gcc-4.1.1 generates wrong outputs on coldfire v4 at this code. - struct ab { int a; unsigned int b; }; int main () { struct ab _ab; short a = 0; unsigned short b = 0; _ab.a = -999; _ab.b = 1000; a = _ab.a; b = _ab.b; printf(%d\n, a );

[Bug rtl-optimization/26244] [4.2 Regression] FAIL: gcc.c-torture/execute/builtin-bitops-1.c execution, -O3 -fomit-frame-pointer -funroll-loops

2006-06-15 Thread rakdver at gcc dot gnu dot org
--- Comment #10 from rakdver at gcc dot gnu dot org 2006-06-15 11:17 --- Hello, http://gcc.gnu.org/ml/gcc-testresults/2006-06/msg00241.html suggests we still have the bug. Can someone confirm this still passes with -fno-move-loop-invariants? Confirmed. could you please

[Bug libffi/28036] libffi executable stack (missing .note.GNU-stack on .o files)

2006-06-15 Thread aph at gcc dot gnu dot org
--- Comment #2 from aph at gcc dot gnu dot org 2006-06-15 11:23 --- gcj creates all its trampolines on the heap, so exec stack shouldn't be needed. -- aph at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/27331] [4.2 Regression] segfault in fold_convert with -ftree-vectorize

2006-06-15 Thread rakdver at gcc dot gnu dot org
--- Comment #8 from rakdver at gcc dot gnu dot org 2006-06-15 11:31 --- Ccing people responsible for data dependence analysis. I have hacked this over on predcom branch, but I would prefer if someone who understands the code could fix it properly. -- rakdver at gcc dot gnu dot org

[Bug fortran/27998] character arrays: warn if erray constructor values have different lengths

2006-06-15 Thread tobias dot burnus at physik dot fu-berlin dot de
--- Comment #2 from tobias dot burnus at physik dot fu-berlin dot de 2006-06-15 12:26 --- .so, an error is definitely in order. Maybe one could spit out a default warning and only with -std=f90 an error as this is might be a commonly used Fortran extension. Or one simply always

[Bug java/28024] libjava build failure on Solaris 2.8 (sun4u)

2006-06-15 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2006-06-15 12:34 --- I fixed this problem. But, as I don't have a Solaris box, I can't test whether this means that the build works. This report was actually invalid, we don't support /bin/sh on Solaris. -- ebotcazou at gcc

[Bug java/28024] libjava build failure on Solaris 2.8 (sun4u)

2006-06-15 Thread ebotcazou at gcc dot gnu dot org
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2006-06-15 12:36 --- See http://gcc.gnu.org/install/specific.html#x-x-solaris2 -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28041] New: [gomp] ICE in g++.dg/gomp/atomic-[4,5,9].C

2006-06-15 Thread uros at kss-loka dot si
The compilation crashes in /* Gimplify an OMP_ATOMIC statement. */ static enum gimplify_status gimplify_omp_atomic (tree *expr_p, tree *pre_p) { tree addr = TREE_OPERAND (*expr_p, 0); tree rhs = TREE_OPERAND (*expr_p, 1); tree type = TYPE_MAIN_VARIANT (TREE_TYPE

[Bug tree-optimization/27331] [4.2 Regression] segfault in fold_convert with -ftree-vectorize

2006-06-15 Thread sebastian dot pop at cri dot ensmp dot fr
--- Comment #9 from sebastian dot pop at cri dot ensmp dot fr 2006-06-15 13:19 --- Subject: Re: [4.2 Regression] segfault in fold_convert with -ftree-vectorize rakdver at gcc dot gnu dot org wrote: Ccing people responsible for data dependence analysis. Thanks, for the ping, this

[Bug middle-end/27793] [4.1 Regression] num_ssa_names inconsistent or immediate use iterator wrong

2006-06-15 Thread amacleod at gcc dot gnu dot org
--- Comment #21 from amacleod at redhat dot com 2006-06-15 13:30 --- Subject: Bug 27793 Author: amacleod Date: Thu Jun 15 13:30:17 2006 New Revision: 114678 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114678 Log: 2006-06-15 Andrew MacLeod [EMAIL PROTECTED] PR

[Bug c/28042] New: optimizer (-O2) changes the semantics of my programs

2006-06-15 Thread helbig at lehre dot ba-stuttgart dot de
See lower part of my article at http://www.ba-stuttgart.de/~helbig/st80/bsearch.txt -- Summary: optimizer (-O2) changes the semantics of my programs Product: gcc Version: 2.95.1 Status: UNCONFIRMED Severity: blocker Priority: P3

[Bug middle-end/28042] optimizer (-O2) changes the semantics of my programs

2006-06-15 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-15 14:15 --- The tesstcase works in 4.2.0 20060608 but fails with Apple's gcc version 4.0.1 (Apple Computer, Inc. build 5341). I bet I have seen this bug before. -- pinskia at gcc dot gnu dot org changed: What

[Bug tree-optimization/27341] [4.2 Regression] ICE in in add_virtual_operand with complex types

2006-06-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #9 from fxcoudert at gcc dot gnu dot org 2006-06-15 14:21 --- Daniel, this bug was exposed by your 2006-02-20 patch. It's been blocking testing/submission of one of my libgfortran patches for more than two months now. It's in an area of the compiler I don't have any

[Bug tree-optimization/27341] [4.2 Regression] ICE in in add_virtual_operand with complex types

2006-06-15 Thread dberlin at gcc dot gnu dot org
--- Comment #10 from dberlin at gcc dot gnu dot org 2006-06-15 14:35 --- Uh, nobody told me it was exposed by my patch, and it's certainly not in the bug history, or else i would be working on the bug. In fact, as comment 8 shows, even if you disable the code i added in 2006-02-20, an

[Bug tree-optimization/27331] [4.2 Regression] segfault in fold_convert with -ftree-vectorize

2006-06-15 Thread sebastian dot pop at cri dot ensmp dot fr
--- Comment #10 from sebastian dot pop at cri dot ensmp dot fr 2006-06-15 14:52 --- Subject: Re: [4.2 Regression] segfault in fold_convert with -ftree-vectorize You said that you had a fix in predcom, is that fix in your local tree, or have you sent a patch to gcc-patches? Here is a

[Bug tree-optimization/27341] [4.2 Regression] ICE in in add_virtual_operand with complex types

2006-06-15 Thread dberlin at gcc dot gnu dot org
--- Comment #11 from dberlin at gcc dot gnu dot org 2006-06-15 15:04 --- This should fix it It looks like gimplify_val never calls mark_new_vars_to_rename, but may create new statements that nothing else gets a handle to. Index: tree-cfg.c

[Bug tree-optimization/27341] [4.2 Regression] ICE in in add_virtual_operand with complex types

2006-06-15 Thread dberlin at dberlin dot org
--- Comment #12 from dberlin at gcc dot gnu dot org 2006-06-15 15:18 --- Subject: Bug 27341 Patch I am testing for all the testcases here. It turns out to be a problem not actually in the 02-20-06 patch. Index: gcc/tree-complex.c

[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-06-15 Thread dj at redhat dot com
--- Comment #12 from dj at redhat dot com 2006-06-15 15:19 --- Subject: Re: [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer I don't understand the assertion, given that removing it seems to generate correct output for this test case.

[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-06-15 Thread mark at codesourcery dot com
--- Comment #13 from mark at codesourcery dot com 2006-06-15 15:27 --- Subject: Re: [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer dj at redhat dot com wrote: --- Comment #12 from dj at redhat dot com 2006-06-15 15:19 ---

[Bug middle-end/27781] [4.1/4.2 Regression] weak-attribute over-optimisation

2006-06-15 Thread patchapp at dberlin dot org
--- Comment #5 from patchapp at dberlin dot org 2006-06-15 15:30 --- Subject: Bug number PR27781 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/2006-06/msg00808.html --

[Bug c/28038] Double to char conversion fails at 32769.0

2006-06-15 Thread barryb at cwipapps dot net
--- Comment #2 from barryb at cwipapps dot net 2006-06-15 15:54 --- The integers in the example ARE all within the range of unsigned short. Therefore Falk's comments may be true, but are not relevant. Note also that the same code works as expected on sparc. We think that the problem

[Bug c/28038] Double to char conversion fails at 32769.0

2006-06-15 Thread schwab at suse dot de
--- Comment #3 from schwab at suse dot de 2006-06-15 16:04 --- It is still undefined to convert a float to an integer that is too narrow. The range of short is irrelevant when converting to char. Since the behaviour is undefined there is no requirement on the resulting value. If you

[Bug c++/27227] [4.0 Regression] rejects valid code with some extern C

2006-06-15 Thread sje at cup dot hp dot com
--- Comment #6 from sje at cup dot hp dot com 2006-06-15 16:14 --- Could I get clarification if the following error is a desired effect of this change. Prior to this, the included program gave no error. I believe the change was caused by this patch. This is causing a problem with the

[Bug c++/27227] [4.0 Regression] rejects valid code with some extern C

2006-06-15 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-06-15 16:19 --- (In reply to comment #6) e.c:1: error: previous declaration of 'int i' with 'C++' linkage e.c:4: error: conflicts with new declaration with 'C' linkage extern int i; extern C { extern int i; } Not

[Bug middle-end/27528] compiling linux kernels 2.6.16.14/15 2.6.17-rc3 on powerpc (7450) get error on long exixting code

2006-06-15 Thread hp at gcc dot gnu dot org
--- Comment #12 from hp at gcc dot gnu dot org 2006-06-15 16:50 --- In reply to comment #11, i *is* an appropriate constraint, if any. I see the problem with the reduced test-case in comment #3, so I'm going to limit the scope of my involvement to fixing that. Hopefully we can leave

[Bug c/28038] Double to char conversion fails at 32769.0

2006-06-15 Thread barryb at cwipapps dot net
--- Comment #4 from barryb at cwipapps dot net 2006-06-15 17:15 --- Sorry, you are right; you have to cast it twice. I'd moved on to d is 32765.00, as integer is 0x7ffd, and (ushort)d is 0x7ffd while (uchar)(ushort)d is 0xfd d is 32766.00, as integer is 0x7ffe, and

[Bug middle-end/27781] [4.1/4.2 Regression] weak-attribute over-optimisation

2006-06-15 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2006-06-15 17:23 --- Subject: Bug 27781 Author: rguenth Date: Thu Jun 15 17:23:41 2006 New Revision: 114681 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114681 Log: 2006-06-16 Richard Guenther [EMAIL PROTECTED] PR

[Bug middle-end/27781] [4.1 Regression] weak-attribute over-optimisation

2006-06-15 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2006-06-15 17:30 --- Fixed on the mainline. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/16206] rejects valid array initialization expression

2006-06-15 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2006-06-15 17:39 --- Created an attachment (id=11675) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11675action=view) A near submission level patch for the PR I have not marked the previous version as obsolete because it could well

[Bug c++/28044] New: Non-template class function return type taken as template when declared in a function template's return type

2006-06-15 Thread widman at gimpel dot com
See below; G++ appears to correctly handle the use of 'struct B' to declare the function template g(), but if there is no prior declaration of the class (as in the declaration of f()), the class is erroneously taken as a class template. extern C int printf( const char*, ... ); struct B{ int n;

build problem...

2006-06-15 Thread Andrew MacLeod
I assume I'm not the only one seeing this build failure: make[5]: Entering directory `/build/gcc/2006-06-15/i686-pc-linux-gnu/libjava/classpath/tools' /bin/sh ../libtool --mode=link /build/gcc/2006-06-15/./gcc/xgcc -B/build/gcc/2006-06-15/./gcc/ -B/install/gcc/i686-pc-linux-gnu/bin/

[Bug c++/28044] Non-template class function return type taken as template when declared in a function template's return type

2006-06-15 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-15 18:31 --- This works correctly in 4.2.0. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

  1   2   >