[Bug debug/48459] [4.6/4.7 Regression] avr: Assertion failure with -gdwarf-2

2011-06-14 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48459 --- Comment #23 from Richard Henderson 2011-06-14 19:13:04 UTC --- Author: rth Date: Tue Jun 14 19:13:00 2011 New Revision: 175049 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175049 Log: PR debug/48459 * dwarf2out.c (frame_poin

[Bug debug/49408] member function template id not matching linkage name

2011-06-14 Thread jan.kratochvil at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49408 --- Comment #1 from Jan Kratochvil 2011-06-14 19:14:19 UTC --- This Bug may not longer make sense due to: Bug 49312 - Make DW_AT_name contain only simple name, no template-id

[Bug c++/49409] New: some possible new warnings for strange code

2011-06-14 Thread dcb314 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49409 Summary: some possible new warnings for strange code Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ AssignedTo: una

[Bug debug/48459] [4.6/4.7 Regression] avr: Assertion failure with -gdwarf-2

2011-06-14 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48459 Richard Henderson changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/49107] [C++0x][4.7 Regression] incomplete type regression with std::pair

2011-06-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49107 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #21 from Jason Merri

[Bug testsuite/48727] FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2

2011-06-14 Thread sje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48727 --- Comment #1 from Steve Ellcey 2011-06-14 20:26:13 UTC --- Author: sje Date: Tue Jun 14 20:26:08 2011 New Revision: 175055 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175055 Log: 2011-06-14 Steve Ellcey PR testsuite/48727

[Bug tree-optimization/48613] [4.6/4.7 Regression] ICE: vector VEC(ipa_node_params_t,base) index domain error with -O0 -flto -findirect-inlining

2011-06-14 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48613 --- Comment #5 from Martin Jambor 2011-06-14 20:51:53 UTC --- Patch posted to mailing list: http://gcc.gnu.org/ml/gcc-patches/2011-06/msg01108.html

[Bug c/49396] c-family/c-cppbuiltin.c: duplicate if expressions

2011-06-14 Thread dcb314 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49396 --- Comment #4 from dcb 2011-06-14 21:13:11 UTC --- (In reply to comment #2) > Same error on all branches back to 4.4. Interesting. Worth generalising so that source code pattern if (X) { } else if (X) { } would cause a

[Bug inline-asm/49410] New: Internal compiler error in change-stack at reg-stack.c:2540

2011-06-14 Thread gcc.hall at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49410 Summary: Internal compiler error in change-stack at reg-stack.c:2540 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c++/49290] [4.6/4.7 Regression][C++0x] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795

2011-06-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49290 --- Comment #3 from Jason Merrill 2011-06-14 22:13:24 UTC --- Author: jason Date: Tue Jun 14 22:13:19 2011 New Revision: 175058 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175058 Log: PR c++/49290 * semantics.c (cxx_eval_indire

[Bug c++/49117] 4.5 -> 4.6: user-unfriendly change in "invalid conversion" error message

2011-06-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49117 --- Comment #2 from Jason Merrill 2011-06-14 22:13:39 UTC --- Author: jason Date: Tue Jun 14 22:13:36 2011 New Revision: 175060 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175060 Log: PR c++/49117 * call.c (perform_implicit_con

[Bug c++/49369] typeof() strips const from member when used in const method

2011-06-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49369 --- Comment #6 from Jason Merrill 2011-06-14 22:13:32 UTC --- Author: jason Date: Tue Jun 14 22:13:29 2011 New Revision: 175059 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175059 Log: PR c++/49369 * class.c (build_base_path): F

[Bug rtl-optimization/49390] [4.6/4.7 Regression] GCSE miscompilation

2011-06-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49390 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug fortran/49103] [4.6/4.7 Regression] local variables exchange values / wrong code with -O3

2011-06-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49103 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug tree-optimization/49365] 436.cactusADM performance regression

2011-06-14 Thread changpeng.fang at amd dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49365 --- Comment #5 from Changpeng Fang 2011-06-14 22:22:11 UTC --- It seems there is a prefetch generation bug on Bulldozer. With -O3 -ffast-math -funroll-loops -fpeel-loops -march=bdver1 -fprefetch-loop-arrays, I got a normal timing of 795s. Howev

[Bug c++/49409] some possible new warnings for strange code

2011-06-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49409 --- Comment #1 from Jonathan Wakely 2011-06-14 22:34:34 UTC --- some warnings would seem sensible to me I tried clang++ which only warns about the first two, via -Wtautological-compare

[Bug target/49411] New: [4.6/4.7] ICE: unrecognizable insn with -mxop in _mm_roti_epi8 with negative number

2011-06-14 Thread qneill at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49411 Summary: [4.6/4.7] ICE: unrecognizable insn with -mxop in _mm_roti_epi8 with negative number Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Prior

[Bug rtl-optimization/44194] struct returned by value generates useless stores

2011-06-14 Thread eraman at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44194 --- Comment #19 from eraman at gcc dot gnu.org 2011-06-14 22:58:24 UTC --- Author: eraman Date: Tue Jun 14 22:58:20 2011 New Revision: 175063 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175063 Log: 2011-06-14 Easwaran Raman PR

[Bug target/49411] [4.6/4.7] ICE: unrecognizable insn with -mxop in _mm_roti_epi8 with negative number

2011-06-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49411 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1 f

[Bug c++/49290] [4.6/4.7 Regression][C++0x] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795

2011-06-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49290 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/49412] New: __dso_handle should be hidden

2011-06-14 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49412 Summary: __dso_handle should be hidden Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org

[Bug c/49413] New: over-optimization that causes valid code to segfault

2011-06-14 Thread gattis at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49413 Summary: over-optimization that causes valid code to segfault Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: u

[Bug c/49413] over-optimization that causes valid code to segfault

2011-06-14 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49413 --- Comment #1 from Andrew Pinski 2011-06-15 00:34:37 UTC --- I think this code is undefined as the alignment requirements of double is 8 bytes but the original (t->xyz->va/t->xyz->vb) is packed so it has a alignment of 4 bytes.

[Bug c/49413] over-optimization that causes valid code to segfault

2011-06-14 Thread gattis at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49413 --- Comment #2 from Matt Gattis 2011-06-15 00:38:29 UTC --- Created attachment 24530 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24530 verbose gcc output

[Bug c/49413] over-optimization that causes valid code to segfault

2011-06-14 Thread gattis at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49413 --- Comment #3 from Matt Gattis 2011-06-15 00:39:06 UTC --- Created attachment 24531 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24531 verbose gcc output

[Bug rtl-optimization/49414] New: gcc.dg/pr44194-1.c failed

2011-06-14 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49414 Summary: gcc.dg/pr44194-1.c failed Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gc

[Bug tree-optimization/49413] over-optimization that causes valid code to segfault

2011-06-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49413 --- Comment #4 from Paolo Carlini 2011-06-15 01:00:34 UTC --- Personally, I find the expression "over-optimization" misleading: either we have a compiler *bug*, which therefore is performing an incorrect transformation, or we don't, thus the code

[Bug tree-optimization/49413] over-optimization that causes valid code to segfault

2011-06-14 Thread gattis at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49413 --- Comment #5 from Matt Gattis 2011-06-15 01:10:35 UTC --- (In reply to comment #1) > I think this code is undefined as the alignment requirements of double is 8 > bytes but the original (t->xyz->va/t->xyz->vb) is packed so it has a alignment >

[Bug tree-optimization/49413] over-optimization that causes valid code to segfault

2011-06-14 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49413 --- Comment #6 from Andrew Pinski 2011-06-15 01:13:14 UTC --- The problem is: double *v = (qp == &(t->q)) ? t->xyz->va : t->xyz->vb; the pointer v is a pointer to a 8 byte aligned data but you supply it with something which is only 4 byte alig

[Bug tree-optimization/49413] over-optimization that causes valid code to segfault

2011-06-14 Thread gattis at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49413 --- Comment #7 from Matt Gattis 2011-06-15 01:19:57 UTC --- (In reply to comment #6) > The problem is: > double *v = (qp == &(t->q)) ? t->xyz->va : t->xyz->vb; > > the pointer v is a pointer to a 8 byte aligned data but you supply it with > so

[Bug debug/48459] [4.6/4.7 Regression] avr: Assertion failure with -gdwarf-2

2011-06-14 Thread anitha.boyapati at atmel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48459 --- Comment #25 from Anitha Boyapati 2011-06-15 02:37:59 UTC --- (In reply to comment #24) > The testcase at the head of the PR is now fixed. > > For the 4.6 branch, this required also backporting > (Assuming that backporting implies the emis

[Bug driver/49371] xgcc: error: unrecognized option '-pie' on *-apple-darwin*

2011-06-14 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49371 --- Comment #28 from Jack Howarth 2011-06-15 03:15:44 UTC --- Created attachment 24532 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24532 patch to fix pie handling for darwin11

[Bug driver/49371] xgcc: error: unrecognized option '-pie' on *-apple-darwin*

2011-06-14 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49371 --- Comment #29 from Jack Howarth 2011-06-15 03:21:04 UTC --- While we are fixing the pie/PIE handling on darwin, we should also address a change required for darwin11 which defaults its linker to -pie. This causes breakage in gcj and pch since F

[Bug c++/49107] [C++0x][4.7 Regression] incomplete type regression with std::pair

2011-06-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49107 --- Comment #22 from Jason Merrill 2011-06-15 03:52:02 UTC --- Author: jason Date: Wed Jun 15 03:51:59 2011 New Revision: 175073 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175073 Log: PR c++/49107 * cp-tree.h (DEFERRED_NOEXCEP

[Bug c++/49117] 4.5 -> 4.6: user-unfriendly change in "invalid conversion" error message

2011-06-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49117 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/49369] typeof() strips const from member when used in const method

2011-06-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49369 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/49389] [C++0x] Wrong value category for pointer-to-member expression with rvalue object expression

2011-06-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49389 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|jason at redh

[Bug c++/49107] [C++0x][4.7 Regression] incomplete type regression with std::pair

2011-06-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49107 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/49412] __dso_handle should be hidden

2011-06-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49412 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #1 f

[Bug bootstrap/49415] New: [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10

2011-06-14 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49415 Summary: [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/49411] [4.6/4.7] ICE: unrecognizable insn with -mxop in _mm_roti_epi8 with negative number

2011-06-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49411 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/49411] [4.6/4.7] ICE: unrecognizable insn with -mxop in _mm_roti_epi8 with negative number

2011-06-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49411 --- Comment #3 from Jakub Jelinek 2011-06-15 06:32:20 UTC --- Created attachment 24533 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24533 gcc47-pr49411.patch Untested fix. Alternatively, we could for the rotation instead just always mask

<    1   2