Re: copyright assignment

2009-11-23 Thread Paolo Bonzini
On 11/22/2009 10:48 AM, John Nowak wrote: Hello. I would like to get the necessary forms for copyright assignment to GCC for future work on GNAT. I was told this is the way to kick off the process. I sent them offlist. Paolo

[cygwin-1.7] bootstrap failure: ../../gcc/gcc/config/i386/i386.c:24542:24: error: comparison between signed and unsigned integer expressions

2009-11-23 Thread Christian Joensson
Seems to me that http://gcc.gnu.org/ml/gcc-cvs/2009-11/msg00648.html might cause this: /usr/local/src/trunk/objdir/./prev-gcc/xgcc -B/usr/local/src/trunk/objdir/./prev-gcc/ -B/usr/local/gnu/i686-pc-cygwin/bin/ -B/usr/local/gnu/i686-pc-cygwin/bin/ -B/usr/local/gnu/i686-pc-cygwin/lib/ -isystem

Re: BUG: GCC-4.4.x changes the function frame on some functions

2009-11-23 Thread Jakub Jelinek
On Thu, Nov 19, 2009 at 08:01:57PM +0100, Thomas Gleixner wrote: Just compiled with -mincoming-stack-boundary=4 and the problem goes away as gcc now thinks that the incoming stack is already 16 byte aligned. But that might break code which actually uses SSE Please don't do this, lying to the

Re: BUG: GCC-4.4.x changes the function frame on some functions

2009-11-23 Thread Thomas Gleixner
On Mon, 23 Nov 2009, Jakub Jelinek wrote: On Thu, Nov 19, 2009 at 08:01:57PM +0100, Thomas Gleixner wrote: Just compiled with -mincoming-stack-boundary=4 and the problem goes away as gcc now thinks that the incoming stack is already 16 byte aligned. But that might break code which actually

Re: i370 port - 3.4.6 to 4.4 upgrade attempt

2009-11-23 Thread Paul Edwards
Ok, now that 3.4.6 is fully working, I made a start on the 4.4 port. 4.4 appears to have invalidated a lot of 3.4.6 things. Below are all the changes I needed to make just to get an xgcc executable built. I didn't really know what most of it was about, but the purpose was just to scope the

Re: GCC 4.5 is uncompilable

2009-11-23 Thread Piotr Wyderski
Dave Korn wrote:  If that doesn't fix it please let me know. The solution was correct, with binutils 2.20 the problem disappeared. There is another one, however on the snapshot 20091119: ../../gcc/lto-streamer-out.c: In function 'write_global_references': ../../gcc/lto-streamer-out.c:2201:7:

Re: i370 port - 3.4.6 to 4.4 upgrade attempt

2009-11-23 Thread Andreas Schwab
Paul Edwards mutazi...@gmail.com writes: Index: gcc4/config.sub diff -c gcc4/config.sub:1.3 gcc4/config.sub:1.4 *** gcc4/config.sub:1.3 Mon Nov 23 12:58:07 2009 --- gcc4/config.sub Mon Nov 23 22:47:08 2009 You should send patches for config.{guess,sub} to config-patc...@gnu.org. Andreas.

Re: [cygwin-1.7] bootstrap failure: ../../gcc/gcc/config/i386/i386.c:24542:24: error: comparison between signed and unsigned integer expressions

2009-11-23 Thread Christian Joensson
2009/11/23 Christian Joensson: Seems to me that http://gcc.gnu.org/ml/gcc-cvs/2009-11/msg00648.html might cause this: /usr/local/src/trunk/objdir/./prev-gcc/xgcc -B/usr/local/src/trunk/objdir/./prev-gcc/ -B/usr/local/gnu/i686-pc-cygwin/bin/ -B/usr/local/gnu/i686-pc-cygwin/bin/

Re: GCC 4.5 is uncompilable

2009-11-23 Thread Dave Korn
Piotr Wyderski wrote: Dave Korn wrote: If that doesn't fix it please let me know. The solution was correct, with binutils 2.20 the problem disappeared. There is another one, however on the snapshot 20091119: ../../gcc/lto-streamer-out.c: In function 'write_global_references':

RE: Worth balancing the tree before scheduling?

2009-11-23 Thread Ian Bolton
David Edelsohn wrote: On Fri, Nov 20, 2009 at 10:05 AM, Ian Bolton bol...@icerasemi.com wrote: From some simple experiments (see below), it appears as though GCC aims to create a lop-sided tree when there are constants involved (func1 below), but a balanced tree when there aren't

Re: i370 port - 3.4.6 to 4.4 upgrade attempt

2009-11-23 Thread Paolo Bonzini
On 11/23/2009 11:32 AM, Paul Edwards wrote: So, given the scope below, can someone please explain what 4.4 changes are affecting me and what I need to do to overcome them? I think your best bet is to grep the changelogs for what has changes, and see what was done for other ports. Many

Re: Worth balancing the tree before scheduling?

2009-11-23 Thread Geert Bosch
On Nov 23, 2009, at 10:17, Ian Bolton wrote: Regardless of the architecture, I can't see how an unbalanced tree would ever be a good thing. With a balanced tree, you can still choose to process it in either direction (broad versus deep) - whichever is better for your architecture - but, as

internal compiler error: in simplify_subreg, at simplify-rtx.c:5138

2009-11-23 Thread Wu Zhangjin
Hi, I'm using the latest gcc 4.5 to compile the latest linux kernel(rc8). $ mips64el-unknown-linux-gnu-gcc --version mips64el-unknown-linux-gnu-gcc (GCC) 4.5.0 20091123 (experimental) and encountered this error: $ make ARCH=mips CROSS_COMPILE=mips64el-unknown-linux-gnu- mm/rmap.o CHK

Re: Possible endless loop in lto-wrapper

2009-11-23 Thread Rafael Espindola
2009/11/22 Leandro Nini drfiem...@email.it: Hi, in gcc-4.5 lto-wrapper may end up in an endless loop in case of error: if for example a 'maybe_unlink_file' call from 'lto_wrapper_exit' fails it calls 'fatal_perror' which in turn calls 'lto_wrapper_exit' again causing an infinity of

Re: Possible endless loop in lto-wrapper

2009-11-23 Thread Diego Novillo
On Mon, Nov 23, 2009 at 13:59, Rafael Espindola espind...@google.com wrote: 2009-11-23  Rafael Avila de Espindola  espind...@google.com        * lto-wrapper.c (lto_wrapper_exit): Don't try to delete files if        being called recursively. OK. Diego.

No .got section in ELF

2009-11-23 Thread yunfeng zhang
The idea I got is about removing .got section in ELF format totally. Before we go, let's see the limitation on the idea 1) It must be deployed on aligned segment model, such as Linux, which cs.start = ds.start. 2) Currently, I only know how to do on x86 ELF. Here is a typical sample in PIC model

On strategies for function call instrumentation

2009-11-23 Thread Derrick Coetzee
Hi, I'm Derrick Coetzee and I'm a grad student working with Daniel Wilkerson et al on the Hard Object project at UC Berkeley (see http://www.eecs.berkeley.edu/Pubs/TechRpts/2009/EECS-2009-97.html). To minimize implementation effort, we'd like to use gcc as the compiler for our platform. The main

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #3 from gcc at coreland dot ath dot cx 2009-11-23 08:15 --- Using built-in specs. Target: x86_64-portbld-freebsd7.2 Configured with: ./..//gcc-4.4.0/configure --enable-languages=c,ada --disable-nls --with-system-zlib --with-libiconv-prefix=/usr/local --program-suffix=44

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #4 from gcc at coreland dot ath dot cx 2009-11-23 08:16 --- Using built-in specs. COLLECT_GCC=/gnat/svn/builds/r154285/bin/gcc-r154285 COLLECT_LTO_WRAPPER=/gnat/svn/builds/r154285/libexec/gcc/x86_64-unknown-freebsd7.2/4.5.0/lto-wrapper Target: x86_64-unknown-freebsd7.2

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread charlet at gcc dot gnu dot org
--- Comment #5 from charlet at gcc dot gnu dot org 2009-11-23 08:21 --- Sorry, but we still need a self contained set of sources attached in bugzilla (with only the needed sources to reproduce the bug), and a single, stand alone gcc command line with no extra shell scripts. See

[Bug fortran/42053] [OOP] SELECT TYPE: reject duplicate CLASS IS blocks

2009-11-23 Thread janus at gcc dot gnu dot org
--- Comment #2 from janus at gcc dot gnu dot org 2009-11-23 08:47 --- Subject: Bug 42053 Author: janus Date: Mon Nov 23 08:47:14 2009 New Revision: 154432 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154432 Log: 2009-11-23 Janus Weil ja...@gcc.gnu.org PR

[Bug fortran/42053] [OOP] SELECT TYPE: reject duplicate CLASS IS blocks

2009-11-23 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-11-23 08:49 --- Fixed with r154432. Closing. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/40835] redundant comparison instruction

2009-11-23 Thread carrot at google dot com
--- Comment #9 from carrot at google dot com 2009-11-23 08:51 --- Fixed by Richard. Close it. -- carrot at google dot com changed: What|Removed |Added

[Bug tree-optimization/42108] [4.4/4.5 Regression] Vectorizer cannot deal with PAREN_EXPR gracefully, 50% performance regression

2009-11-23 Thread irar at il dot ibm dot com
--- Comment #18 from irar at il dot ibm dot com 2009-11-23 09:02 --- I tried to vectorize eval.f90 with 4.3 and mainline on x86_64-suse-linux. In both cases no loop gets vectorized in subroutine eval. The k loop is not vectorizable because the step of x is unknown (function argument),

[Bug ada/42153] s-osinte.adb:46:21: missing body for To_Duration declared at s-osinte.ads:216

2009-11-23 Thread laurent at guerby dot net
--- Comment #2 from laurent at guerby dot net 2009-11-23 09:06 --- hpux11 mixes its own s-osinte spec with the posix body hence the issue: ifeq ($(strip $(filter-out hppa% hp hpux11%,$(targ))),) s-osinte.adbs-osinte-posix.adb \ s-osinte.adss-osinte-hpux.ads \ I missed this one

[Bug ada/42153] s-osinte.adb:46:21: missing body for To_Duration declared at s-osinte.ads:216

2009-11-23 Thread laurent at guerby dot net
--- Comment #3 from laurent at guerby dot net 2009-11-23 09:06 --- Created an attachment (id=19089) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19089action=view) Patch for hpux11 Dave, could try this patch? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42153

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #6 from gcc at coreland dot ath dot cx 2009-11-23 10:16 --- Created an attachment (id=19090) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19090action=view) source file that generates the error -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #7 from gcc at coreland dot ath dot cx 2009-11-23 10:17 --- Created an attachment (id=19091) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19091action=view) dependency for arc_dir_003.adb -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #8 from gcc at coreland dot ath dot cx 2009-11-23 10:17 --- Created an attachment (id=19092) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19092action=view) dependency for arc_dir_003.adb -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #9 from gcc at coreland dot ath dot cx 2009-11-23 10:17 --- Created an attachment (id=19093) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19093action=view) dependency for arc_dir_003.adb -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #10 from gcc at coreland dot ath dot cx 2009-11-23 10:17 --- Created an attachment (id=19094) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19094action=view) dependency for arc_dir_003.adb -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #11 from gcc at coreland dot ath dot cx 2009-11-23 10:18 --- Created an attachment (id=19095) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19095action=view) dependency for arc_dir_003.adb -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #12 from gcc at coreland dot ath dot cx 2009-11-23 10:18 --- Created an attachment (id=19096) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19096action=view) dependency for arc_dir_003.adb -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #13 from gcc at coreland dot ath dot cx 2009-11-23 10:18 --- Created an attachment (id=19097) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19097action=view) dependency for arc_dir_003.adb -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #14 from gcc at coreland dot ath dot cx 2009-11-23 10:19 --- Created an attachment (id=19098) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19098action=view) dependency for arc_dir_003.adb -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #15 from gcc at coreland dot ath dot cx 2009-11-23 10:19 --- Created an attachment (id=19099) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19099action=view) dependency for arc_dir_003.adb -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #16 from gcc at coreland dot ath dot cx 2009-11-23 10:19 --- Created an attachment (id=19100) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19100action=view) dependency for arc_dir_003.adb -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #17 from gcc at coreland dot ath dot cx 2009-11-23 10:19 --- Created an attachment (id=19101) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19101action=view) dependency for arc_dir_003.adb -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #18 from gcc at coreland dot ath dot cx 2009-11-23 10:20 --- Created an attachment (id=19102) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19102action=view) dependency for arc_dir_003.adb -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #19 from gcc at coreland dot ath dot cx 2009-11-23 10:22 --- Really fail to see how this is more convenient or useful for anyone involved but oh well, what do I know? gcc-4.4.0: gcc -c pfseudo.ads pfseudo-path.adb pfseudo-archiver.ads pfseudo-archiver-directory.adb

[Bug tree-optimization/42154] New: [4.5 Regression] Wrong code from (early) SRA

2009-11-23 Thread rguenth at gcc dot gnu dot org
struct A { char x[1]; }; extern void abort (void); void __attribute__((noinline,noclone)) foo (struct A a) { if (a.x[0] != 'a') abort (); } int main () { struct A a; int i; for (i = 0; i 1; ++i) a.x[i] = 'a'; foo (a); return 0; } fails at -O1 because (early) SRA converts bb

[Bug tree-optimization/42154] [4.5 Regression] Wrong code from (early) SRA

2009-11-23 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42154

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread ebotcazou at gcc dot gnu dot org
--- Comment #20 from ebotcazou at gcc dot gnu dot org 2009-11-23 11:02 --- Really fail to see how this is more convenient or useful for anyone involved but oh well, what do I know? Attaching a lot of files is indeed inconvenient, that's why http://gcc.gnu.org/bugs section Detailed

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #21 from gcc at coreland dot ath dot cx 2009-11-23 11:12 --- Created an attachment (id=19103) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19103action=view) version suitable for gnatchop -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150

[Bug ada/42150] GNAT (really) appears to misbehave with limited types/finalization/extended return

2009-11-23 Thread gcc at coreland dot ath dot cx
--- Comment #22 from gcc at coreland dot ath dot cx 2009-11-23 11:13 --- Any way I can remove the above attachments? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42150

[Bug fortran/42144] [OOP] deferred TBPs do not work

2009-11-23 Thread janus at gcc dot gnu dot org
--- Comment #1 from janus at gcc dot gnu dot org 2009-11-23 11:41 --- Another example (with generics): module foo_module implicit none private public :: foo,rescale type ,abstract :: foo contains procedure(times_interface) ,deferred :: times procedure(assign_interface)

[Bug fortran/42008] Wrongly rejected derived types with default initializers in PURE procedures

2009-11-23 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-11-23 12:38 --- Does your patch still reject pure function test() integer, pointer :: p = null() ! INVALID per C1272 integer :: test test = p end function test That is currently rejected as Error: Initialization of pointer

[Bug tree-optimization/42142] GCC 4.5 doesn't compile a certain quicksort implementation correctly when optimizing with -O1 or higher

2009-11-23 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-11-23 12:40 --- Richard, can you have a look to this one? First blush, I don't see anything wrong with the code... -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug middle-end/42130] [graphite-branch] dealII fails

2009-11-23 Thread grosser at gcc dot gnu dot org
--- Comment #3 from grosser at gcc dot gnu dot org 2009-11-23 13:02 --- Subject: Bug 42130 Author: grosser Date: Mon Nov 23 13:02:08 2009 New Revision: 154440 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154440 Log: Protect loops that might be executed zero times. 2009-11-23

[Bug tree-optimization/42142] GCC 4.5 doesn't compile a certain quicksort implementation correctly when optimizing with -O1 or higher

2009-11-23 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-11-23 13:10 --- ==29953== Conditional jump or move depends on uninitialised value(s) ==29953==at 0x400671: sort (qsort.c:16) ==29953==by 0x40079F: main (qsort.c:45) qsort.c.034t.cddce1 deletes the store to end[i+1]. I

[Bug tree-optimization/42142] [4.5 Regression] DCE miscompiles a certain quicksort implementation correctly when optimizing with -O1 or higher

2009-11-23 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||wrong-code Summary|GCC 4.5 doesn't compile a |[4.5

[Bug tree-optimization/42142] [4.5 Regression] DCE miscompiles a certain quicksort implementation when optimizing with -O1 or higher

2009-11-23 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-11-23 13:29 --- int __attribute__((noinline,noclone)) sort(int L) { int end[2] = { 10, 10, }, i=0, R; while (i2) { R = end[i]; if (LR) { end[i+1] = 1; end[i] = 10; ++i;

[Bug c++/14777] [4.3/4.4/4.5 Regression] typedef doesn't fully expose base class type

2009-11-23 Thread dodji at gcc dot gnu dot org
--- Comment #18 from dodji at gcc dot gnu dot org 2009-11-23 13:30 --- Subject: Bug 14777 Author: dodji Date: Mon Nov 23 13:29:50 2009 New Revision: 154443 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154443 Log: Fix PR c++/14777 gcc/cp/ChangeLog: PR c++/14777

[Bug fortran/42008] Wrongly rejected derived types with default initializers in PURE procedures

2009-11-23 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2009-11-23 13:44 --- Without the patch it is rejected, with the patch it is not. I will look into this further. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42008

[Bug c++/14777] [4.3/4.4/ Regression] typedef doesn't fully expose base class type

2009-11-23 Thread dodji at gcc dot gnu dot org
--- Comment #19 from dodji at gcc dot gnu dot org 2009-11-23 13:44 --- This should be fixed in 4.5. Adjusting the Regression tag. Not planning to fix in 4.3/44. -- dodji at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/14777] [4.3/4.4/ Regression] typedef doesn't fully expose base class type

2009-11-23 Thread dodji at gcc dot gnu dot org
-- dodji at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|dodji at gcc dot gnu dot org|unassigned at gcc dot gnu |

[Bug tree-optimization/42154] [4.5 Regression] Wrong code from (early) SRA

2009-11-23 Thread jamborm at gcc dot gnu dot org
--- Comment #1 from jamborm at gcc dot gnu dot org 2009-11-23 14:01 --- I'm looking into this. This example shows why using access-expr to create new expressions is a dangerous thing to do, at least in some contexts (which I did not really realize until now). I'd better look at them

[Bug c++/42121] g++ should warn or error on internal 0 size array in struct

2009-11-23 Thread david dot resnick at comverse dot com
--- Comment #6 from david dot resnick at comverse dot com 2009-11-23 14:15 --- (In reply to comment #5) Subject: Re: g++ should warn or error on internal 0 size array in struct On Fri, 20 Nov 2009, david dot resnick at comverse dot com wrote: (In reply to comment #3) (In

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #30 from howarth at nitro dot med dot uc dot edu 2009-11-23 14:22 --- Perhaps something like... Index: dwarf2out.c === --- dwarf2out.c (revision 154443) +++ dwarf2out.c (working copy) @@ -10447,8 +10447,11 @@

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-23 Thread rguenther at suse dot de
--- Comment #31 from rguenther at suse dot de 2009-11-23 14:26 --- Subject: Re: [4.5 Regression] dsymutil Assertion failed ... On Mon, 23 Nov 2009, howarth at nitro dot med dot uc dot edu wrote: --- Comment #30 from howarth at nitro dot med dot uc dot edu 2009-11-23 14:22

[Bug target/41151] Gas fails to consume the assembly Error: offset too big

2009-11-23 Thread thiago at kde dot org
--- Comment #4 from thiago at kde dot org 2009-11-23 14:32 --- My experience: gcc 4.4 + binutils 2.18.50.20070820 + no -march: ok gcc 4.4 + binutils 2.18.50.20070820 + -march=armv7-a: error gcc 4.4 + binutils 2.19.51.0.2.20090204: ok in both cases The instruction I had problems with

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #32 from howarth at nitro dot med dot uc dot edu 2009-11-23 14:38 --- I got this response over on the gdb mailing list regarding the validity of emitting dwarf debug info containing an AT_location with any block form having a zero length...

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #33 from howarth at nitro dot med dot uc dot edu 2009-11-23 14:41 --- I should reiterate the dsymutil's maintainers comments on this issue... The variable should be checked to make sure it really doesn't have a location, and if it doesn't just don't emit the

[Bug c++/42121] g++ should warn or error on internal 0 size array in struct

2009-11-23 Thread redi at gcc dot gnu dot org
--- Comment #7 from redi at gcc dot gnu dot org 2009-11-23 14:53 --- (In reply to comment #6) OK, can't argue with not breaking existing headers I suppose. But this is to me clearly a bogus usage. What are the semantics of using internal zero sized arrays in a struct? They have

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-23 Thread rguenth at gcc dot gnu dot org
--- Comment #34 from rguenth at gcc dot gnu dot org 2009-11-23 14:53 --- I suppose empty DW_AT_location lists may now denote places where the value dies and is no longer available. We now properly track this with VTA. Alex? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41473

[Bug ada/42153] s-osinte.adb:46:21: missing body for To_Duration declared at s-osinte.ads:216

2009-11-23 Thread guerby at gcc dot gnu dot org
--- Comment #4 from guerby at gcc dot gnu dot org 2009-11-23 14:57 --- Subject: Bug 42153 Author: guerby Date: Mon Nov 23 14:56:58 2009 New Revision: 154446 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154446 Log: 2009-11-23 Eric Botcazou ebotca...@adacore.com

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #35 from howarth at nitro dot med dot uc dot edu 2009-11-23 15:03 --- If it is in fact valid dwarf, the question remains of what to do about the breakage that this causes with dsymutil on darwin. Inhibiting the emission of this in dwarf-strict might be a reasonable

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-23 Thread rguenther at suse dot de
--- Comment #36 from rguenther at suse dot de 2009-11-23 15:07 --- Subject: Re: [4.5 Regression] dsymutil Assertion failed ... On Mon, 23 Nov 2009, howarth at nitro dot med dot uc dot edu wrote: --- Comment #35 from howarth at nitro dot med dot uc dot edu 2009-11-23 15:03

[Bug rtl-optimization/42155] New: Optimizer generates bad code for ARM7 THUMB mode (local variable lost)

2009-11-23 Thread heavy at smtp dot ru
Hello. I've found bug in GCC 4.4.1 for ARM7TDMI in THUMB mode. Test code: void foo(char *bar); char test() { char tmp; foo(tmp); return tmp; } Compiled with: arm-elf-gcc -S -mcpu=arm7tdmi -O2 -mthumb test.c Then using -O2 or -O3 optimization, assembler code looks like: 1:test: 2:

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #37 from howarth at nitro dot med dot uc dot edu 2009-11-23 15:26 --- (In reply to comment #36) If it's valid dwarf then it is also dwarf-strict. Please get apple fix its tools and issue a maintainance update. (I'm inclined to close this bug as invalid) Richard.

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-23 Thread rguenther at suse dot de
--- Comment #38 from rguenther at suse dot de 2009-11-23 15:28 --- Subject: Re: [4.5 Regression] dsymutil Assertion failed ... On Mon, 23 Nov 2009, howarth at nitro dot med dot uc dot edu wrote: --- Comment #37 from howarth at nitro dot med dot uc dot edu 2009-11-23 15:26

[Bug c++/14777] [4.3/4.4/ Regression] typedef doesn't fully expose base class type

2009-11-23 Thread jason at gcc dot gnu dot org
--- Comment #20 from jason at gcc dot gnu dot org 2009-11-23 15:40 --- If you don't think it's worth fixing on the older branches, the right thing to do is set the Target Milestone to the release where it will be fixed, and then close the bug as fixed. -- jason at gcc dot gnu dot

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #39 from howarth at nitro dot med dot uc dot edu 2009-11-23 15:43 --- Normally this wouldn't be a big deal, but powerpc support stops at Leopard so we are effectively cutting off powerpc-apple-darwin* from every properly generating dSYMs in gcc 4.5. --

[Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop.

2009-11-23 Thread sje at cup dot hp dot com
--- Comment #13 from sje at cup dot hp dot com 2009-11-23 15:43 --- I think you will need to create a fde-freebsd.c file in gcc/config/ia64 to define Unwind_FindTableEntry. See fde-glibc.c and fde-vms.c for examples. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40959

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-23 Thread jakub at gcc dot gnu dot org
--- Comment #40 from jakub at gcc dot gnu dot org 2009-11-23 15:49 --- Given: 2.6.1.1.4 Empty Location Descriptions An empty location description consists of a DWARF expression containing no operations. It represents a piece or all of an object that is present in the source but not in

[Bug middle-end/42095] [4.5 Regression] g++.dg/lto/20081118-1 cp_lto_20081118-1_0.o-cp_lto_20081118-1_1.o link

2009-11-23 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-11-23 16:10 --- Subject: Bug 42095 Author: jakub Date: Mon Nov 23 16:10:19 2009 New Revision: 154449 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154449 Log: PR middle-end/42095 * tree.c: Include cgraph.h.

[Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop.

2009-11-23 Thread mexas at bristol dot ac dot uk
--- Comment #14 from mexas at bristol dot ac dot uk 2009-11-23 16:12 --- can I add a FBSD ia64 developer email to the CC list (xcl...@mac.com)? I tried to do this before, but was refused. I'm just reporting the bug. I've neigher skill not time to deal with this. --

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-23 Thread rguenther at suse dot de
--- Comment #41 from rguenther at suse dot de 2009-11-23 16:29 --- Subject: Re: [4.5 Regression] dsymutil Assertion failed ... On Mon, 23 Nov 2009, howarth at nitro dot med dot uc dot edu wrote: --- Comment #39 from howarth at nitro dot med dot uc dot edu 2009-11-23 15:43

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #42 from howarth at nitro dot med dot uc dot edu 2009-11-23 16:35 --- (In reply to comment #41) So it's the responsibility of the darwin community to come up with either a fixed dsymutil or a proper re-implementation of it. Richard. Unfortunately, dsymutil isn't

[Bug target/38644] Optimization flag -O1 -fschedule-insns2 causes wrong code

2009-11-23 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-11-23 16:42 --- *** Bug 42155 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/42155] Optimizer generates bad code for ARM7 THUMB mode (local variable lost)

2009-11-23 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-11-23 16:42 --- *** This bug has been marked as a duplicate of 38644 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/42153] s-osinte.adb:46:21: missing body for To_Duration declared at s-osinte.ads:216

2009-11-23 Thread ebotcazou at gcc dot gnu dot org
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2009-11-23 17:09 --- Presumably, thanks Laurent. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug objc++/42156] New: Hundreds of objc++ testsuite regressions

2009-11-23 Thread ghazi at gcc dot gnu dot org
Sometime between mainline revision 154353: http://gcc.gnu.org/ml/gcc-testresults/2009-11/msg01929.html and 154391: http://gcc.gnu.org/ml/gcc-testresults/2009-11/msg01929.html I'm getting massive numbers of objc++ testsuite regressions. -- Summary: Hundreds of objc++ testsuite

[Bug objc++/42156] Hundreds of objc++ testsuite regressions

2009-11-23 Thread ghazi at gcc dot gnu dot org
--- Comment #1 from ghazi at gcc dot gnu dot org 2009-11-23 18:15 --- Sorry the second results for 154391 link is: http://gcc.gnu.org/ml/gcc-testresults/2009-11/msg02040.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42156

[Bug fortran/42008] Wrongly rejected derived types with default initializers in PURE procedures

2009-11-23 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2009-11-23 19:35 --- (In reply to comment #5) Without the patch it is rejected, with the patch it is not. I will look into this further. Would something like if (...-attr.saved) { gfc_error } work, combined with the patch from

[Bug middle-end/42095] [4.5 Regression] g++.dg/lto/20081118-1 cp_lto_20081118-1_0.o-cp_lto_20081118-1_1.o link

2009-11-23 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-11-23 20:52 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-23 Thread andreast at gcc dot gnu dot org
--- Comment #43 from andreast at gcc dot gnu dot org 2009-11-23 20:55 --- I understood Jack this way that he asked/is looking for a temporary solution to prove that this is the only issue we face with dsymutil. It is not the idea, from my understanding, that we, gcc, 'fix'/tweak gcc to

[Bug rtl-optimization/42116] ice on valid code (unrecognizable insn)

2009-11-23 Thread ltuikov at yahoo dot com
--- Comment #10 from ltuikov at yahoo dot com 2009-11-23 20:56 --- Can anyone comment on this? I'd really like to use gcc 4.4.2 to cross compile ARC. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42116

[Bug target/42113] [4.3/4.4/4.5 Regression] Internal Compiler error with -O3, breaking commit known

2009-11-23 Thread uros at gcc dot gnu dot org
--- Comment #11 from uros at gcc dot gnu dot org 2009-11-23 21:14 --- Subject: Bug 42113 Author: uros Date: Mon Nov 23 21:14:32 2009 New Revision: 154464 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154464 Log: PR target/42113 * config/alpha/alpha.md

[Bug target/42113] [4.3/4.4/4.5 Regression] Internal Compiler error with -O3, breaking commit known

2009-11-23 Thread uros at gcc dot gnu dot org
--- Comment #12 from uros at gcc dot gnu dot org 2009-11-23 21:27 --- Subject: Bug 42113 Author: uros Date: Mon Nov 23 21:27:30 2009 New Revision: 154465 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154465 Log: PR target/42113 * config/alpha/alpha.md

[Bug target/42113] [4.3/4.4/4.5 Regression] Internal Compiler error with -O3, breaking commit known

2009-11-23 Thread ubizjak at gmail dot com
--- Comment #13 from ubizjak at gmail dot com 2009-11-23 21:30 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug target/41473] [4.5 Regression] dsymutil Assertion failed ...

2009-11-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #44 from howarth at nitro dot med dot uc dot edu 2009-11-23 21:41 --- (In reply to comment #43) From the technical POV we should try to help isolating the issue. My 2 cents. Actually, if the Alexandre's patch...

[Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop.

2009-11-23 Thread mexas at bristol dot ac dot uk
--- Comment #15 from mexas at bristol dot ac dot uk 2009-11-23 21:47 --- Hi Marcel, sorry to bother you with this again. Are you happy to be on my Cc list for this bug? Sure. sje@ doesn't quite know what he's talking about because he doesn't know FreeBSD. See also below. ---

[Bug fortran/42131] Weird translation of DO loops

2009-11-23 Thread tkoenig at gcc dot gnu dot org
--- Comment #11 from tkoenig at gcc dot gnu dot org 2009-11-23 21:48 --- Created an attachment (id=19104) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19104action=view) another proposed patch Here's another proposed patch, but there is a problem with it. If we calculate (m2 -

[Bug target/29720] Latest CVS: undefined reference to __tls_get_addr

2009-11-23 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-11-23 21:58 --- (In reply to comment #2) OK, that fixed the problem. But shouldn't configuration have caught it? So, fixed. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug fortran/41860] -finit-local-XXX clobbers -fno-automatic

2009-11-23 Thread jb at gcc dot gnu dot org
--- Comment #2 from jb at gcc dot gnu dot org 2009-11-23 22:01 --- Closing as fixed, as no complaints about the committed patch have surfaced. -- jb at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/42127] Verify_flow_info: Wrong frequency of block. Profiled bootstrap failed.

2009-11-23 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2009-11-23 22:04 --- Fixed. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/42157] New: [4.5 regression] ICE building stage 1 libgcc on IRIX 5.3: SEGV in compare_access_positions

2009-11-23 Thread ro at gcc dot gnu dot org
While building current mainline (rev 154216) again after half a year, the bootstrap aborted while building the stage 1 libgcc: /vol/gcc/src/gcc-dist/libgcc/../gcc/libgcc2.c: In function '__muldi3': /vol/gcc/src/gcc-dist/libgcc/../gcc/libgcc2.c:562:1: internal compiler error: Segmentation fault

[Bug c/36470] sizeof UTF-32 is 2 on AVR

2009-11-23 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #5 from hutchinsonandy at gcc dot gnu dot org 2009-11-23 22:10 --- Subject: Bug 36470 Author: hutchinsonandy Date: Mon Nov 23 22:10:18 2009 New Revision: 154471 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154471 Log: PR testsuite/36470 * gcc.dg/utf-cvt.c: Skip int

[Bug tree-optimization/42154] [4.5 Regression] Wrong code from (early) SRA

2009-11-23 Thread jamborm at gcc dot gnu dot org
--- Comment #2 from jamborm at gcc dot gnu dot org 2009-11-23 22:19 --- Proposed patch: http://gcc.gnu.org/ml/gcc-patches/2009-11/msg01311.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42154

  1   2   >