[Bug libstdc++/24196] Using string instances to pass arguments to dlls fails

2009-10-24 Thread paolo dot carlini at oracle dot com
--- Comment #24 from paolo dot carlini at oracle dot com 2009-10-25 05:50 --- The Snow Leopard case is different, apparently they decided to build the system compiler with --enable-fully-dynamic-string and then that shows up everywhere, see 41645. As far as we can understand so far, peo

[Bug libstdc++/24196] Using string instances to pass arguments to dlls fails

2009-10-24 Thread johnw at gnu dot org
--- Comment #23 from johnw at gnu dot org 2009-10-25 05:50 --- I should also mention, this discrepancy only occurs when _GLIBCXX_DEBUG=1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196

[Bug libstdc++/24196] Using string instances to pass arguments to dlls fails

2009-10-24 Thread johnw at gnu dot org
--- Comment #22 from johnw at gnu dot org 2009-10-25 05:43 --- A little more data: With the stock compiler, g++ 4.2.1: vulcan /tmp $ otool -L bug bug: /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0) /usr/lib/libSystem.B.dylib (compatibili

[Bug libstdc++/24196] Using string instances to pass arguments to dlls fails

2009-10-24 Thread johnw at gnu dot org
--- Comment #21 from johnw at gnu dot org 2009-10-25 05:40 --- I'm actually getting this same error on Snow Leopard (Mac OS X 10.6.0). It's pretty easy to reproduce with Boost (1.40): #include #include #include int main() { std::ostringstream buf; boost::variant data; data =

[Bug lto/41821] ICE in LTO when linking

2009-10-24 Thread mckelvey at maskull dot com
--- Comment #1 from mckelvey at maskull dot com 2009-10-25 01:27 --- I presume that you will need stest0.o and libPatternDriver.a to recreate, but tarring and bz2ing those together yields about 25M, too much to attach. Please advise. -- mckelvey at maskull dot com changed:

[Bug lto/41821] New: ICE in LTO when linking

2009-10-24 Thread mckelvey at maskull dot com
I get this error when linking in most of my project's regression tests, but always at the same address in gimple.c. /usr/local/bin/g++ -O3 -DNDEBUG -DUSE_INTL=1 -DUSE_MUTEX=1 -findirect-inlining -Winline -flto -pedantic-errors -Werror -ansi -fno-common -Wall -Wold-style-cast -Wsign-promo -Wp

[Bug other/41820] New: cc1: error: Cannot load plugin ./selfassign.so

2009-10-24 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/plugin/self-assign-test-1.c -fplugin=./self assign.so -O -S -o self-assign-test-1.s(timeout = 300) cc1: error: Cannot load plugin ./selfassign.so Unresolved symbol: tree_code_t

[Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main

2009-10-24 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca 2009-10-24 22:49 --- Subject: Re: [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main On Sat, 24 Oct 2009, rguenth at gcc dot gnu dot org wrote: > Can you attach preprocessed source (or redu

[Bug fortran/37829] ICE in resolve_symbol

2009-10-24 Thread mikael at gcc dot gnu dot org
--- Comment #8 from mikael at gcc dot gnu dot org 2009-10-24 22:42 --- (In reply to comment #7) > It seems that the patch in comment #2 has been silently applied Not exactly silently. It was pr38672 > Apparently the failure of the test in comment #4 is due to the fact that > c_funptr i

[Bug c++/41819] [4.5 regression] ICE with try/catch and -fno-exceptions

2009-10-24 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41819

[Bug c++/41819] New: [4.5 regression] ICE with try/catch and -fno-exceptions

2009-10-24 Thread reichelt at gcc dot gnu dot org
The following code snippet triggers an ICE when compiled with -fno-exceptions: === void f() { try {} catch (...) {} } === bug.cc: In function 'void f()': bug.cc:9:10: error: exception handling disabled, use -fexceptions to enable bug.cc:10:1: internal compiler

[Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile

2009-10-24 Thread denis dot onischenko at gmail dot com
--- Comment #1 from denis dot onischenko at gmail dot com 2009-10-24 20:23 --- I run the configure script as follows: ../src/configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=powerpc64-unknown-linux-gnu --prefix=$(BUILDDIR)/cross-tools --disable-werror

[Bug bootstrap/41818] New: Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile

2009-10-24 Thread denis dot onischenko at gmail dot com
The following error occurs when compiling "x86_64 to powerpc64" cross compiler, as soon as the libgcc_s.so.1 has appeared in obj/gcc directory: ... # Now that we have built all the objects, we need to copy # them back to the GCC directory. Too many things (other # in-tree libraries, and DejaGNU)

[Bug target/41799] __enable_execute_stack introduced for mingw32 in r134089 doesn't work for kernel-mode components

2009-10-24 Thread colin at reactos dot org
--- Comment #2 from colin at reactos dot org 2009-10-24 18:31 --- Already said on IRC but for the record: The patch works well and setting -fno-set-stack-executable fixes the problem for me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41799

[Bug middle-end/41817] elfutils triggers bogus "may be uninitialized" with -O3 -mtune=k8

2009-10-24 Thread marti at juffo dot org
--- Comment #2 from marti at juffo dot org 2009-10-24 18:27 --- Created an attachment (id=1) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=1&action=view) dwarf_getcfi_elf.i Sorry! Here you go :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41817

[Bug middle-end/41817] elfutils triggers bogus "may be uninitialized" with -O3 -mtune=k8

2009-10-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-10-24 18:24 --- Can you provide the preprocessed source as requested by http://gcc.gnu.org/bugs.html ? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/41817] New: elfutils triggers bogus "may be uninitialized" with -O3 -mtune=k8

2009-10-24 Thread marti at juffo dot org
When trying to compile elfutils version 0.143 on x86_64 Arch Linux using GCC 4.4.1 or 4.4.2 with options -mtune=k8 -O3, I get the following output: gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DIS_LIBDW -I. -I.. -I. -I. -I./../libelf -I.. -I./../lib-Wall -Werror -Wshadow -Wunused -Wformat=2 -Wextra -std

[Bug fortran/41784] [OOP] ICE in load_derived_extensions

2009-10-24 Thread janus at gcc dot gnu dot org
--- Comment #16 from janus at gcc dot gnu dot org 2009-10-24 16:53 --- Fixed with r153534. Closing. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41784] [OOP] ICE in load_derived_extensions

2009-10-24 Thread janus at gcc dot gnu dot org
--- Comment #15 from janus at gcc dot gnu dot org 2009-10-24 16:51 --- Subject: Bug 41784 Author: janus Date: Sat Oct 24 16:50:41 2009 New Revision: 153534 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153534 Log: 2009-10-24 Janus Weil Paul Thomas PR f

[Bug c++/41816] New: libstdc++.so.6.0.14-gdb.py is not an ELF file

2009-10-24 Thread jvdelisle at gcc dot gnu dot org
There was some brief discussion on IRC about how to fix this. This is the reminder PR -- Summary: libstdc++.so.6.0.14-gdb.py is not an ELF file Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/41815] New: GCC wrongly treats rvalues of non-class type cv-qualified

2009-10-24 Thread schaub-johannes at web dot de
The issue rises up with C++0x's decltype and rvalue references: int const f() { return 0; } int &&r = f(); // binding "int&&" to "int" should succeed decltype(0, f()) i; // "i" should get type "int", not "int const". In C++, non-class type are not cv-qualified. -- Summary: GCC wro

[Bug middle-end/19154] miss-optimization of (x & pow2C) avr conditionals returning bool equivalent values

2009-10-24 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #8 from hutchinsonandy at gcc dot gnu dot org 2009-10-24 15:39 --- Subject: Bug 19154 Author: hutchinsonandy Date: Sat Oct 24 15:39:23 2009 New Revision: 153531 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153531 Log: PR middle-end/19154 * avr.md (QIDI): A

[Bug libgcj/41814] ICE in jc1 during bootstrap of gcj

2009-10-24 Thread dl9pf at gmx dot de
--- Comment #2 from dl9pf at gmx dot de 2009-10-24 15:38 --- Created an attachment (id=18887) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18887&action=view) --save-temps file 2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41814

[Bug libgcj/41814] ICE in jc1 during bootstrap of gcj

2009-10-24 Thread dl9pf at gmx dot de
--- Comment #1 from dl9pf at gmx dot de 2009-10-24 15:37 --- Created an attachment (id=18886) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18886&action=view) --save-temps file 1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41814

[Bug middle-end/19154] miss-optimization of (x & pow2C) avr conditionals returning bool equivalent values

2009-10-24 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #7 from hutchinsonandy at gcc dot gnu dot org 2009-10-24 15:36 --- Subject: Bug 19154 Author: hutchinsonandy Date: Sat Oct 24 15:36:40 2009 New Revision: 153530 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153530 Log: PR middle-end/19154 * avr.md (QIDI): Add new m

[Bug libgcj/41814] New: ICE in jc1 during bootstrap of gcj

2009-10-24 Thread dl9pf at gmx dot de
compilation of gnu/javax/crypto/.libs/cipher.o leads to a ICE. Compilation not possible. Trace: /gcc/gcc-4.5-20091015/BUILD/./gcc/gcj -B/gcc/gcc-4.5-20091015/BUILD/armv5tel-unknown-linux-gnueabi/libjava/ -B/gcc/gcc-4.5-20091015/BUILD/./gcc/ -B/usr/armv5tel-unknown-linux-gnueabi/bin/ -B/usr/armv5t

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

2009-10-24 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-10-24 14:49 --- (In reply to comment #6) > I have a hard way thinking of a way this is a regression. Well it is partly a regression as if you have libelf installed in /usr/local or /usr, configure will find it by default and if yo

[Bug middle-end/41812] [4.5 Regression] test 20071030-1.c fails execution on powerpc64

2009-10-24 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2009-10-24 12:12 --- The tests fail also on powerpc-apple-darwin9 when compiled with -m64. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41812

[Bug target/41500] [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc

2009-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2009-10-24 12:08 --- Does 4.5 work? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component

[Bug target/41621] [4.4 regression] powerpc-linux-gnu 32bit testsuite regressions with -Os

2009-10-24 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41621

[Bug objc/41617] [4.4/4.5 regression] ObjC: Error: symbol `_OBJC_CLASS_AppController' is already defined

2009-10-24 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 Target Milestone|--- |4.4.3 http://gcc

[Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main

2009-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-24 12:03 --- Can you attach preprocessed source (or reduce the testcase to not require headers?) -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/41684] [4.4/4.5 regression] binutils testsuite failures when built with 4.4/4.5

2009-10-24 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41684

[Bug debug/41801] [4.5 Regression] VTA: ICE in loc_cmp.

2009-10-24 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41801

[Bug c++/41785] [4.5 Regression] [C++0x] ICE on canonical types with variadic templates and CRTP

2009-10-24 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||wrong-code Priority|P3 |P1 http:

[Bug tree-optimization/41775] [4.5 Regression] IPA-SRA: ice in rewrite_stmt, at tree-into-ssa.c:1302

2009-10-24 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 Version|unknown |4.5.0 http://gcc

[Bug tree-optimization/41735] [4.5 Regression] inlined comdat function sometimes is emitted

2009-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-24 11:59 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

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

2009-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-24 11:56 --- I have a hard way thinking of a way this is a regression. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

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

2009-10-24 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41473

[Bug bootstrap/41451] [4.5 Regression] Bootstrap failure with fold checking

2009-10-24 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41451

[Bug bootstrap/41399] [4.5 Regression] Internal error compiling fortran/intrinsic.c

2009-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-24 11:53 --- Can someone attach preprocessed source? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

[Bug middle-end/41264] [4.5 Regression] variable-tracking unbelievably slow

2009-10-24 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41264

[Bug target/41176] [4.4/4.5 Regression] ICE in reload_cse_simplify_operands at postreload.c:396

2009-10-24 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41176

[Bug fortran/41807] [4.5/4.4 Regression] data statement with nested type constructors

2009-10-24 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 Summary|[4.5, 4.4 Regression] data |[4.5/4.4 Regressio

[Bug target/41813] [4.5 Regression] SH: delay slot is filled with a wrong insn

2009-10-24 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=41813

[Bug middle-end/41812] [4.5 Regression] test 20071030-1.c fails execution on powerpc64

2009-10-24 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 Summary|test 20071030-1.c fails |[4.5 Regression] t

[Bug bootstrap/39051] --without-{ppl,cloog} should also disable version checks

2009-10-24 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-10-24 11:34 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRM

[Bug middle-end/41611] [4.5 Regression] guard variable is emitted even when the guarded symbol isn't

2009-10-24 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||wrong-code Priority|P3 |P1 http:

[Bug fortran/41772] [4.4/4.5 Regression] Wrong code due to TRANSFER of EMPTY array section

2009-10-24 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2009-10-24 10:11 --- Subject: Bug 41772 Author: pault Date: Sat Oct 24 10:11:46 2009 New Revision: 153524 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153524 Log: 2009-10-24 Paul Thomas PR fortran/41772 * tra

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

2009-10-24 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-10-24 09:59 --- I agree with Andrew, but as a middle way you could put something like this in config/elf.m4: dnl usage: ACX_ELF_TARGET_IFELSE([if-elf], [if-not-elf]) AC_DEFUN([ACX_ELF_TARGET_IFELSE]), [ AC_REQUIRE([AC_CANONICAL_TARGET]) t

[Bug fortran/41807] [4.5, 4.4 Regression] data statement with nested type constructors

2009-10-24 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2009-10-24 09:38 --- A reduced testcase module w real, parameter :: zero = 0.0 type, public :: multpol real :: coor(3) end type multpol integer, public, parameter :: n_nuc=2 type(multpol), public :: dft_water_nuc(n_

[Bug middle-end/41812] test 20071030-1.c fails execution on powerpc64

2009-10-24 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |bonzini at gnu dot org |dot org |

[Bug fortran/41807] [4.5, 4.4 Regression] data statement with nested type constructors

2009-10-24 Thread pault at gcc dot gnu dot org
-- pault at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirm