[Bug target/44163] New: [4.6 Regression] Multiple failures in the objc and libgomp test suites

2010-05-17 Thread dominiq at lps dot ens dot fr
Since revision 159443, there are multiple failures in the objc and libgomp test suites (see http://gcc.gnu.org/ml/gcc-testresults/2010-05/msg01478.html ). They are all of the form: /var/tmp//ccIspVYP.s:816:non-relocatable subtraction expression, "___emutls_v.baz.1169" minus "L002$pb"^M /va

[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10

2010-05-17 Thread dominiq at lps dot ens dot fr
--- Comment #22 from dominiq at lps dot ens dot fr 2010-05-17 07:21 --- I have open pr44163 for the testsuite failures on ppc-darwin. Since they are fixed by reverting revision 159371, I think pr44163 is related to this one (if not a duplicate). -- http://gcc.gnu.org/bugzilla/show_b

[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10

2010-05-17 Thread dominiq at lps dot ens dot fr
--- Comment #23 from dominiq at lps dot ens dot fr 2010-05-17 07:25 --- Although it may be unrelated, pr44163 reports intermittent bootstrap failures related to TLS found or not. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44146

[Bug target/44163] [4.6 Regression] Multiple failures in the objc and libgomp test suites

2010-05-17 Thread iains at gcc dot gnu dot org
--- Comment #1 from iains at gcc dot gnu dot org 2010-05-17 07:43 --- @159462 on powerpc64 with: http://gcc.gnu.org/ml/gcc-patches/2010-05/msg01119.html (and needed for m32, but not to solve the tls problem) http://gcc.gnu.org/ml/gcc-patches/2010-05/msg01125.html ObjC/C++ tls fails are

[Bug bootstrap/42347] [4.5/4.6 Regression] sched-deps.c:3840:1: internal compiler error: in fixup_reorder_chain, at cfglayout.c:796

2010-05-17 Thread siarhei dot siamashka at gmail dot com
--- Comment #18 from siarhei dot siamashka at gmail dot com 2010-05-17 07:53 --- Created an attachment (id=20676) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20676&action=view) powerpc64-broken-unreachable.i With the attached file (and '-O2 -c' options): 1. powerpc64 crosscompi

[Bug middle-end/44078] [4.6 regression] FAIL: gcc.dg/tree-ssa/prefetch-7.c

2010-05-17 Thread krebbel at gcc dot gnu dot org
--- Comment #4 from krebbel at gcc dot gnu dot org 2010-05-17 07:54 --- Subject: Bug 44078 Author: krebbel Date: Mon May 17 07:53:20 2010 New Revision: 159475 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159475 Log: 2010-05-17 Christian Borntraeger PR 44078

[Bug fortran/44044] [OOP] SELECT TYPE with class-valued function

2010-05-17 Thread janus at gcc dot gnu dot org
--- Comment #6 from janus at gcc dot gnu dot org 2010-05-17 08:25 --- Subject: Bug 44044 Author: janus Date: Mon May 17 08:25:06 2010 New Revision: 159476 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159476 Log: 2010-05-17 Janus Weil PR fortran/44044 * reso

[Bug middle-end/44164] New: [4.5.0] Aliasing bug triggered by Boost.Bind/Boost.Function

2010-05-17 Thread maxime at altribe dot org
Using Boost.Bind/Boost.Function triggers what seems to be an aliasing bug with G++ 4.5.0. The minimal test case (including Boost.Bind and Boost.Function) is attached. It works and no errors are detected by valgrind with either flags : -O0 -O1 -O2 -fno-inline -O2 -fno-strict-aliasing -Os It c

[Bug fortran/44044] [OOP] SELECT TYPE with class-valued function

2010-05-17 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2010-05-17 08:31 --- Comment #0 and #1 are fixed at this point. I think the runtime checking in comment #2 one can ignore for the moment, since most usage cases of ordinary pointers are also not checked for. So the only ToDo item left her

[Bug middle-end/44164] [4.5.0] Aliasing bug triggered by Boost.Bind/Boost.Function

2010-05-17 Thread maxime at altribe dot org
--- Comment #1 from maxime at altribe dot org 2010-05-17 08:31 --- Created an attachment (id=20677) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20677&action=view) Test case including Boost.Bind and Boost.Function. I had to gzip the .ii file because of size limit. -- http://

[Bug target/44163] [4.6 Regression] Multiple failures in the objc and libgomp test suites

2010-05-17 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-05-17 08:45 --- > Reverting revision 159371 fixes these failures. I had to revert revision 159371 at revision 159429 with the patch inhttp://gcc.gnu.org/ml/gcc-patches/2010-04/msg00129.html . -- http://gcc.gnu.org/bugzilla/show

[Bug target/44163] [4.6 Regression] Multiple failures in the objc and libgomp test suites

2010-05-17 Thread iains at gcc dot gnu dot org
--- Comment #3 from iains at gcc dot gnu dot org 2010-05-17 08:54 --- (In reply to comment #2) > > Reverting revision 159371 fixes these failures. > > I had to revert revision 159371 at revision 159429 with the patch > inhttp://gcc.gnu.org/ml/gcc-patches/2010-04/msg00129.html . You had

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

2010-05-17 Thread sebastian dot huber at embedded-brains dot de
--- Comment #14 from sebastian dot huber at embedded-brains dot de 2010-05-17 09:04 --- This bug is present since r130052 which is related to: http://gcc.gnu.org/ml/gcc-patches/2007-10/msg01814.html If this is a generic bug or not is quite irrelevant since this is a very serious bug o

[Bug bootstrap/42347] [4.5/4.6 Regression] sched-deps.c:3840:1: internal compiler error: in fixup_reorder_chain, at cfglayout.c:796

2010-05-17 Thread siarhei dot siamashka at gmail dot com
--- Comment #19 from siarhei dot siamashka at gmail dot com 2010-05-17 09:06 --- Can anybody knowledgeable verify whether it was commit r151790 ( http://repo.or.cz/w/official-gcc.git/commit/9dbb96fec5e08762f97dda771522283f1fe9710f ) that is causing troubles when __builtin_unreachable()

[Bug bootstrap/42347] [4.5/4.6 Regression] sched-deps.c:3840:1: internal compiler error: in fixup_reorder_chain, at cfglayout.c:796

2010-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #20 from jakub at gcc dot gnu dot org 2010-05-17 09:08 --- Perhaps dup of PR44071 that got fixed recently? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42347

[Bug target/44163] [4.6 Regression] Multiple failures in the objc and libgomp test suites

2010-05-17 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2010-05-17 09:08 --- > You had to revert 159371 in addition to the patch: > http://gcc.gnu.org/ml/gcc-patches/2010-05/msg01119.html > > or instead of that patch? Sorry for the confusion. In my powerpc-apple-darwin9 tree I have the pat

[Bug lto/44149] -fuse-linker-plugin lto1: internal compiler error: in lto_symtab_merge_decls_1, at lto-symtab.c:610

2010-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-05-17 09:10 --- (In reply to comment #3) > It might be useful to compare the two decls that invoke the mismatch that > triggers the gcc_assert: > > prevailing->decl is: > > type type align 8 symtab 0 al

[Bug c++/44162] [C++0x] cannot match function ref argument to dependent std::enable_if::type

2010-05-17 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2010-05-17 09:35 --- Ok, then please open a new PR including a *minimal* testcase. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug middle-end/44164] [4.5 Regression] Aliasing bug triggered by Boost.Bind/Boost.Function

2010-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-05-17 09:39 --- It's not a dup of PR42834 (but it might be the same issue as PR42832 which was a libstdc++ bug or a frontend bug). It happens to work on trunk, so it might also be a dup of PR43987 (though unlikely), rather differen

[Bug middle-end/44164] [4.5 Regression] Aliasing bug triggered by Boost.Bind/Boost.Function

2010-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-05-17 09:44 --- The boost folks may be able to tell if they at any place copy a function_buffer object via the assignment operator. I see they also have funny stuff like get_vtable() and are playing with typeinfos. -- rguenth a

[Bug bootstrap/42347] [4.5/4.6 Regression] sched-deps.c:3840:1: internal compiler error: in fixup_reorder_chain, at cfglayout.c:796

2010-05-17 Thread siarhei dot siamashka at gmail dot com
--- Comment #21 from siarhei dot siamashka at gmail dot com 2010-05-17 10:07 --- (In reply to comment #18) > Created an attachment (id=20676) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20676&action=view) [edit] > powerpc64-broken-unreachable.i > > With the attached file (and '

[Bug bootstrap/42347] [4.5/4.6 Regression] sched-deps.c:3840:1: internal compiler error: in fixup_reorder_chain, at cfglayout.c:796

2010-05-17 Thread siarhei dot siamashka at gmail dot com
--- Comment #22 from siarhei dot siamashka at gmail dot com 2010-05-17 11:31 --- (In reply to comment #20) > Perhaps dup of PR44071 that got fixed recently? The problem is still reproducible with SVN rev 159480 in 'branches/gcc-4_5-branch', so the fix from PR44071 does not seem to help

[Bug bootstrap/43715] [4.5] configure option --enable-plugin fails on darwin

2010-05-17 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last recon

[Bug ada/42554] Can't build GNAT tools

2010-05-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #14 from fxcoudert at gcc dot gnu dot org 2010-05-17 12:07 --- Appears to be fixed. Please reopen if that's not the case. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/44108] [4.6 Regression] -Wunused-but-set-variable does not consider array sizing use of a const variable

2010-05-17 Thread dodji at gcc dot gnu dot org
--- Comment #3 from dodji at gcc dot gnu dot org 2010-05-17 12:30 --- Created an attachment (id=20678) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20678&action=view) Candidate patch On Fri, May 14, 2010 at 07:25:18AM -, jakub at gcc dot gnu dot org wrote: > That said, it wou

[Bug middle-end/44133] [4.5/4.6 Regression] Uninit warning regression with new SRA

2010-05-17 Thread jamborm at gcc dot gnu dot org
--- Comment #3 from jamborm at gcc dot gnu dot org 2010-05-17 12:48 --- Subject: Bug 44133 Author: jamborm Date: Mon May 17 12:48:34 2010 New Revision: 159482 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159482 Log: 2010-05-17 Martin Jambor PR middle-end/44133

[Bug libgcj/38812] gcj-built executables don't run after strip (libgcj erroneously references _environ)

2010-05-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2010-05-17 12:53 --- On Mac OS X (all versions), the correct fix is to use _NSGetEnviron() instead of extern variable environ, and to include . Example of use: #include #include #include int main (void) { // Instead of: extern

[Bug c/44165] New: 5/15/2010 snapshot build failure on hppa Linux

2010-05-17 Thread michael dot a dot richmond at nasa dot gov
When I attempt to compile the snapshot of 5/15/2010 on an HPPA workstation under Debian Linux 5.0 I get the following messages: checking whether the C compiler works... configure: error: in `/home/mrichmon/gcc-4.6-20100515/g95/hppa1.1-unknown-linux-gnu/libgomp': configure: error: cannot run C comp

[Bug middle-end/44164] [4.5 Regression] Aliasing bug triggered by Boost.Bind/Boost.Function

2010-05-17 Thread maxime at altribe dot org
--- Comment #4 from maxime at altribe dot org 2010-05-17 13:10 --- (In reply to comment #3) > The boost folks may be able to tell if they at any place copy a > function_buffer object via the assignment operator. It seems so. From Peter Dimov : > [...] after stepping through the code, i

[Bug bootstrap/42347] [4.5/4.6 Regression] sched-deps.c:3840:1: internal compiler error: in fixup_reorder_chain, at cfglayout.c:796

2010-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #23 from jakub at gcc dot gnu dot org 2010-05-17 13:24 --- Created an attachment (id=20679) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20679&action=view) gcc46-pr42347.patch Ah, I see. returnjump_p is considered onlyjump_p, yet it has side-effect that prevent it fr

[Bug target/44075] __builtin_eh_return miscompiled

2010-05-17 Thread bergner at gcc dot gnu dot org
--- Comment #2 from bergner at gcc dot gnu dot org 2010-05-17 13:41 --- Subject: Bug 44075 Author: bergner Date: Mon May 17 13:41:22 2010 New Revision: 159487 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159487 Log: Backport from mainline: 2010-05-14 Alan Mod

[Bug c/44166] New: -fvisibility=protected doesn't work?

2010-05-17 Thread jay dot krell at cornell dot edu
-fvisibility=protected doesn't work? a...@xlin2:~$ cat 1.c void F1() { } void* F2() { return F1; } j...@xlin2:~$ $HOME/bin/gcc 1.c -fPIC -shared -fvisibility=protected /usr/bin/ld: /tmp/cc0d6EQ3.o: relocation R_386_GOTOFF against protected function `F1' can not be used when making a shared objec

[Bug target/44163] [4.6 Regression] Multiple failures in the objc and libgomp test suites

2010-05-17 Thread iains at gcc dot gnu dot org
--- Comment #5 from iains at gcc dot gnu dot org 2010-05-17 13:43 --- (In reply to comment #4) > In my powerpc-apple-darwin9 tree I have the patch in > http://gcc.gnu.org/ml/gcc-patches/2010-05/msg01119.html for a quite long time OK, might be worth double-checking - both parts are need

[Bug target/44166] -fvisibility=protected doesn't work?

2010-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-05-17 13:47 --- Can you give the output of ld --version ? There might have been a binutils bug about this before. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/44166] -fvisibility=protected doesn't work?

2010-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-05-17 13:49 --- *** This bug has been marked as a duplicate of 37611 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/37611] invalid relocation R_386_GOTOFF when using protected function pointers

2010-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2010-05-17 13:49 --- *** Bug 44166 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/44167] New: ICE in tsubst_copy at cp/pt.c:10077

2010-05-17 Thread marc dot hofmann at gmail dot com
The following code (see below) triggers an ICE. Command line: g++ -save-temps -Wall -std=c++0x testcase.cc -o testcase Error message: testcase.cc: In function ‘int main()’: testcase.cc:42: internal compiler error: in tsubst_copy, at cp/pt.c:10077 Please submit a full bug report, with preproce

[Bug c++/44167] ICE in tsubst_copy at cp/pt.c:10077

2010-05-17 Thread marc dot hofmann at gmail dot com
--- Comment #1 from marc dot hofmann at gmail dot com 2010-05-17 13:51 --- Created an attachment (id=20680) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20680&action=view) Testcase source file. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44167

[Bug c++/44168] New: ICE in tsubst_copy at cp/pt.c:10077

2010-05-17 Thread marc dot hofmann at gmail dot com
The following code (see below) triggers an ICE. Command line: g++ -save-temps -Wall -std=c++0x testcase.cc -o testcase Error message: testcase.cc: In function ‘int main()’: testcase.cc:42: internal compiler error: in tsubst_copy, at cp/pt.c:10077 Please submit a full bug report, with preproce

[Bug c++/44108] [4.6 Regression] -Wunused-but-set-variable does not consider array sizing use of a const variable

2010-05-17 Thread dodji at gcc dot gnu dot org
--- Comment #4 from dodji at gcc dot gnu dot org 2010-05-17 13:54 --- Created an attachment (id=20681) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20681&action=view) Don't warn for integral constants Jakub, this one line patch implements the first idea which is to not warn for i

[Bug c++/44167] ICE in tsubst_copy at cp/pt.c:10077

2010-05-17 Thread redi at gcc dot gnu dot org
--- Comment #2 from redi at gcc dot gnu dot org 2010-05-17 13:55 --- *** Bug 44168 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44167

[Bug c++/44167] ICE in tsubst_copy at cp/pt.c:10077

2010-05-17 Thread marc dot hofmann at gmail dot com
--- Comment #3 from marc dot hofmann at gmail dot com 2010-05-17 13:55 --- Created an attachment (id=20682) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20682&action=view) Preprocessed file. Created with: g++ -save-temps -Wall -std=c++0x testcase.cc -o testcase -- http://g

[Bug c++/44168] ICE in tsubst_copy at cp/pt.c:10077

2010-05-17 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2010-05-17 13:55 --- *** This bug has been marked as a duplicate of 44167 *** -- redi at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/44167] ICE in tsubst_copy at cp/pt.c:10077

2010-05-17 Thread redi at gcc dot gnu dot org
--- Comment #4 from redi at gcc dot gnu dot org 2010-05-17 14:00 --- 4.5 doesn't ICE pr44167.cc: In function 'int main()': pr44167.cc:7:44: sorry, unimplemented: use of 'type_pack_expansion' in template pr44167.cc:41:35: error: no matching function for call to 'apply(int (&)(int, double

[Bug c++/44167] ICE in tsubst_copy at cp/pt.c:10077

2010-05-17 Thread redi at gcc dot gnu dot org
--- Comment #5 from redi at gcc dot gnu dot org 2010-05-17 14:03 --- (In reply to comment #4) > > possibly a dup of bug 43382 actually I don't think it is a dup, because 43382 crashes with 4.5 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44167

[Bug debug/41371] [4.5/4.6 Regression] var-tracking is slow and memory hungry

2010-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #26 from rguenth at gcc dot gnu dot org 2010-05-17 14:28 --- The problem from comment #12 seems to be back. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41371

[Bug testsuite/44159] CPU options cause testsuite failures

2010-05-17 Thread ktietz at gcc dot gnu dot org
-- ktietz at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfir

[Bug rtl-optimization/44169] New: Wrong code while generating TLS offsets

2010-05-17 Thread gcc at breakpoint dot cc
libgomp testsuite fails with a segfault. It segfaults in gomp_resolve_num_threads(), accessing the second TLS value. The first access: .LBB28: .file 2 "../../../src/libgomp/libgomp.h" .loc 2 380 0 bcl 20,31,$+8 .long _GLOBAL_OFFSET_TABLE_-$ mflr 9

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-17 Thread gcc at breakpoint dot cc
--- Comment #1 from gcc at breakpoint dot cc 2010-05-17 15:44 --- Created an attachment (id=20683) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20683&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44169

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-17 Thread gcc at breakpoint dot cc
--- Comment #2 from gcc at breakpoint dot cc 2010-05-17 15:44 --- Created an attachment (id=20684) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20684&action=view) rtl pass 185r.cprop_hardreg -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44169

[Bug rtl-optimization/44169] Wrong code while generating TLS offsets

2010-05-17 Thread gcc at breakpoint dot cc
--- Comment #3 from gcc at breakpoint dot cc 2010-05-17 15:45 --- Created an attachment (id=20685) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20685&action=view) rtl pass 186r.dce -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44169

[Bug middle-end/44164] [4.5 Regression] Aliasing bug triggered by Boost.Bind/Boost.Function

2010-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-05-17 15:50 --- (In reply to comment #4) > (In reply to comment #3) > > The boost folks may be able to tell if they at any place copy a > > function_buffer object via the assignment operator. > > It seems so. From Peter Dimov : >

[Bug c++/44170] New: compiler segfaults in specialization of template destructor

2010-05-17 Thread adavis at ti dot com
The following code crashes the compiler with this message: > g++ gccbug.cpp gccbug.cpp: In destructor 'VEXPR::~VEXPR() [with T = VECTOR_PAIR]': gccbug.cpp:32: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org

[Bug middle-end/44164] [4.5 Regression] Aliasing bug triggered by Boost.Bind/Boost.Function

2010-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-05-17 15:57 --- Basically the middle-end sees this the same as int i = 1, j; float *p = new (&i) float(0.0); j = i; return *reinterpret_cast(&j); and you expect to return 0.0. -- http://gcc.gnu.org/bugzilla/show_bug.c

[Bug c++/44170] compiler segfaults in specialization of template destructor

2010-05-17 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2010-05-17 16:34 --- 4.1.1 is no longer maintained. This doesn't cause an ICE with 4.4.3 or 4.5.0 pr44170.cc:29: error: specialization of 'VEXPR::~VEXPR() [with T = VECTOR_PAIR]' after instantiation -- redi at gcc dot gnu dot org chang

[Bug target/42904] Attribute dllexport should imply externally_visible

2010-05-17 Thread davek at gcc dot gnu dot org
--- Comment #2 from davek at gcc dot gnu dot org 2010-05-17 17:02 --- Yes, it certainly does, in fact it omits to compile any definition for 'foo' whatsoever! But isn't this the expected behaviour of using '-fwhole-program' on something that is not the whole program? I'm not sure if th

[Bug fortran/43990] [OOP] ICE in output_constructor_regular_field, at varasm.c:4995

2010-05-17 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2010-05-17 17:09 --- The patch in comment #5 fixes the ICE without side effects (AFAICT!-), but it does not fix PR43895 (see comments #3 and #4). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43990

[Bug middle-end/44102] ICE with asm goto + __builtin_unreachable () in C++

2010-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-05-17 17:18 --- Subject: Bug 44102 Author: jakub Date: Mon May 17 17:18:24 2010 New Revision: 159495 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159495 Log: PR middle-end/44102 * cfgcleanup.c (try_optimize_

[Bug bootstrap/42347] [4.5/4.6 Regression] sched-deps.c:3840:1: internal compiler error: in fixup_reorder_chain, at cfglayout.c:796

2010-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #24 from jakub at gcc dot gnu dot org 2010-05-17 17:20 --- Subject: Bug 42347 Author: jakub Date: Mon May 17 17:19:46 2010 New Revision: 159496 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159496 Log: PR bootstrap/42347 * cfglayout.c (fixup_reorder_

[Bug c++/44108] [4.6 Regression] -Wunused-but-set-variable does not consider array sizing use of a const variable

2010-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-05-17 17:25 --- Subject: Bug 44108 Author: jakub Date: Mon May 17 17:24:32 2010 New Revision: 159497 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159497 Log: PR c++/44108 * decl.c (compute_array_index_type):

[Bug bootstrap/42347] [4.5/4.6 Regression] sched-deps.c:3840:1: internal compiler error: in fixup_reorder_chain, at cfglayout.c:796

2010-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #25 from jakub at gcc dot gnu dot org 2010-05-17 17:26 --- Subject: Bug 42347 Author: jakub Date: Mon May 17 17:26:22 2010 New Revision: 159499 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159499 Log: PR bootstrap/42347 * cfglayout.c (fixup_reorder_

[Bug debug/44171] New: gcc -gdwarf-2 -dA unconditionally emits .ascii

2010-05-17 Thread ro at gcc dot gnu dot org
In testing patches to support Solaris 9/x86 with Sun as on Solaris 11/x86, I noticed that several testcases with -gdwarf-2 -dA failed, producing invalid assembler output. I could trace this down to dwarf2asm.c (dw2_asm_output_nstring) unconditionally emitting .ascii, which the Solaris 8/x86 as doe

[Bug c++/44172] New: Compiling never ends

2010-05-17 Thread rmsalinas at uco dot es
I was trying to create a tree. I have realized that the following code makes the g++ compiler to never stop compilation. #include #include #include #include using namespace std; namespace gumocap{ namespace core{ namespace tree{ template class Node: public vector< Node* > { public:

[Bug bootstrap/42347] [4.5/4.6 Regression] sched-deps.c:3840:1: internal compiler error: in fixup_reorder_chain, at cfglayout.c:796

2010-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #26 from jakub at gcc dot gnu dot org 2010-05-17 17:31 --- Subject: Bug 42347 Author: jakub Date: Mon May 17 17:30:54 2010 New Revision: 159500 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159500 Log: PR bootstrap/42347 * cfglayout.c (fixup_reorder_

[Bug bootstrap/42347] [4.5/4.6 Regression] sched-deps.c:3840:1: internal compiler error: in fixup_reorder_chain, at cfglayout.c:796

2010-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #27 from jakub at gcc dot gnu dot org 2010-05-17 17:33 --- The http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159499 commit was actually for PR44102. -- jakub at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/44102] ICE with asm goto + __builtin_unreachable () in C++

2010-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-05-17 17:34 --- On branches/gcc-4_5-branch fixed by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159499 -- jakub at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/43990] [OOP] ICE in output_constructor_regular_field, at varasm.c:4995

2010-05-17 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2010-05-17 17:41 --- (In reply to comment #6) > but it does not fix PR43895 (see comments #3 and #4). ... which I take as an indication that the two are indeed not so much related. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43990

[Bug c++/44172] Compiling never ends

2010-05-17 Thread dougsemler at gmail dot com
--- Comment #1 from dougsemler at gmail dot com 2010-05-17 17:46 --- This is the offender: Node(const T& v,Node Tparent=NULL) {_parent=Tparent;_data=v;} It looks like you have transposed the *> (it should be the following, right? Node(const T& v,Node* Tparent=NULL) {_parent=Tparent;_d

[Bug c++/44172] Compiling never ends

2010-05-17 Thread rmsalinas at uco dot es
--- Comment #2 from rmsalinas at uco dot es 2010-05-17 17:50 --- Subject: Re: Compiling never ends My god! you work really fast! Yes, I've found the error just few seconds ago. Great work! dougsemler at gmail dot com escribió: > --- Comment #1 from dougsemler at gmail dot com

[Bug target/44139] Exporting emutls symbols from a DLL broken on w32 targets

2010-05-17 Thread davek at gcc dot gnu dot org
--- Comment #10 from davek at gcc dot gnu dot org 2010-05-17 18:25 --- Re-opening. It turns out that GCC fails to actually apply the dllexport attribute to TLS control vars. So solving the binutils problem allows auto-export of a TLS variable to work, but as auto-export gets disabled i

[Bug target/44139] Exporting emutls symbols from a DLL broken on w32 targets

2010-05-17 Thread davek at gcc dot gnu dot org
-- davek at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |davek at gcc dot gnu dot org |dot org

[Bug target/42904] Attribute dllexport should imply externally_visible

2010-05-17 Thread davek at gcc dot gnu dot org
--- Comment #3 from davek at gcc dot gnu dot org 2010-05-17 18:28 --- Consensus seems to be that this is indeed "how it's meant to work", but that figuring out which are the externally visible functions and marking them automatically would be a nice enhancement that would make the -fwhol

[Bug target/44074] Solaris 2.9 x86 Sun assembler doesn't like rep/lock prefixes on same line

2010-05-17 Thread ro at gcc dot gnu dot org
--- Comment #7 from ro at gcc dot gnu dot org 2010-05-17 18:29 --- Posted new patch. -- ro at gcc dot gnu dot org changed: What|Removed |Added URL|

[Bug c++/44172] Compiling never ends

2010-05-17 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2010-05-17 18:32 --- Ok. -- paolo dot carlini at oracle dot com changed: What|Removed |Added Status|U

[Bug rtl-optimization/43332] valgrind warns about using uninitialized variable with -fsched-pressure -fschedule-insns

2010-05-17 Thread zsojka at seznam dot cz
--- Comment #3 from zsojka at seznam dot cz 2010-05-17 18:45 --- Stil appears in r159500, x86_64-linux. Uninitialised read is at gcc/haifa-sched.c:1589, more exactly it is read of BLOCK_FOR_INSN (insn) When gcc/haifa-sched.c:1589 is changed to: insn != NULL_RTX && (printf("%p %p\n", (v

[Bug target/43698] [4.5/4.6 Regression] Invalid code when building gentoo pax-utils-0.1.19 with -Os optimizations

2010-05-17 Thread siarhei dot siamashka at gmail dot com
--- Comment #10 from siarhei dot siamashka at gmail dot com 2010-05-17 18:48 --- Maybe I'm too impatient, but is there anything that prevents this patch from getting committed to SVN? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43698

[Bug c/44173] New: configure -disable-fixincludes doesn't work

2010-05-17 Thread jay dot krell at cornell dot edu
/src/gcc-4.5.0/configure -verbose -disable-shared -enable-static -disable-bo otstrap -disable-fixincludes -prefix=$HOME /bin/sh /src/gcc-4.5.0/gcc/../move-if-change tmp-fixinc_list fixinc_list echo timestamp > s-fixinc_list make[2]: *** No rule to make target `../build-i686-pc-linux-gnu/fixinclu

[Bug bootstrap/44173] configure -disable-fixincludes doesn't work

2010-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-05-17 18:53 --- I don't think this can ever work except when you know 100% that the headers don't need to be fix included. Only newer glibc don't need it and newlib either. But the majority of the other OS's need it really. --

[Bug middle-end/44164] [4.5 Regression] Aliasing bug triggered by Boost.Bind/Boost.Function

2010-05-17 Thread pdimov at gmail dot com
--- Comment #7 from pdimov at gmail dot com 2010-05-17 19:10 --- (In reply to comment #6) > Basically the middle-end sees this the same as > int i = 1, j; > float *p = new (&i) float(0.0); > j = i; > return *reinterpret_cast(&j); > and you expect to return 0.0. The int/float exa

[Bug middle-end/44164] [4.5 Regression] Aliasing bug triggered by Boost.Bind/Boost.Function

2010-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2010-05-17 19:17 --- The first example I think does as there is no way to "transfer" the dynamic type via the struct copy. The second one does not as the union still has a field that is float and it is only unspecified behavior if you a

[Bug rtl-optimization/44174] New: [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'

2010-05-17 Thread jakub at gcc dot gnu dot org
/* { dg-do compile } */ /* { dg-options "-O2 -fpic" { target fpic } } */ int f0 (int, int, int, int, int); int f1 (void); void f2 (void) { unsigned v1, v2, v3, v4; __asm__ ("" : "=a" (v1), "=d" (v2), "=c" (v3), "=r" (v4)); f0 (f1 (), f1 (), f1 (), f1 (), (v4 >> 8) & 0xff); } used to compile

[Bug libstdc++/43918] gcc 4.5.0 is failing for i586-pc-msdosdjgpp

2010-05-17 Thread paolo dot carlini at oracle dot com
--- Comment #8 from paolo dot carlini at oracle dot com 2010-05-17 19:29 --- DJ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43918

[Bug c++/44175] New: [C++0x] decltype sometimes cannot recurse

2010-05-17 Thread potswa at mac dot com
See attached testcase. Several things can happen when decltype is used in a function template's return type to refer to another specialization of the same template. - The right thing (not easily produced from the current code, but see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44162) - Non-produ

[Bug c++/44175] [C++0x] decltype sometimes cannot recurse

2010-05-17 Thread potswa at mac dot com
--- Comment #1 from potswa at mac dot com 2010-05-17 19:38 --- Created an attachment (id=20686) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20686&action=view) recursive decltype crashes g++ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44175

[Bug c++/44175] [C++0x] decltype sometimes cannot recurse

2010-05-17 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2010-05-17 19:40 --- Many thanks. Let's add Jason in CC. -- paolo dot carlini at oracle dot com changed: What|Removed |Added --

[Bug c++/44108] [4.6 Regression] -Wunused-but-set-variable does not consider array sizing use of a const variable

2010-05-17 Thread dodji at gcc dot gnu dot org
--- Comment #6 from dodji at gcc dot gnu dot org 2010-05-17 19:45 --- This should be fixed in trunk (4.6) -- dodji at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/44158] [C++0x] wrong overload resolution for copy-initialization from an rvalue

2010-05-17 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2010-05-17 19:54 --- Subject: Bug 44158 Author: jason Date: Mon May 17 19:53:45 2010 New Revision: 159508 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159508 Log: PR c++/44158 * call.c (build_over_call): Don't do

[Bug c++/44157] [C++0x] GCC wrongly takes a std::initializer_list argument as non-deduced context

2010-05-17 Thread jason at gcc dot gnu dot org
--- Comment #1 from jason at gcc dot gnu dot org 2010-05-17 19:54 --- Subject: Bug 44157 Author: jason Date: Mon May 17 19:53:55 2010 New Revision: 159509 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159509 Log: PR c++/44157 * call.c (build_over_call): Limit in

[Bug testsuite/44176] New: dg-cmp-results.sh contains several unportabilities

2010-05-17 Thread ro at gcc dot gnu dot org
contrib/dg-cmp-results.sh contains several unportabilities: * sort -s seems to be specific to GNU sort, neither POSIX.1 nor the vendor tools on Solaris 2, IRIX 6 or Tru64 UNIX have it. * sed support for EREs (via -r or -E) isn't present on those platforms either. -- Summary: dg-cm

[Bug fortran/43990] [OOP] ICE in output_constructor_regular_field, at varasm.c:4995

2010-05-17 Thread janus at gcc dot gnu dot org
--- Comment #8 from janus at gcc dot gnu dot org 2010-05-17 19:59 --- Subject: Bug 43990 Author: janus Date: Mon May 17 19:58:48 2010 New Revision: 159511 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159511 Log: 2010-05-17 Janus Weil PR fortran/43990 * tran

[Bug fortran/43990] [OOP] ICE in output_constructor_regular_field, at varasm.c:4995

2010-05-17 Thread janus at gcc dot gnu dot org
--- Comment #9 from janus at gcc dot gnu dot org 2010-05-17 20:05 --- Fixed with r159511. Closing. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/13682] Compile error with cstdio: fgetpos not declared on AIX

2010-05-17 Thread pedzsan at gmail dot com
--- Comment #9 from pedzsan at gmail dot com 2010-05-17 20:05 --- The general reply to this was "your GCC was not compiled for your system". That isn't the case. I have two compiles on two different systems. One if version 4.5.0 and the other version is 4.3.1 compiled on AIX 5.3 TL05

[Bug c++/44175] [C++0x] decltype sometimes cannot recurse

2010-05-17 Thread potswa at mac dot com
--- Comment #3 from potswa at mac dot com 2010-05-17 20:10 --- Created an attachment (id=20687) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20687&action=view) recursive decltype crashes g++ fix minor error (no change in behavior) -- potswa at mac dot com changed:

[Bug middle-end/44164] [4.5 Regression] Aliasing bug triggered by Boost.Bind/Boost.Function

2010-05-17 Thread pdimov at gmail dot com
--- Comment #9 from pdimov at gmail dot com 2010-05-17 20:12 --- But the standard says in [basic.types] that "For any trivially copyable type T, if two pointers to T point to distinct T objects obj1 and obj2, where neither obj1 nor obj2 is a base-class subobject, if the underlying bytes

[Bug fortran/44177] New: gfortran internal data assignment error cause found

2010-05-17 Thread harry dot rockefeller at flightsafety dot com
System info: uname -a CYGWIN_NT-5.1 harryr-pc 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin gfortran -v Using built-in specs. Target: i686-pc-cygwin Configured with: /gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4/configure --srcdir=/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/s

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-05-17 Thread iains at gcc dot gnu dot org
--- Comment #14 from iains at gcc dot gnu dot org 2010-05-17 20:22 --- Created an attachment (id=20688) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20688&action=view) Work-In-Progress... here is a modification of comment #7 which gets us a bit further .. but I'm a bit stumped in

[Bug fortran/43895] [OOP] internal compiler error: verify_ssa failed

2010-05-17 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2010-05-17 20:22 --- Propagate comment from PR 43990: There seems to be an inconsistency with CLASS with POINTER or ALLOCATABLE attribute: Is "class.$DATA" or "class" the pointer variable. If one adds "b = ALLOCATED(x)" one finds: x.a

[Bug fortran/43986] [OOP] gfortran.dg/dynamic_dispatch_4.f03 doesn't work on Linux/ia64

2010-05-17 Thread wilson at gcc dot gnu dot org
--- Comment #5 from wilson at gcc dot gnu dot org 2010-05-17 20:24 --- A little more debugging. I traced through the true_dependence call that is returning 0 when it should return 1. We end up calling rtx_refs_may_alias_p at the end. This calls refs_may_alias_p_1, which calls indirect

[Bug target/44074] Solaris 2.9 x86 Sun assembler doesn't like rep/lock prefixes on same line

2010-05-17 Thread ro at gcc dot gnu dot org
--- Comment #8 from ro at gcc dot gnu dot org 2010-05-17 20:29 --- Subject: Bug 44074 Author: ro Date: Mon May 17 20:28:56 2010 New Revision: 159512 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159512 Log: PR target/44074 * configure.ac (HAVE_AS_IX86_REP_LOCK_P

[Bug fortran/44177] gfortran internal data assignment error cause found

2010-05-17 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2010-05-17 20:29 --- Given this code real foo(2) /2*0.0/ data foo/0.0, 0.0/ print *, foo end Trunk compiles the code. Gfortran 4.5 has the ICE. troutmask:sgk[211] gfc4x -o z -Wall t.f90 troutmask:sgk[212] ./z 0.000

  1   2   >