[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #16 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 2012-12-19 08:17:15 UTC --- After testing on CP2K, I believe that ASAN yields a false positive (current trunk). It is obviously hard to be sure, but the

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #17 from Kostya Serebryany kcc at gcc dot gnu.org 2012-12-19 08:37:21 UTC --- For whatever reason the fortran code is touching asan's shadow: Address 0x16742e2c is located in the high shadow area. What is

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #18 from Jakub Jelinek jakub at gcc dot gnu.org 2012-12-19 08:42:40 UTC --- (In reply to comment #16) After testing on CP2K, I believe that ASAN yields a false positive (current trunk). It is obviously hard to be sure, but

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #19 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 2012-12-19 08:48:47 UTC --- (In reply to comment #17) For whatever reason the fortran code is touching asan's shadow: Address 0x16742e2c is located in

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #20 from Kostya Serebryany kcc at gcc dot gnu.org 2012-12-19 08:51:54 UTC --- For whatever reason the fortran code is touching asan's shadow: Address 0x16742e2c is located in the high shadow area. What is

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #21 from Jakub Jelinek jakub at gcc dot gnu.org 2012-12-19 08:52:43 UTC --- (In reply to comment #17) For whatever reason the fortran code is touching asan's shadow: Address 0x16742e2c is located in the high shadow

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #22 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 2012-12-19 08:59:03 UTC --- (In reply to comment #18) And this is no reason at all, for most string/memory intrinsics asan instruments them just by pretending

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #23 from Jakub Jelinek jakub at gcc dot gnu.org 2012-12-19 09:03:13 UTC --- Example testcase: void bar (char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char

[Bug fortran/54818] [4.7/4.8 Regression] error: type mismatch in binary expression

2012-12-19 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54818 --- Comment #6 from Tobias Burnus burnus at gcc dot gnu.org 2012-12-19 09:03:46 UTC --- My patch is wrong. It might lead to passing an integer(8) instead of integer(4) as hidden argument when calling a procedure. The proper way it to use

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #24 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 2012-12-19 09:06:38 UTC --- (In reply to comment #23) Example testcase: looks definitely like what Fortran subroutines with 100 optional arguments might

[Bug c/39464] [4.6/4.7/4.8 Regression] Attribute may_alias causes invalid warning

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39464 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/55731] Issue with complete innermost loop unrolling (cunrolli)

2012-12-19 Thread ysrumyan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55731 --- Comment #4 from Yuri Rumyantsev ysrumyan at gmail dot com 2012-12-19 09:17:40 UTC --- (In reply to comment #3) The reason is that unrolling early can be harmful to for example vectorization and thus cunrolli restricts itself to

[Bug fortran/55733] -fno-automatic: Fails for scalar allocatables

2012-12-19 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55733 --- Comment #4 from Tobias Burnus burnus at gcc dot gnu.org 2012-12-19 09:21:20 UTC --- Author: burnus Date: Wed Dec 19 09:21:17 2012 New Revision: 194604 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194604 Log: 2012-12-19

[Bug fortran/55636] [4.8 Regression] Fortran name mangling collides with user namespace

2012-12-19 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55636 --- Comment #6 from Tobias Burnus burnus at gcc dot gnu.org 2012-12-19 09:21:21 UTC --- Author: burnus Date: Wed Dec 19 09:21:17 2012 New Revision: 194604 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194604 Log: 2012-12-19

[Bug fortran/55733] -fno-automatic: Fails for scalar allocatables

2012-12-19 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55733 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug fortran/55636] [4.8 Regression] Fortran name mangling collides with user namespace

2012-12-19 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55636 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug gcov-profile/55734] [4.8 Regression] gcov-io.c uses builtins not available in non-GCC compilers

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55734 --- Comment #14 from Richard Biener rguenth at gcc dot gnu.org 2012-12-19 09:43:27 UTC --- (In reply to comment #10) Ah yes, now I remember. Yes, there is a problem with libgcov.a. I wasn't seeing it because I was only building cc1.

[Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands

2012-12-19 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20097 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added AssignedTo|unassigned at gcc dot |steven

[Bug target/20018] [4.0 regression][ia64] unable to find a register to spill in class`PR_REG'

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

[Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands

2012-12-19 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20097 --- Comment #7 from Steven Bosscher steven at gcc dot gnu.org 2012-12-19 10:07:41 UTC --- *** Bug 20018 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/55731] Issue with complete innermost loop unrolling (cunrolli)

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55731 --- Comment #5 from Richard Biener rguenth at gcc dot gnu.org 2012-12-19 10:27:22 UTC --- (In reply to comment #4) (In reply to comment #3) The reason is that unrolling early can be harmful to for example vectorization and thus

[Bug target/55562] [4.8 Regression] FAIL: gcc.dg/sms-* on powerpc*-*-*

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55562 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/55737] Template and the constant, short-form if-then-else condition issue

2012-12-19 Thread greenscape777 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55737 --- Comment #2 from GS greenscape777 at gmail dot com 2012-12-19 10:31:45 UTC --- Hey Andrew. You words completely logical,. But I think it can be avoided when condition can be calculated during compilation. Though it's only my opinion.

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #25 from Kostya Serebryany kcc at gcc dot gnu.org 2012-12-19 10:32:29 UTC --- So, to fix this, either libasan should for memset ignore any diagnostics for stores into shadow memory area, That's not a good choice. I

[Bug ada/52123] [4.7/4.8 Regression] gcc bootstrap with ada fails on mingw target

2012-12-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52123 --- Comment #4 from Rainer Emrich rai...@emrich-ebersheim.de 2012-12-19 10:40:30 UTC --- Ok, long standing issue caused by the transition to g++ as bootstrap compiler. Here's the status for gcc-4.7.3 rev. 194494 on x86_64-w64-mingw32:

[Bug ada/52123] [4.7/4.8 Regression] gcc bootstrap with ada fails on mingw target

2012-12-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52123 --- Comment #5 from Rainer Emrich rai...@emrich-ebersheim.de 2012-12-19 10:50:15 UTC --- Last Chunk is not part of the patch, it's for a different issue, see PR55707.

[Bug lto/55736] lto ICE: tree code ''junl is not supported in LTO streams

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55736 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||lto

[Bug middle-end/54120] [4.8 Regression] FAIL: gfortran.fortran-torture/execute/random_2.f90 execution

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54120 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at

[Bug ada/52123] [4.7/4.8 Regression] gcc bootstrap with ada fails on mingw target

2012-12-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52123 --- Comment #6 from Rainer Emrich rai...@emrich-ebersheim.de 2012-12-19 10:55:55 UTC --- Here's the status for gcc-4.8.0 rev. 194494 on x86_64-w64-mingw32: g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W

[Bug lto/55736] lto ICE: tree code ''junl is not supported in LTO streams

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55736 --- Comment #3 from Richard Biener rguenth at gcc dot gnu.org 2012-12-19 11:28:45 UTC --- Created attachment 29005 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29005 patch Patch I am testing (works for the testcase).

[Bug tree-optimization/55683] [4.8 Regression] ICE in inline_call, at ipa-inline-transform.c:270

2012-12-19 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55683 --- Comment #12 from Jan Hubicka hubicka at gcc dot gnu.org 2012-12-19 11:42:34 UTC --- Author: hubicka Date: Wed Dec 19 11:42:30 2012 New Revision: 194606 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194606 Log: PR

[Bug tree-optimization/55683] [4.8 Regression] ICE in inline_call, at ipa-inline-transform.c:270

2012-12-19 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55683 --- Comment #13 from Jan Hubicka hubicka at gcc dot gnu.org 2012-12-19 11:47:06 UTC --- The acutal ICE should be fixed. Martinj, I will leave the PR open just to make you to double check that ipa-cp is doing properly the translation from

[Bug libstdc++/55727] better support for dynamic allocation of over-aligned types

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

[Bug bootstrap/54283] [4.8 regression] build tools don't run after cxx-conversion merge

2012-12-19 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54283 --- Comment #13 from Eric Botcazou ebotcazou at gcc dot gnu.org 2012-12-19 11:58:33 UTC --- I don't think so: even on x86_64-unknown-linux-gnu, when building an i686-unknown-linux-gnu compiler with an unbundled gcc 4.4 (which does

[Bug bootstrap/54283] [4.8 regression] build tools don't run after cxx-conversion merge

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54283 --- Comment #14 from Jakub Jelinek jakub at gcc dot gnu.org 2012-12-19 12:04:19 UTC --- Given that -static-libstdc++ has been added to trunk in 2009-06-25, and gcc 4.4 has been branched 2009-03-27, you'd need to have local patches on top of

[Bug tree-optimization/55738] New: missed memory store optimization.

2012-12-19 Thread pluto at agmk dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55738 Bug #: 55738 Summary: missed memory store optimization. Classification: Unclassified Product: gcc Version: 4.7.3 Status: UNCONFIRMED Severity: normal

[Bug debug/55730] [4.8 Regression] ICE in mem_loc_descriptor, at dwarf2out.c:12725

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55730 --- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2012-12-19 12:17:05 UTC --- Author: jakub Date: Wed Dec 19 12:16:56 2012 New Revision: 194607 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194607 Log: PR

[Bug debug/55730] [4.8 Regression] ICE in mem_loc_descriptor, at dwarf2out.c:12725

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55730 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/55738] missed memory store optimization.

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55738 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED

[Bug lto/55703] [4.8 Regression] ICE: in lto_fixup_prevailing_decls, at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55703 --- Comment #2 from Richard Biener rguenth at gcc dot gnu.org 2012-12-19 12:37:53 UTC --- Happens to be fixed by the fix for PR55736.

[Bug middle-end/54120] [4.8 Regression] FAIL: gfortran.fortran-torture/execute/random_2.f90 execution

2012-12-19 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54120 --- Comment #4 from dave.anglin at bell dot net 2012-12-19 12:58:32 UTC --- On 19-Dec-12, at 5:54 AM, jakub at gcc dot gnu.org wrote: Or is it libgfortran itself that when built with r189365 works and when r189366 doesn't? If so,

[Bug gcov-profile/55734] [4.8 Regression] gcov-io.c uses builtins not available in non-GCC compilers

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55734 --- Comment #15 from Richard Biener rguenth at gcc dot gnu.org 2012-12-19 13:07:01 UTC --- (In reply to comment #14) (In reply to comment #10) Ah yes, now I remember. Yes, there is a problem with libgcov.a. I wasn't seeing it

[Bug sanitizer/55739] New: asan doesn't work on common symbols

2012-12-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55739 Bug #: 55739 Summary: asan doesn't work on common symbols Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/55726] assignment of a scalar to a vector

2012-12-19 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55726 --- Comment #4 from vincenzo Innocente vincenzo.innocente at cern dot ch 2012-12-19 13:25:16 UTC --- I understand your concern, Marc. I think that the compiler shall either prefer double or produce error: call of overloaded 'f(float)' is

[Bug sanitizer/55739] asan doesn't work on common symbols

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55739 --- Comment #1 from Jakub Jelinek jakub at gcc dot gnu.org 2012-12-19 13:26:34 UTC --- That is not a bug, it can't. Asan needs to insert padding after it, but you don't know if the symbol will be defined by the current CU, or some other,

[Bug sanitizer/55739] asan doesn't work on common symbols

2012-12-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55739 --- Comment #2 from H.J. Lu hjl.tools at gmail dot com 2012-12-19 13:42:12 UTC --- If upper address or size of the common symbol is available to ASAN at compile time as a special symbol generated by assembler/linker, will it help?

[Bug sanitizer/55739] asan doesn't work on common symbols

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55739 --- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org 2012-12-19 13:49:35 UTC --- That would look like too big hack. Perhaps we could emit the common symbols as .bss .weak objects with padding, and register as global a local alias to

[Bug c++/53786] [C++11] alias template causes g++ segfault

2012-12-19 Thread mustrumr97 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53786 --- Comment #4 from Hristo Venev mustrumr97 at gmail dot com 2012-12-19 13:51:08 UTC --- That bug was fixed. However there is still another one: templateclass... Data struct List{}; templateclass T, class... Ts using Tail=ListTs...;

[Bug lto/55736] lto ICE: tree code ''junl is not supported in LTO streams

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55736 --- Comment #4 from Richard Biener rguenth at gcc dot gnu.org 2012-12-19 13:53:31 UTC --- Author: rguenth Date: Wed Dec 19 13:53:18 2012 New Revision: 194609 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194609 Log: 2012-12-19

[Bug lto/55703] [4.8 Regression] ICE: in lto_fixup_prevailing_decls, at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55703 --- Comment #3 from Richard Biener rguenth at gcc dot gnu.org 2012-12-19 13:53:32 UTC --- Author: rguenth Date: Wed Dec 19 13:53:18 2012 New Revision: 194609 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194609 Log: 2012-12-19

[Bug lto/55703] [4.8 Regression] ICE: in lto_fixup_prevailing_decls, at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55703 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED

[Bug lto/55736] lto ICE: tree code ''junl is not supported in LTO streams

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55736 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed: What|Removed |Added URL|

[Bug middle-end/55740] New: [4.8 Regression] ICE in verify_loop_structure, at cfgloop.c:1582, error: loop 2's header does not belong directly to it

2012-12-19 Thread rguenth at gcc dot gnu.org
-typedefs -Wno-long-long -version -fomit-frame-pointer -fmessage-length=0 -o tDirectories.s GNU C++ (SUSE Linux) version 4.8.0 20121219 [trunk revision 194606] (i586-suse-linux) compiled by GNU C version 4.8.0 20121219 [trunk revision 194606], GMP version 5.0.5, MPFR version 3.1.1, MPC

[Bug middle-end/55740] [4.8 Regression] ICE in verify_loop_structure, at cfgloop.c:1582, error: loop 2's header does not belong directly to it

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55740 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.0

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #27 from Kostya Serebryany kcc at gcc dot gnu.org 2012-12-19 14:29:12 UTC --- This time it looks like a valid error report (stack buffer overflow), but asan crashes while reporting it. Take a look at DescribeAddressIfStack

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #28 from Jakub Jelinek jakub at gcc dot gnu.org 2012-12-19 14:33:13 UTC --- I'd say as a first step try to make sure -lasan is linked at the very beginning, before all other libraries, there are numerous libasan crashes if it

[Bug bootstrap/54283] [4.8 regression] build tools don't run after cxx-conversion merge

2012-12-19 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54283 --- Comment #15 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2012-12-19 14:33:55 UTC --- --- Comment #14 from Jakub Jelinek jakub at gcc dot gnu.org 2012-12-19 12:04:19 UTC --- Given that -static-libstdc++

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #29 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 2012-12-19 14:36:00 UTC --- (In reply to comment #27) This time it looks like a valid error report (stack buffer overflow), but asan crashes while reporting

[Bug middle-end/55740] [4.8 Regression] ICE in verify_loop_structure, at cfgloop.c:1582, error: loop 2's header does not belong directly to it

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55740 --- Comment #1 from Richard Biener rguenth at gcc dot gnu.org 2012-12-19 14:44:02 UTC --- Reducing.

[Bug middle-end/55740] [4.8 Regression] ICE in verify_loop_structure, at cfgloop.c:1582, error: loop 2's header does not belong directly to it

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55740 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target|i?86-*-*

[Bug gcov-profile/55734] [4.8 Regression] gcov-io.c uses builtins not available in non-GCC compilers

2012-12-19 Thread tejohnson at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55734 --- Comment #16 from Teresa Johnson tejohnson at google dot com 2012-12-19 15:07:54 UTC --- On Wed, Dec 19, 2012 at 5:07 AM, rguenth at gcc dot gnu.org gcc-bugzi...@gcc.gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55734

[Bug rtl-optimization/55740] [4.8 Regression] ICE in verify_loop_structure, at cfgloop.c:1582, error: loop 2's header does not belong directly to it

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55740 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW

[Bug bootstrap/55741] New: [4.8 Regression] bootstrap fails in libstdc++-v3/src/c++11/thread.cc

2012-12-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55741 Bug #: 55741 Summary: [4.8 Regression] bootstrap fails in libstdc++-v3/src/c++11/thread.cc Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug tree-optimization/55683] [4.8 Regression] ICE in inline_call, at ipa-inline-transform.c:270

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55683 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW

[Bug rtl-optimization/55686] [4.8 Regression] ICE in assign_by_spills, at lra-assigns.c:1244

2012-12-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55686 --- Comment #8 from Richard Biener rguenth at gcc dot gnu.org 2012-12-19 15:29:21 UTC --- Happens in quite some packages for us: clisp, evince, pstoedit and ruby19

[Bug rtl-optimization/55686] [4.8 Regression] ICE in assign_by_spills, at lra-assigns.c:1244

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55686 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||hubicka

[Bug libstdc++/55741] [4.8 Regression] bootstrap fails in libstdc++-v3/src/c++11/thread.cc

2012-12-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55741 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug c++/55737] Template and the constant, short-form if-then-else condition issue

2012-12-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55737 --- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org 2012-12-19 15:54:22 UTC --- (Your testcase would be a lot easier to read without all those comments inside the conditional expression, I think it's safe to assume everyone here

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #30 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 2012-12-19 15:57:11 UTC --- (In reply to comment #28) I'd say as a first step try to make sure -lasan is linked at the very beginning, before all other

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #31 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 2012-12-19 16:08:14 UTC --- (In reply to comment #27) This time it looks like a valid error report (stack buffer overflow), but asan crashes while reporting

[Bug c++/55737] Template and the constant, short-form if-then-else condition issue

2012-12-19 Thread greenscape777 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55737 --- Comment #4 from GS greenscape777 at gmail dot com 2012-12-19 16:11:11 UTC --- Always nice to read friendly replies :). Sure I could. As I said, I'm not sure I was right in the first place. Just wanted to help to make gcc better than

[Bug c++/55737] Template and the constant, short-form if-then-else condition issue

2012-12-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55737 --- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org 2012-12-19 16:13:08 UTC --- because it doesn't instantiate a template that requires the divide-by-zero in an integer constant context

[Bug libfortran/36044] user-requested backtrace

2012-12-19 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36044 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug gcov-profile/55734] [4.8 Regression] gcov-io.c uses builtins not available in non-GCC compilers

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55734 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at

[Bug gcov-profile/55674] [4.8 Regression] 20% size increase of lto/pgo binaries since r193747

2012-12-19 Thread tejohnson at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55674 --- Comment #18 from Teresa Johnson tejohnson at google dot com 2012-12-19 16:44:21 UTC --- On Tue, Dec 18, 2012 at 9:25 AM, hubicka at ucw dot cz gcc-bugzi...@gcc.gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55674 ---

[Bug c++/55742] New: __attribute__ in class function declaration cause prototype does not match errors.

2012-12-19 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55742 Bug #: 55742 Summary: __attribute__ in class function declaration cause prototype does not match errors. Classification: Unclassified Product: gcc Version: 4.8.0

[Bug gcov-profile/55734] [4.8 Regression] gcov-io.c uses builtins not available in non-GCC compilers

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55734 --- Comment #18 from Jakub Jelinek jakub at gcc dot gnu.org 2012-12-19 16:48:00 UTC --- Perhaps if (v 0) { #if IN_LIBGCOV r = 63 - __builtin_clzll (v); #else if (sizeof (v) = sizeof (HOST_WIDE_INT)) r =

[Bug gcov-profile/55734] [4.8 Regression] gcov-io.c uses builtins not available in non-GCC compilers

2012-12-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55734 --- Comment #19 from Jakub Jelinek jakub at gcc dot gnu.org 2012-12-19 16:57:31 UTC --- Of course v HOST_BITS_PER_WIDE_INT can't be assigned to r, it needs some new temporary, with unsigned HOST_WIDE_INT or gcov_type_unsigned type (and use

[Bug sanitizer/55739] asan doesn't work on common symbols

2012-12-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55739 --- Comment #4 from H.J. Lu hjl.tools at gmail dot com 2012-12-19 16:58:34 UTC --- The symbol size is always available at link-time or run-time. We just never find a use for it in program itself. We can add relocations for foo@BOUND,

[Bug gcov-profile/55734] [4.8 Regression] gcov-io.c uses builtins not available in non-GCC compilers

2012-12-19 Thread tejohnson at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55734 --- Comment #20 from Teresa Johnson tejohnson at google dot com 2012-12-19 17:07:51 UTC --- On Wed, Dec 19, 2012 at 8:39 AM, jakub at gcc dot gnu.org gcc-bugzi...@gcc.gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55734

[Bug fortran/54884] [4.8 Regression] Externally used PRIVATE module procedure wrongly marked as TREE_PUBLIC()=0

2012-12-19 Thread abensonca at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54884 --- Comment #7 from Andrew Benson abensonca at gmail dot com 2012-12-19 17:31:47 UTC --- The fix for this bug has been working for me, but I'm getting reports from several colleagues (who are trying to install the FoX library so that they

[Bug gcov-profile/55734] [4.8 Regression] gcov-io.c uses builtins not available in non-GCC compilers

2012-12-19 Thread tejohnson at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55734 --- Comment #21 from Teresa Johnson tejohnson at google dot com 2012-12-19 17:35:08 UTC --- On Wed, Dec 19, 2012 at 8:48 AM, jakub at gcc dot gnu.org gcc-bugzi...@gcc.gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55734

[Bug libgcc/55743] New: limits.h included unnecessarily in libgcc2.c - can break --without-headers bootstrap

2012-12-19 Thread wookey at wookware dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55743 Bug #: 55743 Summary: limits.h included unnecessarily in libgcc2.c - can break --without-headers bootstrap Classification: Unclassified Product: gcc Version: 4.7.2

[Bug libgcc/55743] limits.h included unnecessarily in libgcc2.c - can break --without-headers bootstrap

2012-12-19 Thread wookey at wookware dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55743 --- Comment #1 from Wookey wookey at wookware dot org 2012-12-19 17:54:16 UTC --- Created attachment 29008 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29008 Remove unnecessary limits.h references in libgcc2.c

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 --- Comment #32 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 2012-12-19 18:00:34 UTC --- (In reply to comment #28) I'd say as a first step try to make sure -lasan is linked at the very beginning, before all other

[Bug fortran/54884] [4.8 Regression] Externally used PRIVATE module procedure wrongly marked as TREE_PUBLIC()=0

2012-12-19 Thread abensonca at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54884 --- Comment #8 from Andrew Benson abensonca at gmail dot com 2012-12-19 18:02:44 UTC --- I spoke to soon! I just compiled r194618 of gcc and now I find the same problem.

[Bug c++/55710] [C++11] Linkage errors with lambdas

2012-12-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55710 --- Comment #8 from Paolo Carlini paolo.carlini at oracle dot com 2012-12-19 18:03:23 UTC --- Thanks Daniel for the new testcase in Comment #6. I'm afraid however we still don't have a regression, because the testcase compiles but doesn't

[Bug fortran/54884] [4.8 Regression] Externally used PRIVATE module procedure wrongly marked as TREE_PUBLIC()=0

2012-12-19 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54884 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug c++/55722] failed static_assert won't trigger a second time

2012-12-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55722 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org 2012-12-19 20:14:08 UTC --- I've just encountered this bug again when trying to replace constexpr unique_ptr(nullptr_t) noexcept : _M_t() {

[Bug libstdc++/55741] [4.8 Regression] bootstrap fails in libstdc++-v3/src/c++11/thread.cc

2012-12-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55741 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org 2012-12-19 20:35:46 UTC --- Created attachment 29009 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29009 check for and use Sleep() Does this patch work?

[Bug fortran/55341] address-sanitizer and Fortran

2012-12-19 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341 Jack Howarth howarth at nitro dot med.uc.edu changed: What|Removed |Added CC|

[Bug bootstrap/55699] gmp-5.1.0 no longer supports --host=none-...

2012-12-19 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55699 Denis Excoffier g...@denis-excoffier.org changed: What|Removed |Added Status|UNCONFIRMED

[Bug inline-asm/55744] New: Use of ebx as output register in inline asm on x86_64 PIC mcmodel=medium

2012-12-19 Thread jncronin at tysos dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55744 Bug #: 55744 Summary: Use of ebx as output register in inline asm on x86_64 PIC mcmodel=medium Classification: Unclassified Product: gcc Version: 4.6.3

[Bug c++/55724] [4.7/4.8 Regression] [C++11] Default type of a template value is not working

2012-12-19 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55724 --- Comment #3 from Jason Merrill jason at gcc dot gnu.org 2012-12-19 22:22:42 UTC --- Author: jason Date: Wed Dec 19 22:22:36 2012 New Revision: 194620 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194620 Log: PR c++/55724

[Bug fortran/55745] New: [4.8 regression] FAIL: gfortran.dg/pr26246_2.f90 -O scan-tree-dump-times original static int 0

2012-12-19 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55745 Bug #: 55745 Summary: [4.8 regression] FAIL: gfortran.dg/pr26246_2.f90 -O scan-tree-dump-times original static int 0 Classification: Unclassified Product: gcc Version:

[Bug fortran/55733] -fno-automatic: Fails for scalar allocatables

2012-12-19 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55733 --- Comment #6 from Tobias Burnus burnus at gcc dot gnu.org 2012-12-19 23:05:54 UTC --- Author: burnus Date: Wed Dec 19 23:05:49 2012 New Revision: 194621 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194621 Log: 2012-12-19

[Bug c++/55742] __attribute__ in class function declaration cause prototype does not match errors.

2012-12-19 Thread tmsriram at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55742 Sriraman Tallam tmsriram at google dot com changed: What|Removed |Added CC|

[Bug c/55746] New: vfprintf behaves differently variable on stack vs const argument.

2012-12-19 Thread lbana at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55746 Bug #: 55746 Summary: vfprintf behaves differently variable on stack vs const argument. Classification: Unclassified Product: gcc Version: 4.2.1 Status:

[Bug c/55746] vfprintf behaves differently variable on stack vs const argument.

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

  1   2   >