gcc-4.8-20130120 is now available

2013-01-20 Thread gccadmin
Snapshot gcc-4.8-20130120 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.8-20130120/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.8 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

Remove node from cgraph

2013-01-20 Thread Chassin
Hi ,i am developing a simple plugin that allows me to delete a node from the cgraph that match a specific pattern but when i delete the node using cgraph_remove_node , it seams to delete it ( by printing the cgraph again it doesn't appear ) , but in the compiled file it exist my plugin is

[Bug tree-optimization/56049] New: [4.8 Regression] Simplification to constants not done

2013-01-20 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56049 Bug #: 56049 Summary: [4.8 Regression] Simplification to constants not done Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/56049] [4.8 Regression] Simplification to constants not done

2013-01-20 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56049 Thomas Koenig tkoenig at gcc dot gnu.org changed: What|Removed |Added CC||rguenth

[Bug tree-optimization/56049] [4.8 Regression] Simplification to constants not done

2013-01-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56049 --- Comment #1 from Dominique d'Humieres dominiq at lps dot ens.fr 2013-01-20 10:32:18 UTC --- This occurred between revisions 193542 (2012-11-15) and 193573 (2012-11-16).

[Bug c++/56050] New: g++ compiler confused with virtual functions.

2013-01-20 Thread tristen_e at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56050 Bug #: 56050 Summary: g++ compiler confused with virtual functions. Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal

[Bug fortran/56047] [4.8 Regression] [OOP] ICE in in gfc_conv_expr_op

2013-01-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56047 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot

[Bug fortran/56047] [4.8 Regression] [OOP] ICE in in gfc_conv_expr_op

2013-01-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56047 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug objc/56044] Add dialect option to gobjc to prevent instance variables from posing as local variables inside methods.

2013-01-20 Thread dpapavas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56044 --- Comment #5 from Dimitris Papavasiliou dpapavas at gmail dot com 2013-01-20 11:09:57 UTC --- Actually trying out -Wno-shadow indicates that it doesn't make any difference in this case. The compiler keeps complaining about the instance

[Bug fortran/56047] [4.8 Regression] [OOP] ICE in in gfc_conv_expr_op

2013-01-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56047 --- Comment #5 from janus at gcc dot gnu.org 2013-01-20 11:30:08 UTC --- Btw, while the ICE is obviously a 4.8 regression, 4.6 and 4.7 are not much more helpful, either: if (template%type_string () == name) return 1 Error:

[Bug fortran/56047] [4.8 Regression] [OOP] ICE in in gfc_conv_expr_op

2013-01-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56047 --- Comment #6 from Dominique d'Humieres dominiq at lps dot ens.fr 2013-01-20 11:35:59 UTC --- Btw, while the ICE is obviously a 4.8 regression, 4.6 and 4.7 are not much more helpful, either: if (template%type_string () == name)

[Bug fortran/56047] [4.8 Regression] [OOP] ICE in in gfc_conv_expr_op

2013-01-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56047 --- Comment #7 from janus at gcc dot gnu.org 2013-01-20 11:36:52 UTC --- (In reply to comment #5) Btw, while the ICE is obviously a 4.8 regression, 4.6 and 4.7 are not much more helpful, either: if (template%type_string () == name)

[Bug c++/56050] g++ compiler confused with virtual functions.

2013-01-20 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56050 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug fortran/56047] [4.8 Regression] [OOP] ICE in in gfc_conv_expr_op

2013-01-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56047 --- Comment #8 from janus at gcc dot gnu.org 2013-01-20 11:45:22 UTC --- Note that the patch from PR 55984 comment 4 fixes the ICE for both comment 0 and comment 3. This brings comment 3 to the same error message one gets with 4.6/4.7,

[Bug c/56051] New: Wrong expression evaluation

2013-01-20 Thread olivier.gay at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56051 Bug #: 56051 Summary: Wrong expression evaluation Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority:

[Bug fortran/56047] [4.8 Regression] [OOP] ICE in in gfc_conv_expr_op

2013-01-20 Thread juergen.reuter at desy dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56047 --- Comment #9 from Jürgen Reuter juergen.reuter at desy dot de 2013-01-20 11:55:31 UTC --- Janus, long time no see! XD Greetings to my old home state!

[Bug fortran/56047] [4.8 Regression] [OOP] ICE in in gfc_conv_expr_op

2013-01-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56047 --- Comment #10 from janus at gcc dot gnu.org 2013-01-20 12:05:11 UTC --- (In reply to comment #8) Note that the patch from PR 55984 comment 4 fixes the ICE for both comment 0 and comment 3. This brings comment 3 to the same error message

[Bug c/56051] Wrong expression evaluation

2013-01-20 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56051 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug c++/56039] ICE in iterative_hash_template_arg, at cp/pt.c:1606

2013-01-20 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56039 --- Comment #6 from Daniel Krügler daniel.kruegler at googlemail dot com 2013-01-20 12:27:20 UTC --- (In reply to comment #0) The code uses C++11 lambda expressions in a constant expression context for the SFINAE. As far as I can tell, SFINAE

[Bug fortran/54033] gfortran: Passing file as include directory - add diagnostic and ICE with -cpp

2013-01-20 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54033 Thomas Koenig tkoenig at gcc dot gnu.org changed: What|Removed |Added Status|NEW

[Bug fortran/56047] [4.8 Regression] [OOP] ICE in in gfc_conv_expr_op

2013-01-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56047 --- Comment #11 from janus at gcc dot gnu.org 2013-01-20 12:53:40 UTC --- (In reply to comment #9) Janus, long time no see! XD Right! It's been a while since you submitted a bugreport (after all the procedure pointer bugs had been

[Bug fortran/56008] [F03] wrong code with lhs-realloc on assignment with derived types having allocatable components

2013-01-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56008 --- Comment #5 from Dominique d'Humieres dominiq at lps dot ens.fr 2013-01-20 13:34:52 UTC --- Created attachment 29221 [details] Fix for this PR and PR 47517 I confirm for this PR. However while the original code of PR 47517 executes

[Bug middle-end/56051] Wrong expression evaluation

2013-01-20 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56051 Mikael Pettersson mikpe at it dot uu.se changed: What|Removed |Added CC||mikpe at

[Bug rtl-optimization/21182] [4.6/4.7/4.8 Regression] gcc can use registers but uses stack instead

2013-01-20 Thread vda.linux at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21182 --- Comment #11 from Denis Vlasenko vda.linux at googlemail dot com 2013-01-20 14:39:42 UTC --- (In reply to comment #10) 4.4.7 and 4.5.4 generate the same code (no stack use) for -D/-UNAIL_REGS. With 4.6.3, the -DNAIL_REGS code

[Bug fortran/55806] Missed optimization with ANY or ALL

2013-01-20 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55806 Thomas Koenig tkoenig at gcc dot gnu.org changed: What|Removed |Added Attachment #29223|0 |1

[Bug fortran/56052] New: [4.7/4.8 Regression] ICE in omp_add_variable, at gimplify.c:5606

2013-01-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56052 Bug #: 56052 Summary: [4.7/4.8 Regression] ICE in omp_add_variable, at gimplify.c:5606 Classification: Unclassified Product: gcc Version: unknown Status:

[Bug fortran/56052] [4.7/4.8 Regression] ICE in omp_add_variable, at gimplify.c:5606

2013-01-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56052 --- Comment #1 from Dominique d'Humieres dominiq at lps dot ens.fr 2013-01-20 16:31:31 UTC --- Created attachment 29226 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29226 Failing test

[Bug tree-optimization/56051] Wrong expression evaluation

2013-01-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56051 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at

[Bug c++/56039] ICE in iterative_hash_template_arg, at cp/pt.c:1606

2013-01-20 Thread hstong at ca dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56039 --- Comment #7 from Hubert Tong hstong at ca dot ibm.com 2013-01-20 16:45:13 UTC --- (In reply to comment #6) I wonder why you think this would belong to the immediate context. Actually it seems to me as if the instantiation of the body

[Bug tree-optimization/56051] Wrong expression evaluation

2013-01-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56051 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/56053] New: FAIL: c-c++-common/asan/(global|stack)-overflow-1.c

2013-01-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56053 Bug #: 56053 Summary: FAIL: c-c++-common/asan/(global|stack)-overflow-1.c Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/56053] FAIL: c-c++-common/asan/(global|stack)-overflow-1.c

2013-01-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56053 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED

[Bug fortran/56054] New: f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337

2013-01-20 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56054 Bug #: 56054 Summary: f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337 Classification: Unclassified Product: gcc Version: 4.8.0

[Bug fortran/56052] [4.7/4.8 Regression] ICE in omp_add_variable, at gimplify.c:5606

2013-01-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56052 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED

[Bug sanitizer/55679] new asan tests from r194458 fail on x86_64-apple-darwin10

2013-01-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55679 --- Comment #20 from Dominique d'Humieres dominiq at lps dot ens.fr 2013-01-20 16:54:50 UTC --- (In reply to comment #18) I am puzzled as to why this issue with global-overflow-1.c and stack-overflow-1.c can't be triggered on x86_64

[Bug fortran/56052] [4.7/4.8 Regression] ICE in omp_add_variable, at gimplify.c:5606

2013-01-20 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56052 Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed: What|Removed |Added CC|

[Bug fortran/56052] [4.7/4.8 Regression] ICE in omp_add_variable, at gimplify.c:5606

2013-01-20 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56052 Thomas Koenig tkoenig at gcc dot gnu.org changed: What|Removed |Added CC||tkoenig

[Bug fortran/56054] f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337

2013-01-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56054 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED

[Bug fortran/56054] [4.6/4.7/4.8 Regression] f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337

2013-01-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56054 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Summary|f951: internal compiler

[Bug fortran/56054] [4.6/4.7/4.8 Regression] f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337

2013-01-20 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56054 Mikael Morin mikael at gcc dot gnu.org changed: What|Removed |Added CC||mikael at

[Bug fortran/54107] [4.8 Regression] Memory hog with abstract interface

2013-01-20 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54107 --- Comment #10 from Mikael Morin mikael at gcc dot gnu.org 2013-01-20 17:31:24 UTC --- Created attachment 29228 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29228 Not working patch This patch implements comment #9. It fails on

[Bug tree-optimization/56049] [4.8 Regression] Simplification to constants not done

2013-01-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56049 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||hubicka

[Bug fortran/54730] [4.6/4.7/4.8 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1066

2013-01-20 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54730 --- Comment #8 from Mikael Morin mikael at gcc dot gnu.org 2013-01-20 17:47:34 UTC --- (In reply to comment #7) Untested patch: Probably better (still not fully correct): diff --git a/array.c b/array.c index 6787c05..1641629 100644

[Bug c++/56039] ICE in iterative_hash_template_arg, at cp/pt.c:1606

2013-01-20 Thread hstong at ca dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56039 --- Comment #8 from Hubert Tong hstong at ca dot ibm.com 2013-01-20 17:50:50 UTC --- (In reply to comment #7) That is, whether the body of the lambda expression is valid or not valid is not affected by unknowns such as what types it

[Bug fortran/50627] Error recovery: ICE in gfc_free_namespace after diagnosing missing end of construct

2013-01-20 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50627 Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed: What|Removed |Added Blocks|

[Bug fortran/56054] [4.6/4.7/4.8 Regression] f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337

2013-01-20 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56054 Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed: What|Removed |Added Status|NEW

[Bug tree-optimization/56051] Wrong expression evaluation

2013-01-20 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56051 --- Comment #4 from Marc Glisse glisse at gcc dot gnu.org 2013-01-20 18:09:40 UTC --- (In reply to comment #3) Untested fix. As the testcase shows, also a widening conversion can be a problem, if it extends from signed integral type to

[Bug fortran/50627] [4.6/4.7/4.8 Regression] Error recovery: ICE in gfc_free_namespace after diagnosing missing end of construct

2013-01-20 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50627 Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed: What|Removed |Added Summary|Error recovery: ICE

[Bug lto/55493] [4.8 Regression] LTO always ICEs on i686-mingw32

2013-01-20 Thread vanboxem.ruben at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55493 Ruben Van Boxem vanboxem.ruben at gmail dot com changed: What|Removed |Added CC|

[Bug tree-optimization/56051] Wrong expression evaluation

2013-01-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56051 --- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2013-01-20 18:35:20 UTC --- Yeah, I'm afraid assuming you never do 1 31 is going to break simply way too much code in the wild.

[Bug fortran/55603] Memory leak in intrinsic assignment of a scalar allocatable function result

2013-01-20 Thread damian at rouson dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55603 --- Comment #5 from Damian Rouson damian at rouson dot net 2013-01-20 18:59:54 UTC --- Hi Janus and Tobias, We're moving toward an internal release of the open-source package that exposed this bug. Any chance of this being fixed in the

[Bug c++/55223] [C++11] Default lambda expression of a templated class member

2013-01-20 Thread ak at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55223 --- Comment #2 from ak at gcc dot gnu.org 2013-01-20 19:03:29 UTC --- Author: ak Date: Sun Jan 20 19:03:22 2013 New Revision: 195321 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=195321 Log: libstdc++: Add

[Bug target/55433] [4.8 Regression][LRA] ICE on excessive reloads

2013-01-20 Thread vmakarov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55433 --- Comment #7 from Vladimir Makarov vmakarov at gcc dot gnu.org 2013-01-20 19:10:03 UTC --- Author: vmakarov Date: Sun Jan 20 19:09:58 2013 New Revision: 195322 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=195322 Log:

[Bug c++/55223] [C++11] Default lambda expression of a templated class member

2013-01-20 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55223 --- Comment #3 from Daniel Krügler daniel.kruegler at googlemail dot com 2013-01-20 19:56:22 UTC --- (In reply to comment #2) The underlying compiler supports additional __ATOMIC_HLE_ACQUIRE/RELEASE memmodel flags for TSX, but this was not

[Bug c++/55223] [C++11] Default lambda expression of a templated class member

2013-01-20 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55223 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2013-01-20 20:04:30 UTC --- Typo in the commit, it should be PR 55233

[Bug libstdc++/55233] libstdc++ atomic does not support hle_acquire/release

2013-01-20 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55233 --- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org 2013-01-20 20:05:03 UTC --- N.B. The commit for this is attached to PR 55223

[Bug tree-optimization/56051] Wrong expression evaluation

2013-01-20 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56051 --- Comment #6 from Marc Glisse glisse at gcc dot gnu.org 2013-01-20 20:17:31 UTC --- (In reply to comment #5) Yeah, I'm afraid assuming you never do 1 31 is going to break simply way too much code in the wild. I noticed that clang

[Bug debug/53235] [4.8 Regression] 20120504 broke -fdebug-types-section

2013-01-20 Thread mrs at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53235 --- Comment #14 from mrs at gcc dot gnu.org mrs at gcc dot gnu.org 2013-01-20 20:35:56 UTC --- Author: mrs Date: Sun Jan 20 20:35:48 2013 New Revision: 195326 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=195326 Log: 2013-01-20

[Bug fortran/56047] [4.8 Regression] [OOP] ICE in in gfc_conv_expr_op

2013-01-20 Thread juergen.reuter at desy dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56047 --- Comment #12 from Jürgen Reuter juergen.reuter at desy dot de 2013-01-20 22:11:30 UTC --- Am 20/1/13 1:53 PM, schrieb janus at gcc dot gnu.org: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56047 --- Comment #11 from janus at gcc dot gnu.org

[Bug rtl-optimization/51447] [4.6/4.7 Regression] global register variable definition incorrectly removed as dead code

2013-01-20 Thread howarth at nitro dot med.uc.edu
as x86_64-apple-darwin...Reading symbols for shared libraries ... done (gdb) b main Breakpoint 1 at 0x1eed: file /sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20130120/gcc/testsuite/gcc.c-torture/execute/pr51447.c, line 13. Breakpoint 2 at 0x1ec8: file /sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8

[Bug ada/56055] New: Delete_File won't delete special files

2013-01-20 Thread bj...@xn--rombobjrn-67a.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56055 Bug #: 56055 Summary: Delete_File won't delete special files Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/55233] libstdc++ atomic does not support hle_acquire/release

2013-01-20 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55233 --- Comment #2 from Andi Kleen andi-gcc at firstfloor dot org 2013-01-21 01:22:14 UTC --- Oops typo, I'll fix the ChangeLog

[Bug c++/56056] New: internal compiler error: in get_builtin_code_for_version, at config/i386/i386.c:28686

2013-01-20 Thread crrodriguez at opensuse dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56056 Bug #: 56056 Summary: internal compiler error: in get_builtin_code_for_version, at config/i386/i386.c:28686 Classification: Unclassified Product: gcc

[Bug other/56057] New: libbacktrace STILL doesn't honor --disable-werror

2013-01-20 Thread lailavrazda1979 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56057 Bug #: 56057 Summary: libbacktrace STILL doesn't honor --disable-werror Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug c/55819] Conflicting declaration of getcwd breaks mingw-w64 compile

2013-01-20 Thread lailavrazda1979 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55819 lailavrazda1979 at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/56058] New: GCC arm-none-eabi build failure

2013-01-20 Thread amker.cheng at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56058 Bug #: 56058 Summary: GCC arm-none-eabi build failure Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: major

[Bug c++/56059] New: SIGSEGV on invalid C++11 code

2013-01-20 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56059 Bug #: 56059 Summary: SIGSEGV on invalid C++11 code Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: minor Priority:

[Bug c++/56060] New: ICE on invalid code in type_dependent_expression_p, at cp/pt.c:19742

2013-01-20 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56060 Bug #: 56060 Summary: ICE on invalid code in type_dependent_expression_p, at cp/pt.c:19742 Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug lto/56061] New: [4.8 Regression] ICE in lto1 (in inline_call, at ipa-inline-transform.c:267)

2013-01-20 Thread d.g.gorbachev at gmail dot com
20130120 (experimental). lto1: internal compiler error: in inline_call, at ipa-inline-transform.c:267 0x8367899 inline_call(cgraph_edge*, bool, veccgraph_edge*, va_heap, vl_ptr*, int*, bool) ../../gcc-4.8/gcc/ipa-inline-transform.c:263 0x8357d10 inline_small_functions ../../gcc-4.8/gcc

[Bug c++/56059] SIGSEGV on invalid C++11 code

2013-01-20 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56059 --- Comment #1 from Dmitry Gorbachev d.g.gorbachev at gmail dot com 2013-01-21 06:31:18 UTC --- Created attachment 29232 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29232 Testcase

[Bug c++/56060] ICE on invalid code in type_dependent_expression_p, at cp/pt.c:19742

2013-01-20 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56060 --- Comment #1 from Dmitry Gorbachev d.g.gorbachev at gmail dot com 2013-01-21 06:31:59 UTC --- Created attachment 29233 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29233 Testcase

[Bug c++/56059] SIGSEGV on invalid C++11 code

2013-01-20 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56059 Dmitry Gorbachev d.g.gorbachev at gmail dot com changed: What|Removed |Added Keywords|

[Bug c++/56059] [4.7/4.8 Regression] SIGSEGV on invalid C++11 code

2013-01-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56059 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug c++/56060] ICE on invalid code in type_dependent_expression_p, at cp/pt.c:19742

2013-01-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56060 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at

[Bug driver/56062] New: Enhance -fuse-ld= option

2013-01-20 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56062 Bug #: 56062 Summary: Enhance -fuse-ld= option Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: enhancement

Re: [PATCH] Allow new ISL/CLooG versions

2013-01-20 Thread Eric Botcazou
2013-01-14 Richard Biener rguent...@suse.de * configure.ac (cloog/isl): Also allow ISL 0.11.x and CLooG 0.18.0. * configure: Re-generate. The output is strange: checking for the correct version of the gmp/mpfr/mpc libraries... yes -g -O2 checking for version 0.10 of ISL... no

[PATCH] configure: don't echo $CFLAGS (issue 7103062)

2013-01-20 Thread minux . ma
Reviewers: bonzini_gnu.org, dj_redhat.com, neroden_gcc.gnu.org, aoliva_redhat.com, ralf.wildenhues_gmx.de, jakub_redhat.com, mikestump_comcast.net, Description: 2013-01-20 Shenghou Ma minux...@gmail.com * config/isl.m4: don't echo $CFLAGS for ISL_CHECK_VERSION. *

Re: [google gcc-4_7, integration] Add lightweight checks for front()/back() on empty vector

2013-01-20 Thread Gerald Pfeifer
On Sat, 19 Jan 2013, Paul Pluzhnikov wrote: This patch adds lightweight checks for front()/back() on empty vector. front() - { return *begin(); } + { +#if __google_stl_debug_vector +if (empty()) __throw_logic_error(begin() on empty vector); Isn't the error message

Re: [PATCH] Allow new ISL/CLooG versions

2013-01-20 Thread Richard Biener
Eric Botcazou ebotca...@adacore.com wrote: 2013-01-14 Richard Biener rguent...@suse.de * configure.ac (cloog/isl): Also allow ISL 0.11.x and CLooG 0.18.0. * configure: Re-generate. The output is strange: checking for the correct version of the gmp/mpfr/mpc libraries... yes -g

[committed] Add DImode atomic load and store patterns on hppa

2013-01-20 Thread John David Anglin
The following adds an ugly way of doing DImode atomic loads and stores on 32-bit PA systems. It uses the fact that 64-bit floating point loads and stores are atomic. Tested on hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11 with no observed regressions. Committed to trunk.

[PATCH] PR53235: xfail scan-assembler-times in nested-4.C on darwin

2013-01-20 Thread Jack Howarth
Current gcc trunk fails the scan-assembler-times on this test case due to Apple's incomplete support for dwarf4. The attached patch xfail's the scan-assembler-times on debug_types until Apple updates its cctools to fully support dwarf4. Okay for gcc trunk? Jack ps I don't see a huge

Re: [google gcc-4_7, integration] Add lightweight checks for front()/back() on empty vector

2013-01-20 Thread Paul Pluzhnikov
On Sun, Jan 20, 2013 at 3:16 AM, Gerald Pfeifer ger...@pfeifer.com wrote: Isn't the error message wrong, then? Thanks for catching that! Updated patch attached. -- Paul Pluzhnikov Index: libstdc++-v3/include/bits/stl_vector.h ===

[PING] Re: [PATCH 1/2] Document HLE / RTM intrinsics

2013-01-20 Thread Andi Kleen
Andi Kleen a...@firstfloor.org writes: From: Andi Kleen a...@linux.intel.com The TSX HLE/RTM intrinsics were missing documentation. Add this to the manual. Ok for release / trunk? Could someone please review/approve this (documentation only) patch? Thanks. -Andi 2013-01-11 Andi Kleen

one more patch to fix PR55433

2013-01-20 Thread Vladimir Makarov
After submitting the previous patch for PR55433, Steven found that powerpc LRA is broken as the original insn for secondary memory reload can not be used in some cases. The following patch fixes the problem. The patch might be not necessary for x86/x86-64 but I submitted it too. The patch

Re: [RFA:] fix failing gfortran.dg/inquire_10.f90 for newlib targets

2013-01-20 Thread Janne Blomqvist
On Sun, Jan 20, 2013 at 2:29 AM, Hans-Peter Nilsson hans-peter.nils...@axis.com wrote: Ever since it was changed to a run test (from the default compile, i.e. just producing assembly code), the test gfortran.dg/inquire_10.f90 has failed for newlib targets while linking, because (besides cygwin

[PATCH] Fix up X (cast) (1 Y) folding (PR tree-optimization/56051)

2013-01-20 Thread Jakub Jelinek
Hi! As the first hunk in the testcase shows, we can't perform this optimization if the conversion is narrowing. As the second hunk shows, if we allow 1 31 (we don't optimize int foo (int x) { return (1 x) 0; } so I think it would be surprising if we did optimize it in this case, plus I'm

[patch, fortran] Fix PR 55919

2013-01-20 Thread Thomas Koenig
Hello world, the attached patch fixes a regression where -J dirpath/ would issue a warning on Windows because of the trailing dir separator. Regression-tested, but only on Linux. I would appreciate if somebody could also test it on Windows (and run the test case, of course). OK for trunk?

Re: [RFA:] fix failing gfortran.dg/inquire_10.f90 for newlib targets

2013-01-20 Thread Hans-Peter Nilsson
From: Janne Blomqvist blomqvist.ja...@gmail.com Date: Sun, 20 Jan 2013 20:14:11 +0100 On Sun, Jan 20, 2013 at 2:29 AM, Hans-Peter Nilsson hans-peter.nils...@axis.com wrote: Ever since it was changed to a run test (from the default compile, i.e. just producing assembly code), the test

Re: [PATCH] Fix up English grammar in an error msg

2013-01-20 Thread Mike Stump
On Jan 19, 2013, at 7:27 AM, Gerald Pfeifer ger...@pfeifer.com wrote: On Sat, 19 Jan 2013, Marek Polacek wrote: As the subject says. Ok for trunk? 2013-01-19 Marek Polacek pola...@redhat.com * cfgloop.c (verify_loop_structure): Fix up grammar. You generally don't have to ask for

Re: LRA branch was merged with trunk

2013-01-20 Thread Vladimir Makarov
On 13-01-19 9:09 AM, Steven Bosscher wrote: On Sat, Jan 19, 2013 at 2:12 PM, Steven Bosscher wrote: It looks like this merge breaks bootstrap on powerpc64-unknown-linux-gnu. The compiler goes into an infinite loop while compiling libdecnumber. I'm trying to create a small test case. Here it

lra branch merged with trunk

2013-01-20 Thread Vladimir Makarov
I've merged lra branch with trunk @ 195322 to fix PPC bootstrap failure. Committed as rev. 195323.

Re: RFA: testsuite PATCH to add { target alias }

2013-01-20 Thread Mike Stump
On Jan 19, 2013, at 7:38 AM, Jason Merrill ja...@redhat.com wrote: When I was messing with TLS tests, I noticed that there's currently no effective target keyword for alias support. This patch adds that. OK for trunk? Ok. [ looks trivial to me :-) ] +proc check_effective_target_alias

Re: [PATCH] PR53235: xfail scan-assembler-times in nested-4.C on darwin

2013-01-20 Thread Mike Stump
On Jan 20, 2013, at 9:10 AM, Jack Howarth howa...@bromo.med.uc.edu wrote: Current gcc trunk fails the scan-assembler-times on this test case due to Apple's incomplete support for dwarf4. The attached patch xfail's the scan-assembler-times on debug_types until Apple updates its cctools to

Re: [PATCH, ARM] New CPU support for Marvell PJ4 cores

2013-01-20 Thread Matthias Klose
Am 18.01.2013 15:28, schrieb Ramana Radhakrishnan: On 06/20/12 03:53, Yi-Hsiu Hsu wrote: marvell-pj4 is added to BE8_LINK_SPEC. Sorry about the time it's taken to finish this patch up. I seem to have missed this one in the review process. I've now applied the attached patch after taking

Re: Support for MIPS r5900

2013-01-20 Thread Jürgen Urban
Hello Maciej, I tested the calculation with the type float. ABI o32 with -mhard-float and -msingle-float produces the following results: 1.00 (0x3f80) / 0.00 (0x) = nan (0x7fff) 0.00 (0x) / 0.00 (0x) = nan (0x7fff) 0.00

Re: [patch, fortran] Fix PR 55919

2013-01-20 Thread Steve Kargl
On Sun, Jan 20, 2013 at 08:49:38PM +0100, Thomas Koenig wrote: Hello world, the attached patch fixes a regression where -J dirpath/ would issue a warning on Windows because of the trailing dir separator. Regression-tested, but only on Linux. I would appreciate if somebody could also test

[PING] Re: [PATCH] Add faster HTM fastpath for libitm TSX

2013-01-20 Thread Andi Kleen
Andi Kleen a...@firstfloor.org writes: PING! This patch needs review. -Andi From: Andi Kleen a...@linux.intel.com The libitm TSX hardware transaction fast path currently does quite a bit of unnecessary work (saving registers etc.) before even trying to start a hardware transaction. This

[Patch, microblaze]: Add microblaze*-*-elf target

2013-01-20 Thread David Holsgrove
gcc/Changelog 2013-01-21 Edgar E. Iglesias edgar.igles...@gmail.com * config.gcc (microblaze*-*-elf): Add new target libgcc/Changelog 2013-01-21 Edgar E. Iglesias edgar.igles...@gmail.com * config.host (microblaze*-*-elf): Add new target

[Patch, microblaze]: PR54662 - microblaze-linux target makefile

2013-01-20 Thread David Holsgrove
gcc/Changelog 2013-01-21 David Holsgrove david.holsgr...@xilinx.com * config.gcc (microblaze*-linux*): Add tmake_file to allow building of microblaze-c.o libgcc/Changelog 2013-01-21 David Holsgrove david.holsgr...@xilinx.com * libgcc/config/microblaze/t-microblaze:

[Patch, microblaze, testsuite] Remove check for target_config_cflags

2013-01-20 Thread David Holsgrove
Remove test for target_config_cflags for microblaze - not set anywhere, and causes error while running testsuite; ERROR: tcl error sourcing [SNIP]/gcc/gcc/testsuite/gcc.target/microblaze/microblaze.exp. ERROR: can't read target_config_cflags: no such variable gcc/testsuite/Changelog: 2013-01-21

  1   2   >