[Bug c++/61282] vectorization causes segfaults in a compiled program during access to an int-casted char[] after bool in a struct

2014-05-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61282 --- Comment #2 from Andrew Pinski --- Why do you think this is a bug? C rules about alignment apply here.

[Bug c++/61282] vectorization causes segfaults in a compiled program during access to an int-casted char[] after bool in a struct

2014-05-21 Thread v_pimenov at wargaming dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61282 --- Comment #1 from V. Pimenov --- $ gcc --version gcc (GCC) 4.7.2 20121015 (Red Hat 4.7.2-5) Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERC

[Bug c++/61282] New: vectorisation causes segfaults in a compiled program during access to an int-casted char[] after bool in a struct

2014-05-21 Thread v_pimenov at wargaming dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61282 Bug ID: 61282 Summary: vectorisation causes segfaults in a compiled program during access to an int-casted char[] after bool in a struct Product: gcc Version: 4.7

[Bug lto/61012] [4.9/4.10 Regression] lto1: errors during merging of translation units (error: variable ‘link’ redeclared as function)

2014-05-21 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61012 Jan Hubicka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug lto/61012] [4.9/4.10 Regression] lto1: errors during merging of translation units (error: variable ‘link’ redeclared as function)

2014-05-21 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61012 --- Comment #5 from Jan Hubicka --- Author: hubicka Date: Thu May 22 05:38:04 2014 New Revision: 210740 URL: http://gcc.gnu.org/viewcvs?rev=210740&root=gcc&view=rev Log: PR lto/61012 * lto-symtab.c (lto_symtab_merge_decls_1): Do not ICE

[Bug lto/61012] [4.9/4.10 Regression] lto1: errors during merging of translation units (error: variable ‘link’ redeclared as function)

2014-05-21 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61012 --- Comment #4 from Jan Hubicka --- Author: hubicka Date: Thu May 22 05:35:32 2014 New Revision: 210739 URL: http://gcc.gnu.org/viewcvs?rev=210739&root=gcc&view=rev Log: PR lto/61012 * lto-symtab.c (lto_symtab_merge_decls_1): Modified:

[Bug fortran/61281] New: Memory corruption on assigning a polymorphic variable to a non-polymorphic one

2014-05-21 Thread rouson at stanford dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61281 Bug ID: 61281 Summary: Memory corruption on assigning a polymorphic variable to a non-polymorphic one Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity:

[Bug c/61280] New: GCC 4.8.2 suppresses -Wsign-compare caused by macro defined in system header

2014-05-21 Thread java4ada at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61280 Bug ID: 61280 Summary: GCC 4.8.2 suppresses -Wsign-compare caused by macro defined in system header Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: no

[Bug libfortran/60324] Handle arbitrarily long path names

2014-05-21 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60324 --- Comment #2 from Janne Blomqvist --- Author: jb Date: Thu May 22 03:51:25 2014 New Revision: 210738 URL: http://gcc.gnu.org/viewcvs?rev=210738&root=gcc&view=rev Log: PR 60324 Handle long path names, don't use PATH_MAX. Modified: trunk/li

[Bug tree-optimization/61279] New: [4.10 Regression] ICE in loop_preheader_edge, at cfgloop.c:1668 w/ -O1 -ftree-loop-vectorize

2014-05-21 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61279 Bug ID: 61279 Summary: [4.10 Regression] ICE in loop_preheader_edge, at cfgloop.c:1668 w/ -O1 -ftree-loop-vectorize Product: gcc Version: 4.10.0 Status: UNCONFIRMED

[Bug lto/61278] New: ICE with LTO (lto-wrapper failed) on x86_64-linux-gnu in 64-bit mode

2014-05-21 Thread su at cs dot ucdavis.edu
-werror --enable-multilib Thread model: posix gcc version 4.10.0 20140521 (experimental) [trunk revision 210675] (GCC) $ $ gcc-4.9.0 -flto -O0 -c foo.c $ gcc-4.9.0 -flto -O1 -c main.c $ gcc-4.9.0 -flto -O1 foo.o main.o $ a.out $ $ gcc-trunk -O0 -c foo.c $ gcc-trunk -O1 -c main.c $ gcc-trunk -O1

[Bug tree-optimization/61277] New: Incorrect -Warray-bounds warning with 4.9.0

2014-05-21 Thread akruppa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61277 Bug ID: 61277 Summary: Incorrect -Warray-bounds warning with 4.9.0 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-

[Bug middle-end/60102] powerpc fp-bit ices at dwf_regno

2014-05-21 Thread sandra at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102 --- Comment #9 from Sandra Loosemore --- I've been looking at this a little bit more. DWARF_FRAME_REGNUM is specifically documented to take a hard register number as its operand, so the assertion in dwf_regno is at least consistent with that. T

[Bug lto/60820] [4.9/4.10 Regression] ice in ctor_for_folding, at varpool.c:291

2014-05-21 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60820 Jan Hubicka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/57625] internal compiler error: seg fault when building gcc 4.7.2

2014-05-21 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57625 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Comm

[Bug fortran/61261] [OOP] Segfault on source-allocating polymorphic variables

2014-05-21 Thread jouko.orava at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61261 Jouko Orava changed: What|Removed |Added CC||jouko.orava at iki dot fi --- Comment #6 f

[Bug libstdc++/58638] libstdc++ builds as non-PIC when --with-pic is specified

2014-05-21 Thread skunk at iskunk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58638 --- Comment #6 from Daniel Richard G. --- (In reply to Jonathan Wakely from comment #4) > > Instead of building GCC with --disable-shared, why not just use > -static-libstdc++ when linking? It was a long time ago that I last tried that, so I ca

[Bug target/61202] gcc generates invalid sqdmulh instruction

2014-05-21 Thread carrot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61202 --- Comment #4 from carrot at gcc dot gnu.org --- Author: carrot Date: Wed May 21 20:46:46 2014 New Revision: 210728 URL: http://gcc.gnu.org/viewcvs?rev=210728&root=gcc&view=rev Log: PR target/61202 * config/aarch64/arm_neon.h (vqdmulh_n_

[Bug libstdc++/58638] libstdc++ builds as non-PIC when --with-pic is specified

2014-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58638 --- Comment #5 from Jonathan Wakely --- I think the right fix is --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -120,6 +120,11 @@ if test "$enable_shared" = yes; then glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"

[Bug rtl-optimization/61215] [4.9/4.10 Regression] ICE in gen_add2_insn, at optabs.c:4718 when building wine-1.7.19

2014-05-21 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61215 --- Comment #4 from Vladimir Makarov --- Subreg functions in simplify_subreg transform (subreg:hi (plus:si argp 8)) into (plus:hi (subreg:hi argp) 8). I'll investigate how to avoid this transformation as LRA works fine if transformation is not do

[Bug libstdc++/61143] [4.9/4.10 Regression] Arithmetic exception on emplacing into unordered_map moved out

2014-05-21 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61143 --- Comment #12 from François Dumont --- Author: fdumont Date: Wed May 21 19:51:05 2014 New Revision: 210726 URL: http://gcc.gnu.org/viewcvs?rev=210726&root=gcc&view=rev Log: 2014-05-21 François Dumont PR libstdc++/61143 * include/bi

[Bug sanitizer/61272] [UBSAN] ICE in is_ubsan_builtin_p(tree_node*), gcc/ubsan.c:534

2014-05-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61272 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug sanitizer/61272] [UBSAN] ICE in is_ubsan_builtin_p(tree_node*), gcc/ubsan.c:534

2014-05-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61272 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Wed May 21 19:07:30 2014 New Revision: 210723 URL: http://gcc.gnu.org/viewcvs?rev=210723&root=gcc&view=rev Log: PR sanitizer/61272 * ubsan.c (is_ubsan_builtin_p): Turn assert i

[Bug c/61212] gcc build failure on "dos file system" due to warnings treated as errors

2014-05-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61212 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/61212] gcc build failure on "dos file system" due to warnings treated as errors

2014-05-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61212 --- Comment #1 from Marek Polacek --- Author: mpolacek Date: Wed May 21 18:54:12 2014 New Revision: 210722 URL: http://gcc.gnu.org/viewcvs?rev=210722&root=gcc&view=rev Log: PR c/61212 * files.c (find_file_in_dir): Add parens around &&.

[Bug c/61212] gcc build failure on "dos file system" due to warnings treated as errors

2014-05-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61212 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug sanitizer/61272] [UBSAN] ICE in is_ubsan_builtin_p(tree_node*), gcc/ubsan.c:534

2014-05-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61272 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/53097] [c++0x] Missed optimization: lambda closure object could be smaller

2014-05-21 Thread shachar at shemesh dot biz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53097 Shachar Shemesh changed: What|Removed |Added CC||shachar at shemesh dot biz --- Comment

[Bug c++/61276] warn about possible coding errors with logical not (!)

2014-05-21 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61276 --- Comment #6 from joseph at codesourcery dot com --- You could suggest GCC diagnostic issues to http://www.linuxfoundation.org/programs/core-infrastructure-initiative if you wish

[Bug c++/61133] g++ doesn't implement DR1760

2014-05-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61133 --- Comment #2 from Jason Merrill --- Author: jason Date: Wed May 21 17:23:07 2014 New Revision: 210720 URL: http://gcc.gnu.org/viewcvs?rev=210720&root=gcc&view=rev Log: PR c++/61133 * lambda.c (build_capture_proxy, add_capture): Treat n

[Bug c++/61276] warn about possible coding errors with logical not (!)

2014-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61276 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic --- Comment #5 from Jonatha

[Bug lto/61012] [4.9/4.10 Regression] lto1: errors during merging of translation units (error: variable ‘link’ redeclared as function)

2014-05-21 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61012 --- Comment #3 from Jan Hubicka --- It is LTO-symtab bug. In this case we have chain with static var and external decl and we find no prevailing symbol (correctly), but then instead of choosing the external decl for further merging we go with st

[Bug other/56955] documentation for attribute malloc contradicts itself

2014-05-21 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56955 --- Comment #19 from rguenther at suse dot de --- On May 21, 2014 5:14:27 PM CEST, eggert at gnu dot org wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56955 > >--- Comment #18 from Paul Eggert --- >(In reply to Richard Biener from commen

[Bug c++/61276] warn about possible coding errors with logical not (!)

2014-05-21 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61276 --- Comment #4 from Manuel López-Ibáñez --- (In reply to David Binderman from comment #2) > It would also find an unknown number of bugs in Linux kernel, > which compiles with gcc only, sadly. Which I find sad is that GCC does not have such a si

[Bug c++/61276] warn about possible coding errors with logical not (!)

2014-05-21 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61276 --- Comment #3 from Manuel López-Ibáñez --- Just to mention that I cloned PR 61271 to not forget about implementing the warning once the problematic code is fixed. So this PR should be about implementing the warning, rather than fixing any partic

[Bug c++/61276] warn about possible coding errors with logical not (!)

2014-05-21 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61276 --- Comment #2 from David Binderman --- (In reply to Manuel López-Ibáñez from comment #0) > GCC should have this warning which would have detected several obvious bugs > in GCC itself. And at least 60 bugs in Fedora Linux, based on compiling Fed

[Bug c++/61276] warn about possible coding errors with logical not (!)

2014-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61276 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/61271] 10 * possible coding error with logical not (!)

2014-05-21 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61271 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Commen

[Bug c++/61276] New: warn about possible coding errors with logical not (!)

2014-05-21 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61276 Bug ID: 61276 Summary: warn about possible coding errors with logical not (!) Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug fortran/61275] New: Invalid initialization expression for ALLOCATABLE component in structure constructor at (1)

2014-05-21 Thread antony at cosmologist dot info
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61275 Bug ID: 61275 Summary: Invalid initialization expression for ALLOCATABLE component in structure constructor at (1) Product: gcc Version: 4.10.0 Status: UNCONFIRMED

[Bug debug/16063] Debuggers need more information about enum types in C++

2014-05-21 Thread mark at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16063 --- Comment #7 from Mark Wielaard --- Author: mark Date: Wed May 21 15:44:59 2014 New Revision: 210717 URL: http://gcc.gnu.org/viewcvs?rev=210717&root=gcc&view=rev Log: PR debug/16063. Add DW_AT_type to DW_TAG_enumeration. Add a new lang-hook t

[Bug target/61249] _mm_frcz_ss, _mm_frcz_sd: __builtin_ia32_vfrczss, __builtin_ia32_vfrczsd require 2 arguments

2014-05-21 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61249 --- Comment #3 from Uroš Bizjak --- (In reply to Michael Tautschnig from comment #2) > Thanks a lot for your quick reply. > > > > Yet r205495 changed _mm_frcz_ss/_mm_frcz_sd so that only a single argument > > > is passed to the __builtin_ia32_vf

[Bug sanitizer/61272] [UBSAN] ICE in is_ubsan_builtin_p(tree_node*), gcc/ubsan.c:534

2014-05-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61272 --- Comment #2 from Marek Polacek --- I think easiest would be --- a/gcc/ubsan.c +++ b/gcc/ubsan.c @@ -531,9 +538,9 @@ ubsan_instrument_unreachable (location_t loc) bool is_ubsan_builtin_p (tree t) { - gcc_checking_assert (TREE_CODE (t) == F

[Bug driver/61274] New: excessive code size with large-unit-insns

2014-05-21 Thread wbrana at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61274 Bug ID: 61274 Summary: excessive code size with large-unit-insns Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver

[Bug libstdc++/61269] includes inside std namespace

2014-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61269 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/61231] [4.9/4.10 Regression] bootstrap comparision failure on powerpc64le-linux-gnu

2014-05-21 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61231 --- Comment #10 from Vladimir Makarov --- (In reply to Alan Modra from comment #9) > So, what's happening here on the testcase is that before r210519, from the > ira dump for pseudo reg 171 we have > > a15 (r171,l0) best GENERAL_REGS, allocno GE

[Bug other/56955] documentation for attribute malloc contradicts itself

2014-05-21 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56955 --- Comment #18 from Paul Eggert --- (In reply to Richard Biener from comment #16) > void foo (int *p) > { > int *q = realloc (p, sizeof (int)); > *q = 2; > } > > may I remove the store *q = 2 as dead? Yes, the consensus nowadays is that y

[Bug libstdc++/61269] includes inside std namespace

2014-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61269 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Wed May 21 15:09:37 2014 New Revision: 210715 URL: http://gcc.gnu.org/viewcvs?rev=210715&root=gcc&view=rev Log: PR libstdc++/61269 * include/std/type_traits: Move include outside

[Bug fortran/61261] [OOP] Segfault on source-allocating polymorphic variables

2014-05-21 Thread thatcadguy at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61261 --- Comment #5 from Jacob Abel --- (In reply to Dominique d'Humieres from comment #4) > Slightly reduced test > > MODULE modu > > IMPLICIT NONE > > TYPE element > CLASS(*), ALLOCATABLE :: e > END TYPE element > > END MODULE modu > > PROGRAM

[Bug go/61273] New: gccgo: ICE in Unsafe_type_conversion_expression::do_get_backend [GoSmith]

2014-05-21 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61273 Bug ID: 61273 Summary: gccgo: ICE in Unsafe_type_conversion_expression::do_get_backend [GoSmith] Product: gcc Version: 4.10.0 Status: UNCONFIRMED

[Bug sanitizer/61272] [UBSAN] ICE in is_ubsan_builtin_p(tree_node*), gcc/ubsan.c:534

2014-05-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61272 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/60179] [4.9 Regression] target optimization attribute streaming is broken

2014-05-21 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60179 --- Comment #8 from sandra at gcc dot gnu.org --- Author: sandra Date: Wed May 21 14:45:36 2014 New Revision: 210714 URL: http://gcc.gnu.org/viewcvs?rev=210714&root=gcc&view=rev Log: 2014-05-21 Cesar Philippidis Sandra Loosemore

[Bug c/61271] 10 * possible coding error with logical not (!)

2014-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61271 --- Comment #4 from Jonathan Wakely --- (In reply to David Binderman from comment #0) > 3. > > ../../src/trunk/gcc/cp/cp-array-notation.c:1420:7: warning: logical not is > only applied to the left hand side of this comparison > [-Wlogical-not-pa

[Bug sanitizer/61272] New: [UBSAN] ICE in is_ubsan_builtin_p(tree_node*), gcc/ubsan.c:534

2014-05-21 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61272 Bug ID: 61272 Summary: [UBSAN] ICE in is_ubsan_builtin_p(tree_node*), gcc/ubsan.c:534 Product: gcc Version: 4.10.0 Status: UNCONFIRMED Keywords: ice-on-invalid-

[Bug c/61271] 6 * possible coding error with logical not (!)

2014-05-21 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61271 --- Comment #3 from David Binderman --- Even more: 7. src/trunk/gcc/lra-spills.c:240:9: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] Source code is || !FRAME_GROWS_DOWNWARD

[Bug other/56955] documentation for attribute malloc contradicts itself

2014-05-21 Thread sunfish at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56955 --- Comment #17 from Dan Gohman --- (In reply to Richard Biener from comment #16) > One reason for why realloc is "hard" is that there is no language that says > it is undefined to access the object via the old pointer, but there is only > langua

[Bug c/61271] 6 * possible coding error with logical not (!)

2014-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61271 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/51206] Building Cross-Compiler for Linux/x86_64 multilibs fails due to FLAGS_FOR_TARGET

2014-05-21 Thread gcc at rkeene dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51206 gcc at rkeene dot org changed: What|Removed |Added Version|4.6.1 |4.9.0 --- Comment #3 from gcc at

[Bug c/61271] 3 * possible coding error with logical not (!)

2014-05-21 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61271 --- Comment #1 from David Binderman --- Some more: 4. trunk/gcc/expr.c:10660:10: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] Source code || !exact_log2 (tree_to_uhwi (TREE_OP

[Bug c/61271] New: 3 * possible coding error with logical not (!)

2014-05-21 Thread dcb314 at hotmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com I just compiled gcc trunk 20140521 with boot compiler clang++ -g -O2 -Wall and it said 1. ../../src/trunk/gcc/cgraphunit.c:1182:8: warning: logical not is only applied to the left hand side of this

[Bug libstdc++/61269] includes inside std namespace

2014-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61269 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/54482] failures in static linking with libstdc++, due to versioned symbols

2014-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54482 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug driver/61270] New: max-inline-insns-single is too high

2014-05-21 Thread wbrana at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61270 Bug ID: 61270 Summary: max-inline-insns-single is too high Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver

[Bug other/56955] documentation for attribute malloc contradicts itself

2014-05-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56955 --- Comment #16 from Richard Biener --- One reason for why realloc is "hard" is that there is no language that says it is undefined to access the object via the old pointer, but there is only language that says the old and the new pointer values

[Bug libstdc++/61269] New: includes inside std namespace

2014-05-21 Thread daniel at constexpr dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61269 Bug ID: 61269 Summary: includes inside std namespace Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug ada/9535] Datagram socket semantics are wrong

2014-05-21 Thread charlet at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9535 Arnaud Charlet changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ada/9535] Datagram socket semantics are wrong

2014-05-21 Thread charlet at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9535 --- Comment #9 from Arnaud Charlet --- Author: charlet Date: Wed May 21 12:49:24 2014 New Revision: 210698 URL: http://gcc.gnu.org/viewcvs?rev=210698&root=gcc&view=rev Log: Previous change (rev 210697) should have mentioned PR ada/9535:

[Bug ada/9535] Datagram socket semantics are wrong

2014-05-21 Thread charlet at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9535 Arnaud Charlet changed: What|Removed |Added CC||charlet at gcc dot gnu.org Ass

[Bug middle-end/57625] internal compiler error: seg fault when building gcc 4.7.2

2014-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57625 Jonathan Wakely changed: What|Removed |Added Version|4.8.1 |4.7.2 --- Comment #3 from Jonathan Wak

[Bug middle-end/61268] [4.10 regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8262

2014-05-21 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61268 Rainer Orth changed: What|Removed |Added Target Milestone|--- |4.10.0

[Bug middle-end/61268] New: [4.10 regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8262

2014-05-21 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61268 Bug ID: 61268 Summary: [4.10 regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8262 Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: norma

[Bug driver/56244] -O3 should imply -funroll-loops

2014-05-21 Thread wbrana at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56244 wbrana changed: What|Removed |Added CC||wbrana at gmail dot com --- Comment #4 from wbr

[Bug other/56955] documentation for attribute malloc contradicts itself

2014-05-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56955 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/61262] GCC segfaults

2014-05-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61262 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug libstdc++/60793] Add target *-*-dragonfly* to dg-options on 172 libstdc++ tests

2014-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60793 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/61267] New: [MIPS] -march=mips32 does not always disable the use of branch likely instructions

2014-05-21 Thread joel.porquet at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61267 Bug ID: 61267 Summary: [MIPS] -march=mips32 does not always disable the use of branch likely instructions Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severi

[Bug c++/61088] segfault with array of lambdas initialized with initializer list that contains a lambda that captures the array

2014-05-21 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61088 --- Comment #4 from Paolo Carlini --- I meant: void f() { typedef void (*X) (); X x[] = { [x](){} }; // { dg-error "incomplete" } }

[Bug c++/61088] segfault with array of lambdas initialized with initializer list that contains a lambda that captures the array

2014-05-21 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61088 --- Comment #3 from Paolo Carlini --- As testcase, this can do, I think: void f() { typedef void (X) (); X x[] = { [x](){} }; // { dg-error "incomplete" } } something even closer to the original one is of course welcome.

[Bug tree-optimization/61266] [4.10 regression] FAIL: gcc.dg/Wstrict-overflow-18.c (test for bogus messages, line 20)

2014-05-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61266 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/58638] libstdc++ builds as non-PIC when --with-pic is specified

2014-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58638 --- Comment #4 from Jonathan Wakely --- (In reply to Daniel Richard G. from comment #0) > I built GCC 4.8.1 with "--disable-shared --with-pic" so that I can > statically link libgcc/libstdc++ into executables, Instead of building GCC with --disa

[Bug c++/61088] segfault with array of lambdas initialized with initializer list that contains a lambda that captures the array

2014-05-21 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61088 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/61266] New: [4.10 regression] FAIL: gcc.dg/Wstrict-overflow-18.c (test for bogus messages, line 20)

2014-05-21 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61266 Bug ID: 61266 Summary: [4.10 regression] FAIL: gcc.dg/Wstrict-overflow-18.c (test for bogus messages, line 20) Product: gcc Version: 4.10.0 Status: UNCONFIRMED

[Bug go/61265] New: gccgo: ICE in verify_gimple_in_seq [GoSmith]

2014-05-21 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61265 Bug ID: 61265 Summary: gccgo: ICE in verify_gimple_in_seq [GoSmith] Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go

[Bug tree-optimization/61184] [4.10 Regression] wrong code (that hangs) by LTO on x86_64-linux-gnu

2014-05-21 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61184 --- Comment #5 from Andreas Schwab --- This breaks gcc.dg/Wstrict-overflow-18.c.

[Bug libstdc++/50160] vector comparison very slow (no overload)

2014-05-21 Thread feritzpowell at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50160 Wellamjames changed: What|Removed |Added CC||feritzpowell at gmail dot com --- Comment

[Bug bootstrap/61210] [4.10 regression] bootstrap failure with clang

2014-05-21 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61210 David Binderman changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/61261] [OOP] Segfault on source-allocating polymorphic variables

2014-05-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61261 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug go/61264] New: gccgo: ICE in __normal_iterator [GoSmith]

2014-05-21 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61264 Bug ID: 61264 Summary: gccgo: ICE in __normal_iterator [GoSmith] Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go

[Bug middle-end/61252] Invalid code produced for omp simd reduction(min:var) where var is reference

2014-05-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61252 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Wed May 21 08:06:04 2014 New Revision: 210681 URL: http://gcc.gnu.org/viewcvs?rev=210681&root=gcc&view=rev Log: PR middle-end/61252 * omp-low.c (handle_simd_reference): New functi

[Bug target/54236] [SH] Improve addc and subc insn utilization

2014-05-21 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54236 --- Comment #8 from Oleg Endo --- Author: olegendo Date: Wed May 21 08:06:06 2014 New Revision: 210682 URL: http://gcc.gnu.org/viewcvs?rev=210682&root=gcc&view=rev Log: gcc/ PR target/54236 * config/sh/sh.md (*addc_r_1): Rename t

[Bug c++/60189] ICE with invalid use of _Cilk_sync

2014-05-21 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60189 --- Comment #5 from Kirill Yukhin --- Author: kyukhin Date: Wed May 21 08:05:42 2014 New Revision: 210680 URL: http://gcc.gnu.org/viewcvs?rev=210680&root=gcc&view=rev Log: gcc/cp PR c/60189 * parser.c (cp_parser_postfix_expression): Move

[Bug middle-end/61252] Invalid code produced for omp simd reduction(min:var) where var is reference

2014-05-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61252 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed May 21 08:04:03 2014 New Revision: 210679 URL: http://gcc.gnu.org/viewcvs?rev=210679&root=gcc&view=rev Log: PR middle-end/61252 * omp-low.c (handle_simd_reference): New functi

[Bug c++/60189] ICE with invalid use of _Cilk_sync

2014-05-21 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60189 --- Comment #4 from Kirill Yukhin --- Author: kyukhin Date: Wed May 21 08:03:06 2014 New Revision: 210678 URL: http://gcc.gnu.org/viewcvs?rev=210678&root=gcc&view=rev Log: gcc/cp PR c/60189 * parser.c (cp_parser_postfix_expression): Move

[Bug c++/61262] GCC segfaults

2014-05-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61262 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug target/61231] [4.9/4.10 Regression] bootstrap comparision failure on powerpc64le-linux-gnu

2014-05-21 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61231 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug go/61263] New: gccgo: fatal error: schedule: holding locks [GoSmith]

2014-05-21 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61263 Bug ID: 61263 Summary: gccgo: fatal error: schedule: holding locks [GoSmith] Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo