[Bug c++/44641] Generated constructors and destructors get wrong debug location when a typedef uses a forward declaration of the type before the definition

2010-07-27 Thread ubizjak at gmail dot com
--- Comment #13 from ubizjak at gmail dot com 2010-07-28 06:24 --- Reopened. -- ubizjak at gmail dot com changed: What|Removed |Added CC|

[Bug c/45099] New: Warning could be issued for use of register variables that will fail.

2010-07-27 Thread jrseattle2002 at hotmail dot com
WinAVR needs register r10 (among others) for certain mathematical operations of the "long long" data type, e.g. when calling "__muldi3". The user may declare r10 to be assigned to a register variable. When this combination occurs, code will not execute correctly. This is specifically an issue when

[Bug middle-end/45098] New: Missed induction variable optimization

2010-07-27 Thread carrot at google dot com
Compile the following code with options -march=armv7-a -mthumb -Os extern void foo(int*); void tr(int array[], int n) { int i; for (i=0; ihttp://gcc.gnu.org/bugzilla/show_bug.cgi?id=45098

[Bug c++/45096] [4.6 Regression] g++.dg/cpp0x/auto3.C

2010-07-27 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-07-28 02:29 --- It is caused by revision 162578: http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00932.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug middle-end/45097] ICE: gimple check: expected gimple_assign(error_mark), have gimple_phi() in gimple_assign_lhs, at gimple.h:1724

2010-07-27 Thread jingyu at google dot com
--- Comment #1 from jingyu at google dot com 2010-07-28 01:09 --- Created an attachment (id=21328) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21328&action=view) test case to reproduce the bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45097

[Bug middle-end/45097] New: ICE: gimple check: expected gimple_assign(error_mark), have gimple_phi() in gimple_assign_lhs, at gimple.h:1724

2010-07-27 Thread jingyu at google dot com
ion=2.4.1 --with-gdb-version=6.6 --with-arch=armv5te --with-sysroot=/home/projects/gcc/toolchain_build/cupcake_rel_root --program-transform-name='s&^&arm-linux-androideabi-&' Thread model: posix gcc version 4.6.0 20100727 (experimental) (GCC) -- Summary: ICE

[Bug target/44903] [4.6 Regression] FAIL: gcc.dg/pr35258.c execution test

2010-07-27 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #20 from dave at hiauly1 dot hia dot nrc dot ca 2010-07-28 00:22 --- Subject: Re: [4.6 Regression] FAIL: gcc.dg/pr35258.c execution test On Mon, 26 Jul 2010, rguenth at gcc dot gnu dot org wrote: > Please check whether the attached patch fixes the testcase this bu

[Bug c++/45082] Static const signed int class member causes undefined symbol.

2010-07-27 Thread redi at gcc dot gnu dot org
--- Comment #6 from redi at gcc dot gnu dot org 2010-07-27 23:54 --- (In reply to comment #5) > Thanks for all the great comments and insight. > > I'm still confused as to why when the BUFF_SIZE was defined as: > static const signed int BUFF_SIZE = 20; > it caused the error, but when

[Bug target/45063] [4.6 Regression] ICE: Segmentation fault (cc1) compiling matmul_i1.c

2010-07-27 Thread danglin at gcc dot gnu dot org
--- Comment #4 from danglin at gcc dot gnu dot org 2010-07-27 23:19 --- Introduced in revision 162418. Don't see any difference in gcc (C) testresults for 162417 (full bootstrap) and 162418 (--disable-bootstrap). While the ICE nominally results from a hash lookup failure, replacing lib

[Bug tree-optimization/45034] [4.3/4.4/4.5/4.6 Regression] "safe" conversion from unsigned to signed char gives broken code

2010-07-27 Thread rakdver at kam dot mff dot cuni dot cz
--- Comment #10 from rakdver at kam dot mff dot cuni dot cz 2010-07-27 23:09 --- Subject: Re: [4.3/4.4/4.5/4.6 Regression] "safe" conversion from unsigned to signed char gives broken code > > ux = (unsigned char) x; > > uy = (unsigned char) -(signed char) ux; > > ... > >

[Bug tree-optimization/45034] [4.3/4.4/4.5/4.6 Regression] "safe" conversion from unsigned to signed char gives broken code

2010-07-27 Thread joseph at codesourcery dot com
--- Comment #9 from joseph at codesourcery dot com 2010-07-27 22:42 --- Subject: Re: [4.3/4.4/4.5/4.6 Regression] "safe" conversion from unsigned to signed char gives broken code On Tue, 27 Jul 2010, mikpe at it dot uu dot se wrote: > Personally I think GCC should treat source-level

[Bug tree-optimization/45034] [4.3/4.4/4.5/4.6 Regression] "safe" conversion from unsigned to signed char gives broken code

2010-07-27 Thread mikpe at it dot uu dot se
--- Comment #8 from mikpe at it dot uu dot se 2010-07-27 22:18 --- (In reply to comment #7) > In fact, it seems that the error is already there at the very > beginning: the .original dump shows > > fixnum_neg > { > ux = (unsigned char) x; > uy = (unsigned char) -(signed char) ux; >

[Bug boehm-gc/34544] pthread_default_stacksize_np failed.

2010-07-27 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2010-07-27 21:56 --- pthread_default_stacksize_np fails with error EPERM. [New process 12140, lwp 4032369] [process 12140, lwp 4032369 exited] Breakpoint 1, main () at ../../../gcc/boehm-gc/tests/test.c:1797 I think this is caused by

[Bug rtl-optimization/45051] [4.6 Regression]: gcc.c-torture/execute/builtins/abs-2.c and abs-3.c due to "track subwords of DImode allocnos"

2010-07-27 Thread bernds at gcc dot gnu dot org
--- Comment #5 from bernds at gcc dot gnu dot org 2010-07-27 21:49 --- Assuming fixed and closing. Please reopen if you still have a problem. -- bernds at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/42574] [4.3/4.4/4.5/4.6 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #17 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 21:11 --- Should be fixed now by the above patch series. -- mkuvyrkov at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42495] redundant memory load

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #12 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 21:11 --- Should be fixed now by the above patch series. -- mkuvyrkov at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/40956] Constants are never candidates for hoisting

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #9 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 21:10 --- Should be fixed now by the above patch series. -- mkuvyrkov at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/42495] redundant memory load

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #11 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 21:06 --- Subject: Bug 42495 Author: mkuvyrkov Date: Tue Jul 27 21:06:31 2010 New Revision: 162600 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162600 Log: PR rtl-optimization/40956 PR target/424

[Bug middle-end/42574] [4.3/4.4/4.5/4.6 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #16 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 21:06 --- Subject: Bug 42574 Author: mkuvyrkov Date: Tue Jul 27 21:06:31 2010 New Revision: 162600 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162600 Log: PR rtl-optimization/40956 PR target/424

[Bug rtl-optimization/40956] Constants are never candidates for hoisting

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #8 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 21:06 --- Subject: Bug 40956 Author: mkuvyrkov Date: Tue Jul 27 21:06:31 2010 New Revision: 162600 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162600 Log: PR rtl-optimization/40956 PR target/4249

[Bug c++/45095] "internal compiler error: Segmentation fault" compiling p7zip

2010-07-27 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2010-07-27 20:49 --- Note that 4.2.x is not maintained anymore, thus if the problem exist only in that branch will not be fixed. I would suggest trying either a late release from the 4.2.x branch, like 4.2.4 or, much better, the cu

[Bug c++/45096] [4.6 Regression] g++.dg/cpp0x/auto3.C

2010-07-27 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45096

[Bug c++/45096] New: [4.6 Regression] g++.dg/cpp0x/auto3.C

2010-07-27 Thread hjl dot tools at gmail dot com
On Linux/x86, revision 162583 gave FAIL: g++.dg/cpp0x/auto3.C (test for errors, line 13) FAIL: g++.dg/cpp0x/auto3.C (test for excess errors) /export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.dg/cpp0x/auto3.C:6:6: error: declaration of 'auto x' has no initializer^M /export/gnu/import/sv

[Bug bootstrap/44993] [4.6 regression] sparc64-linux bootstrap broken

2010-07-27 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2010-07-27 20:15 --- Introduced by the fix for PR middle-end/44790: 2010-07-07 Richard Guenther PR middle-end/44790 * expr.c (expand_expr_real_1): Go the POINTER_PLUS_EXPR path for expanding the constant o

[Bug target/45094] [arm] wrong instructions for dword move in some cases

2010-07-27 Thread siarhei dot siamashka at gmail dot com
--- Comment #2 from siarhei dot siamashka at gmail dot com 2010-07-27 20:07 --- Created an attachment (id=21327) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21327&action=view) simplified testcase Confirmed with gcc 4.5.0 here. Also tried but could not reproduce the problem with

[Bug c++/45095] "internal compiler error: Segmentation fault" compiling p7zip

2010-07-27 Thread john dot m dot wildenthal at jpmchase dot com
--- Comment #1 from john dot m dot wildenthal at jpmchase dot com 2010-07-27 20:03 --- Created an attachment (id=21326) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21326&action=view) 7zHandlerOut.ii Bzip2 archive of the preprocessed file where the error occurs. -- http://g

[Bug c++/45095] New: "internal compiler error: Segmentation fault" compiling p7zip

2010-07-27 Thread john dot m dot wildenthal at jpmchase dot com
Trying to compile p7zip on a Power6 LPAR running AIX 6.1. Copied makefile.aix_gcc over makefile.machine and ran "make all3". Error occurs at g++ -O -s -save-temps -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -DNDEBUG -D_REENTRANT -DENV_UNIX -fPIC -DEXTERNAL_CODECS -DUNICODE -D_

[Bug middle-end/42574] [4.3/4.4/4.5/4.6 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #15 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 19:48 --- Subject: Bug 42574 Author: mkuvyrkov Date: Tue Jul 27 19:48:15 2010 New Revision: 162597 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162597 Log: PR target/42495 PR middle-end/42574

[Bug target/42495] redundant memory load

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #10 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 19:48 --- Subject: Bug 42495 Author: mkuvyrkov Date: Tue Jul 27 19:48:15 2010 New Revision: 162597 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162597 Log: PR target/42495 PR middle-end/42574

[Bug rtl-optimization/40956] Constants are never candidates for hoisting

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #7 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 19:46 --- Subject: Bug 40956 Author: mkuvyrkov Date: Tue Jul 27 19:46:26 2010 New Revision: 162596 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162596 Log: PR rtl-optimization/40956 * config/arm/a

[Bug middle-end/42574] [4.3/4.4/4.5/4.6 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #14 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 19:45 --- Subject: Bug 42574 Author: mkuvyrkov Date: Tue Jul 27 19:44:51 2010 New Revision: 162595 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162595 Log: PR target/42495 PR middle-end/42574

[Bug target/42495] redundant memory load

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #9 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 19:45 --- Subject: Bug 42495 Author: mkuvyrkov Date: Tue Jul 27 19:44:51 2010 New Revision: 162595 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162595 Log: PR target/42495 PR middle-end/42574

[Bug middle-end/42574] [4.3/4.4/4.5/4.6 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #13 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 19:42 --- Subject: Bug 42574 Author: mkuvyrkov Date: Tue Jul 27 19:42:15 2010 New Revision: 162594 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162594 Log: PR target/42495 PR middle-end/42574

[Bug target/42495] redundant memory load

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #8 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 19:42 --- Subject: Bug 42495 Author: mkuvyrkov Date: Tue Jul 27 19:42:15 2010 New Revision: 162594 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162594 Log: PR target/42495 PR middle-end/42574

[Bug target/42495] redundant memory load

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #7 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 19:38 --- Subject: Bug 42495 Author: mkuvyrkov Date: Tue Jul 27 19:38:10 2010 New Revision: 162592 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162592 Log: PR target/42495 PR middle-end/42574

[Bug middle-end/42574] [4.3/4.4/4.5/4.6 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #12 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 19:38 --- Subject: Bug 42574 Author: mkuvyrkov Date: Tue Jul 27 19:38:10 2010 New Revision: 162592 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162592 Log: PR target/42495 PR middle-end/42574

[Bug middle-end/42574] [4.3/4.4/4.5/4.6 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #11 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 19:35 --- Subject: Bug 42574 Author: mkuvyrkov Date: Tue Jul 27 19:34:55 2010 New Revision: 162590 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162590 Log: PR rtl-optimization/40956 PR target/424

[Bug rtl-optimization/40956] Constants are never candidates for hoisting

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #6 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 19:35 --- Subject: Bug 40956 Author: mkuvyrkov Date: Tue Jul 27 19:34:55 2010 New Revision: 162590 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162590 Log: PR rtl-optimization/40956 PR target/4249

[Bug target/42495] redundant memory load

2010-07-27 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #6 from mkuvyrkov at gcc dot gnu dot org 2010-07-27 19:35 --- Subject: Bug 42495 Author: mkuvyrkov Date: Tue Jul 27 19:34:55 2010 New Revision: 162590 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162590 Log: PR rtl-optimization/40956 PR target/4249

[Bug target/44542] expand_one_stack_var_at may set DECL_ALIGN to a too high value

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #18 from jakub at gcc dot gnu dot org 2010-07-27 17:59 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug testsuite/44701] [4.6 regression] PR44492 fix broke gcc.target/powerpc/asm-es-2.c

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2010-07-27 17:58 --- Should be fixed now. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug target/44542] expand_one_stack_var_at may set DECL_ALIGN to a too high value

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #17 from jakub at gcc dot gnu dot org 2010-07-27 17:55 --- Subject: Bug 44542 Author: jakub Date: Tue Jul 27 17:54:32 2010 New Revision: 162582 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162582 Log: PR target/44542 * cfgexpand.c (expand_one_stack_

[Bug testsuite/44701] [4.6 regression] PR44492 fix broke gcc.target/powerpc/asm-es-2.c

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2010-07-27 17:53 --- Subject: Bug 44701 Author: jakub Date: Tue Jul 27 17:52:35 2010 New Revision: 162581 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162581 Log: PR testsuite/44701 * doc/md.texi: Clarify m and e

[Bug target/44290] [4.5 only] __naked attribute is broken

2010-07-27 Thread jiez at gcc dot gnu dot org
--- Comment #26 from jiez at gcc dot gnu dot org 2010-07-27 17:34 --- Subject: Bug 44290 Author: jiez Date: Tue Jul 27 17:33:30 2010 New Revision: 162579 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162579 Log: PR target/44290 Revert 2010-07-23 Jie Zha

[Bug c/45079] [4.5 Regression] function names in error message (�c_maybe_const_expr� not supported by 'pp_c_expression')

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-07-27 15:50 --- Fixed on the trunk so far, with 4.5 will wait until 4.5.1 is released. -- jakub at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/45079] [4.5/4.6 Regression] function names in error message (�c_maybe_const_expr� not supported by 'pp_c_expression')

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-07-27 15:46 --- Subject: Bug 45079 Author: jakub Date: Tue Jul 27 15:46:25 2010 New Revision: 162575 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162575 Log: PR c/45079 * c-pretty-print.c (pp_c_expression):

[Bug c++/45082] Static const signed int class member causes undefined symbol.

2010-07-27 Thread rwitmer at xmission dot com
--- Comment #5 from rwitmer at xmission dot com 2010-07-27 15:27 --- Thanks for all the great comments and insight. I'm still confused as to why when the BUFF_SIZE was defined as: static const signed int BUFF_SIZE = 20; it caused the error, but when it was defined as: static const uns

[Bug c++/43912] lambda debug info does not describe captured variables

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-07-27 15:14 --- I've briefly looked at this. For !processing_template_decl, it shouldn't be hard to walk LAMBDA_EXPR_CAPTURE_LIST e.g. in cp_parser_lambda_expression and add copy_decl of the vars from the capture list with DECL_VALUE

[Bug tree-optimization/45085] [4.6 Regression] incorrect -Wuninitialized warning

2010-07-27 Thread hubicka at gcc dot gnu dot org
--- Comment #4 from hubicka at gcc dot gnu dot org 2010-07-27 14:13 --- Hmm, mine :) Honza -- hubicka at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug bootstrap/44768] arm-linux bootstrap broken on expmed.c:157:3: warning ICE

2010-07-27 Thread ramana at gcc dot gnu dot org
--- Comment #8 from ramana at gcc dot gnu dot org 2010-07-27 13:37 --- Fixed. -- ramana at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996

2010-07-27 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2010-07-27 13:35 --- Different report, same problem: PR 45092 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44857

[Bug fortran/45092] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:5016

2010-07-27 Thread hjl dot tools at gmail dot com
--- Comment #8 from hjl dot tools at gmail dot com 2010-07-27 13:33 --- It is caused by revision 158253: http://gcc.gnu.org/ml/gcc-cvs/2010-04/msg00357.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug target/29090] gcc.dg-struct-layout-1 failures on Darwin PPC at -m64

2010-07-27 Thread iains at gcc dot gnu dot org
--- Comment #22 from iains at gcc dot gnu dot org 2010-07-27 13:26 --- Subject: Bug 29090 Author: iains Date: Tue Jul 27 13:26:34 2010 New Revision: 162568 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162568 Log: PR target/29090 * config/rs6000/rs6000.c (rs600

[Bug tree-optimization/45085] [4.6 Regression] incorrect -Wuninitialized warning

2010-07-27 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to fa

[Bug target/29090] gcc.dg-struct-layout-1 failures on Darwin PPC at -m64

2010-07-27 Thread iains at gcc dot gnu dot org
--- Comment #21 from iains at gcc dot gnu dot org 2010-07-27 13:24 --- Subject: Bug 29090 Author: iains Date: Tue Jul 27 13:24:08 2010 New Revision: 162567 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162567 Log: PR target/35491 PR target/29090 Merge

[Bug target/35491] wrong ABI for some struct passing with vector code

2010-07-27 Thread iains at gcc dot gnu dot org
--- Comment #4 from iains at gcc dot gnu dot org 2010-07-27 13:24 --- Subject: Bug 35491 Author: iains Date: Tue Jul 27 13:24:08 2010 New Revision: 162567 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162567 Log: PR target/35491 PR target/29090 Merge f

[Bug c/44555] [4.3/4.4 Regression] Pointer evalutions, is that expected ?

2010-07-27 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2010-07-27 13:07 --- Subject: Bug 44555 Author: rguenth Date: Tue Jul 27 13:07:28 2010 New Revision: 162566 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162566 Log: 2010-07-27 Richard Guenther PR c/44555

[Bug tree-optimization/44977] [4.4 Regression] ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728

2010-07-27 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-07-27 13:05 --- Subject: Bug 44977 Author: rguenth Date: Tue Jul 27 13:05:17 2010 New Revision: 162565 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162565 Log: 2010-07-27 Richard Guenther PR tree-optimization/

[Bug tree-optimization/44977] [4.4 Regression] ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728

2010-07-27 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-07-27 13:05 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/44152] ICE on compiling xshow.f of xplor-nih with -O3 -ffast-math -fwhopr

2010-07-27 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-07-27 13:03 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/45085] incorrect -Wuninitialized warning

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-07-27 12:58 --- Seems to be caused by partial inlining. fnsplit splits off the: q.0D.2030_3 = qD.1248; fn7 (q.0D.2030_3); part of fn9 into fn9.part.0: fn9.part.0 () { intD.0 D.2054; voidD.32 * q.0D.2053; struct T tD.2052;

[Bug target/45094] [arm] wrong instructions for dword move in some cases

2010-07-27 Thread ramana at gcc dot gnu dot org
--- Comment #1 from ramana at gcc dot gnu dot org 2010-07-27 12:47 --- Patches should be submitted to gcc-patc...@gcc.gnu.org after having been regression tested. Please also submit a testcase and appropriate Changelog entries as documented here - http://gcc.gnu.org/contribute.html#patc

[Bug tree-optimization/45085] incorrect -Wuninitialized warning

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-07-27 12:42 --- Simplified testcase for -m32 -O2 -Wuninitialized: struct S { char *s1; long s2; }; struct T { int t1; long t2; long t3; }; extern int fn2 (void); extern int fn3 (struct T); extern struct T fn4 (); extern int fn5 (char

[Bug lto/44802] -flto -fuse-linker-plugin causes undefined references from libc in the link phase

2010-07-27 Thread moonshine at kapsi dot fi
--- Comment #6 from moonshine at kapsi dot fi 2010-07-27 12:42 --- (In reply to comment #5) I compiled xz with a trunk compiler and this seems to be fixed now. Thanks! -- moonshine at kapsi dot fi changed: What|Removed |Added -

[Bug bootstrap/45067] [4.6 regression] ARM bootstrap failure: internal compiler error: in expand_widen_pattern_expr, at optabs.c:522

2010-07-27 Thread ramana at gcc dot gnu dot org
--- Comment #5 from ramana at gcc dot gnu dot org 2010-07-27 12:32 --- Patch posted here in response to the original thread. : http://gcc.gnu.org/ml/gcc-patches/2010-07/msg02076.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45067

[Bug tree-optimization/44152] ICE on compiling xshow.f of xplor-nih with -O3 -ffast-math -fwhopr

2010-07-27 Thread irar at gcc dot gnu dot org
--- Comment #5 from irar at gcc dot gnu dot org 2010-07-27 12:26 --- Subject: Bug 44152 Author: irar Date: Tue Jul 27 12:26:31 2010 New Revision: 162564 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162564 Log: PR tree-optimization/44152 * tree-vect-slp.c (vect

[Bug fortran/44660] [regression 4.4/4.5] ICE in resolve_equivalence()

2010-07-27 Thread mikael at gcc dot gnu dot org
--- Comment #20 from mikael at gcc dot gnu dot org 2010-07-27 12:07 --- 4.6 done, backports pending. -- mikael at gcc dot gnu dot org changed: What|Removed |Added Kn

[Bug objc/44140] ObjC lto/whopr fails

2010-07-27 Thread iains at gcc dot gnu dot org
--- Comment #19 from iains at gcc dot gnu dot org 2010-07-27 12:03 --- Subject: Bug 44140 Author: iains Date: Tue Jul 27 12:02:50 2010 New Revision: 162563 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162563 Log: re-enable tls and lto tests for ObjC/C++ PR ObjC/44140

[Bug target/42240] [4.3/4.4 Regression, avr] wrong epilogue on naked function

2010-07-27 Thread anitha dot boyapati at atmel dot com
--- Comment #12 from anitha dot boyapati at atmel dot com 2010-07-27 11:35 --- confirmed for 4.5.0. Yet to verify for HEAD. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42240

[Bug target/45094] New: [arm] wrong instructions for dword move in some cases

2010-07-27 Thread akos dot pasztory at gmail dot com
gcc 4.5.0 $ cat /tmp/bug.c extern int printf(const char *fmt, ...); void foo(void *x) { printf("%p\n", x); } void bar(long long *x) { printf("%lld ", *x); foo(x); } int main() { bar(&(long long){0ll}); bar(&(long long){1ll}); bar(&(long long){2ll}); bar(&(long long

[Bug fortran/37744] ICE-on-invalid with ISO_C_BINDING

2010-07-27 Thread mikael at gcc dot gnu dot org
--- Comment #12 from mikael at gcc dot gnu dot org 2010-07-27 11:29 --- I might take a look someday. It seems a namespace is freed to soon. -fwhole-file works as it retains namespaces till the end. -- mikael at gcc dot gnu dot org changed: What|Removed

[Bug c/44828] [4.3/4.4 Regression] possible integer wrong code bug

2010-07-27 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|rguenth at gcc dot gnu dot |unassigned at gcc dot gnu |org

[Bug debug/45048] duplicate DW_TAG_variable

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-07-27 11:14 --- Perhaps a question is whether we need to actually call gen_decl_die in declare_in_namespace if local_scope_p (context_die). AFAIK we don't use the DW_TAG_variable from the namespace scope in any attributes... --

[Bug libstdc++/45093] Different definitions of _Rb_tree::{erase,_M_destroy_node} between C++98 and C++0x

2010-07-27 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2010-07-27 11:14 --- Well, this specific snippet will work at some point, because we want to use namespace association for the C++0x containers. Of course no binary compatibility in general, C++0x and C++98 code will not be allowed

[Bug lto/45089] -Os -g -fwhopr dwarf2out ICE

2010-07-27 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-07-27 11:06 --- Created an attachment (id=21325) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21325&action=view) testcase > g++ -r -nostdlib -O[s23] -g -flto d2.3.3.C d3.3.3.C The key is that nsAccessible are not merged bec

[Bug debug/45048] duplicate DW_TAG_variable

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-07-27 10:39 --- One of these DW_TAG_variable DIEs at the DW_TAG_namespace scope is created from declare_in_namespace when processing decls_for_scope of a lexical block. The other one comes from declare_in_namespace from dwarf2out_glob

[Bug tree-optimization/45083] [4.3/4.4/4.5 Regression] strange warning text from gcc

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2010-07-27 10:17 --- Fixed on the trunk so far. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Known t

[Bug fortran/45077] ICE with -fwhole-file in fold_convert_loc, at fold-const.c:2021

2010-07-27 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-07-27 09:49 --- Reduced test case: !-- module iso_red type, public :: varying_string character(LEN=1), dimension(:), allocatable :: chars end type varying_strin

[Bug lto/45089] -Os -g -fwhopr dwarf2out ICE

2010-07-27 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-07-27 09:46 --- Well - I have no idea ;) We can look at what the FE announces after I finished testcase reduction. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/45083] [4.3/4.4/4.5/4.6 Regression] strange warning text from gcc

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-07-27 09:44 --- Subject: Bug 45083 Author: jakub Date: Tue Jul 27 09:43:59 2010 New Revision: 162559 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162559 Log: PR tree-optimization/45083 * tree-inline.c (add_l

[Bug lto/45089] -Os -g -fwhopr dwarf2out ICE

2010-07-27 Thread hubicka at ucw dot cz
--- Comment #4 from hubicka at ucw dot cz 2010-07-27 09:43 --- Subject: Re: -Os -g -fwhopr dwarf2out ICE > So the issue may be that the LTO FE doesn't announce any decls to the debug > machinery. Because they are already announced before streaming ;). I am not at all familiar with thi

[Bug libstdc++/45093] Different definitions of _Rb_tree::{erase,_M_destroy_node} between C++98 and C++0x

2010-07-27 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-07-27 09:42 --- Definitely they are not, **no** binary compatibility between C++98 and C++0x. And I can tell you there are **many** more incompatibilities beyond this one which you noticed. -- paolo dot carlini at oracle d

[Bug rtl-optimization/45051] [4.6 Regression]: gcc.c-torture/execute/builtins/abs-2.c and abs-3.c due to "track subwords of DImode allocnos"

2010-07-27 Thread bernds at gcc dot gnu dot org
--- Comment #4 from bernds at gcc dot gnu dot org 2010-07-27 09:35 --- Subject: Bug 45051 Author: bernds Date: Tue Jul 27 09:34:51 2010 New Revision: 162558 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162558 Log: PR rtl-optimization/45051 * reload1.c (delete_o

[Bug lto/45089] -Os -g -fwhopr dwarf2out ICE

2010-07-27 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-07-27 09:26 --- So the issue may be that the LTO FE doesn't announce any decls to the debug machinery. > grep debug_hooks cp/*.c cp/decl.c:debug_hooks->type_decl (tdecl, 0); cp/decl.c: /*debug_hooks->set_name (t, d

[Bug lto/44152] ICE on compiling xshow.f of xplor-nih with -O3 -ffast-math -fwhopr

2010-07-27 Thread irar at il dot ibm dot com
--- Comment #4 from irar at il dot ibm dot com 2010-07-27 09:25 --- I am testing a patch. -- irar at il dot ibm dot com changed: What|Removed |Added AssignedTo|un

[Bug lto/45089] -Os -g -fwhopr dwarf2out ICE

2010-07-27 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-07-27 09:17 --- Trying to reduce ... it happens only with whopr. Program received signal SIGSEGV, Segmentation fault. 0x005d33ba in prune_unused_types_mark (die=0x0, dokids=1) at /space/rguenther/src/svn/trunk/gcc/dwarf

[Bug c++/44641] Generated constructors and destructors get wrong debug location when a typedef uses a forward declaration of the type before the definition

2010-07-27 Thread ubizjak at gmail dot com
--- Comment #12 from ubizjak at gmail dot com 2010-07-27 09:05 --- Created an attachment (id=21324) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21324&action=view) alpha asm dump This test still fails on alpha with attached asm dump. -- http://gcc.gnu.org/bugzilla/show_bug.c

[Bug debug/44375] goto_locus lost at -O0 during cfg cleanup

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-07-27 08:58 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug debug/44668] class->DW_TAG_typedef is missing DW_AT_accessibility

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-07-27 08:48 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/40873] -fwhole-file -fwhole-program: Wrong decls cause too much to be optimized away

2010-07-27 Thread burnus at gcc dot gnu dot org
--- Comment #28 from burnus at gcc dot gnu dot org 2010-07-27 08:46 --- FIXED on the trunk (4.6). Thanks for the reports, comments, patches, suggestions, and reviews! See PR 45077, PR 45087, and PR 44945 for remaining -fwhole-(file,program) bugs. -- burnus at gcc dot gnu dot org cha

[Bug debug/45006] [4.6 regression] Failed to bootstrap

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2010-07-27 08:46 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug debug/45024] wrong nesting for inner template class

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-07-27 08:45 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/40873] -fwhole-file -fwhole-program: Wrong decls cause too much to be optimized away

2010-07-27 Thread burnus at gcc dot gnu dot org
--- Comment #27 from burnus at gcc dot gnu dot org 2010-07-27 08:44 --- Subject: Bug 40873 Author: burnus Date: Tue Jul 27 08:44:22 2010 New Revision: 162557 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162557 Log: 2010-07-26 Tobias Burnus PR fortran/40873

[Bug tree-optimization/45083] [4.3/4.4/4.5/4.6 Regression] strange warning text from gcc

2010-07-27 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug fortran/45086] For whole-file checking, also check whether an INTERFACE matches

2010-07-27 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-07-27 08:29 --- subroutine foo(x) integer, allocatable :: x end subroutine integer, allocatable :: ptr call foo(ptr) end Error: Dummy argument 'x' of procedure 'foo' at (1) has an attribute that requires an explicit

[Bug debug/45088] pointer type information lost in debuginfo

2010-07-27 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-07-27 08:29 --- So, to add c1's type, we call gen_typedef_with_usage with A typedef variant. 19880 /* If TYPE is a typedef type variant, let's generate debug info 19881 for the parent typedef which TYPE is a type of. */ 19882 i

[Bug libstdc++/45093] New: Different definitions of _Rb_tree::{erase,_M_destroy_node} between C++98 and C++0x

2010-07-27 Thread jyasskin at gcc dot gnu dot org
Using gold for its --detect-odr-violations: $ cat test.cc #include extern void foo(); int main() { foo(); std::map m1; m1.insert(std::make_pair(1, 2)); m1.erase(m1.begin()); } $ cat test2.cc #include void foo() { std::map m1; m1.insert(std::make_pair(1, 2)); m1.erase(m1.begin());