GCC 4.4.2 Released

2009-10-19 Thread Jakub Jelinek
The GNU Compiler Collection version 4.4.2 has been released. GCC 4.4.2 is a bug-fix release containing fixes for regressions and serious bugs in GCC 4.4.1. This release is available from the FTP servers listed at: http://www.gnu.org/order/ftp.html Please do not contact me directly regarding

Re: i370 port - constructing compile script

2009-10-19 Thread Paul Edwards
.../configure --target=i370-mvs --prefix=... --with-sysroot=... \ --enable-languages=c where prefix points to the directory where the cross-compiler should be installed, and sysroot points to the directory where the MVS libraries and header are installed. Ok, I used

char drawstrings[DRAW_MAX][] = { .. give error

2009-10-19 Thread Bernd Roesch
Hi, I compile an old code which use this and i think its compile with Gcc 2.95 and the PPC GCC 1998 or 1999 it fail to compile with newer compiler. #define DRAW_MAX4 char drawstrings[DRAW_MAX][] = { Number of points drawn using 3D hardware:, Number of lines drawn using

Re: i370 port - constructing compile script

2009-10-19 Thread Ulrich Weigand
Paul Edwards wrote: Ok, I used ../configure --target=i370-mvspdp --prefix=/devel/mvscross --with-sysroot=/devel/mvshead --enable-languages=c plus make and make install then I went to mvscross/bin and renamed i370-mvspdp-gcc to i370-mvspdp-xxx and replaced it with a script

Re: __attribute__((optimize)) and fast-math related oddities

2009-10-19 Thread Ian Lance Taylor
tbp tbp...@gmail.com writes: Merrily trying to make a test-case showing how unmanageable it is to try to override *math* flags per function, i soon had to stop because... Please file a bug report. __attribute__((optimize())) is definitely only half-baked. Ian

Re: --enable-plugin option overloaded

2009-10-19 Thread Ian Lance Taylor
Andrew Haley a...@redhat.com writes: Matthias Klose wrote: --enable-plugin is used by classpath (part of libjava) and now by GCC itself. disabling the build of the gcjwebplugin now disables plugin support in GCC as well. Please could the option for enabling GCC plugin support be renamed to

Re: char drawstrings[DRAW_MAX][] = { .. give error

2009-10-19 Thread Ian Lance Taylor
Bernd Roesch nospamn...@gmx.de writes: I compile an old code which use this and i think its compile with Gcc 2.95 and the PPC GCC 1998 or 1999 it fail to compile with newer compiler. #define DRAW_MAX4 char drawstrings[DRAW_MAX][] = { Number of points drawn using 3D

Re: --enable-plugin option overloaded

2009-10-19 Thread Andrew Haley
Ian Lance Taylor wrote: Andrew Haley a...@redhat.com writes: Matthias Klose wrote: --enable-plugin is used by classpath (part of libjava) and now by GCC itself. disabling the build of the gcjwebplugin now disables plugin support in GCC as well. Please could the option for enabling GCC

Re: __attribute__((optimize)) and fast-math related oddities

2009-10-19 Thread H.J. Lu
On Mon, Oct 19, 2009 at 10:34 AM, Ian Lance Taylor i...@google.com wrote: tbp tbp...@gmail.com writes: Merrily trying to make a test-case showing how unmanageable it is to try to override *math* flags per function, i soon had to stop because... Please file a bug report.

RE: Understanding IRA

2009-10-19 Thread Ian Bolton
Hi Jeff and Vladimir. Jeff: I'd be interested in trying the patch if you can send it my way. Vladimir: Today I have seen reasonable improvements on progressively-trimmed-down versions of a *single* test case by applying some cost adjustments in the case when an operand wants one of our bottom

Re: C++ Plugins

2009-10-19 Thread Benjamin Smedberg
On 10/11/09 12:13 PM, Terrence Miller wrote: (Version 4.5.0) There are plugin callbacks which trigger at the end of processing types and C++ functions, but I can not find a clean way for plugin code to notice a top-level variable declaration. I'm hoping that the answer does not require

Re: Understanding IRA

2009-10-19 Thread Vladimir Makarov
Ian Bolton wrote: Hi Jeff and Vladimir. Jeff: I'd be interested in trying the patch if you can send it my way. Vladimir: Today I have seen reasonable improvements on progressively-trimmed-down versions of a *single* test case by applying some cost adjustments in the case when an operand wants

Re: C++ Plugins

2009-10-19 Thread Terrence Miller
response at end Benjamin Smedberg wrote: On 10/11/09 12:13 PM, Terrence Miller wrote: (Version 4.5.0) There are plugin callbacks which trigger at the end of processing types and C++ functions, but I can not find a clean way for plugin code to notice a top-level variable declaration. I'm

Improving code with no offset addressing

2009-10-19 Thread Michael Hope
Hi there. The architecture I'm working on porting gcc to has indirect addressing but no constant offset or register offset versions. Code like this: void fill(int* p) { p[0] = 0; p[1] = 0; p[2] = 0; p[3] = 0; Turns into: X = p *X = 0 X = X + 4 *X = 0 X = p X = X + 8 *X = 0 X =

Re: When did arc-elf last build?

2009-10-19 Thread Joel Sherrill
Joern Rennecke wrote: Quoting Joel Sherrill joel.sherr...@oarcorp.com: Hi, I got a random unsolicited email about arc-elf since I pop up in google a lot asking cross compiler questions. I decided to try to build it and as PR41747 indicates 4.3.4, 4.4.1, and the head all fail building

Re: __attribute__((optimize)) and fast-math related oddities

2009-10-19 Thread tbp
On Mon, Oct 19, 2009 at 7:34 PM, Ian Lance Taylor i...@google.com wrote: Please file a bug report. __attribute__((optimize())) is definitely only half-baked. Apparently the code i've posted is just a variation around that 1 year old PR 37565 and if that doesn't work, worrying about the rest is

[MIPS] cannot split restore_gp

2009-10-19 Thread Fu, Chao-Ying
Hi, G++ could not split restore_gp. Please check this test (from #line 15017 configure of gcc/libstdc++-v3/). # cat foo.cpp struct S { ~S(); }; void bar(); void foo() { S s; bar(); } # ~/dev/gcc45/build/gcc/cc1plus -quiet foo.cpp -o foo.s -mno-shared -mplt -mabicalls -G0 foo.cpp: In

Need help in understanding code generated for C++ exception handling

2009-10-19 Thread Shankar Iyer
Hi, I have compiled and generated a C++ shared library with the -fPIC option. But this shared library requires text relocation during runtime and is not usable on seLinux which disables writeable text segments. The text relocation is due to use of exceptions inside the shared library. There

[Bug ada/35194] floating point truncation error on intel platform

2009-10-19 Thread k-tsubota at ap dot jp dot nec dot com
--- Comment #11 from k-tsubota at ap dot jp dot nec dot com 2009-10-19 06:35 --- I wonder if the bug is caused by errata of core2duo processor because the bug was only reproduced on core2duo and pentium D. (- not on UltraSPARC III) Intel Core2duo processor has errata in its FPU -

[Bug preprocessor/41748] New: Continued lines are not merged into one long line

2009-10-19 Thread d dot g dot gorbachev at gmail dot com
This is a testcase (a space before a backslash or after a newline, and two pairs of quotes (or no quotes at all), are important): hello, \ world In GCC 4.5.0 20091015, preprocessor produces this: # 1 stdin # 1 built-in # 1 command-line # 1 stdin hello, world whereas older GCC versions give

[Bug c/41749] New: non-needed instructions are not removed (not optimized)

2009-10-19 Thread socketpair at gmail dot com
int main (void) {return 1; } Ubuntu Jaunty. gcc --save-temps -fno-stack-protector -fomit-frame-pointer -Os ./cpuid.c generates thgis: -- main: leal4(%esp), %ecx andl$-16, %esp pushl -4(%ecx) movl$1, %eax pushl %ecx

[Bug c/41749] non-needed instructions are not removed (not optimized)

2009-10-19 Thread socketpair at gmail dot com
--- Comment #1 from socketpair at gmail dot com 2009-10-19 07:14 --- gcc322 generates this: (gcc -Os -fomit-frame-pointer qwe.c --save-temps) main: movl$1, %eax

[Bug c++/37204] [c++0x] reinterpret_castT(v) incorrectly yields an lvalue

2009-10-19 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2009-10-19 07:41 --- Thanks, though that's not a regression, that's the new PR37204 testcase. The execution test is testing direct binding, which is a separate issue that isn't fixed in 4.4 yet, so I've just disabled the execution test

[Bug preprocessor/41748] Continued lines are not merged into one long line

2009-10-19 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-10-19 08:13 --- The lines are joined into a logical line, that's what the C standard requires. But where do you see requirement that everything on one logical line has to appear on the line in preprocessed output? The reason it is

[Bug c/41750] New: gcc 4.50 miscompiles binutils

2009-10-19 Thread rainer at emrich-ebersheim dot de
gcc trunk revision 152931 miscompiles cross binutils x86_64-unknown-linux-gnu to ia64-unknown-linux-gnu. Detected during build of cross compiler x86_64-unknown-linux-gnu to ia64-unknown-linux-gnu. ia64-unknown-linux-gnu-ld segfaults by linking a simple conftest. configure:2368: checking for C

[Bug fortran/41494] [4.5 Regression] temp and memcpy used when zeroing array

2009-10-19 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-10-19 08:45 --- Subject: Bug 41494 Author: rguenth Date: Mon Oct 19 08:45:43 2009 New Revision: 152973 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152973 Log: 2009-10-18 Richard Guenther rguent...@suse.de PR

[Bug java/41356] Circular dependencies between jars cause errors: jars order shouldn't matter

2009-10-19 Thread aph at gcc dot gnu dot org
--- Comment #1 from aph at gcc dot gnu dot org 2009-10-19 08:49 --- We need a standalone test case for this. Please cut the problem down to something fairly simple and cmplete. -- aph at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/41372] Symbols in shared library compiled from jar/classes should not be local with -findirect-dispatch

2009-10-19 Thread aph at gcc dot gnu dot org
--- Comment #1 from aph at gcc dot gnu dot org 2009-10-19 08:55 --- This is a deliberate design decision. If you really need to refer to classes with dlsym, use -fno-indirect-classes. However, this has a number of restrictions: in particular it fixes the ABI to the specific libgcj that

[Bug target/41751] New: bad code with arrays as local vars and no optimization

2009-10-19 Thread sezeroz at gmail dot com
static void R_EdgeDrawing (qboolean Translucent) { edge_t ledges[NUMSTACKEDGES + ((CACHE_SIZE - 1) / sizeof(edge_t)) + 1]; surf_t lsurfs[NUMSTACKSURFACES + ((CACHE_SIZE - 1) / sizeof(surf_t)) + 1]; .. (see attached r_main-1.i and r_main-1.s) is incorrectly compiled when optimizations are turned

[Bug target/41751] bad code with arrays as local vars and no optimization

2009-10-19 Thread sezeroz at gmail dot com
--- Comment #1 from sezeroz at gmail dot com 2009-10-19 08:59 --- Created an attachment (id=18822) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18822action=view) failing preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41751

[Bug target/41751] bad code with arrays as local vars and no optimization

2009-10-19 Thread sezeroz at gmail dot com
--- Comment #2 from sezeroz at gmail dot com 2009-10-19 09:00 --- Created an attachment (id=18823) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18823action=view) good preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41751

[Bug target/41751] bad code with arrays as local vars and no optimization

2009-10-19 Thread sezeroz at gmail dot com
--- Comment #3 from sezeroz at gmail dot com 2009-10-19 09:01 --- Created an attachment (id=18824) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18824action=view) failing asm output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41751

[Bug target/41751] bad code with arrays as local vars and no optimization

2009-10-19 Thread sezeroz at gmail dot com
--- Comment #4 from sezeroz at gmail dot com 2009-10-19 09:01 --- Created an attachment (id=18825) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18825action=view) good asm output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41751

[Bug java/41375] Compiling native executable without -findirect-dispatch causes random SEGVs

2009-10-19 Thread aph at gcc dot gnu dot org
--- Comment #3 from aph at gcc dot gnu dot org 2009-10-19 09:01 --- Works for me on GNU/Linux: ClassNotFoundException: java.lang.ClassNotFoundException: my.other.class not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[],

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2009-10-19 Thread aph at gcc dot gnu dot org
--- Comment #1 from aph at gcc dot gnu dot org 2009-10-19 09:08 --- Works for me: $ gcj -o ecj --main=org.eclipse.jdt.internal.compiler.batch.Main /usr/share/java/ecj.jar $ ./ecj HelloWorld.java $ java HelloWorld Hello World! -- aph at gcc dot gnu dot org changed:

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2009-10-19 Thread yuri at tsoft dot com
--- Comment #2 from yuri at tsoft dot com 2009-10-19 09:23 --- No, it doesn't work for me on FreeBSD-8.0: /usr/local/gcc/4.4.1-java/bin/gcj -o ecj --main=org.eclipse.jdt.internal.compiler.batch.Main /usr/local/share/java/ecj.jar LD_LIBRARY_PATH=/usr/local/gcc/4.4.1-java/lib ldd ./ecj

[Bug c++/41752] New: Canonical type with variadic templates and CRTP

2009-10-19 Thread alban dot linard at gmail dot com
CRTP does not seem to work together with variadic templates. On a larger program, type canonization seems to be faulty and leads to a g++ crash. Source code: struct a {}; template typename T, typename ENCLOSING struct base; template typename ENCLOSING struct base a, ENCLOSING {}; template

[Bug fortran/41753] New: OOP - segfault with -O2 using methods as actual arguments

2009-10-19 Thread pault at gcc dot gnu dot org
The following produces a segfault at runtime with -O2 and higher module m type t real x contains procedure, pass :: a end type contains real function a (arg) class (t) :: arg a = arg%x end function real function b (arg) real :: arg b = arg*2 end function

[Bug target/41751] bad code with arrays as local vars and no optimization

2009-10-19 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2009-10-19 10:20 --- You haven't provide a small self-contained executable testcase, so you need to explain in detail what do you think is wrong on the generated assembly. I don't see anything wrong on it, especially not in the diff

[Bug fortran/41753] OOP - segfault with -O2 using methods as actual arguments

2009-10-19 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2009-10-19 10:23 --- Confirmed on (i686|powerpc)-apple-darwin9 revision 152966. On -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41753

[Bug fortran/41494] [4.5 Regression] temp and memcpy used when zeroing array

2009-10-19 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-19 10:38 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2009-10-19 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-19 10:53 --- Sounds more like a BSD threads issue, so you need to debug it more. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/41529] [4.5 Regression] LTO configuration should detect if the target is ELF

2009-10-19 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-19 10:54 --- *** Bug 41746 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/41746] LTO Fails to bootstrap, stage 2

2009-10-19 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-19 10:54 --- Indeed. *** This bug has been marked as a duplicate of 41529 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/41747] ICEin extract_insn, at recog.c:2091

2009-10-19 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-19 10:55 --- Target seems broken. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/41749] non-needed instructions are not removed (not optimized)

2009-10-19 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-19 10:58 --- It aligns the incoming stack. Fixed in 4.4/4.5. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/41750] gcc 4.5.0 miscompiles binutils

2009-10-19 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-10-19 11:00 --- Testcase required. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/41751] bad code with arrays as local vars and no optimization

2009-10-19 Thread sezeroz at gmail dot com
--- Comment #6 from sezeroz at gmail dot com 2009-10-19 11:11 --- (In reply to comment #5) function is left, so chances are you are refering to a variable later on even after it went out of scope. By a closer look, the function is called twice, first by its argument set to true in

[Bug c/41750] gcc 4.5.0 miscompiles binutils

2009-10-19 Thread rainer at emrich-ebersheim dot de
--- Comment #2 from rainer at emrich-ebersheim dot de 2009-10-19 11:43 --- Subject: Re: gcc 4.5.0 miscompiles binutils -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 rguenth at gcc dot gnu dot org schrieb: --- Comment #1 from rguenth at gcc dot gnu dot org 2009-10-19 11:00

[Bug c/41750] gcc 4.5.0 miscompiles binutils

2009-10-19 Thread rainer at emrich-ebersheim dot de
--- Comment #3 from rainer at emrich-ebersheim dot de 2009-10-19 11:51 --- Forgot to mention that's with binutils 2.20 and binutils head. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750

[Bug c/41750] gcc 4.5.0 miscompiles binutils

2009-10-19 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-10-19 12:06 --- For a suspected wrong-code bug, the standard way to create a testcase is to first find out if there are gcc options with which you get the expected result (such as it works when compiled with -O0, doesn't when

[Bug debug/40521] [4.4/4.5 Regression] -g causes GCC to generate .eh_frame

2009-10-19 Thread jakub at gcc dot gnu dot org
--- Comment #21 from jakub at gcc dot gnu dot org 2009-10-19 12:15 --- Subject: Bug 40521 Author: jakub Date: Mon Oct 19 12:15:27 2009 New Revision: 152974 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152974 Log: Backport from mainline: 2009-10-16 Jakub Jelinek

[Bug debug/40521] [4.4/4.5 Regression] -g causes GCC to generate .eh_frame

2009-10-19 Thread jakub at gcc dot gnu dot org
--- Comment #22 from jakub at gcc dot gnu dot org 2009-10-19 12:21 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug preprocessor/41748] Adjust documentation to reflect new (afrer rev. 152599) cpp behavior

2009-10-19 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2009-10-19 13:17 --- Ok, thanks for the clarification. I believe this should be documented. -- d dot g dot gorbachev at gmail dot com changed: What|Removed |Added

[Bug c++/41754] New: initializer list internal compiler segfault

2009-10-19 Thread tom dot deseyn at gmail dot com
This program generates an internal compiler error: Segmentation fault. #include map #include string #include iostream using namespace std; int main() { mapstring, string m; m.insert({{t, t}, {y, y}}); return 0; } $ g++ -std=c++0x test.cpp test.cpp: In function 'int

[Bug fortran/41755] New: Segfault on invalid code

2009-10-19 Thread rguenth at gcc dot gnu dot org
From https://bugzilla.novell.com/show_bug.cgi?id=546031 cat without_comma.f c without comma common /uno/ aa equivalence (aa,a) (bb,cc) end gfortran without_comma.f f951: internal compiler error: ViolaciĆ³n de segmento Please submit a full

[Bug fortran/41755] Segfault on invalid code

2009-10-19 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2009-10-19 14:08 --- Gives pr41755.f90:2.28: equivalence (aa,a) (bb,cc) 1 Error: Syntax error in EQUIVALENCE statement at (1) with gfortran 4.2.4, and a bus error at compile time with 4.3.4,

[Bug target/41196] The use of ARM NEON vshll_n_u8 intrinsic results in compile error on valid code [4.4 only]

2009-10-19 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2009-10-19 14:08 --- 4.4 branch is again open for bugfixes... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41196

[Bug lto/41569] .../prev-gcc/xgcc used for the install step of the lto-plugin

2009-10-19 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-10-19 14:19 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added OtherBugsDependingO|

[Bug target/40134] symbols not resolved when building shared libraries (link with -lgcc_s -lgcc?)

2009-10-19 Thread doko at gcc dot gnu dot org
--- Comment #3 from doko at gcc dot gnu dot org 2009-10-19 14:26 --- Subject: Bug 40134 Author: doko Date: Mon Oct 19 14:26:28 2009 New Revision: 152975 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152975 Log: 2009-10-19 Matthias Klose d...@ubuntu.com PR target/40134

[Bug fortran/41724] PUREness/ELEMENTAL check missing for ACTUAL/DUMMY conformance

2009-10-19 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-10-19 14:31 --- Similarly for proc-pointers, cf. PR 41733. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41724

[Bug middle-end/41750] gcc 4.5.0 miscompiles binutils

2009-10-19 Thread rainer at emrich-ebersheim dot de
--- Comment #5 from rainer at emrich-ebersheim dot de 2009-10-19 14:46 --- works when build with -g -O0 and -g -O1. fails when build with -g -O2 and -g -O3. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750

[Bug lto/41569] .../prev-gcc/xgcc used for the install step of the lto-plugin

2009-10-19 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-19 15:03 --- Maybe Paolo can help here - copying the usual HACK boilerplate from libssp/Makefile.am into lto-plugin/Makefile.am doesn't help (but libgomp also does not need that). I have no idea how this is supposed to work and

[Bug lto/41569] .../prev-gcc/xgcc used for the install step of the lto-plugin

2009-10-19 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-19 15:18 --- It also builds lto-plugin again at install time. Huh. make[2]: Nothing to be done for `install'. make[2]: Leaving directory `/usr/src/packages/BUILD/gcc-4.5.0-20091018/obj-x86_64-suse-linux/gnattools' make[2]:

[Bug target/39247] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE

2009-10-19 Thread rearnsha at gcc dot gnu dot org
--- Comment #4 from rearnsha at gcc dot gnu dot org 2009-10-19 15:18 --- (In reply to comment #3) .text ldr r0, .L30 ... .section.text.unlikely .L30: .word 1819043176 This is broken. We can't reference from .text to .text.unlikely since we

[Bug middle-end/41750] gcc 4.5.0 miscompiles binutils

2009-10-19 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-10-19 15:21 --- Try also -g -O2 -fno-strict-aliasing, if that one works, look for aliasing warnings. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750

[Bug target/39247] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE

2009-10-19 Thread rearnsha at gcc dot gnu dot org
--- Comment #5 from rearnsha at gcc dot gnu dot org 2009-10-19 15:26 --- (In reply to comment #1) Subject: Re: New: FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE The ARM constant pool code needs to handle a NOTE_INSN_SWITCH_TEXT_SECTIONS note in

[Bug target/39247] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE

2009-10-19 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2009-10-19 15:42 --- You should not depend on NOTE_INSN_SWITCH_TEXT_SECTIONS. There are other ways to see if a jump goes from one section to another: edge-flags EDGE_CROSSING (preferred), and REG_CROSSING_JUMP notes (more reliable in

[Bug middle-end/41753] OOP - segfault with -O2 using methods as actual arguments

2009-10-19 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2009-10-19 15:46 --- Have cc'd Richi to see if he can shed any light on this. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/39247] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE

2009-10-19 Thread rearnsha at gcc dot gnu dot org
--- Comment #7 from rearnsha at gcc dot gnu dot org 2009-10-19 15:50 --- (In reply to comment #6) You should not depend on NOTE_INSN_SWITCH_TEXT_SECTIONS. There are other ways to see if a jump goes from one section to another: edge-flags EDGE_CROSSING (preferred), and

[Bug middle-end/41734] ICE in cgraph_mark_functions_to_output, at cgraphunit.c:1137 with -fwhopr

2009-10-19 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-19 16:03 --- Papering over this bug gets us as far as reaching void cgraph_mark_needed_node (struct cgraph_node *node) { node-needed = 1; gcc_assert (!node-global.inlined_to); --

[Bug middle-end/41750] gcc 4.5.0 miscompiles binutils

2009-10-19 Thread rainer at emrich-ebersheim dot de
--- Comment #7 from rainer at emrich-ebersheim dot de 2009-10-19 16:08 --- Subject: Re: gcc 4.5.0 miscompiles binutils jakub at gcc dot gnu dot org wrote: --- Comment #6 from jakub at gcc dot gnu dot org 2009-10-19 15:21 --- Try also -g -O2 -fno-strict-aliasing, if that

[Bug middle-end/41750] gcc 4.5.0 miscompiles binutils

2009-10-19 Thread rainer at emrich-ebersheim dot de
--- Comment #8 from rainer at emrich-ebersheim dot de 2009-10-19 16:19 --- fails when build with -g -O1 -fipa-sra. So, the ipa-sra pass causes the issue, no? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750

[Bug target/39247] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE

2009-10-19 Thread rearnsha at gcc dot gnu dot org
--- Comment #8 from rearnsha at gcc dot gnu dot org 2009-10-19 16:19 --- Created an attachment (id=18826) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18826action=view) Proposed patch Currently only very lightly tested, but this should solve the issue. --

[Bug middle-end/41750] gcc 4.5.0 miscompiles binutils

2009-10-19 Thread rainer at emrich-ebersheim dot de
--- Comment #9 from rainer at emrich-ebersheim dot de 2009-10-19 16:30 --- build with -g -O1 -fipa-sra -fno-inline I get the following backtrace: Core was generated by `ia64-unknown-linux-gnu-ld --verbose --sysroot=/opt/devel/tec/setup/sys-root/Lin'. Program terminated with signal 11,

[Bug target/39247] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE

2009-10-19 Thread joseph at codesourcery dot com
--- Comment #9 from joseph at codesourcery dot com 2009-10-19 16:44 --- Subject: Re: FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE On Mon, 19 Oct 2009, rearnsha at gcc dot gnu dot org wrote: I don't think there should be such notes on ARM due to the

[Bug fortran/41755] Segfault on invalid code

2009-10-19 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2009-10-19 16:45 --- I'm regression testing a patch at the moment. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/39247] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE

2009-10-19 Thread joseph at codesourcery dot com
--- Comment #10 from joseph at codesourcery dot com 2009-10-19 16:46 --- Subject: Re: FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE On Mon, 19 Oct 2009, rearnsha at gcc dot gnu dot org wrote: Created an attachment (id=18826) --

[Bug libstdc++/40654] [C++0x] atomic.cc: 'd' is used uninitialized warning

2009-10-19 Thread bkoz at gcc dot gnu dot org
--- Comment #7 from bkoz at gcc dot gnu dot org 2009-10-19 16:46 --- In for gcc-4.4.3 -- bkoz at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/40826] [C++0x] atomic_flag_{test_and_set,clear}_explicit() are apparently broken

2009-10-19 Thread bkoz at gcc dot gnu dot org
--- Comment #5 from bkoz at gcc dot gnu dot org 2009-10-19 16:47 --- Fixed on trunk and gcc-4_4-branch -- bkoz at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41755] Segfault on invalid code

2009-10-19 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-10-19 16:50 --- I already posted one - http://gcc.gnu.org/ml/fortran/2009-10/msg00172.html I thought I had marked it as ASSIGNED but seemingly I was distracted and didn't :-( -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41755

[Bug lto/41756] New: LTO: -flto -O1 -use-linker-plugin, linking files compiled with -fno-exceptions with ones compiled with exceptions yields error BB 14 can not throw but has an EH edge

2009-10-19 Thread edwintorok at gmail dot com
++ --enable-gold Thread model: posix gcc version 4.5.0 20091019 (experimental) (GCC) sh -x script + /home/edwin/inst/bin/g++ -fPIC SourceMgr.i -flto -fno-exceptions -O1 -c -o SourceMgr.o + /home/edwin/inst/bin/g++ -fPIC AsmMatcherEmitter.i -flto -O1 -c -o AsmMatcher.o + /home/edwin/inst/bin/g++ -flto -use

[Bug lto/41756] LTO: -flto -O1 -use-linker-plugin, linking files compiled with -fno-exceptions with ones compiled with exceptions yields error BB 14 can not throw but has an EH edge

2009-10-19 Thread edwintorok at gmail dot com
--- Comment #1 from edwintorok at gmail dot com 2009-10-19 16:55 --- Created an attachment (id=18827) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18827action=view) SourceMgr.i preprocessed SourceMgr.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41756

[Bug lto/41756] LTO: -flto -O1 -use-linker-plugin, linking files compiled with -fno-exceptions with ones compiled with exceptions yields error BB 14 can not throw but has an EH edge

2009-10-19 Thread edwintorok at gmail dot com
--- Comment #2 from edwintorok at gmail dot com 2009-10-19 16:56 --- Created an attachment (id=18828) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18828action=view) AsmMatcherEmitter.i.bz2 bzipped preprocessed AsmMatcherEmitter.i --

[Bug lto/41756] LTO: -flto -O1 -use-linker-plugin, linking files compiled with -fno-exceptions with ones compiled with exceptions yields error BB 14 can not throw but has an EH edge

2009-10-19 Thread edwintorok at gmail dot com
--- Comment #3 from edwintorok at gmail dot com 2009-10-19 16:58 --- ld -v GNU gold (GNU Binutils for Debian 2.20) 1.9 This happens only if I use all of -flto -O1 -use-linker-plugin, not using -O1, or not using -use-linker-plugin hides the bug (and not using -flto too of course). --

[Bug lto/41756] LTO: -flto -O1 -use-linker-plugin, linking files compiled with -fno-exceptions with ones compiled with exceptions yields error BB 14 can not throw but has an EH edge

2009-10-19 Thread edwintorok at gmail dot com
--- Comment #4 from edwintorok at gmail dot com 2009-10-19 16:59 --- (In reply to comment #3) ld -v GNU gold (GNU Binutils for Debian 2.20) 1.9 This happens only if I use all of -flto -O1 -use-linker-plugin, not using -O1, or not using -use-linker-plugin hides the bug (and not

[Bug debug/41340] [4.5 Regression] G++ produces different code with and without -g option

2009-10-19 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2009-10-19 17:05 --- Confirmed, for -m32 -march=i686 -O3 -g vs. -g0 generates different code on: typedef struct { int t; } *T; struct S1 { unsigned s1; }; struct S2 { struct S1 s2; }; struct S3 { unsigned s3; struct S2 **s4; }; struct S5

[Bug middle-end/41750] gcc 4.5.0 miscompiles binutils

2009-10-19 Thread rainer at emrich-ebersheim dot de
--- Comment #10 from rainer at emrich-ebersheim dot de 2009-10-19 17:06 --- The line numbers in the traceback in comment #9 are completly bogus. I had to upgrade my gdb to version 0.7. Now it looks much better: Core was generated by `ia64-unknown-linux-gnu-ld --verbose

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2009-10-19 Thread yuri at tsoft dot com
--- Comment #4 from yuri at tsoft dot com 2009-10-19 17:20 --- I confirm this on FreeBSD-8.0 for gcc-4.5.0.20091001. I notified the maintainer of FreeBSD gcc port. But once the fix will be found it should go into gcj itself, not into port. --

[Bug debug/41340] [4.5 Regression] G++ produces different code with and without -g option

2009-10-19 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2009-10-19 17:14 --- NONDEBUG_INSN_P differences start appearing in DSE1, looking into it. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/41750] gcc 4.5.0 miscompiles binutils

2009-10-19 Thread rainer at emrich-ebersheim dot de
--- Comment #11 from rainer at emrich-ebersheim dot de 2009-10-19 17:24 --- verified that compiling only bfd/elf64-ia64.c with -fno-ipa-sra is sufficient to get a working ia64-unknown-linux-gnu-ld. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750

[Bug lto/41756] LTO: -flto -O1 -use-linker-plugin, linking files compiled with -fno-exceptions with ones compiled with exceptions yields error BB 14 can not throw but has an EH edge

2009-10-19 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2009-10-19 17:34 --- You can't merge no-exception and exception code, it seems. Should exceptions be enabled per-function for LTO? -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/39247] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE

2009-10-19 Thread rearnsha at gcc dot gnu dot org
--- Comment #11 from rearnsha at gcc dot gnu dot org 2009-10-19 17:51 --- (In reply to comment #9) Subject: Re: FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE On Mon, 19 Oct 2009, rearnsha at gcc dot gnu dot org wrote: I don't think there should

[Bug fortran/41755] Segfault on invalid code

2009-10-19 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-10-19 18:03 --- Subject: Bug 41755 Author: burnus Date: Mon Oct 19 18:03:02 2009 New Revision: 152983 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152983 Log: 2009-10-19 Tobias Burnus bur...@net-b.de Steven G.

[Bug libstdc++/40852] [parallel-mode] parallel sort run time increases ~10 fold when vector size gets over ~4*10^9

2009-10-19 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2009-10-19 18:07 --- Have you tried selecting a different sort algorithm? The default seems to be the multi-way mergesort, but there are two quicksort options as well. -- jason at gcc dot gnu dot org changed: What

[Bug debug/41340] [4.5 Regression] G++ produces different code with and without -g option

2009-10-19 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2009-10-19 18:35 --- Actually, it is not DSE1 but already loop-invariant.c, and the difference is in max_reg_pressure of the current loop (4 vs. 5 for one of the classes). -- jakub at gcc dot gnu dot org changed: What

[Bug fortran/41586] Allocatable _scalars_ are never auto-deallocated

2009-10-19 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2009-10-19 18:46 --- Mine. Have a patch: http://gcc.gnu.org/ml/fortran/2009-10/msg00171.html -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2009-10-19 Thread yuri at tsoft dot com
--- Comment #5 from yuri at tsoft dot com 2009-10-19 19:12 --- How to run testsuite for gcj? When I run 'gmake check-gcc' from the build directory it doesn't run gcj tests at all, and gcc/g++ tests summaries are all empty. Not sure what that means. --

[Bug fortran/41755] Segfault on invalid code

2009-10-19 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-10-19 19:18 --- Subject: Bug 41755 Author: burnus Date: Mon Oct 19 19:18:12 2009 New Revision: 152987 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152987 Log: 2009-10-19 Tobias Burnus bur...@net-b.de Steven G.

[Bug fortran/41586] Allocatable _scalars_ are never auto-deallocated

2009-10-19 Thread janus at gcc dot gnu dot org
--- Comment #5 from janus at gcc dot gnu dot org 2009-10-19 19:21 --- Subject: Bug 41586 Author: janus Date: Mon Oct 19 19:21:18 2009 New Revision: 152988 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152988 Log: 2009-10-19 Janus Weil ja...@gcc.gnu.org PR

  1   2   >