[Bug target/78720] [7 Regression] Illegal instruction in generated code

2016-12-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78720 --- Comment #2 from Markus Trippelsdorf --- % cat illegal_inst.cpp extern signed char var_13; long int rrr; void foo() { rrr = !0 % ((var_13 < 0) << 21); }

[Bug target/78720] [7 Regression] Illegal instruction in generated code

2016-12-07 Thread trippels at gcc dot gnu.org
|UNCONFIRMED |NEW Last reconfirmed||2016-12-07 CC||trippels at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Markus Trippelsdorf --- g++ -O2 -S illegal_inst.cpp -o

[Bug middle-end/78691] [7 Regression] ICE compiling Linux boot code

2016-12-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78691 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/71182] [6/7 Regression] parser.c cp_lexer_previous_token sanitizer detects member call on null pointer

2016-12-06 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71182 --- Comment #6 from Markus Trippelsdorf --- So, perhaps: diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 08f5f9e52ef2..f430af97fdf1 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -765,7 +765,7 @@ cp_lexer_previous_token (cp_lexer *lex

[Bug c++/71182] [6/7 Regression] parser.c cp_lexer_previous_token sanitizer detects member call on null pointer

2016-12-06 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71182 Markus Trippelsdorf changed: What|Removed |Added Status|WAITING |NEW --- Comment #5 from Markus Tri

[Bug c++/71182] [6/7 Regression] parser.c cp_lexer_previous_token sanitizer detects member call on null pointer

2016-12-06 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71182 --- Comment #4 from Markus Trippelsdorf --- (In reply to Richard Biener from comment #3) > Can't reproduce on trunk or GCC 6 branch. What options are required? You need to use an -fsanitize=undefined instrumented compiler. No options required.

[Bug tree-optimization/78696] [7 Regression] -fprintf-return-value misoptimizes %.Ng where N is greater than 10

2016-12-06 Thread trippels at gcc dot gnu.org
||trippels at gcc dot gnu.org --- Comment #1 from Markus Trippelsdorf --- I'm afraid that there might be many more issues of the same kind. I think -fprintf-return-value shouldn't be enabled by default.

[Bug preprocessor/78680] [7 Regression] ICE in get_substring_ranges_for_loc, at input.c:1398

2016-12-06 Thread trippels at gcc dot gnu.org
||2016-12-06 CC||trippels at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Markus Trippelsdorf --- x4 tcptrace-6.6.7 # cat snoop.c void fn1() { __builtin_printf("\ %ld.\n\

[Bug middle-end/78691] [7 Regression] ICE compiling Linux boot code

2016-12-05 Thread trippels at gcc dot gnu.org
||2016-12-06 CC||trippels at gcc dot gnu.org Component|c |middle-end Summary|ICE compiling Linux PPC |[7 Regression] ICE |boot code |compiling Linux

[Bug tree-optimization/78574] [7 Regression] ice on valid C code at -O2 and -O3 in both 32- and 64-bit modes on x86_64-linux-gnu (internal compiler error: Segmentation fault (program cc1))

2016-12-04 Thread trippels at gcc dot gnu.org
||trippels at gcc dot gnu.org Resolution|--- |FIXED --- Comment #7 from Markus Trippelsdorf --- fixed

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-12-03 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #37 from Markus Trippelsdorf --- (In reply to Mark Wielaard from comment #36) > Does any of them handle the one from PR67738: > _ZNK6Common15ConvertingRangeIN5boost12range_detail17transformed_rangeIZN1a1b1 > cEbEUljE_KSt6vectorIjSaIjE

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-12-03 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #33 from Markus Trippelsdorf --- (In reply to Mark Wielaard from comment #32) > - PR70517 > _ZSt4moveIRZN11tconcurrent6futureIvE4thenIZ5awaitIS2_EDaOT_EUlRKS6_E_EENS1_IN > St5decayIDTclfp_defpTEEE4typeEEES7_EUlvE_EONSt16remove_referen

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-12-02 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #30 from Markus Trippelsdorf --- (In reply to Nathan Sidwell from comment #29) > On 12/02/2016 12:58 PM, trippels at gcc dot gnu.org wrote: > > > Please also note that Nathan's lambda demangling patch needs adjustm

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-12-02 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #28 from Markus Trippelsdorf --- (In reply to Mark Wielaard from comment #26) > Created attachment 40233 [details] > d_print_comp with 1 level of recursion protection > > This is the variant that allows 1 level of recursion (with an

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-12-02 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #24 from Markus Trippelsdorf --- (In reply to Mark Wielaard from comment #22) > Created attachment 40230 [details] > d_printing mark/walk/unmark protection > > (In reply to Nathan Sidwell from comment #21) > > Why doesn't a mark/walk

[Bug ipa/78599] [7 Regression] hwint.h:292:72: runtime error: shift exponent 64 is too large for 64-bit type 'long int'

2016-12-02 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78599 --- Comment #8 from Markus Trippelsdorf --- (In reply to Martin Jambor from comment #7) > I cannot reproduce this using the testcase from comment #1 even whe I add > -fsanitize=undefined to the command line. Is this on x86_64? You need to use a

[Bug other/78653] badly optimized kernel code with -fsanitize=object-size -fsanitize=null

2016-12-02 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78653 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org

[Bug target/78650] ira-costs.c:1716:53: runtime error: member access within null pointer of type 'struct cost_classes'

2016-12-02 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78650 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/78650] New: ira-costs.c:1716:53: runtime error: member access within null pointer of type 'struct cost_classes'

2016-12-02 Thread trippels at gcc dot gnu.org
NCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- Target: powerpc64le-unknown-linux-gnu On ppc64le I get: % cat test.

[Bug tree-optimization/78608] gimple-ssa-sprintf.c:570:17: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'

2016-12-02 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78608 --- Comment #4 from Markus Trippelsdorf --- The patch fixes all issue that I came across. Please apply your patch. Thanks.

[Bug tree-optimization/78598] tree-ssa-loop-prefetch.c:835:16: runtime error: signed integer overflow

2016-12-01 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78598 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/78598] tree-ssa-loop-prefetch.c:835:16: runtime error: signed integer overflow

2016-12-01 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78598 --- Comment #1 from Markus Trippelsdorf --- Author: trippels Date: Thu Dec 1 14:59:03 2016 New Revision: 243113 URL: https://gcc.gnu.org/viewcvs?rev=243113&root=gcc&view=rev Log: Fix PR tree-optimization/78598 - tree-ssa-loop-prefetch.c:835:16:

[Bug rtl-optimization/78596] combine.c:12561:14: runtime error: left shift of negative value -9

2016-12-01 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78596 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/78596] combine.c:12561:14: runtime error: left shift of negative value -9

2016-12-01 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78596 --- Comment #1 from Markus Trippelsdorf --- Author: trippels Date: Thu Dec 1 14:04:13 2016 New Revision: 243111 URL: https://gcc.gnu.org/viewcvs?rev=243111&root=gcc&view=rev Log: Fix rtl-optimization/78596 - combine.c:12561:14: runtime error: l

[Bug ipa/71190] [7 Regression] ICE in assemble_variable_contents, at varasm.c:2054

2016-12-01 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71190 --- Comment #8 from Markus Trippelsdorf --- (In reply to Jakub Jelinek from comment #7) > Can this still be reproduced with latest trunk? Yes.

[Bug tree-optimization/78608] gimple-ssa-sprintf.c:570:17: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'

2016-12-01 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78608 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/78213] [7 Regression] -fself-test fails on aarch64

2016-12-01 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78213 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #17 from Markus Trippelsdorf --- Nathan's patch fixes this issue: https://patchwork.ozlabs.org/patch/701137/ It is currently being reviewed.

[Bug libstdc++/78627] [7 Regression] r243036 causes Firefox build failure

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78627 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/78627] [7 Regression] r243036 causes Firefox build failure

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78627 --- Comment #1 from Markus Trippelsdorf --- Created attachment 40211 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40211&action=edit unreduced testcase

[Bug libstdc++/78627] New: [7 Regression] r243036 causes Firefox build failure

2016-11-30 Thread trippels at gcc dot gnu.org
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: ville at gcc dot gnu.org Target Milestone: --- Since r243036: trippels@gcc2-power8 thebes % g++ -w -c Unified_cpp_gfx_thebes0.ii In file included from ../../dist

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #10 from Markus Trippelsdorf --- (In reply to Jakub Jelinek from comment #9) > Created attachment 40206 [details] > gcc7-pr78614-3.patch > > The better patch actually doesn't seem to be much better, because > simplify_replace_fn when

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #8 from Markus Trippelsdorf --- (In reply to Jakub Jelinek from comment #7) > Created attachment 40205 [details] > gcc7-pr78614-2.patch > > Perhaps better patch (if it works). The previous patch would copy even > rtxes that simplify

[Bug rtl-optimization/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug lto/78613] New: [6/7 Regression] Assembler messages: Error: can't resolve `.rodata' {.rodata section} - `.Ltext0' {.text section}

2016-11-30 Thread trippels at gcc dot gnu.org
Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- markus@x4 /tmp % cat 1.i void foo() {} markus@x4 /tm

[Bug ipa/78555] gcc/sreal.c:232:20: runtime error: left shift of negative value -2018967552

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78555 --- Comment #7 from Markus Trippelsdorf --- Another testcase for sreal.c markus@x4 ~ % cat test.ii struct A { A(); A(const A &); }; struct B { B(int); }; template struct C { B super_t; C(Predicate p1, int) : super_t(0), m_predicate(p1

[Bug ipa/78555] gcc/sreal.c:232:20: runtime error: left shift of negative value -2018967552

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78555 --- Comment #6 from Markus Trippelsdorf --- Author: trippels Date: Wed Nov 30 12:22:55 2016 New Revision: 243012 URL: https://gcc.gnu.org/viewcvs?rev=243012&root=gcc&view=rev Log: Fix part of PR78555 - gcc/real.c:2890:25: runtime error: left shi

[Bug debug/78587] dwarf2out.c:1517:45: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int [4]'; cast to an unsigned type to negate this value to itself

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78587 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ipa/78555] gcc/sreal.c:232:20: runtime error: left shift of negative value -2018967552

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78555 --- Comment #5 from Markus Trippelsdorf --- markus@x4 ~ % cat real.ii class A { int N; static const int D = 1 << 31; int &m_fn1() const; }; int &A::m_fn1() const { int a((double)N / D); } markus@x4 ~ % UBSAN_OPTIONS=print_stacktrace=1 /var

[Bug ipa/78555] gcc/sreal.c:232:20: runtime error: left shift of negative value -2018967552

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78555 --- Comment #4 from Markus Trippelsdorf --- For example: markus@x4 ~ % cat bench.ii struct A { enum { __value }; }; template _OI __copy_move_a2(_II, _OI); template void copy(_II, _II, _OI p3) { __copy_move_a2(0, p3); } struct B { templat

[Bug ipa/78555] gcc/sreal.c:232:20: runtime error: left shift of negative value -2018967552

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78555 --- Comment #2 from Markus Trippelsdorf --- I also hit: gcc/real.c:2890:25: runtime error: left shift of negative value -125

[Bug c++/71182] [6/7 Regression] parser.c cp_lexer_previous_token sanitizer detects member call on null pointer

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71182 --- Comment #2 from Markus Trippelsdorf --- 760 static inline cp_token * 761 cp_lexer_previous_token (cp_lexer *lexer) 762 {

[Bug c++/71182] [6/7 Regression] parser.c cp_lexer_previous_token sanitizer detects member call on null pointer

2016-11-30 Thread trippels at gcc dot gnu.org
||2016-11-30 CC||dmalcolm at gcc dot gnu.org, ||trippels at gcc dot gnu.org Target Milestone|--- |6.4 Summary|parser.c|[6/7

[Bug tree-optimization/78608] New: gimple-ssa-sprintf.c:570:17: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'

2016-11-30 Thread trippels at gcc dot gnu.org
Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: msebor at gcc dot gnu.org Target

[Bug rtl-optimization/78588] rtlanal.c:5210:38: runtime error: shift exponent 4294967295 is too large for 64-bit type 'long unsigned int'

2016-11-29 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78588 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/78588] rtlanal.c:5210:38: runtime error: shift exponent 4294967295 is too large for 64-bit type 'long unsigned int'

2016-11-29 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78588 --- Comment #1 from Markus Trippelsdorf --- Author: trippels Date: Wed Nov 30 07:30:55 2016 New Revision: 242997 URL: https://gcc.gnu.org/viewcvs?rev=242997&root=gcc&view=rev Log: Fix PR78588 - rtlanal.c:5210:38: runtime error: shift exponent 42

[Bug ipa/78599] [7 Regression] hwint.h:292:72: runtime error: shift exponent 64 is too large for 64-bit type 'long int'

2016-11-29 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78599 --- Comment #1 from Markus Trippelsdorf --- markus@x4 ~ % cat bench.ii struct A { enum { __value }; }; template _OI __copy_move_a2(_II, _OI); template void copy(_II, _II, _OI p3) { __copy_move_a2(0, p3); } struct B { template using __ite

[Bug ipa/78599] New: [7 Regression] hwint.h:292:72: runtime error: shift exponent 64 is too large for 64-bit type 'long int'

2016-11-29 Thread trippels at gcc dot gnu.org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: mjambor at suse dot cz, prathamesh3492 at gcc dot gnu.org Target Milestone: --- Sin

[Bug tree-optimization/78598] New: tree-ssa-loop-prefetch.c:835:16: runtime error: signed integer overflow

2016-11-29 Thread trippels at gcc dot gnu.org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- markus@x4 mplayer % cat subassconvert.i struct bstr { long len; } fn1(); struct microdvd_tag { int key; int

[Bug rtl-optimization/78596] New: combine.c:12561:14: runtime error: left shift of negative value -9

2016-11-29 Thread trippels at gcc dot gnu.org
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- markus@x4 mplayer % cat demux_mkv.i extern void fn2(); void fn1() { int a = fn1, b = 8; if (a > 1844674407370955161

[Bug debug/78587] dwarf2out.c:1517:45: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int [4]'; cast to an unsigned type to negate this value to itself

2016-11-29 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78587 --- Comment #1 from Markus Trippelsdorf --- markus@x4 libgcc % cat bid64_add.i extern void fn2(); void fn1(long p1) { p1 ^= 9223372036854775808u; fn2(); } markus@x4 libgcc % /var/tmp/gcc_build_dir_/./gcc/xgcc -B/var/tmp/gcc_build_dir_/./gcc/

[Bug rtl-optimization/78588] New: rtlanal.c:5210:38: runtime error: shift exponent 4294967295 is too large for 64-bit type 'long unsigned int'

2016-11-29 Thread trippels at gcc dot gnu.org
rsion: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- -fsanitize=undefined shows: rtlanal.c:5210:38: run

[Bug middle-end/78294] [5/6/7 Regression] -fsanitize=thread broken by ignoring __attribute__((tls_model("initial-exec")))

2016-11-29 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78294 --- Comment #28 from Markus Trippelsdorf --- No that the fix is upstream, should r242480 be removed from libsanitizer/LOCAL_PATCHES?

[Bug debug/78587] New: dwarf2out.c:1517:45: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int [4]'; cast to an unsigned type to negate this value to itself

2016-11-29 Thread trippels at gcc dot gnu.org
to negate this value to itself Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.or

[Bug target/78556] config/rs6000/rs6000.c:6217:36: runtime error: left shift of negative value -12301

2016-11-28 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78556 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/78556] config/rs6000/rs6000.c:6217:36: runtime error: left shift of negative value -12301

2016-11-28 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78556 --- Comment #2 from Markus Trippelsdorf --- Author: trippels Date: Mon Nov 28 18:33:19 2016 New Revision: 242928 URL: https://gcc.gnu.org/viewcvs?rev=242928&root=gcc&view=rev Log: Fix PR78556 - left shift of negative values Running bootstrap-ub

[Bug target/78556] config/rs6000/rs6000.c:6217:36: runtime error: left shift of negative value -12301

2016-11-28 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78556 --- Comment #1 from Markus Trippelsdorf --- Sorry, should be: diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 6c28e6a..89751c5 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -6214,7 +6214,7

[Bug target/78556] New: config/rs6000/rs6000.c:6217:36: runtime error: left shift of negative value -12301

2016-11-28 Thread trippels at gcc dot gnu.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- Host: powerpc64le-unknown-linux-gnu Target: powerpc64le-unknown-linux-gnu Build

[Bug ipa/78555] New: gcc/sreal.c:232:20: runtime error: left shift of negative value -2018967552

2016-11-28 Thread trippels at gcc dot gnu.org
: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- bootstrap-ubsan on ppc64le hits the following error very often: gcc/sreal.c:232:20: runtime error: left shift of negative

[Bug c++/78550] New: [6/7 Regression] bit field and std::initializer_list

2016-11-27 Thread trippels at gcc dot gnu.org
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- Gavrilov Vladimir reported the following issue in a direct email to gcc-bugs: markus@x4 tmp % cat map_bitfield.cpp #include struct A { int i : 1; }; std::map ma{{1

[Bug middle-end/78507] [7 Regression] ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have pointer_type in int_fits_type_p, at tree.c:9153

2016-11-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78507 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug go/78525] New: use -O2 for "go build" by default

2016-11-25 Thread trippels at gcc dot gnu.org
ponent: go Assignee: ian at airs dot com Reporter: trippels at gcc dot gnu.org CC: cmang at google dot com Target Milestone: --- Currently "go build" builds binaries without any optimization. This is in contrast to the official "go build" command, that o

[Bug ipa/78494] Issues pointed out by valgrind --tool=exp-dhat

2016-11-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78494 --- Comment #5 from Markus Trippelsdorf --- Another issue. cse only uses 1% of its allocations: ==15253== 17 of 100 ==15253== max-live:536,400 in 1 blocks

[Bug c++/78522] -O2 optimization confused by enum and pointer usage in constructors.

2016-11-24 Thread trippels at gcc dot gnu.org
||trippels at gcc dot gnu.org Resolution|--- |WONTFIX --- Comment #1 from Markus Trippelsdorf --- See https://gcc.gnu.org/ for supported releases. 4.8.4 isn't among them anymore.

[Bug c/78512] [7 Regression] r242674 miscompiles Linux kernel

2016-11-24 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78512 --- Comment #1 from Markus Trippelsdorf --- I run md5sum on the object files with and without -fno-printf-return-value. Looking at a few files that differ they show a common pattern: good vs bad diff: @@ -312,7 +312,7 @@ movq$.LC1, %

[Bug c/78512] New: [7 Regression] r242674 miscompiles Linux kernel

2016-11-24 Thread trippels at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: msebor at gcc dot gnu.org Target Milestone: --- Since r242674 the Linux kernel hits a BUG() during boot: Kernel bug at net/core/skbuff.c:105 invalid opcode ... Adding -fno

[Bug middle-end/78507] [7 Regression] ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have pointer_type in int_fits_type_p, at tree.c:9153

2016-11-24 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78507 Markus Trippelsdorf changed: What|Removed |Added Keywords||ice-on-valid-code Stat

[Bug middle-end/78507] New: [7 Regression] ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have pointer_type in int_fits_type_p, at tree.c:915

2016-11-24 Thread trippels at gcc dot gnu.org
int_fits_type_p, at tree.c:9153 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org

[Bug ipa/78494] Issues pointed out by valgrind --tool=exp-dhat

2016-11-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78494 --- Comment #4 from Markus Trippelsdorf --- Created attachment 40133 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40133&action=edit full output for top 100 allocation points

[Bug ipa/78494] Issues pointed out by valgrind --tool=exp-dhat

2016-11-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78494 --- Comment #2 from Markus Trippelsdorf --- http://valgrind.org/docs/manual/dh-manual.html

[Bug ipa/78494] Issues pointed out by valgrind --tool=exp-dhat

2016-11-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78494 --- Comment #1 from Markus Trippelsdorf --- Beware that it take over an hour to run valgrind in this case.

[Bug ipa/78494] New: Issues pointed out by valgrind --tool=exp-dhat

2016-11-23 Thread trippels at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- Running, e.g.: % valgrind --tool=exp-dhat /var/tmp/gcc_test/usr/local/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.0.0/cc1plus -quiet -v -iprefix /var/tmp/gcc_test/usr/local/bin

[Bug go/77910] [7 Regression] go: open zversion.go: no such file or directory

2016-11-22 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77910 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/78470] static class member cannot be reference by algorithm functions with -O0 option

2016-11-22 Thread trippels at gcc dot gnu.org
||trippels at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Markus Trippelsdorf --- Yes, this is expected. You can either use -std=c++1z. Otherwise, if a constexpr static data member is odr-used, a definition at namespace scope

[Bug middle-end/78294] [5/6/7 Regression] -fsanitize=thread broken by ignoring __attribute__((tls_model("initial-exec")))

2016-11-22 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78294 --- Comment #24 from Markus Trippelsdorf --- (In reply to Dmitry Vyukov from comment #23) > Markus, > > Changes to sanitizer runtimes are not committed into gcc tree. The upstream > is in llvm tree. Changes must go there first, then they are bac

[Bug c/78461] [7 Regression] ICE: in operator+=, at gimple-ssa-sprintf.c:214

2016-11-21 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78461 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/78461] New: [7 Regression] ICE: in operator+=, at gimple-ssa-sprintf.c:214

2016-11-21 Thread trippels at gcc dot gnu.org
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- markus@x4 /tmp % cat dlm.i extern int snprintf(char *s, unsigned long n, const char *format, ...); void foo(char *ch) { snprintf(0, 0, "

[Bug middle-end/78454] valgrind conditional jump or move depends on uninitialised value(s) in sparseset_bit_p

2016-11-21 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78454 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-11-21 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #15 from Markus Trippelsdorf --- Thanks for the testcase. Marcel's patch fixes the segfault, but doesn't demangle the symbol. markus@x4 libiberty % ./a.out _ZSt7forwardIR17predicate_matcherIZ11any_matcherIiEDavEUlOT_E_13typed_matcher

[Bug middle-end/78433] [7 Regression] glibc posix/execvpe.c gets miscompiled with -O3

2016-11-21 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78433 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED URL|

[Bug middle-end/78433] [7 Regression] glibc posix/execvpe.c gets miscompiled with -O3

2016-11-21 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78433 --- Comment #7 from Markus Trippelsdorf --- To reproduce build glibc with -O3 and then run "make check". Or directly: ~ % ~/glibc_build/elf/ld.so --library-path /home/trippels/glibc_build/ ~/glibc_build/posix/tst-vfork3

[Bug middle-end/78433] [7 Regression] glibc posix/execvpe.c gets miscompiled with -O3

2016-11-21 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78433 --- Comment #6 from Markus Trippelsdorf --- (In reply to Dominik Vogt from comment #5) > Is that with any specific version of Glibc? I was using trunk.

[Bug libstdc++/78360] [C++1z] missing throw()s in explicit instantiation declarations for has_facet()

2016-11-20 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78360 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/78440] [7 Regression] [c++17] Incompatible exception-specification not diagnosed in explicit instantiation

2016-11-20 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78440 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/78440] [7 Regression] [c++17] Incompatible exception-specification not diagnosed in explicit instantiation

2016-11-20 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78440 --- Comment #1 from Markus Trippelsdorf --- except.spec/5: »If any declaration of a function has an exception-specification that is not a noexcept-specification allowing all exceptions, all declarations, including the definition and any explicit

[Bug c++/78440] New: [7 Regression] [c++17] Incompatible exception-specification not diagnosed in explicit instantiation

2016-11-20 Thread trippels at gcc dot gnu.org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: jason at gcc dot gnu.org Target Milestone: --- markus@x4 tmp % cat compat.ii

[Bug middle-end/78433] [7 Regression] glibc posix/execvpe.c gets miscompiled with -O3

2016-11-20 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78433 --- Comment #4 from Markus Trippelsdorf --- On X86_64: --- good2016-11-20 19:12:27.353412333 +0100 +++ bad 2016-11-20 19:13:37.738531151 +0100 @@ -892,7 +892,7 @@ leaq1(%rax), %rdx cmpq$0, -8(%r12,%rdx,8)

[Bug middle-end/78433] [7 Regression] glibc posix/execvpe.c gets miscompiled with -O3

2016-11-20 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78433 Markus Trippelsdorf changed: What|Removed |Added Target|powerpc | Component|target

[Bug tree-optimization/78433] [7 Regression] glibc posix/execvpe.c gets miscompiled with -O3

2016-11-20 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78433 --- Comment #2 from Markus Trippelsdorf --- On pcc64le this is the assembly diff: --- good2016-11-20 12:43:40.318860969 + +++ bad 2016-11-20 12:42:57.277928999 + @@ -178,7 +178,7 @@ sldi 9,9,3 ld 10,0(1) m

[Bug tree-optimization/78433] [7 Regression] glibc posix/execvpe.c gets miscompiled with -O3

2016-11-20 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78433 Markus Trippelsdorf changed: What|Removed |Added Keywords||wrong-code Status|UNCO

[Bug tree-optimization/78433] New: [7 Regression] glibc posix/execvpe.c gets miscompiled with -O3

2016-11-20 Thread trippels at gcc dot gnu.org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- Created attachment 40088 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40088&action=edit unreduced testcase

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-11-19 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #12 from Markus Trippelsdorf --- (In reply to Mark Wielaard from comment #11) > (In reply to Markus Trippelsdorf from comment #10) > > The symbol was demangled with libcxxabi's demangler. > > The other two demanglers reject it. > > T

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-11-19 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #10 from Markus Trippelsdorf --- (In reply to Mark Wielaard from comment #9) > (In reply to Markus Trippelsdorf from comment #8) > > This is what it should look like: [...] > > How did you demangle that input string? > With the propo

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-11-19 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/55394] Using call_once without -lpthread compiles without warning

2016-11-19 Thread trippels at gcc dot gnu.org
||2016-11-19 CC||trippels at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #4 from Markus Trippelsdorf --- clang's libc++.so.1 avoids the issue because it is linked with libpthread.so.0: % ldd /us

[Bug tree-optimization/78413] [7 Regression] ICE in single_pred_edge, at basic-block.h:361

2016-11-17 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78413 --- Comment #1 from Markus Trippelsdorf --- Another testcase markus@x4 /tmp % cat test2.i struct S { _Bool bo; }; int a, b, c, d; void fn1() { do do do { struct S *e = (struct S *)1; do b = a / (e->bo ? 2

[Bug tree-optimization/78413] New: [7 Regression] ICE in single_pred_edge, at basic-block.h:361

2016-11-17 Thread trippels at gcc dot gnu.org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: wschmidt at gcc dot gnu.org Target Milestone: --- markus@x4 /tmp % cat test.i extern long long int llrint(double x); int a; double

[Bug middle-end/72747] powerpc: wrong code generated for vec_splats in cascading assignment

2016-11-17 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72747 Markus Trippelsdorf changed: What|Removed |Added CC||npmccallum at redhat dot com --- C

[Bug c/78408] C loop initial declarations generate wrong code

2016-11-17 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/78408] C loop initial declarations generate wrong code

2016-11-17 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 Markus Trippelsdorf changed: What|Removed |Added Summary|Aggressive optimization of |C loop initial declarations

<    3   4   5   6   7   8   9   10   11   12   >