[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

[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 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 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 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++/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++/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++/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++/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 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 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 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 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 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 #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 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 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 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 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 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] 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++/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++/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 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 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] 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 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 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 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 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 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 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++/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 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/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 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 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 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 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++/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/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 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] New: member function template id not matching linkage name

2011-06-14 Thread jan.kratochvil at redhat dot com
AssignedTo: unassig...@gcc.gnu.org ReportedBy: jan.kratoch...@redhat.com CC: do...@gcc.gnu.org Target: x86_64-unknown-linux-gnu FAIL gcc (GCC) 4.4.7 20110614 (prerelease) FAIL gcc (GCC) 4.7.0 20110614 (experimental) struct S { void m (int x) {} }; template struct K

[Bug debug/49407] New: unusable debuginfo for dll-imported functions.

2011-06-14 Thread pluto at agmk dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49407 Summary: unusable debuginfo for dll-imported functions. Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: una

[Bug debug/49407] unusable debuginfo for dll-imported functions.

2011-06-14 Thread pluto at agmk dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49407 --- Comment #1 from Pawel Sikora 2011-06-14 19:04:34 UTC --- Created attachment 24528 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24528 testcase

[Bug c++/49406] Inlining in inheritance seems broken

2011-06-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49406 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/49406] Inlining in inheritance seems broken

2011-06-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49406 --- Comment #9 from Jonathan Wakely 2011-06-14 18:37:28 UTC --- your program is invalid if a function is declared inline in one translation unit (such as Base.c++) then it must be declared inline in all translation units that refer to it

[Bug c++/49406] Inlining in inheritance seems broken

2011-06-14 Thread neotheone222 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49406 --- Comment #8 from neotheone222 at gmail dot com 2011-06-14 18:36:35 UTC --- Created attachment 24527 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24527 InlineText preprocessed file

[Bug c++/49406] Inlining in inheritance seems broken

2011-06-14 Thread neotheone222 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49406 --- Comment #7 from neotheone222 at gmail dot com 2011-06-14 18:36:01 UTC --- Created attachment 24526 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24526 InlineText main file

[Bug c++/49406] Inlining in inheritance seems broken

2011-06-14 Thread neotheone222 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49406 --- Comment #6 from neotheone222 at gmail dot com 2011-06-14 18:35:22 UTC --- Created attachment 24525 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24525 Derived preprocessed file

[Bug c++/49406] Inlining in inheritance seems broken

2011-06-14 Thread neotheone222 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49406 --- Comment #5 from neotheone222 at gmail dot com 2011-06-14 18:35:04 UTC --- Created attachment 24524 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24524 Derived implementation file

[Bug c++/49406] Inlining in inheritance seems broken

2011-06-14 Thread neotheone222 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49406 --- Comment #4 from neotheone222 at gmail dot com 2011-06-14 18:34:43 UTC --- Created attachment 24523 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24523 Derived header file

[Bug c++/49406] Inlining in inheritance seems broken

2011-06-14 Thread neotheone222 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49406 --- Comment #3 from neotheone222 at gmail dot com 2011-06-14 18:34:18 UTC --- Created attachment 24522 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24522 Base preprocessed file

[Bug c++/49406] Inlining in inheritance seems broken

2011-06-14 Thread neotheone222 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49406 --- Comment #2 from neotheone222 at gmail dot com 2011-06-14 18:33:52 UTC --- Created attachment 24521 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24521 Base implementation file

[Bug c++/49406] Inlining in inheritance seems broken

2011-06-14 Thread neotheone222 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49406 --- Comment #1 from neotheone222 at gmail dot com 2011-06-14 18:33:25 UTC --- Created attachment 24520 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24520 Base header file

[Bug libobjc/36610] objc_msg_sendv is broken for targets which pass argument via registers

2011-06-14 Thread nicola at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36610 Nicola Pero changed: What|Removed |Added CC||nicola at gcc dot gnu.org --- Comment #23 f

[Bug c++/49406] New: Inlining in inheritance seems broken

2011-06-14 Thread neotheone222 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49406 Summary: Inlining in inheritance seems broken Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.

[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 #1 from Jason Merrill 2011-06-14 18:16:08 UTC --- Author: jason Date: Tue Jun 14 18:16:06 2011 New Revision: 175044 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175044 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 #5 from Jason Merrill 2011-06-14 18:15:53 UTC --- Author: jason Date: Tue Jun 14 18:15:51 2011 New Revision: 175042 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175042 Log: PR c++/49369 * class.c (build_base_path): F

[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 --- Comment #1 from Jason Merrill 2011-06-14 18:16:00 UTC --- Author: jason Date: Tue Jun 14 18:15:58 2011 New Revision: 175043 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175043 Log: PR c++/49389 * typeck2.c (build_m_component

[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 #2 from Jason Merrill 2011-06-14 18:15:46 UTC --- Author: jason Date: Tue Jun 14 18:15:43 2011 New Revision: 175041 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175041 Log: PR c++/49290 * semantics.c (cxx_fold_indire

[Bug c++/49405] Inlining in inheritance seems broken

2011-06-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49405 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/49405] New: Inlining in inheritance seems broken

2011-06-14 Thread neotheone222 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49405 Summary: Inlining in inheritance seems broken Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.

[Bug target/49402] Duplicate use of v850.opt

2011-06-14 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49402 Uros Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug target/47364] [x32] internal compiler error: in emit_move_insn, at expr.c:3355

2011-06-14 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47364 --- Comment #9 from hjl at gcc dot gnu.org 2011-06-14 16:36:50 UTC --- Author: hjl Date: Tue Jun 14 16:36:45 2011 New Revision: 175036 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175036 Log: Expand strlen to Pmode. 2011-06-14 H.J. Lu

[Bug target/47364] [x32] internal compiler error: in emit_move_insn, at expr.c:3355

2011-06-14 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47364 --- Comment #8 from hjl at gcc dot gnu.org 2011-06-14 16:36:16 UTC --- Author: hjl Date: Tue Jun 14 16:36:12 2011 New Revision: 175035 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175035 Log: Pass POINTERS_EXTEND_UNSIGNED to convert_to_

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

2011-06-14 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48459 --- Comment #22 from Georg-Johann Lay 2011-06-14 16:32:08 UTC --- (In reply to comment #20) > (In reply to comment #19) > > > A full build for AVR fails, but that seems to be related to other > > > open bugs. > > > > What bugs? > > Perhaps I s

[Bug target/47364] [x32] internal compiler error: in emit_move_insn, at expr.c:3355

2011-06-14 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47364 --- Comment #7 from hjl at gcc dot gnu.org 2011-06-14 16:32:01 UTC --- Author: hjl Date: Tue Jun 14 16:31:57 2011 New Revision: 175034 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175034 Log: Properly expand strlen to Pmode. 2011-06-14

[Bug libfortran/49214] [4.7 Regression] Broken pipe in backtrace for x86_64-apple-darwin10

2011-06-14 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49214 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug target/47333] [4.6 regression] g++.dg/lto/20091219 FAILs on Solaris 2

2011-06-14 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333 --- Comment #15 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-06-14 15:47:16 UTC --- > --- Comment #14 from Richard Guenther 2011-06-12 > 12:48:32 UTC --- > A target issue as it only depends on the assembler used. Rainer, as people > don't have

[Bug testsuite/49375] Target libstdc++.so used by host cc1plus

2011-06-14 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49375 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-06-14 15:41:50 UTC --- IMO this is a clear example why LD_LIBRARY_PATH is evil: the execution tests in the testsuite should be linked with -R/-rpath/whatever is required so the correct ta

[Bug target/49402] Duplicate use of v850.opt

2011-06-14 Thread nickc at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49402 --- Comment #2 from Nick Clifton 2011-06-14 15:32:49 UTC --- Fixed in mainline.

[Bug target/49403] v850e-elf: incompatible pointer type (near initialization for ‘targetm.memory_move_cost’)

2011-06-14 Thread nickc at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49403 --- Comment #2 from Nick Clifton 2011-06-14 15:32:13 UTC --- Fixed in mainline.

[Bug target/49403] v850e-elf: incompatible pointer type (near initialization for ‘targetm.memory_move_cost’)

2011-06-14 Thread nickc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49403 --- Comment #1 from Nick Clifton 2011-06-14 15:30:15 UTC --- Author: nickc Date: Tue Jun 14 15:30:05 2011 New Revision: 175030 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175030 Log: PR target/49403 * config/v850/v850.c (v850_m

[Bug target/49402] Duplicate use of v850.opt

2011-06-14 Thread nickc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49402 --- Comment #1 from Nick Clifton 2011-06-14 15:30:15 UTC --- Author: nickc Date: Tue Jun 14 15:30:05 2011 New Revision: 175030 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175030 Log: PR target/49403 * config/v850/v850.c (v850_m

[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 --- Comment #15 from Jakub Jelinek 2011-06-14 15:28:27 UTC --- Author: jakub Date: Tue Jun 14 15:28:21 2011 New Revision: 175029 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175029 Log: PR fortran/49103 * tree.h (DECL_NONSHAREAB

[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 --- Comment #14 from Jakub Jelinek 2011-06-14 15:27:28 UTC --- Author: jakub Date: Tue Jun 14 15:27:24 2011 New Revision: 175028 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175028 Log: PR fortran/49103 * tree.h (DECL_NONSHAREAB

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

2011-06-14 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45098 --- Comment #15 from vries at gcc dot gnu.org 2011-06-14 15:05:29 UTC --- Author: vries Date: Tue Jun 14 15:05:26 2011 New Revision: 175025 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175025 Log: 2011-06-14 Tom de Vries PR target

[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 --- Comment #6 from Jakub Jelinek 2011-06-14 15:01:15 UTC --- Author: jakub Date: Tue Jun 14 15:01:10 2011 New Revision: 175024 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175024 Log: PR rtl-optimization/49390 Revert: 2010-

[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 --- Comment #5 from Jakub Jelinek 2011-06-14 14:59:55 UTC --- Author: jakub Date: Tue Jun 14 14:59:52 2011 New Revision: 175023 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175023 Log: PR rtl-optimization/49390 Revert: 2010-

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

2011-06-14 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45098 --- Comment #14 from vries at gcc dot gnu.org 2011-06-14 14:30:01 UTC --- Author: vries Date: Tue Jun 14 14:29:58 2011 New Revision: 175022 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175022 Log: 2011-06-14 Zdenek Dvorak Tom d

[Bug c/49362] Arm Neon intrinsic types not correctly interpreted by compiler.

2011-06-14 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49362 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org Target

[Bug libstdc++/48365] Non-constant references in std::valarray::operator

2011-06-14 Thread gdr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48365 Gabriel Dos Reis changed: What|Removed |Added CC||gdr at gcc dot gnu.org --- Comment #5

[Bug libstdc++/48365] Non-constant references in std::valarray::operator

2011-06-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48365 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot

[Bug libstdc++/49022] [C++0x][DR 2058] std::begin and std::end specialized for std::valarray with some operators are missing.

2011-06-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49022 --- Comment #26 from Paolo Carlini 2011-06-14 14:02:15 UTC --- ... among other things, std::valarray, at variance with the containers, does *not* have member begin and end, thus I don't even think novice programmers may have expectations about th

[Bug libstdc++/49022] [C++0x][DR 2058] std::begin and std::end specialized for std::valarray with some operators are missing.

2011-06-14 Thread gdr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49022 --- Comment #25 from Gabriel Dos Reis 2011-06-14 14:01:30 UTC --- (In reply to comment #23) > Ok, now I see, it's the operator[] of _BinBase which returns by value, I > overlooked that. Yes, "val" in "valarray" stands for "value", e.g. a valarr

[Bug libobjc/36610] objc_msg_sendv is broken for targets which pass argument via registers

2011-06-14 Thread js-gcc at webkeks dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36610 --- Comment #22 from js-gcc at webkeks dot org 2011-06-14 14:02:05 UTC --- Nope, it's still using __builtin_apply.

[Bug libstdc++/49022] [C++0x][DR 2058] std::begin and std::end specialized for std::valarray with some operators are missing.

2011-06-14 Thread gdr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49022 --- Comment #24 from Gabriel Dos Reis 2011-06-14 13:54:13 UTC --- (In reply to comment #18) > It should be identical to > > auto&& range = v1 + v2; > for (auto b = std::begin(range), e = std::end(range); b != e; ++b) > { ... } > (see 6.5.4 [s

[Bug libobjc/36610] objc_msg_sendv is broken for targets which pass argument via registers

2011-06-14 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36610 --- Comment #21 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-06-14 13:53:56 UTC --- objc.dg/torture/forward-1.m now seems to XPASS (almost?) everywhere with -fgnu-runtime: alpha-dec-osf5.1b i386-pc-solaris2.1[01] -m64 mips

[Bug libstdc++/49022] [C++0x][DR 2058] std::begin and std::end specialized for std::valarray with some operators are missing.

2011-06-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49022 --- Comment #23 from Paolo Carlini 2011-06-14 13:50:56 UTC --- Ok, now I see, it's the operator[] of _BinBase which returns by value, I overlooked that. Thus, fine it seems confirmed that range-based for-loop itself is Ok, but making sure we have

[Bug c/49362] Arm Neon intrinsic types not correctly interpreted by compiler.

2011-06-14 Thread mark.pupilli at dyson dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49362 mark.pupilli at dyson dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolutio

[Bug target/49404] New: ARM _Unwind_Backtrace returns _URC_FAILURE too eagerly

2011-06-14 Thread akos.pasztory at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49404 Summary: ARM _Unwind_Backtrace returns _URC_FAILURE too eagerly Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assign

[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 #21 from Richard Henderson 2011-06-14 13:31:47 UTC --- Author: rth Date: Tue Jun 14 13:31:43 2011 New Revision: 175018 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175018 Log: PR debug/48459 * dwarf2out.c (frame_poin

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

2011-06-14 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49396 --- Comment #3 from joseph at codesourcery dot com 2011-06-14 13:23:09 UTC --- On Tue, 14 Jun 2011, rguenth at gcc dot gnu.org wrote: > I think it should be > > Index: c-family/c-cppbuiltin.c > ===

[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|NEW |ASSIGNED --- Comment #20 from Richard

[Bug libstdc++/49022] [C++0x][DR 2058] std::begin and std::end specialized for std::valarray with some operators are missing.

2011-06-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49022 --- Comment #22 from Paolo Carlini 2011-06-14 13:27:03 UTC --- To be clear: I fully agree with the exclusion sentence. But I had to play a bit with this stuff to realize that really adding overloads to begin() and end() cannot work.

[Bug libstdc++/49022] [C++0x][DR 2058] std::begin and std::end specialized for std::valarray with some operators are missing.

2011-06-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49022 --- Comment #21 from Paolo Carlini 2011-06-14 13:23:29 UTC --- Created attachment 24519 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24519 patch

[Bug libstdc++/49022] [C++0x][DR 2058] std::begin and std::end specialized for std::valarray with some operators are missing.

2011-06-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49022 --- Comment #20 from Paolo Carlini 2011-06-14 13:22:13 UTC --- I'm not sure, really. I'm going to attach a variant which more explicitly only uses return by const ref and shows the same fundamental problem for me.

[Bug fortran/49324] Deep copy missing for array constructors of DT w/ allocatable components

2011-06-14 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49324 --- Comment #9 from Tobias Burnus 2011-06-14 13:07:07 UTC --- (Comment fixed 8 fixed the missing deep copy.) Regarding the reallocate (cf. comment 6, but using scalars to reduce the dump size): For type t integer, allocatable :: A end ty

[Bug libstdc++/49022] [C++0x][DR 2058] std::begin and std::end specialized for std::valarray with some operators are missing.

2011-06-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49022 --- Comment #19 from Jonathan Wakely 2011-06-14 13:01:24 UTC --- Ah, no the problem is std::__addressof(__ex()[0]) which takes the address of a temporary returned by operator[] The range-based for seems to do the right thing

  1   2   >