[Bug libfortran/81937] New: stack-buffer-overflow on memcpy in libgfortran/io/unix.c on character(kind=4)

2017-08-23 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81937 Bug ID: 81937 Summary: stack-buffer-overflow on memcpy in libgfortran/io/unix.c on character(kind=4) Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug debug/81936] New: ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543

2017-08-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 Bug ID: 81936 Summary: ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/81935] New: [8 Regression] r251260 miscompiles libstdc++ (on ppc64le)

2017-08-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81935 Bug ID: 81935 Summary: [8 Regression] r251260 miscompiles libstdc++ (on ppc64le) Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/81857] istreambuf_iterator not work as input iterator

2017-08-23 Thread abominable-snowman at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81857 --- Comment #2 from Petr Ovtchenkov --- Related problem: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50119, commit 1a1dad283 in git's reflection.

[Bug libfortran/81939] New: valgrind error message in build_float_string and heap-buffer-overflow on address sanitized libgfortran.so

2017-08-23 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81939 Bug ID: 81939 Summary: valgrind error message in build_float_string and heap-buffer-overflow on address sanitized libgfortran.so Product: gcc Version: 8.0

[Bug target/81935] [8 Regression] r251260 miscompiles libstdc++ (on ppc64le)

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81935 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/81931] [8 regression] r251260 breaks many tests on powerpc64

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81931 Richard Biener changed: What|Removed |Added CC||trippels at gcc dot gnu.org ---

[Bug lto/81940] New: [8 regression] internal compiler error: in dwarf2out_abstract_function, at dwarf2out.c:21613

2017-08-23 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81940 Bug ID: 81940 Summary: [8 regression] internal compiler error: in dwarf2out_abstract_function, at dwarf2out.c:21613 Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug target/81941] New: Rejects intrinsic use

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81941 Bug ID: 81941 Summary: Rejects intrinsic use Product: gcc Version: 7.2.1 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3

[Bug debug/81936] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543

2017-08-23 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 --- Comment #7 from rguenther at suse dot de --- On Wed, 23 Aug 2017, vries at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 > > --- Comment #6 from Tom de Vries --- > > what failed to properly set its parent? >

[Bug c++/81928] if(!this) optimization leads to possible errors without warnings

2017-08-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81928 --- Comment #3 from Jonathan Wakely --- (In reply to Matthieu Brucher from comment #2) > Comparing this to anything from Null to nullptr should be an error, not be > silently passed. No, it can't be rejected, because it's valid code. Just like

[Bug debug/81936] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543

2017-08-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 --- Comment #3 from Tom de Vries --- ICE is due to assert: ... at gcc/dwarf2out.c:5542 5542 gcc_assert (die->die_tag == DW_TAG_compile_unit 5543 && die->die_id.die_symbol != NULL); ... The assert triggers because

[Bug lto/81940] [8 regression] internal compiler error: in dwarf2out_abstract_function, at dwarf2out.c:21613

2017-08-23 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81940 --- Comment #1 from Dmitry G. Dyachenko --- $ g++ -fpreprocessed -Werror -Wall -Wextra -flto -O -std=c++98 x.ii -fpic -DPIC -c -o x.o && g++ -shared x.o -g -flto -o x.so during IPA pass: inline /home/dimhen/src/CSPbuild/ipsec/esp/esp_init.cpp:

[Bug lto/81940] [8 regression] internal compiler error: in dwarf2out_abstract_function, at dwarf2out.c:21613

2017-08-23 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81940 --- Comment #3 from Dmitry G. Dyachenko --- r251301 FAIL

[Bug target/81941] Rejects intrinsic use

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81941 --- Comment #1 from Richard Biener --- Alternatively: > gcc-7 -S t.c -m32 -mno-sse In file included from t.c:1:0: t.c: In function ‘foo’: /usr/lib64/gcc/x86_64-suse-linux/7/include/xmmintrin.h:932:1: error: inlining failed in call to

[Bug c++/81942] New: ICE on empty constexpr constructor with C++14

2017-08-23 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81942 Bug ID: 81942 Summary: ICE on empty constexpr constructor with C++14 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug middle-end/81931] [8 regression] r251260 breaks many tests on powerpc64

2017-08-23 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81931 --- Comment #4 from Aldy Hernandez --- On gcc110.fsffrance.org, I see gcc.dg/atomic/c11-atomic-exec-1.c failing with an execution error with a simple stage1 compiler. Perhaps this is a different problem, but it can be distilled to: int main

[Bug libfortran/81938] New: valgrind error message and heap-buffer-overflow on address sanitized libgfortran.so

2017-08-23 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81938 Bug ID: 81938 Summary: valgrind error message and heap-buffer-overflow on address sanitized libgfortran.so Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug debug/81936] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543

2017-08-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 Tom de Vries changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug middle-end/81931] [8 regression] r251260 breaks many tests on powerpc64

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81931 Richard Biener changed: What|Removed |Added Keywords||wrong-code Component|other

[Bug c++/81933] [7/8 Regression] Invalid "constexpr call flows off the end of the function" error

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81933 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Priority|P3

[Bug lto/81940] [8 regression] internal compiler error: in dwarf2out_abstract_function, at dwarf2out.c:21613

2017-08-23 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81940 --- Comment #2 from Dmitry G. Dyachenko --- $ cat x.ii int a, b = a;

[Bug debug/81936] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543

2017-08-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 --- Comment #6 from Tom de Vries --- > what failed to properly set its parent? dwarf2out_early_finish contains: ... /* Do not generate DWARF assembler now when not producing LTO bytecode. */ if (!flag_generate_lto) return; ... and this

[Bug c++/81911] Constant expression from permitted result of a constant expression is not constexpr

2017-08-23 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81911 Antony Polukhin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug lto/81925] early lto debug link failure on aarch64_be

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81925 Richard Biener changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment

[Bug c++/81932] Template arguments of type unsigned generate incorrect debugging information

2017-08-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81932 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug other/81927] [8 regression] Many, many test case failures starting with r251220

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81927 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/81928] if(!this) optimization leads to possible errors without warnings

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81928 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug debug/81936] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 --- Comment #2 from Richard Biener --- How do I reproduce, aka configure gcc?

[Bug c++/81928] if(!this) optimization leads to possible errors without warnings

2017-08-23 Thread matthieu.brucher at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81928 --- Comment #2 from Matthieu Brucher --- No, I think the optimization is more than correct. The warning doesn't warn of the actual problem, if you check against nullptr, you won't even get a warning. Comparing this to anything from Null to

[Bug c++/81928] if(!this) optimization leads to possible errors without warnings

2017-08-23 Thread matthieu.brucher at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81928 --- Comment #4 from Matthieu Brucher --- I would agree if the debug and optimized versions had the same behavior. They do not. As such there should be a huge warning about the undefined behavior. And no, it's not valid code, it's an undefined

[Bug debug/81936] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543

2017-08-23 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 --- Comment #4 from Tom de Vries --- (In reply to Richard Biener from comment #2) > How do I reproduce, aka configure gcc? The ICE is actually in the host compiler, but it doesn't seem to reproduce in a non-offloading setup. Host compiler:

[Bug middle-end/19706] Recognize common Fortran usages of copysign.

2017-08-23 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19706 --- Comment #7 from Tamar Christina --- Author: tnfchris Date: Wed Aug 23 11:34:59 2017 New Revision: 251304 URL: https://gcc.gnu.org/viewcvs?rev=251304=gcc=rev Log: 2017-08-23 Tamar Christina PR

[Bug middle-end/81931] [8 regression] r251260 breaks many tests on powerpc64

2017-08-23 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81931 --- Comment #6 from Aldy Hernandez --- The problem here is that get_nonzero_bits() is being called with an SSA whose precision is 0 (_Complex float). This is causing this code in get_nonzero_bits(): range_info_def *ri = SSA_NAME_RANGE_INFO

[Bug c++/81932] Template arguments of type unsigned generate incorrect debugging information

2017-08-23 Thread psmith at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81932 --- Comment #3 from Paul Smith --- Created attachment 42030 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42030=edit tv.py Test case attached. To run it: $ gcc -ggdb3 -o tvtest tvtest.cpp $ gdb tvtest -ex 'br 28' -ex 'source tv.py'

[Bug lto/81940] [8 regression] internal compiler error: in dwarf2out_abstract_function, at dwarf2out.c:21613

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81940 --- Comment #5 from Richard Biener --- Ok, so we have no early debug but enable late debug. I suppose at some point we want to have -g vs. -g0 set per function. Index: gcc/dwarf2out.c

[Bug c++/81943] New: Wrong ABI in class methods returning structs for the Windows amd64 target

2017-08-23 Thread blaffablaffa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81943 Bug ID: 81943 Summary: Wrong ABI in class methods returning structs for the Windows amd64 target Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity:

[Bug middle-end/19706] Recognize common Fortran usages of copysign.

2017-08-23 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19706 --- Comment #6 from Tamar Christina --- Author: tnfchris Date: Wed Aug 23 11:32:47 2017 New Revision: 251303 URL: https://gcc.gnu.org/viewcvs?rev=251303=gcc=rev Log: 2017-08-23 Tamar Christina PR

[Bug c++/81932] Template arguments of type unsigned generate incorrect debugging information

2017-08-23 Thread psmith at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81932 --- Comment #2 from Paul Smith --- Created attachment 42029 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42029=edit tvtest.cpp

[Bug middle-end/81931] [8 regression] r251260 breaks many tests on powerpc64

2017-08-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81931 --- Comment #5 from Segher Boessenkool --- Confirmed with that testcase, thanks!

[Bug lto/81940] [8 regression] internal compiler error: in dwarf2out_abstract_function, at dwarf2out.c:21613

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81940 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/81931] [8 regression] r251260 breaks many tests on powerpc64

2017-08-23 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81931 --- Comment #8 from Aldy Hernandez --- FWIW, the reason a cross x86-64 to ppc64 doesn't exhibit the problem may be because wi::shwi (-1, precision) calls sext_hwi() which eventually shifts left by 64 bits: int shift =

[Bug middle-end/81931] [8 regression] r251260 breaks many tests on powerpc64

2017-08-23 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81931 --- Comment #9 from Aldy Hernandez --- (In reply to Richard Biener from comment #7) > I suppose the idea was to make nonzero_bits foolproof. And -1 being > sign-extended should be fine... unless precision is 0 ;) > > So, in nonzero_bits use

[Bug c++/81944] New: constexpr std::distance

2017-08-23 Thread alexbaroni68 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81944 Bug ID: 81944 Summary: constexpr std::distance Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug middle-end/81931] [8 regression] r251260 breaks many tests on powerpc64

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81931 --- Comment #7 from Richard Biener --- (In reply to Aldy Hernandez from comment #6) > The problem here is that get_nonzero_bits() is being called with an SSA > whose precision is 0 (_Complex float). This is causing this code in >

[Bug target/79890] ICE in s390_initial_elimination_offset, at config/s390/s390.c:10430

2017-08-23 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79890 Andreas Krebbel changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #9 from Andreas

[Bug lto/81940] [8 regression] internal compiler error: in dwarf2out_abstract_function, at dwarf2out.c:21613

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81940 --- Comment #6 from Richard Biener --- Author: rguenth Date: Wed Aug 23 12:11:03 2017 New Revision: 251306 URL: https://gcc.gnu.org/viewcvs?rev=251306=gcc=rev Log: 2017-08-23 Richard Biener PR lto/81940 *

[Bug lto/81940] [8 regression] internal compiler error: in dwarf2out_abstract_function, at dwarf2out.c:21613

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81940 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/80681] missing -Wuninitialized for const or reference member of a private base class

2017-08-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80681 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug debug/81936] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543

2017-08-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 --- Comment #8 from Tom de Vries --- (In reply to rguent...@suse.de from comment #7) > Ah, yeah. And we can have both, right? I'd say so. There's f.i. libgomp.c/target-9.c, which contains '#pragma omp target' and uses -flto. > So we'd either

[Bug debug/81936] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543

2017-08-23 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 --- Comment #10 from rguenther at suse dot de --- On Wed, 23 Aug 2017, vries at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 > > --- Comment #8 from Tom de Vries --- > (In reply to rguent...@suse.de from comment

[Bug c++/56556] Wshadow warns for private members in base classes

2017-08-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56556 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/81945] [8 Regression] ICE in operator[], at vec.h:749

2017-08-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81945 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug c++/80733] -fstrict-enum ineffective, incorrect -Wtype-limits warning

2017-08-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80733 Eric Gallager changed: What|Removed |Added Keywords||diagnostic

[Bug tree-optimization/81945] New: [8 Regression] ICE in operator[], at vec.h:749

2017-08-23 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81945 Bug ID: 81945 Summary: [8 Regression] ICE in operator[], at vec.h:749 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug c++/79996] spurious -Wreturn-type on a function that calls a noreturn function

2017-08-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79996 Eric Gallager changed: What|Removed |Added Keywords||diagnostic

[Bug c++/81873] spurious -Wreturn-type calling a locally declared noreturn function

2017-08-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81873 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug debug/81936] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543

2017-08-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 --- Comment #12 from Tom de Vries --- (In reply to rguent...@suse.de from comment #11) > > And then we run into the next ICE: > Shit happens ;) Heh, it does :) > Is that now the offload compiler? Nope, still the host compiler, we're ICE-ing

[Bug c++/81944] constexpr std::distance

2017-08-23 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81944 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/81912] std::distance not constexpr in C++17 mode

2017-08-23 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81912 Marc Glisse changed: What|Removed |Added CC||alexbaroni68 at gmail dot com --- Comment

[Bug go/81946] New: runtime.inc:782:28: error: field ‘__sem_lock’ has incomplete type

2017-08-23 Thread mfe at live dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81946 Bug ID: 81946 Summary: runtime.inc:782:28: error: field ‘__sem_lock’ has incomplete type Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/68827] [concepts] ICE in fold where requires parameter shadows function argument

2017-08-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68827 Eric Gallager changed: What|Removed |Added Keywords||error-recovery

[Bug c++/81642] -Wtype-limits should not trigger for defined numbers

2017-08-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81642 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug debug/81936] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543

2017-08-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 --- Comment #9 from Tom de Vries --- (In reply to Tom de Vries from comment #8) > but found it doesn't work because flag_generate_offload is actually false. > > I'm now trying this (code snippet copied from symbol_table::compile), but > I'm not

[Bug debug/81936] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543

2017-08-23 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 --- Comment #11 from rguenther at suse dot de --- On Wed, 23 Aug 2017, vries at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 > > --- Comment #9 from Tom de Vries --- > (In reply to Tom de Vries from comment #8)

[Bug c++/78330] incorrectly accepts invalid C++ code with shadowed template parameter

2017-08-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78330 Eric Gallager changed: What|Removed |Added Keywords||diagnostic

[Bug go/81946] runtime.inc:782:28: error: field ‘__sem_lock’ has incomplete type

2017-08-23 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81946 --- Comment #1 from Ian Lance Taylor --- What is the full definition of the failing struct in the generated runtime.inc file? That is, look at line 782 of TARGET/libgo/runtime.inc and show us the complete type definition. Thanks.

[Bug c++/81947] New: variadic template specialization doesn't compile

2017-08-23 Thread manish.baphna at citi dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81947 Bug ID: 81947 Summary: variadic template specialization doesn't compile Product: gcc Version: 4.4.7 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/78388] Bogus "declaration shadows template parameter" error with parenthesized function-style casts

2017-08-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78388 Eric Gallager changed: What|Removed |Added Keywords||diagnostic

[Bug target/81951] New: [7/8 Regression] ICE returning 16 byte struct on s390x with -mno-lra

2017-08-23 Thread jcowgill+gcc at jcowgill dot uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81951 Bug ID: 81951 Summary: [7/8 Regression] ICE returning 16 byte struct on s390x with -mno-lra Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal

[Bug c/81954] New: gcc8 too aggressively reorders memory access beyond condition

2017-08-23 Thread naruse at airemix dot jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81954 Bug ID: 81954 Summary: gcc8 too aggressively reorders memory access beyond condition Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/59922] -finstrument-functions emit false warning "control reaches end of non-void function"

2017-08-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59922 Eric Gallager changed: What|Removed |Added Keywords||diagnostic

[Bug c++/56763] "attribute ignored in declaration of " warning points to wrong place

2017-08-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56763 Eric Gallager changed: What|Removed |Added Keywords||diagnostic

[Bug libstdc++/81950] _GLIBCXX17_INLINE macro not used consistently

2017-08-23 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81950 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #2 from TC

[Bug c++/81928] if(!this) optimization leads to possible errors without warnings

2017-08-23 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81928 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug middle-end/81954] gcc8 too aggressively reorders memory access beyond condition

2017-08-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81954 Andrew Pinski changed: What|Removed |Added Keywords||alias --- Comment #1 from Andrew Pinski

[Bug go/81946] runtime.inc:782:28: error: field ‘__sem_lock’ has incomplete type

2017-08-23 Thread mfe at live dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81946 --- Comment #5 from martin --- I'm sorry for the trouble, I thought Bugfix 81449 is contained in the gcc 7.2. release of Aug 14, 2017.

[Bug go/81946] runtime.inc:782:28: error: field ‘__sem_lock’ has incomplete type

2017-08-23 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81946 --- Comment #6 from Ian Lance Taylor --- It will be in GCC 8 but nobody backported it to the GCC 7 branch.

[Bug tree-optimization/81953] New: Code sinking results in increased use of callee saved registers

2017-08-23 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81953 Bug ID: 81953 Summary: Code sinking results in increased use of callee saved registers Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug debug/81936] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543

2017-08-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 --- Comment #13 from Tom de Vries --- I've tried to see if I could workaround the problem by disabling the assert: ... diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 0c339bd46f0..b2df3b89c2e 100644 --- a/gcc/dwarf2out.c +++

[Bug c++/80598] -Wunused triggers for functions used in uninstantiated templates

2017-08-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80598 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug go/81449] runtime.inc:782:28: error: field ‘__sem_lock’ has incomplete type

2017-08-23 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81449 --- Comment #4 from Ian Lance Taylor --- *** Bug 81946 has been marked as a duplicate of this bug. ***

[Bug go/81946] runtime.inc:782:28: error: field ‘__sem_lock’ has incomplete type

2017-08-23 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81946 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug debug/81936] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.c:5543

2017-08-23 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 --- Comment #14 from rguenther at suse dot de --- On August 23, 2017 6:52:40 PM GMT+02:00, "vries at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81936 > >--- Comment #13 from Tom de Vries ---

[Bug libstdc++/81950] _GLIBCXX17_INLINE macro not used consistently

2017-08-23 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81950 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug target/80503] ICE in extract_insn, at recog.c:2311 on ppc64le-linux-gnu

2017-08-23 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80503 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment

[Bug c++/81947] variadic template specialization doesn't compile

2017-08-23 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81947 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug go/81946] runtime.inc:782:28: error: field ‘__sem_lock’ has incomplete type

2017-08-23 Thread mfe at live dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81946 --- Comment #3 from martin --- The ‘__sem_lock’ struct is contained in: struct semt { struct __pthread_fastlock __sem_lock; int32_t __sem_value; void* __sem_waiting; };

[Bug c++/81952] New: copy elision used when constructor needs to be called

2017-08-23 Thread barry.revzin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81952 Bug ID: 81952 Summary: copy elision used when constructor needs to be called Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/81931] [8 regression] r251260 breaks many tests on powerpc64

2017-08-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81931 --- Comment #10 from Segher Boessenkool --- (In reply to Aldy Hernandez from comment #9) > (In reply to Richard Biener from comment #7) > Fixes testcase. Untested otherwise. > > diff --git a/gcc/tree-ssanames.c b/gcc/tree-ssanames.c > index

[Bug tree-optimization/81953] Code sinking increases register pressure

2017-08-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81953 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug go/81946] runtime.inc:782:28: error: field ‘__sem_lock’ has incomplete type

2017-08-23 Thread mfe at live dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81946 --- Comment #2 from martin --- Created attachment 42031 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42031=edit generated runtime.inc contains the incomplete type __sem_lock.

[Bug target/80969] [8 Regression] ICE in ix86_expand_prologue, at config/i386/i386.c:14606

2017-08-23 Thread dansan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80969 --- Comment #5 from dansan at gcc dot gnu.org --- Author: dansan Date: Wed Aug 23 21:46:14 2017 New Revision: 251321 URL: https://gcc.gnu.org/viewcvs?rev=251321=gcc=rev Log: PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space

[Bug c++/81932] Template arguments of type unsigned generate incorrect debugging information

2017-08-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81932 Jonathan Wakely changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug c++/81282] templated Lambda ,auto

2017-08-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81282 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug ada/81956] New: [7 regression] calling a null procedure is not skipped

2017-08-23 Thread demoonlit at panathenaia dot halfmoon.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81956 Bug ID: 81956 Summary: [7 regression] calling a null procedure is not skipped Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/81953] Code sinking increases register pressure

2017-08-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81953 --- Comment #2 from Segher Boessenkool --- It's a good idea to move it to inside the conditional, just not to behind the function call.

[Bug c++/81957] New: ICE decltype

2017-08-23 Thread roland at rschulz dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81957 Bug ID: 81957 Summary: ICE decltype Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned

[Bug c++/78840] [5 Regression] ICE with const variables in templates implicitly captured by nested lambda expressions

2017-08-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78840 Jason Merrill changed: What|Removed |Added Summary|[5/6/7/8 Regression] ICE|[5 Regression] ICE with

[Bug c++/81942] ICE on empty constexpr constructor with C++14

2017-08-23 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81942 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #1 from TC

  1   2   >