[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: UNCO

[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 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=gcc&view=rev&rev=192645 Log: 2012-10-20 Vladimir Makarov

[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 2012-10-20 23:31:41 UTC --- Related to PR51675.

[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 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 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[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 changed: What|Removed |Added Severity|major |normal

[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 changed: What|Removed |Added Keywords||meta-bug Status|UNCO

[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: P

[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 changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[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: UNCONFIRM

[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 === --- gcc/fortran/trans

[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 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 changed: What|Removed |Added Status|ASSIGNED|NEW AssignedTo|ebotcazou

[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 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=gcc&view=rev&rev=192641 Log: PR rtl-optimization/54315 *

[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 changed: What|Removed |Added CC||daniel.kruegler at |

[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 2012-10-20 19:20:00 UTC --- I've probably overcomplicated my example. Simpler test case: -- int f(auto (*ff) -> int (int) ) { return ff(1); } -

[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 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 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 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 changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[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 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 the operation. Adding anot

[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 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 at -m32 on x86_64-apple-darwin12.

[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 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 pressure is higher than x86-l

[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 changed: What|Removed |Added CC||mikpe at it dot uu.se --- C

[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 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 += $(TARGET_SYSTEM_ROOT_DEFINE) then it works OK

[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 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. >* gfortran.dg/bounds_check_fail_2.f90: New test.

[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 changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[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 changed: What|Removed |Added CC||vincenzo.innocente at cern

[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
posix gcc 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/DataFor

[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 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: New test. > * gfortran.dg/bo

[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 changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Co

[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 2012-10-20 14:28:28 UTC --- 192529 OK 192538 FAIL

[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 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=gcc&view=rev&rev=192635 Log: 2012-10-20 Manuel López-Ibáñez PR c/5

[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 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=gcc&view=rev&rev=192635 Log: 2012-10-20 Manuel López-Ibáñez PR c/

[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 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 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 :: procedure_name See PR 41209.

[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 changed: What|Removed |Added CC|steven at gcc dot gnu.org | --- Comment #2 from Steven B

[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 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 threshold is between 94 (fast)

[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 changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[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 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 really causes inacceptable gro

[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 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 mailing list.

[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 changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[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 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 real

[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 Status

[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 2012-10-20 08:31:12 UTC --- May be duplicate of other known issues about lambdas vs templates.

[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 changed: What|Removed |Added Component|c++ |tree-optimization Sum

[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 changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[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 Pr

[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 2012-10-20 07:15:28 UTC --- > App crash: > http://liveworkspace.org/code/3d5e51c9059ea4f37ce2d0d23739d374 More detailed output. source: #include typedef void(*void_func)(); void foo(void_func f) {