[Bug c++/54995] New: Converting lambda to C-style functions when there is template

2012-10-20 Thread temtaime at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54995 Bug #: 54995 Summary: Converting lambda to C-style functions when there is template Classification: Unclassified Product: gcc Version: unknown Status:

[Bug target/54963] [4.8 Regression] Wrong code generated for libgfortran/generated/eoshift3_8.c on SH

2012-10-20 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54963 Kazumoto Kojima kkojima at gcc dot gnu.org changed: What|Removed |Added CC|

[Bug c++/54994] [4.8 regression] New ICE in tsubst_copy

2012-10-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54994 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352

2012-10-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54844 --- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org 2012-10-20 06:55:45 UTC --- *** Bug 54994 has been marked as a duplicate of this bug. ***

[Bug c++/54995] Converting lambda to C-style functions when there is template

2012-10-20 Thread i.nixman at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54995 --- Comment #1 from niXman i.nixman at gmail dot com 2012-10-20 07:15:28 UTC --- App crash: http://liveworkspace.org/code/3d5e51c9059ea4f37ce2d0d23739d374 More detailed output. source: #include stdio.h typedef

[Bug target/54996] New: gcc with --target=avr fails to build

2012-10-20 Thread lvd.mhm at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54996 Bug #: 54996 Summary: gcc with --target=avr fails to build Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal

[Bug target/54996] gcc with --target=avr fails to build

2012-10-20 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54996 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED

[Bug tree-optimization/54986] [4.7 Regression] Internal Error: segmentation fault

2012-10-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54986 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Component|c++

[Bug c++/54995] Converting lambda to C-style functions when there is template

2012-10-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54995 --- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-20 08:31:12 UTC --- May be duplicate of other known issues about lambdas vs templates.

[Bug fortran/54997] New: -Wunused-function gives false warnings for procedures passed as actual argument

2012-10-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54997 Bug #: 54997 Summary: -Wunused-function gives false warnings for procedures passed as actual argument Classification: Unclassified Product: gcc Version: 4.8.0

[Bug fortran/54997] -Wunused-function gives false warnings for procedures passed as actual argument

2012-10-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54997 --- Comment #1 from janus at gcc dot gnu.org 2012-10-20 08:58:19 UTC --- (In reply to comment #0) Obviously s3 is not being called directly, but it is passed to s2, so it's certainly not unused. Well, to be honest, 'dummy' is not

[Bug fortran/54997] -Wunused-function gives false warnings for procedures passed as actual argument

2012-10-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54997 --- Comment #2 from janus at gcc dot gnu.org 2012-10-20 09:03:30 UTC --- (In reply to comment #0) subroutine s2(dummy) procedure() :: dummy end subroutine Also an Unused dummy argument warning is missing here ...

[Bug target/54963] [4.8 Regression] Wrong code generated for libgfortran/generated/eoshift3_8.c on SH

2012-10-20 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54963 Oleg Endo olegendo at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug c/54983] ARM gcc creates invalid assembly: bad immediate value for 8-bit offset (1024)

2012-10-20 Thread hechtb at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54983 --- Comment #4 from Bastian Hecht hechtb at gmail dot com 2012-10-20 10:30:28 UTC --- Ok I see. Thanks for taking a look at this! I'll check if this is some regression in the tree and either write a patch or post the issue on the ARM

[Bug fortran/48636] Enable more inlining with -O2 and higher

2012-10-20 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48636 --- Comment #27 from Jan Hubicka hubicka at gcc dot gnu.org 2012-10-20 10:34:58 UTC --- Thank you for testing. It seems that the patch works well for small benchmarks, I will look into lapack/test_fpu slowdown. There is problem that it

[Bug debug/53145] [4.8 Regression] gcc.dg/pch/save-temps-1.c

2012-10-20 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53145 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug fortran/48636] Enable more inlining with -O2 and higher

2012-10-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48636 --- Comment #28 from Dominique d'Humieres dominiq at lps dot ens.fr 2012-10-20 11:22:16 UTC --- If I understand correctly the patch, the default value for max-inline-min-speedup is 20. This could be over-agressive: for fatigue.f90 the

[Bug target/54989] FAIL: gcc.dg/hoist-register-pressure.c scan-rtl-dump hoist PRE/HOIST: end of bb .* copying expression on darwin

2012-10-20 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54989 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added CC|steven at gcc dot gnu.org |

[Bug fortran/48636] Enable more inlining with -O2 and higher

2012-10-20 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48636 --- Comment #29 from Thomas Koenig tkoenig at gcc dot gnu.org 2012-10-20 12:10:49 UTC --- Another approach (not for the benchmarks) would be to make inlining tunable by the user, e.g. support !GCC$ ATTRIBUTES always_inline ::

[Bug c++/54998] New: Internal compiler error with union member initialization using default constructor

2012-10-20 Thread tobias.anderberg at gmail dot com
System: Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64 GCC build command: ./configure --enable-languages=c,c++ g++ --version g++ (GCC) 4.8.0 20121020 (experimental) Additional notes: By either naming the union, or supplying a default

[Bug c/40989] -Werror= and #pragma diagnostics do not work with group flags

2012-10-20 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40989 --- Comment #10 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-10-20 14:17:14 UTC --- Author: manu Date: Sat Oct 20 14:17:08 2012 New Revision: 192635 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=192635 Log: 2012-10-20 Manuel

[Bug c/53063] encode group options in the .opt files

2012-10-20 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53063 --- Comment #6 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-10-20 14:17:14 UTC --- Author: manu Date: Sat Oct 20 14:17:08 2012 New Revision: 192635 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=192635 Log: 2012-10-20 Manuel

[Bug lto/54980] [4.8 regression] gimple check: expected gimple_cond(error_mark), have gimple_call() in gimple_cond_set_lhs, at gimple.h:2578

2012-10-20 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54980 --- Comment #6 from Dmitry G. Dyachenko dimhen at gmail dot com 2012-10-20 14:28:28 UTC --- 192529 OK 192538 FAIL

[Bug fortran/31119] -fbounds-check: Check for presence of optional arguments before bound checking

2012-10-20 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31119 Jan Hubicka hubicka at gcc dot gnu.org changed: What|Removed |Added CC||hubicka

[Bug fortran/31119] -fbounds-check: Check for presence of optional arguments before bound checking

2012-10-20 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31119 --- Comment #8 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 2012-10-20 14:59:08 UTC --- (In reply to comment #7) Hi, can someone fortran aware please double-check that the tests * gfortran.dg/bounds_check_9.f90:

[Bug c++/54999] New: [4.8 regression] ICE in tsubst_copy, at cp/pt.c:12387

2012-10-20 Thread vincenzo.innocente at cern dot ch
version 4.8.0 20121020 (experimental) [trunk revision 192631] (GCC) [vocms123] ~/public/ctest/bugs48 $ c++ -msse3 -std=c++11 -c -O2 ice_mcp.ii In file included from /afs/cern.ch/cms/sw/ReleaseCandidates/slc5_amd64_gcc472/thu/6.1.LTO-thu-02/CMSSW_6_1_LTO_X_2012-10-18-0200/src/DataFormats/CLHEP

[Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352

2012-10-20 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54844 vincenzo Innocente vincenzo.innocente at cern dot ch changed: What|Removed |Added CC|

[Bug c++/54999] [4.8 regression] ICE in tsubst_copy, at cp/pt.c:12387

2012-10-20 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54999 vincenzo Innocente vincenzo.innocente at cern dot ch changed: What|Removed |Added Status|UNCONFIRMED

[Bug fortran/31119] -fbounds-check: Check for presence of optional arguments before bound checking

2012-10-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31119 --- Comment #9 from Dominique d'Humieres dominiq at lps dot ens.fr 2012-10-20 15:43:13 UTC --- can someone fortran aware please double-check that the tests * gfortran.dg/bounds_check_9.f90: New test. *

[Bug fortran/54725] cross gfortran always searches host paths (e.g. /usr/include)

2012-10-20 Thread vapier at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54725 --- Comment #8 from Mike Frysinger vapier at gentoo dot org 2012-10-20 16:55:05 UTC --- (In reply to comment #7) that patch doesn't work as there is a typo in Make-lang.in. it needs to be: CFLAGS-fortran/cpp.o +=

[Bug rtl-optimization/47389] ICE: in calc_dfs_tree, at dominance.c:395 with -fno-combine-stack-adjustments -fno-dse -fno-tree-forwprop

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

[Bug target/54989] FAIL: gcc.dg/hoist-register-pressure.c scan-rtl-dump hoist PRE/HOIST: end of bb .* copying expression on darwin

2012-10-20 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54989 --- Comment #3 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-20 17:11:16 UTC --- (In reply to comment #1) The failure is caused by higher register pressure in the THEN branch of the case, though I am not sure why the register

[Bug target/54989] FAIL: gcc.dg/hoist-register-pressure.c scan-rtl-dump hoist PRE/HOIST: end of bb .* copying expression on darwin

2012-10-20 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54989 --- Comment #4 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-20 17:39:45 UTC --- (In reply to comment #1) i can confirm that the proposed simplification of the test cases eliminates the failures of hoist-register-pressure.c

[Bug tree-optimization/54855] Unnecessary duplication when performing scalar operation on vector element

2012-10-20 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54855 --- Comment #6 from Marc Glisse glisse at gcc dot gnu.org 2012-10-20 17:43:44 UTC --- Uros' reply at http://gcc.gnu.org/ml/gcc-patches/2012-10/msg01327.html copied here for convenience: But, we _do_ have vec_merge pattern that describes

[Bug target/54989] FAIL: gcc.dg/hoist-register-pressure.c scan-rtl-dump hoist PRE/HOIST: end of bb .* copying expression on darwin

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

[Bug middle-end/55001] New: Handle VEC_COND_EXPR in tree-vect-generic.c

2012-10-20 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55001 Bug #: 55001 Summary: Handle VEC_COND_EXPR in tree-vect-generic.c Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/54997] -Wunused-function gives false warnings for procedures passed as actual argument

2012-10-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54997 --- Comment #3 from janus at gcc dot gnu.org 2012-10-20 18:45:05 UTC --- (In reply to comment #2) Also an Unused dummy argument warning is missing here ... This is fixed by the following patch: Index: gcc/fortran/decl.c

[Bug c++/55002] New: trailing return type is rejected in function signature

2012-10-20 Thread leonid at volnitsky dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55002 Bug #: 55002 Summary: trailing return type is rejected in function signature Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/55002] trailing return type is rejected in function signature

2012-10-20 Thread leonid at volnitsky dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55002 --- Comment #1 from Leonid Volnitsky leonid at volnitsky dot com 2012-10-20 19:20:00 UTC --- I've probably overcomplicated my example. Simpler test case: -- int f(auto (*ff) - int (int) ) { return

[Bug c++/55002] trailing return type is rejected in function signature

2012-10-20 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55002 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC|

[Bug middle-end/54315] unnecessary copy of return value for union

2012-10-20 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54315 --- Comment #5 from Eric Botcazou ebotcazou at gcc dot gnu.org 2012-10-20 21:00:26 UTC --- Author: ebotcazou Date: Sat Oct 20 21:00:23 2012 New Revision: 192641 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=192641 Log: PR

[Bug middle-end/54315] unnecessary copy of return value for union

2012-10-20 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54315 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug fortran/54224] Warn for unused (private) module variables and internal procedures

2012-10-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224 --- Comment #15 from janus at gcc dot gnu.org 2012-10-20 21:17:54 UTC --- (In reply to comment #14) (In reply to comment #12) * unused-warnings for module variables Here is a draft patch which fixes the test case in comment 14:

[Bug fortran/54997] -Wunused-function gives false warnings for procedures passed as actual argument

2012-10-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54997 --- Comment #4 from janus at gcc dot gnu.org 2012-10-20 21:46:12 UTC --- The following removes the warning for s3: Index: gcc/fortran/trans-decl.c === ---

[Bug c++/55003] New: [C++11] Member function pointer not working as constexpr initializer

2012-10-20 Thread lee.mcculler at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55003 Bug #: 55003 Summary: [C++11] Member function pointer not working as constexpr initializer Classification: Unclassified Product: gcc Version: 4.7.2 Status:

[Bug c++/55002] trailing return type is rejected in function signature

2012-10-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55002 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug c++/55004] New: [meta-bug] constexpr issues

2012-10-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug #: 55004 Summary: [meta-bug] constexpr issues Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority:

[Bug c++/55004] [meta-bug] constexpr issues

2012-10-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Keywords|

[Bug c++/54998] Internal compiler error with union member initialization using default constructor

2012-10-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54998 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Severity|major

[Bug c++/54922] [C++11][DR 1359] constexpr constructors require initialization of all union members

2012-10-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54922 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug c++/54922] [C++11][DR 1359] constexpr constructors require initialization of all union members

2012-10-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54922 --- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-20 23:21:42 UTC --- Related to PR54768.

[Bug c++/54922] [C++11][DR 1359] constexpr constructors require initialization of all union members

2012-10-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54922 --- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-20 23:31:41 UTC --- Related to PR51675.

[Bug rtl-optimization/54991] [LRA] internal compiler error: in lra_assign, at lra-assigns.c:1361

2012-10-20 Thread vmakarov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54991 --- Comment #2 from Vladimir Makarov vmakarov at gcc dot gnu.org 2012-10-21 02:47:32 UTC --- Author: vmakarov Date: Sun Oct 21 02:47:28 2012 New Revision: 192645 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=192645 Log:

[Bug tree-optimization/55005] New: [4.8 Regression] gcc.c-torture/execute/loop-3.c FAILs with -fPIC

2012-10-20 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55005 Bug #: 55005 Summary: [4.8 Regression] gcc.c-torture/execute/loop-3.c FAILs with -fPIC Classification: Unclassified Product: gcc Version: 4.8.0 Status: