[Bug other/48318] Memory access error by build/genhooks?

2011-03-28 Thread Markus.Elfring at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48318 Markus Elfring Markus.Elfring at web dot de changed: What|Removed |Added Keywords||build ---

[Bug preprocessor/48248] [4.5/4.6/4.7 Regression] Wrong error message location when compiling preprocessed code

2011-03-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48248 --- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2011-03-28 16:15:52 UTC --- Ah, I can reproduce with those lines. Apparently caused by my PR41445 fix. To fix this, I think we should remember not just src_line, but also filename in

[Bug c++/48294] [C++0x] ICE in build_noexcept_spec, at cp/except.c:1217

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

[Bug c++/48292] [C++0x] sorry, unimplemented: use of 'type_pack_expansion' in template

2011-03-28 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48292 --- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com 2011-03-28 16:27:43 UTC --- CC-ing Jason about this one too. By the way, isn't the first time this sorry message surfaces, eg, Comment #4 in PR44167.

[Bug testsuite/48238] FAIL: gcc.dg/debug/dwarf2/pr47939-0.c scan-assembler on *-apple-darwin*

2011-03-28 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48238 --- Comment #8 from Rainer Orth ro at gcc dot gnu.org 2011-03-28 16:39:44 UTC --- Author: ro Date: Mon Mar 28 16:39:35 2011 New Revision: 171615 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171615 Log: 2011-03-26 Dominique d'Humieres

[Bug testsuite/48238] FAIL: gcc.dg/debug/dwarf2/pr47939-0.c scan-assembler on *-apple-darwin*

2011-03-28 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48238 Rainer Orth ro at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug testsuite/48251] guality_check hangs indefinitely on Tru64 UNIX

2011-03-28 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48251 --- Comment #3 from Rainer Orth ro at gcc dot gnu.org 2011-03-28 16:46:33 UTC --- Author: ro Date: Mon Mar 28 16:46:27 2011 New Revision: 171616 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171616 Log: Backport from mainline:

[Bug c++/48313] [C++0] std::bind with template function

2011-03-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48313 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|NEW |UNCONFIRMED

[Bug lto/48309] gcc -flto -fuse-linker-plugin generates crashing executables on MinGW

2011-03-28 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48309 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug lto/47891] GCC 4.6/4.7 LTO not worked reliable on Windows target

2011-03-28 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47891 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added CC|

[Bug bootstrap/48135] build fails on Solaris2.8 due to Glob.pm not found within /usr/perl5

2011-03-28 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48135 --- Comment #25 from Rainer Orth ro at gcc dot gnu.org 2011-03-28 17:09:34 UTC --- Author: ro Date: Mon Mar 28 17:09:27 2011 New Revision: 171617 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171617 Log: libgfortran: backport from

[Bug middle-end/43631] var-tracking inserts notes with non-NULL BLOCK_FOR_INSN in between basic blocks

2011-03-28 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43631 --- Comment #3 from Steven Bosscher steven at gcc dot gnu.org 2011-03-28 17:18:25 UTC --- Jakub, please do not forget about this one for stage1 GCC 4.7.

[Bug target/48301] Xcode 4.0's llvm-gcc can't bootstrap gcc 4.6.0 or trunk

2011-03-28 Thread mikestump at comcast dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48301 --- Comment #4 from Mike Stump mikestump at comcast dot net 2011-03-28 17:41:36 UTC --- If there is an easy work around in gcc to avoid the problem, we could entertain that, but, generally, I'd be more interested in clang failures going forward.

[Bug c++/48319] New: Segmentation fault in instantiation of std::is_constructibleint

2011-03-28 Thread gintensubaru at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48319 Summary: Segmentation fault in instantiation of std::is_constructibleint Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/48288] [4.7 Regression] ld: Unsatisfied symbol __iordi3 in file /test/gnu/gcc/objdir/./gcc/libgcc_eh.a

2011-03-28 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48288 John David Anglin danglin at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/48319] [4.6/4.7 Regression] [C++0x] Segmentation fault in instantiation of std::is_constructibleint

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

[Bug tree-optimization/48290] FAIL: gcc.dg/vect/pr38529.c, ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1072

2011-03-28 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48290 --- Comment #5 from Dominique d'Humieres dominiq at lps dot ens.fr 2011-03-28 18:26:52 UTC --- The patch in comment #3 fixes the ICE, but the test still fails: FAIL: gcc.dg/vect/pr38529.c scan-tree-dump-times vect OUTER LOOP VECTORIZED 1

[Bug regression/48320] New: [C++0x] cannot expand template parameter pack in Default template arguments

2011-03-28 Thread gintensubaru at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48320 Summary: [C++0x] cannot expand template parameter pack in Default template arguments Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug go/48312] [4.7 regression] http, rpc, websocket tests hang on Solaris 2/x86

2011-03-28 Thread ian at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48312 --- Comment #2 from ian at gcc dot gnu.org ian at gcc dot gnu.org 2011-03-28 18:35:56 UTC --- Author: ian Date: Mon Mar 28 18:35:53 2011 New Revision: 171623 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171623 Log: PR go/48312 Fix

[Bug go/48312] [4.7 regression] http, rpc, websocket tests hang on Solaris 2/x86

2011-03-28 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48312 Ian Lance Taylor ian at airs dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/48319] [4.6/4.7 Regression] [C++0x] Segmentation fault in instantiation of std::is_constructibleint

2011-03-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48319 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org 2011-03-28 18:38:37 UTC --- reduced templatetypename Tp Tp declval() noexcept; templatetypename _Tp class __is_constructible_helper { typedef char __one;

[Bug tree-optimization/48321] New: gcc.dg/graphite/id-pr46845.c FAILs on IRIX 6.5: ICE in commit_one_edge_insertion, at cfgrtl.c:1566

2011-03-28 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48321 Summary: gcc.dg/graphite/id-pr46845.c FAILs on IRIX 6.5: ICE in commit_one_edge_insertion, at cfgrtl.c:1566 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug preprocessor/48248] [4.5/4.6/4.7 Regression] Wrong error message location when compiling preprocessed code

2011-03-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48248 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/48322] New: [C++0x] Plural parameter packs are not expanded well

2011-03-28 Thread gintensubaru at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48322 Summary: [C++0x] Plural parameter packs are not expanded well Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug boehm-gc/11412] boehm-gc testing problems

2011-03-28 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11412 Rainer Orth ro at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug debug/47471] [4.6/4.7 Regression] stdarg functions extraneous too-early prologue end

2011-03-28 Thread dodji at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47471 Dodji Seketeli dodji at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug boehm-gc/37017] Using --enable-threads=solaris breaks near end of build in boehm-gc configury

2011-03-28 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37017 Rainer Orth ro at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/48323] New: Lifetime of local variables: global versus member function

2011-03-28 Thread j.v.dijk at tue dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48323 Summary: Lifetime of local variables: global versus member function Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/48313] [C++0x] std::bind with template function

2011-03-28 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48313 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug fortran/48279] [4.6/4.7 Regression] segfault in gfc_check_vardef_context

2011-03-28 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48279 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org

[Bug middle-end/48323] [4.5/4.6/4.7 Regression] Lifetime of local variables: global versus member function

2011-03-28 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48323 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Target|

[Bug middle-end/48323] [4.5/4.6/4.7 Regression] Lifetime of local variables: global versus member function

2011-03-28 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48323 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.5.3

[Bug fortran/48279] [4.6/4.7 Regression] segfault in gfc_check_vardef_context

2011-03-28 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48279 --- Comment #7 from janus at gcc dot gnu.org 2011-03-28 20:39:53 UTC --- Reduced/modified test case: interface get procedure get1 end interface integer :: h call set1 (get (h)) contains subroutine set1 (a) integer,

[Bug middle-end/48323] [4.5/4.6/4.7 Regression] Lifetime of local variables: global versus member function

2011-03-28 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48323 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added CC||jason at gcc

[Bug fortran/48095] [OOP] Invalid assignment to procedure pointer component not rejected

2011-03-28 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48095 --- Comment #3 from janus at gcc dot gnu.org 2011-03-28 20:55:13 UTC --- Also the following variant is not rejected (seems to be a module problem): module m implicit none type :: rectangle real :: width, height procedure(get_area),

[Bug middle-end/48323] [4.5/4.6/4.7 Regression] Lifetime of local variables: global versus member function

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

[Bug driver/48306] presence of gcc subdir with . in PATH causes breakdown

2011-03-28 Thread karl at freefriends dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48306 --- Comment #2 from karl at freefriends dot org 2011-03-28 21:51:03 UTC --- For both gcc 4.5.2 and 4.6.0, I configured it from the original source on ftp.gnu.org, using --prefix=/usr/local/gnu --enable-languages=c,c++, no other arguments. make

[Bug middle-end/48323] [4.5/4.6/4.7 Regression] Lifetime of local variables: global versus member function

2011-03-28 Thread j.v.dijk at tue dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48323 --- Comment #4 from Jan van Dijk j.v.dijk at tue dot nl 2011-03-28 22:17:15 UTC --- (In reply to comment #3) Sorry for being pedantic, but would you care to explain how your observation renders this report invalid? I am afraid I do not understand

[Bug target/48308] crosscompiling to arm fails with assembler: can't resolve '.LC4' {.rodata.str1.1 section} - '.LPIC4' {*UND* section}

2011-03-28 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48308 Mikael Pettersson mikpe at it dot uu.se changed: What|Removed |Added CC||matz at gcc dot

[Bug middle-end/48323] [4.5/4.6/4.7 Regression] Lifetime of local variables: global versus member function

2011-03-28 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48323 --- Comment #5 from Andrew Pinski pinskia at gcc dot gnu.org 2011-03-28 22:25:00 UTC --- (In reply to comment #4) (In reply to comment #3) Sorry for being pedantic, but would you care to explain how your observation renders this report

[Bug target/48308] crosscompiling to arm fails with assembler: can't resolve '.LC4' {.rodata.str1.1 section} - '.LPIC4' {*UND* section}

2011-03-28 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48308 --- Comment #5 from Mikael Pettersson mikpe at it dot uu.se 2011-03-28 22:57:21 UTC --- Created attachment 23793 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=23793 reduced^2 test case

[Bug c++/46170] [4.4/4.5 Regression] g++ wrongly rejects pointer-to-member in template arguments

2011-03-28 Thread fang at csl dot cornell.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46170 --- Comment #27 from David Fang fang at csl dot cornell.edu 2011-03-28 23:42:54 UTC --- Friendly ping for backport?

[Bug c++/48296] [C++0x] constexpr member function cannot use the class type it belongs as parameter type or return type

2011-03-28 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48296 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug debug/48203] ICE in dwarf2out.c while building eglibc.

2011-03-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48203 --- Comment #13 from Jakub Jelinek jakub at gcc dot gnu.org 2011-03-28 23:53:49 UTC --- Author: jakub Date: Mon Mar 28 23:53:46 2011 New Revision: 171640 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171640 Log: PR debug/48203 *

[Bug debug/48253] [4.6/4.7 Regression] Further .debug_aranges issues

2011-03-28 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48253 --- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org 2011-03-28 23:55:49 UTC --- Author: jakub Date: Mon Mar 28 23:55:47 2011 New Revision: 171642 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171642 Log: PR debug/48253 *

[Bug c++/48324] New: [C++0x] constexpr evaluation should respect lifetime rules

2011-03-28 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48324 Summary: [C++0x] constexpr evaluation should respect lifetime rules Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: accepts-invalid Severity: normal

[Bug c++/48313] [C++0x] std::bind with template function

2011-03-28 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48313 --- Comment #7 from Jason Merrill jason at gcc dot gnu.org 2011-03-29 00:04:57 UTC --- Author: jason Date: Tue Mar 29 00:04:54 2011 New Revision: 171643 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=171643 Log: PR c++/48313 * pt.c

[Bug c/48325] New: internal compiler error: in reload_cse_simplify_operands, at postreload.c:396 with neon optimized code

2011-03-28 Thread nereusuj at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48325 Summary: internal compiler error: in reload_cse_simplify_operands, at postreload.c:396 with neon optimized code Product: gcc Version: 4.5.2 Status: UNCONFIRMED

[Bug target/48301] Xcode 4.0's llvm-gcc can't bootstrap gcc 4.6.0 or trunk

2011-03-28 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48301 --- Comment #5 from Jack Howarth howarth at nitro dot med.uc.edu 2011-03-29 03:15:32 UTC --- FYI, this problem also exists under linux so it isn't darwin specific. Opened... http://llvm.org/bugs/show_bug.cgi?id=9571

[Bug target/47744] [x32] ICE: in reload_cse_simplify_operands, at postreload.c:403

2011-03-28 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47744 --- Comment #7 from H.J. Lu hjl.tools at gmail dot com 2011-03-29 04:06:02 UTC --- Another testcase: [hjl@gnu-6 gcc]$ ./xgcc -B./ /export/gnu/import/git/gcc-x32/gcc/testsuite/gfortran.dg/eoshift_large_1.f90 -Os -pedantic-errors -S -mx32

[Bug c/48326] New: Target attribute leaks from function pointers

2011-03-28 Thread michael at talamasca dot ocis.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48326 Summary: Target attribute leaks from function pointers Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: c AssignedTo:

Re: fix for 48208 and 48260 on darwin

2011-03-28 Thread IainS
Hi Christian, On 28 Mar 2011, at 04:55, Christian Schüler wrote: F -C ObjC C++ ObjC++ Joined Separate MissingArgError(missing path after %qs) +Driver C ObjC C++ ObjC++ Joined Separate MissingArgError(missing path after \ %qs) -F dir Add dir to the end of the main framework include path

[patch ada]: Fix issues about multilib build of native windows and handle MSG_WAITALL for windows native targets

2011-03-28 Thread Kai Tietz
Hello, this patch fixes some nits about MSG_WAITALL for mingw(-w64) targets. Additionally it improves multilib configury for windows native targets. ChangeLog gcc/ada 2011-03-28 Kai Tietz * raise-gcc.c (PERSONALITY_FUNCTION): Add prototype to prevent warning. *

Re: [patch] Fix SSA corruption with SLP

2011-03-28 Thread Eric Botcazou
GSI? All the other functions of the vectorizer still have BSI in the comments. ;-) OK for the mainline otherwise. Thanks! -- Eric Botcazou

Re: [patch ada]: Fix issues about multilib build of native windows and handle MSG_WAITALL for windows native targets

2011-03-28 Thread Kai Tietz
2011/3/28 Arnaud Charlet char...@adacore.com: this patch fixes some nits about MSG_WAITALL for mingw(-w64) targets. Additionally it improves multilib configury for windows native targets. Can you please split this patch in two, since the MSG_WAITALL is one thing, and the multilib is a

Re: [2/2] Reducing the overhead of dwarf2 location tracking

2011-03-28 Thread Matthias Klose
On 05.03.2011 15:37, Richard Sandiford wrote: Jakub Jelinek ja...@redhat.com writes: On Fri, Mar 04, 2011 at 01:56:55PM +, Richard Sandiford wrote: * dwarf2out.c (dw_loc_list_node): Add resolved_addr and replaced. (cached_dw_loc_list_def): New structure. (cached_dw_loc_list):

PING^3: Reducing the overhead of dwarf2 location tracking

2011-03-28 Thread Richard Sandiford
Third ping for this patch for PR48190 (4.5+): http://gcc.gnu.org/ml/gcc-patches/2011-03/msg00255.html It fixes a source of quadratic memory use while generating dwarf2 var-tracking information. Thanks, Richard

Re: [patch ada]: Fix issues about multilib build of native windows and handle MSG_WAITALL for windows native targets

2011-03-28 Thread Kai Tietz
2011/3/28 Kai Tietz ktiet...@googlemail.com: ChangeLog gcc/ada (ada_wt.txt) 2011-03-28  Kai Tietz        * raise-gcc.c (PERSONALITY_FUNCTION): Add prototype to        prevent warning.        * g-socthi-mingw.adb (C_Recvmsg): Handle MSG_WAITALL for        windows native targets.        *

[patch] Fix bogus source locations with optimization

2011-03-28 Thread Eric Botcazou
Hi, when optimization is enabled, especially -O2 and above, you can have lines in the assembly file with really bogus source location info. The scenario is as follows: an optimization pass at the Tree level (typically PRE) creates a new statement and inserts it at some place in the dominator

Re: [RFC PATCH] Typed DWARF stack

2011-03-28 Thread Jakub Jelinek
On Fri, Mar 25, 2011 at 09:44:40AM -0700, Roland McGrath wrote: It's been a while since I read Cary's proposal, and I am no longer likely to do much work of my own in this area. So I'll just respond at the high level. I like very much the essential notion of the stack being of typed

[patch ada]: Prevent warning about PERSONALITY_FUNCTION in raise-gcc.c

2011-03-28 Thread Kai Tietz
Hello, Split submitted patch from thread [patch ada]: Fix issues about multilib build of native windows and handle MSG_WAITALL for windows native targets into separate ones. ChangeLog gcc/ada 2011-03-28 Kai Tietz * raise-gcc.c (PERSONALITY_FUNCTION): Add prototype to prevent

[patch ada] Use Ada output of gnatbind for building tools

2011-03-28 Thread Tristan Gingold
Hi, gnatbind can generate Ada or C output. The C output is being deprecated so it shouldn't be used to build the tools. This patch updates the Makefiles so that the Ada output is used instead. Ok for trunk ? Tristan. gcc/ada 2011-03-28 Tristan Gingold ging...@adacore.com *

[patch ada]: Fix MSG_WAITALL handling for windows native targets

2011-03-28 Thread Kai Tietz
Hello, Split submitted patch from thread [patch ada]: Fix issues about multilib build of native windows and handle MSG_WAITALL for windows native targets into separate ones. ChangeLog gcc/ada (ada_wt.txt) 2011-03-28 Kai Tietz * g-socthi-mingw.adb (C_Recvmsg): Handle MSG_WAITALL for

Re: [patch ada]: Prevent warning about PERSONALITY_FUNCTION in raise-gcc.c

2011-03-28 Thread Arnaud Charlet
Split submitted patch from thread [patch ada]: Fix issues about multilib build of native windows and handle MSG_WAITALL for windows native targets into separate ones. ChangeLog gcc/ada 2011-03-28 Kai Tietz * raise-gcc.c (PERSONALITY_FUNCTION): Add prototype to prevent

Re: [patch ada] Use Ada output of gnatbind for building tools

2011-03-28 Thread Arnaud Charlet
gnatbind can generate Ada or C output. The C output is being deprecated so it shouldn't be used to build the tools. This patch updates the Makefiles so that the Ada output is used instead. Ok for trunk ? OK, thanks.

Re: [patch ada] Use Ada output of gnatbind for building tools

2011-03-28 Thread Eric Botcazou
gnatbind can generate Ada or C output. The C output is being deprecated so it shouldn't be used to build the tools. This patch updates the Makefiles so that the Ada output is used instead. Great! Please mention PR ada/44431 in the ChangeLog. -- Eric Botcazou

[patch ada]: Fix issues about multilib build of native windows

2011-03-28 Thread Kai Tietz
Hello, Split submitted patch from thread [patch ada]: Fix issues about multilib build of native windows and handle MSG_WAITALL for windows native targets into separate ones. ChangeLog gcc/ada (ada_w_multi.txt) 2011-03-28 Kai Tietz * gcc-interface/Makefile.in (SO_LIB): Handle multilib

Re: [patch ada]: Fix issues about multilib build of native windows and handle MSG_WAITALL for windows native targets

2011-03-28 Thread Kai Tietz
2011/3/28 Arnaud Charlet char...@adacore.com: I split patch into two. ada_w_multi.txt contains just the gcc-interface/Makefile.in change and the ada_wt.txt the MSG_WAITALL patch. Thanks. Actually raise-gcc.c is yet another issue. Could you please resubmit under three different

Re: [patch ada]: Prevent warning about PERSONALITY_FUNCTION in raise-gcc.c

2011-03-28 Thread Kai Tietz
2011/3/28 Arnaud Charlet char...@adacore.com: Split submitted patch from thread [patch ada]: Fix issues about multilib build of native windows and handle MSG_WAITALL for windows native targets into separate ones. ChangeLog gcc/ada 2011-03-28  Kai Tietz       * raise-gcc.c

Re: [PATCH 1/4] Remove cgraph_node function and fixup all callers

2011-03-28 Thread Martin Jambor
Hi, On Fri, Mar 25, 2011 at 05:55:24PM +0100, Jan Hubicka wrote: Index: src/gcc/passes.c === --- src.orig/gcc/passes.c 2011-03-19 01:16:23.0 +0100 +++ src/gcc/passes.c2011-03-19 01:54:42.0

Re: [patch] Fix bogus source locations with optimization

2011-03-28 Thread Richard Guenther
On Mon, Mar 28, 2011 at 11:00 AM, Eric Botcazou ebotca...@adacore.com wrote: Hi, when optimization is enabled, especially -O2 and above, you can have lines in the assembly file with really bogus source location info.  The scenario is as follows: an optimization pass at the Tree level

Re: [build, lto] Only accept -fuse-linker-plugin if linker supports -plugin (PR lto/46944)

2011-03-28 Thread Rainer Orth
Richard Guenther richard.guent...@gmail.com writes: I think if the plugin linker is different from the normal linker we should set HAVE_LTO_PLUGIN to 2. I think we should do the linker version checks which relate to linker-plugin use on the plugin-linker instead. So if I specify a separate

Re: [build, lto] Only accept -fuse-linker-plugin if linker supports -plugin (PR lto/46944)

2011-03-28 Thread Richard Guenther
On Mon, Mar 28, 2011 at 12:14 PM, Rainer Orth r...@cebitec.uni-bielefeld.de wrote: Richard Guenther richard.guent...@gmail.com writes: I think if the plugin linker is different from the normal linker we should set HAVE_LTO_PLUGIN to 2. I think we should do the linker version checks which

Re: [patch ada]: Fix issues about multilib build of native windows

2011-03-28 Thread Arnaud Charlet
Split submitted patch from thread [patch ada]: Fix issues about multilib build of native windows and handle MSG_WAITALL for windows native targets into separate ones. ChangeLog gcc/ada (ada_w_multi.txt) 2011-03-28 Kai Tietz * gcc-interface/Makefile.in (SO_LIB): Handle multilib

Re: fix for 48208 and 48260 on darwin

2011-03-28 Thread Joseph S. Myers
On Mon, 28 Mar 2011, Christian Schüler wrote: PR 48208 * config/c.opt: Added 'Driver' to -F option This part of the changes is OK with the ChangeLog entry fixed (it should go in c-family/ChangeLog): PR driver/48208 * c.opt (-F): Add Driver. -- Joseph S. Myers

Use LINK_PLUGIN_SPEC on Darwin (PR target/48245)

2011-03-28 Thread Rainer Orth
When developing the patch to use the linker plugin only if the (plugin) linker supports it, I had neglected to check for targets that defined their own version of LD_COMMAND_SPEC. Of course, this couldn't go unpunished, since there are two of them: * Darwin has its own version in

Re: [patch] Fix bogus source locations with optimization

2011-03-28 Thread Eric Botcazou
This overloads UNKNOWN_LOCATION for both insn_locator and source_location, I don't think this is the best idea. It'll eventually break when compiling with C++ anyway. Could you elaborate? UNKNOWN_LOCATION isn't used for INSN_LOCATOR at all thanks for the curr_insn_locator hunk. The

Re: [patch] Fix bogus source locations with optimization

2011-03-28 Thread Richard Guenther
On Mon, Mar 28, 2011 at 1:08 PM, Eric Botcazou ebotca...@adacore.com wrote: This overloads UNKNOWN_LOCATION for both insn_locator and source_location, I don't think this is the best idea.  It'll eventually break when compiling with C++ anyway. Could you elaborate?  UNKNOWN_LOCATION isn't used

Re: [patch ada]: Fix MSG_WAITALL handling for windows native targets

2011-03-28 Thread Kai Tietz
2011/3/28 Arnaud Charlet char...@adacore.com: Kai, Here are Thomas comments on your patch: -- Split submitted patch from thread [patch ada]: Fix issues about multilib build of native windows and handle MSG_WAITALL for windows native targets into separate ones. ChangeLog gcc/ada

Re: Use LINK_PLUGIN_SPEC on Darwin (PR target/48245)

2011-03-28 Thread Dominique Dhumieres
Rainer, Ignore my previous comment: I just saw the quotes on the other changed lines. Thanks for the commit. Dominique

PATCH: PR testsuite/48276: FAIL: gcc.target/i386/pr47502-2.c

2011-03-28 Thread H.J. Lu
Hi, gcc.target/i386/pr47502-2.c uses EBX which doesn't work with PIC. I am checking in this patch as an obvious fix. H.J. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a9f70d0..53424d2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@

[patch] plug mem leak in gcse

2011-03-28 Thread Steven Bosscher
Hi, The bitmap reg_set_bitmap is allocated in alloc_gcse_mem, but it is never freed. The foul smell of a mem leak... Plugged thus. Bootstrappedtested on x86_64-unknown-linux-gnu. OK for trunk? Ciao! Steven * gcse.c (free_gcse_mem): Free reg_set_bitmap. Index: gcse.c

Re: [patch] plug mem leak in gcse

2011-03-28 Thread Richard Guenther
On Mon, Mar 28, 2011 at 3:29 PM, Steven Bosscher stevenb@gmail.com wrote: Hi, The bitmap reg_set_bitmap is allocated in alloc_gcse_mem, but it is never freed. The foul smell of a mem leak... Plugged thus. Bootstrappedtested on x86_64-unknown-linux-gnu. OK for trunk? Ok. Thanks,

PATCH: PR boehm-gc/48299: FAIL: boehm-gc.c/thread_leak_test.c

2011-03-28 Thread H.J. Lu
Hi, GC_LINUX_THREADS is redefined. This patch fixes it. OK for trunk? Thanks. H.J. diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index f6b1865..557167c 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,9 @@ +2011-03-28 H.J. Lu hongjiu...@intel.com + + PR

Add support for DragonFlyBSD target to top level configure

2011-03-28 Thread Nick Clifton
Hi Guys, I am propagating the attached patch from the binutils source tree. It adds support for the DragonFlyBSD target to the top level configure script. Cheers Nick ./ChangeLog 2011-03-26 John Marino binut...@marino.st * configure.ac: Add support for *-*-dragonfly*

Re: [PATCH] Better .debug_aranges fix (PR debug/48253, take 3)

2011-03-28 Thread Jason Merrill
On 03/25/2011 01:01 PM, Jakub Jelinek wrote: + if (node == loc_list-last_before_switch +(node != loc_list-first || loc_list-first-next) +current_function_decl) Let's store this test in a local variable rather than repeat it a few lines down. + if

Re: [H8300] Remove ASM_OUTPUT_BSS

2011-03-28 Thread Jeff Law
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/27/11 14:32, Anatoly Sokolov wrote: Hi. In config/h8300/h8300.h file both ASM_OUTPUT_BSS and ASM_OUTPUT_ALIGNED_BSS macros is defined, but the ASM_OUTPUT_BSS macro is not used when ASM_OUTPUT_ALIGNED_BSS is defined. This patch remove

Re: [h8300] Hookize FUNCTION_VALUE, LIBCALL_VALUE and FUNCTION_VALUE_REGNO_P

2011-03-28 Thread Jeff Law
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/27/11 14:07, Anatoly Sokolov wrote: Hello. This patch removes obsolete FUNCTION_VALUE, LIBCALL_VALUE and FUNCTION_VALUE_REGNO_P macros from H8300 back end in the GCC and introduces equivalent TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE

Re: [PATCH] Better .debug_aranges fix (PR debug/48253, take 3)

2011-03-28 Thread Jakub Jelinek
On Mon, Mar 28, 2011 at 10:23:08AM -0400, Jason Merrill wrote: On 03/25/2011 01:01 PM, Jakub Jelinek wrote: +if (node == loc_list-last_before_switch + (node != loc_list-first || loc_list-first-next) + current_function_decl) Let's store this test in a local

Re: [PATCH] Better .debug_aranges fix (PR debug/48253, take 3)

2011-03-28 Thread Jason Merrill
On 03/28/2011 10:34 AM, Jakub Jelinek wrote: So perhaps if (fde-dw_fde_second_begin fde-dw_fde_switch_cfi == NULL) { /* If the first partition contained no CFI adjustments, the CIE opcodes apply to the whole first partition. */ *list_tail = new_loc_list

Re: C++ PATCH for c++/48289 (-pedantic breaks std::move)

2011-03-28 Thread Jason Merrill
On 03/27/2011 08:17 PM, Eric Botcazou wrote: Tested x86_64-pc-linux-gnu, applied to trunk and 4.5, will apply to 4.6 after 4.6.0. The test doesn't pass on the 4.5 branch: FAIL: g++.dg/cpp0x/move1.C (test for excess errors) Good point. I guess I won't bother trying to fix this in 4.5.

[committed/vms] fix ice for vms/ia64

2011-03-28 Thread Tristan Gingold
Hi, gcc crashes during cross-build of libiberty due to a bad handling of promote_function_mode. This patch fixes that. Committed on trunk. Tristan. 2011-03-28 Tristan Gingold ging...@adacore.com * config/ia64/ia64.c (ia64_promote_function_mode): Fix promotion when

Use gen_int_mode in expand_builtin_memset_args

2011-03-28 Thread Richard Sandiford
This patch fixes a case where expand_builtin_memset_args was creating a zero- rather than sign-extended character-sized CONST_INT. The problem showed up on s390, where a character was being passed as (const_int 171) rather than (const_int -85). Tested on x86_64-linux-gnu. Andreas also confirms

C++ PATCH to fix constexpr/noexcept bug

2011-03-28 Thread Jason Merrill
We need to call cxx_constant_value after converting to bool, in case the conversion uses a conversion operator. Tested x86_64-pc-linux-gnu, applying to trunk and 4.6. commit a3fde3e7dcdc6b4f0b92bb273f4267c6bf8f6de0 Author: Jason Merrill ja...@redhat.com Date: Sun Mar 27 21:51:35 2011 -0400

Re: Use gen_int_mode in expand_builtin_memset_args

2011-03-28 Thread Richard Guenther
On Mon, Mar 28, 2011 at 5:47 PM, Richard Sandiford richard.sandif...@linaro.org wrote: This patch fixes a case where expand_builtin_memset_args was creating a zero- rather than sign-extended character-sized CONST_INT.  The problem showed up on s390, where a character was being passed as

C++ PATCHes to fix ref binding to array temporaries

2011-03-28 Thread Jason Merrill
In discussion of core issue 1232 we realized that we already do allow array temporaries in some cases (primarily as subobjects of class temporaries), so we ought to handle them consistently. The first patch fixes direct binding to array prvalues, which has been specified for a while. The

[testsuite] Generalize REs in gcc.dg/debug/dwarf2/pr47939-[1-4].c (PR testsuite/48238)

2011-03-28 Thread Rainer Orth
As described in the PR, four new DWARF-2 tests FAIL on Solaris 2 with Sun as, IRIX 6.5 with gas, and Darwin. Dominique provided the following patch. Tested with the appropriate runtest invocations on i386-pc-solaris2.11 with Sun as and gas and mips-sgi-irix6.5 by myself, and

Re: [PATCH] ENTRY_VALUE fixes (PR debug/48203)

2011-03-28 Thread Richard Henderson
On 03/20/2011 05:57 AM, Jakub Jelinek wrote: * cfgexpand.c (expand_debug_expr) case SSA_NAME: Only create ENTRY_VALUE if incoming or address of incoming's MEM is a hard REG. * dwarf2out.c (mem_loc_descriptor): Don't emit DW_OP_GNU_entry_value of DW_OP_fbreg. Ok.

[PING][PATCH, testsuite] Update gcc.dg/stack-usage-1.c SIZE values for powerpc

2011-03-28 Thread Peter Bergner
I'd like to ping this test suite patch: [PATCH, testsuite] Update gcc.dg/stack-usage-1.c SIZE values for powerpc http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00077.html Peter

Re: [PING][PATCH, testsuite] Update gcc.dg/stack-usage-1.c SIZE values for powerpc

2011-03-28 Thread Mike Stump
On Mar 28, 2011, at 10:12 AM, Peter Bergner wrote: I'd like to ping this test suite patch: [PATCH, testsuite] Update gcc.dg/stack-usage-1.c SIZE values for powerpc http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00077.html Normally, I'd prefer the target folks to approve these sorts, but

<    1   2   3   >