[Bug tree-optimization/71478] [7 Regression] ICE in tree-ssa-reassoc.c after r236564

2016-06-09 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71478 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org --- C

[Bug tree-optimization/71485] New: g++ ICE on x86_64-linux-gnu in “gimplify_expr”

2016-06-09 Thread helloqirun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71485 Bug ID: 71485 Summary: g++ ICE on x86_64-linux-gnu in “gimplify_expr” Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree

[Bug target/71186] PowerPC64: Autovectorised code hits ICE with -O3 -mpower9 -mlra

2016-06-09 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71186 --- Comment #4 from Michael Meissner --- Author: meissner Date: Thu Jun 9 23:28:23 2016 New Revision: 237281 URL: https://gcc.gnu.org/viewcvs?rev=237281&root=gcc&view=rev Log: [gcc] 2016-06-09 Michael Meissner Back port from trunk

[Bug target/70915] Improve loading 0/-1 in VSX registers on PowerPC

2016-06-09 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70915 --- Comment #3 from Michael Meissner --- Author: meissner Date: Thu Jun 9 23:28:23 2016 New Revision: 237281 URL: https://gcc.gnu.org/viewcvs?rev=237281&root=gcc&view=rev Log: [gcc] 2016-06-09 Michael Meissner Back port from trunk

[Bug tree-optimization/71416] [7 Regression] ICE at -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu (vectorizable_live_operation)

2016-06-09 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71416 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug tree-optimization/71407] [7 Regression] ICE at -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu (verify_gimple: integral result type precision does not match field size of BIT_FIELD_REF)

2016-06-09 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71407 --- Comment #7 from Jeffrey A. Law --- *** Bug 71416 has been marked as a duplicate of this bug. ***

[Bug target/71460] Copying structs can trap (on x86-32) due to SNaN to QNaN

2016-06-09 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71460 --- Comment #16 from joseph at codesourcery dot com --- I've now raised the void context issue on the WG14 reflector .

[Bug bootstrap/71435] [7 regression] sparc bootstrap failure since r235625

2016-06-09 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71435 --- Comment #4 from Eric Botcazou --- > I can (partially) reproduce on Solaris: The problem looks volatile, unrelated switches change code generation.

[Bug bootstrap/71481] [7 regression] ICE during selftest: input.c: test_reading_source_line

2016-06-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71481 --- Comment #3 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2016-06/msg00755.html

[Bug rtl-optimization/70751] [7 Regression] FAIL: gcc.target/arm/eliminate.c scan-assembler-times r0,[\\t ]*sp 3 since r235184

2016-06-09 Thread jiwang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70751 Jiong Wang changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/70751] [7 Regression] FAIL: gcc.target/arm/eliminate.c scan-assembler-times r0,[\\t ]*sp 3 since r235184

2016-06-09 Thread jiwang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70751 --- Comment #5 from Jiong Wang --- Author: jiwang Date: Thu Jun 9 21:28:31 2016 New Revision: 237277 URL: https://gcc.gnu.org/viewcvs?rev=237277&root=gcc&view=rev Log: [Patch] PR70751, correct the cost for spilling non-pseudo into memory

[Bug target/71460] Copying structs can trap (on x86-32) due to SNaN to QNaN

2016-06-09 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71460 --- Comment #15 from joseph at codesourcery dot com --- On Thu, 9 Jun 2016, ch3root at openwall dot com wrote: > > For *scalar* assignment that would be fine because of TS 18661-1 saying > > "Whether C assignment (6.5.16) (and conversion as if

[Bug middle-end/71310] Bitfields cause load hit store with smaller store and larger load

2016-06-09 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71310 --- Comment #7 from Segher Boessenkool --- Well, the code for picking the representative already has computed the maximum size allowable under the C++11 model there (in maxbitsize). But this loop always picks the smallest it can. That probably i

[Bug c/68657] [6 Regression] "gcc -Werror=sign-conversion test.i" shows invalid: -Wsign-conversion is not an option that controls warnings

2016-06-09 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68657 Manuel López-Ibáñez changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug c++/55813] Poorly named/documented option Wctor-dtor-privacy

2016-06-09 Thread kyle.strand at beckman dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55813 --- Comment #6 from Kyle J Strand --- (In reply to Manuel López-Ibáñez from comment #5) > Please open a new PR and copy the testcase on it. Submitted as Bug 71484 .

[Bug c++/71484] Class with implicit public constructor triggers `-Wctor-dtor-privacy`

2016-06-09 Thread kyle.strand at beckman dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71484 Kyle J Strand changed: What|Removed |Added Severity|normal |minor

[Bug c++/71484] New: Class with implicit public constructor triggers `-Wctor-dtor-privacy`

2016-06-09 Thread kyle.strand at beckman dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71484 Bug ID: 71484 Summary: Class with implicit public constructor triggers `-Wctor-dtor-privacy` Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/71460] Copying structs can trap (on x86-32) due to SNaN to QNaN

2016-06-09 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71460 --- Comment #14 from Alexander Cherepanov --- On 2016-06-08 20:49, joseph at codesourcery dot com wrote: >> - sNaNs are turned into qNaNs on x86-32 if traps are turned off. Probably ok if >> sNaNs and qNaNs are considered different representat

[Bug tree-optimization/71483] New: g++ ICE at -O3 on valid code on x86_64-linux-gnu with “Floating point exception”

2016-06-09 Thread helloqirun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71483 Bug ID: 71483 Summary: g++ ICE at -O3 on valid code on x86_64-linux-gnu with “Floating point exception” Product: gcc Version: 7.0 Status: UNCONFIRMED Severity:

[Bug c/68657] [6 Regression] "gcc -Werror=sign-conversion test.i" shows invalid: -Wsign-conversion is not an option that controls warnings

2016-06-09 Thread npl at chello dot at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68657 npl at chello dot at changed: What|Removed |Added CC||npl at chello dot at --- Comment #

[Bug c++/55813] Poorly named/documented option Wctor-dtor-privacy

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

[Bug c/52952] Wformat location info is bad (wrong column number)

2016-06-09 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52952 --- Comment #42 from Manuel López-Ibáñez --- (In reply to Manuel López-Ibáñez from comment #39) > 2. Handle non-contiguous strings: > > __builtin_printf(" %" "d ", 0.5); Right now, we detect that the offset is outside the first string and giv

[Bug tree-optimization/71466] [7 Regression] wrong code at -O3 on x86_64-linux-gnu

2016-06-09 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71466 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #7

[Bug c/71360] Wrong position for "warning: '0' flag ignored with precision and ‘%d’ gnu_printf format [-Wformat=]"

2016-06-09 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71360 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/52952] Wformat location info is bad (wrong column number)

2016-06-09 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52952 Manuel López-Ibáñez changed: What|Removed |Added CC||ch3root at openwall dot com --- Co

[Bug c++/71456] missing -Wunused-variable on a static global initialized with another

2016-06-09 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71456 --- Comment #4 from Eric Gallager --- (In reply to Martin Sebor from comment #3) > (In reply to Eric Gallager from comment #2) > > Speaking of -Wglobal-constructors, FSF GCC doesn't support this option. Is > > there a bug open for adding it? I co

[Bug c++/71482] New: Add -Wglobal-constructors warning option

2016-06-09 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71482 Bug ID: 71482 Summary: Add -Wglobal-constructors warning option Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: diagnostic Severity: enhancement Priorit

[Bug target/71460] Copying structs can trap (on x86-32) due to SNaN to QNaN

2016-06-09 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71460 --- Comment #13 from Uroš Bizjak --- (In reply to Richard Biener from comment #7) > Oh - I hope TYPE_MODE does not affect the ABI here ;) You might want to > double-check that (struct-layout tests plus call ABI) The patch introduces one testsui

[Bug tree-optimization/71433] [7 Regression] -Warray-bounds false positive with -O2

2016-06-09 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71433 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/71481] [7 regression] ICE during selftest: input.c: test_reading_source_line

2016-06-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71481 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Assignee|unassigned at gcc

[Bug bootstrap/71481] [7 regression] ICE during selftest: input.c: test_reading_source_line

2016-06-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71481 --- Comment #1 from David Malcolm --- Sorry about the breakage. As a workaround, the failing test can be disabled by commenting-out the call to input_c_tests: diff --git a/gcc/selftest-run-tests.c b/gcc/selftest-run-tests.c index 934e700..c2fd7

[Bug bootstrap/71481] [7 regression] ICE during selftest (selftest.c:44)

2016-06-09 Thread vp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71481 Vidya Praveen changed: What|Removed |Added Last reconfirmed||2016-6-9 CC|

[Bug bootstrap/71481] New: [7 regression] ICE during selftest (selftest.c:44)

2016-06-09 Thread vp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71481 Bug ID: 71481 Summary: [7 regression] ICE during selftest (selftest.c:44) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug sanitizer/71480] ASan should align string constants to shadow granularity.

2016-06-09 Thread m.ostapenko at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71480 --- Comment #1 from Maxim Ostapenko --- The problem appears for arm target only, x86 is fine. $ armv7l-tizen-linux-gnueabi-gcc -v Using built-in specs. COLLECT_GCC=armv7l-tizen-linux-gnueabi-gcc COLLECT_LTO_WRAPPER=/home/max/install/armv7l-tizen

[Bug sanitizer/71480] New: ASan should align string constants to shadow granularity.

2016-06-09 Thread m.ostapenko at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71480 Bug ID: 71480 Summary: ASan should align string constants to shadow granularity. Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priori

[Bug tree-optimization/71466] [7 Regression] wrong code at -O3 on x86_64-linux-gnu

2016-06-09 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71466 --- Comment #6 from Jeffrey A. Law --- FWIW, I've got two other BZs that exhibit at the surface seem to be the same problem -- namely the new threading code causing the unroller to generate incorrect code. The after threading code looks right in

[Bug c/71479] error on __builtin_add_overflow with bool or enum pointer as last argument

2016-06-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71479 --- Comment #3 from Martin Sebor --- (In reply to Marek Polacek from comment #1) > Dup of PR66938? You're right, bug 66938 points out the same problem. I leave it to you to decide which one to close as a dupe (this one is broader in mentioning

[Bug c/71479] error on __builtin_add_overflow with bool or enum pointer as last argument

2016-06-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71479 Martin Sebor changed: What|Removed |Added Keywords||rejects-valid Known to fail|

[Bug c/71479] error on __builtin_add_overflow with bool or enum pointer as last argument

2016-06-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71479 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c/71479] New: error on __builtin_add_overflow with bool or enum pointer as last argument

2016-06-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71479 Bug ID: 71479 Summary: error on __builtin_add_overflow with bool or enum pointer as last argument Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug c++/71469] Print possible override candidates when a method is marked override but doesn't override

2016-06-09 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71469 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic, easyhack S

[Bug c++/71472] Wlogical-op misses exhaustive-or case (... || A) || B

2016-06-09 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71472 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic Status|UNCO

[Bug bootstrap/71471] [7 Regression] Selftest failure in pretty-print.c

2016-06-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71471 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug bootstrap/71471] [7 Regression] Selftest failure in pretty-print.c

2016-06-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71471 --- Comment #7 from David Malcolm --- Author: dmalcolm Date: Thu Jun 9 17:27:12 2016 New Revision: 237271 URL: https://gcc.gnu.org/viewcvs?rev=237271&root=gcc&view=rev Log: PR bootstrap/71471: remove selftest for pp_format (%p) gcc/ChangeLog:

[Bug c/65446] Improve -Wformat-signedness

2016-06-09 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65446 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/71460] Copying structs can trap (on x86-32) due to SNaN to QNaN

2016-06-09 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71460 --- Comment #12 from Alexander Cherepanov --- On 2016-06-09 11:22, rguenth at gcc dot gnu.org wrote: > Would be nice to have a testcase for the SRA case as well. Source code: -

[Bug target/71460] Copying structs can trap (on x86-32) due to SNaN to QNaN

2016-06-09 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71460 --- Comment #11 from joseph at codesourcery dot com --- On Thu, 9 Jun 2016, ch3root at openwall dot com wrote: > - mere load (e.g. from a volatile var) of a float or double sNaN traps > on x86-32 when traps are enabled; It raises an exception.

[Bug target/71460] Copying structs can trap (on x86-32) due to SNaN to QNaN

2016-06-09 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71460 --- Comment #10 from Alexander Cherepanov --- On 2016-06-08 20:47, pinskia at gcc dot gnu.org wrote: > --- Comment #1 from Andrew Pinski --- > I think this is really a dup of bug 57484. The problem is x87 related and > there is not much to be d

[Bug tree-optimization/71478] [7 Regression] ICE in tree-ssa-reassoc.c after r236564

2016-06-09 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71478 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug c/70883] inconsistent error message for calls to __builtin_add_overflow with too few arguments

2016-06-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70883 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/70883] inconsistent error message for calls to __builtin_add_overflow with too few arguments

2016-06-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70883 --- Comment #4 from Martin Sebor --- Author: msebor Date: Thu Jun 9 16:32:25 2016 New Revision: 237268 URL: https://gcc.gnu.org/viewcvs?rev=237268&root=gcc&view=rev Log: PR c/70883 - inconsistent error message for calls to __builtin_add_overflo

[Bug tree-optimization/71478] New: ICE in tree-ssa-reassoc.c after r236564

2016-06-09 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71478 Bug ID: 71478 Summary: ICE in tree-ssa-reassoc.c after r236564 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimi

[Bug debug/71432] [7 Regression] -fcompare-debug failure (length)

2016-06-09 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71432 Bernd Schmidt changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/52171] memcmp/strcmp/strncmp can be optimized when the result is tested for [in]equality with 0

2016-06-09 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52171 Bug 52171 depends on bug 71413, which changed state. Bug 71413 Summary: [7 Regression] bootstrap (gnat) broken on arm-linux-gnueabi* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71413 What|Removed |Added ---

[Bug ada/71413] [7 Regression] bootstrap (gnat) broken on arm-linux-gnueabi*

2016-06-09 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71413 Bernd Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/71456] missing -Wunused-variable on a static global initialized with another

2016-06-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71456 --- Comment #3 from Martin Sebor --- (In reply to Eric Gallager from comment #2) > Speaking of -Wglobal-constructors, FSF GCC doesn't support this option. Is > there a bug open for adding it? I couldn't find one when searching. I couldn't find i

[Bug tree-optimization/71407] [7 Regression] ICE at -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu (verify_gimple: integral result type precision does not match field size of BIT_FIELD_REF)

2016-06-09 Thread helloqirun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71407 --- Comment #6 from Qirun Zhang --- (In reply to alahay01 from comment #5) > Qirun Zhang : > > That's a different issue (original test fails due to data type mismatch, > this test fails because the loop boundary is unset). > > Please could you

[Bug tree-optimization/71477] New: gcc ICE at -O3 on valid code on x86_64-linux-gnu with “seg fault”

2016-06-09 Thread helloqirun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71477 Bug ID: 71477 Summary: gcc ICE at -O3 on valid code on x86_64-linux-gnu with “seg fault” Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/71471] [7 Regression] Selftest failure in pretty-print.c

2016-06-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71471 --- Comment #6 from David Malcolm --- Thanks. Sorry about the breakage. Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2016-06/msg00703.html

[Bug sanitizer/71445] libsanitizer build failure on aarch64-linux-gnu with recent glibc

2016-06-09 Thread carlos at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71445 Carlos O'Donell changed: What|Removed |Added CC||carlos at redhat dot com --- Comment #

[Bug bootstrap/71471] [7 Regression] Selftest failure in pretty-print.c

2016-06-09 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71471 --- Comment #5 from David Edelsohn --- ah, no, it must be the %p one and that is indeed arch specific I think c99 says: The value of the pointer is converted to a sequence of printing characters, in an implementation-defined manner.

[Bug bootstrap/71471] [7 Regression] Selftest failure in pretty-print.c

2016-06-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71471 --- Comment #4 from David Malcolm --- Reproduced on gcc111 (powerpc-ibm-aix7.1.3.0) (gdb) bt #0 _Z11fancy_abortPKciS0_ (file=0x12557bbc "../../src/gcc/selftest.c", line=44, function=0x12557be0 "fail") at ../../src/gcc/diagnostic.c:1281 #

[Bug middle-end/71476] ICE in gimplify_switch_expr with -Wswitch-unreachable

2016-06-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71476 Marek Polacek changed: What|Removed |Added Keywords||error-recovery, |

[Bug middle-end/71476] New: ICE in gimplify_switch_expr with -Wswitch-unreachable

2016-06-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71476 Bug ID: 71476 Summary: ICE in gimplify_switch_expr with -Wswitch-unreachable Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug tree-optimization/71357] [7 Regression] [graphite] ICE: verify_ssa failed (error: definition in block follows the use for SSA_NAME) w/ -O2 -floop-nest-optimize

2016-06-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71357 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/71203] ICE in add_init_expr_to_sym, at fortran/decl.c:1512 and :1564

2016-06-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71203 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/58416] Incorrect x87-based union copying code

2016-06-09 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58416 Alexander Cherepanov changed: What|Removed |Added CC||ch3root at openwall dot com --- C

[Bug target/71009] g++: ICE on modified gdb/valarith.c with -Ofast

2016-06-09 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71009 --- Comment #3 from Eric Gallager --- Still happens with: $ /usr/local/bin/g++ -v Using built-in specs. COLLECT_GCC=/usr/local/bin/g++ COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i386-apple-darwin9.8.0/7.0.0/lto-wrapper Target: i386-apple-darwin9

[Bug c/71475] New: Optimization of copying into long double looses bytes

2016-06-09 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71475 Bug ID: 71475 Summary: Optimization of copying into long double looses bytes Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug middle-end/71474] PRED_LOOP_IV_COMPARE wrongly calculates number of iterations of a loop

2016-06-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71474 --- Comment #1 from Martin Liška --- Created attachment 38670 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38670&action=edit Candidate patch Following patch uses loop upper_bound to make the # of iterations properly estimated.

[Bug c/71473] cilkplus sum reducer ICE

2016-06-09 Thread tprince at computer dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71473 --- Comment #2 from tprince at computer dot org --- Created attachment 38669 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38669&action=edit C include file

[Bug middle-end/71474] New: PRED_LOOP_IV_COMPARE wrongly calculates number of iterations of a loop

2016-06-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71474 Bug ID: 71474 Summary: PRED_LOOP_IV_COMPARE wrongly calculates number of iterations of a loop Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug c/71473] cilkplus sum reducer ICE

2016-06-09 Thread tprince at computer dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71473 --- Comment #1 from tprince at computer dot org --- Created attachment 38668 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38668&action=edit cilkplus C source (before preprocessing)

[Bug c/71473] New: cilkplus sum reducer ICE

2016-06-09 Thread tprince at computer dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71473 Bug ID: 71473 Summary: cilkplus sum reducer ICE Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unas

[Bug c/65446] Improve -Wformat-signedness

2016-06-09 Thread rnsanchez at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65446 Ricardo Nabinger Sanchez changed: What|Removed |Added CC||rnsanchez at gmail dot com --

[Bug bootstrap/71471] [7 Regression] Selftest failure in pretty-print.c

2016-06-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71471 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug sanitizer/71445] libsanitizer build failure on aarch64-linux-gnu with recent glibc

2016-06-09 Thread adhemerval.zanella at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71445 --- Comment #12 from Adhemerval Zanella --- After checking the work required for enable symbol versioning wrapper on libsanitizer I am more inclined to go with always ignore the high bits (at least for backports). The versioning enablement will

[Bug bootstrap/71471] [7 Regression] Selftest failure in pretty-print.c

2016-06-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71471 --- Comment #2 from David Malcolm --- Which target? (and host?) FWIW before I committed it I successfully tested building gcc stage1 with the patch using contrib/config-list.mk, with build=host=x86_64-pc-linux-gnu with target= everything other

[Bug c++/71472] New: Wlogical-op misses exhaustive-or case (... || A) || B

2016-06-09 Thread terra at gnome dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71472 Bug ID: 71472 Summary: Wlogical-op misses exhaustive-or case (... || A) || B Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug bootstrap/71471] [7 Regression] Selftest failure in pretty-print.c

2016-06-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71471 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0

[Bug bootstrap/71471] [7 Regression] Selftest failure in pretty-print.c

2016-06-09 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71471 David Edelsohn changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug bootstrap/71471] New: [7 Regression] Selftest failure in pretty-print.c

2016-06-09 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71471 Bug ID: 71471 Summary: [7 Regression] Selftest failure in pretty-print.c Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: b

[Bug c++/70202] ICE on invalid code on x86_64-linux-gnu in build_simple_base_path, at cp/class.c:579

2016-06-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70202 Paolo Carlini changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug c++/71465] [7 Regression] ICE on invalid C++ code (with duplicate base) on x86_64-linux-gnu: in dfs_build_secondary_vptr_vtt_inits, at cp/class.c:9075

2016-06-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71465 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71465] [7 Regression] ICE on invalid C++ code (with duplicate base) on x86_64-linux-gnu: in dfs_build_secondary_vptr_vtt_inits, at cp/class.c:9075

2016-06-09 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71465 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Jun 9 12:02:17 2016 New Revision: 237258 URL: https://gcc.gnu.org/viewcvs?rev=237258&root=gcc&view=rev Log: /cp 2016-06-09 Paolo Carlini PR c++/71465 R

[Bug c++/70202] ICE on invalid code on x86_64-linux-gnu in build_simple_base_path, at cp/class.c:579

2016-06-09 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70202 --- Comment #4 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Jun 9 12:02:17 2016 New Revision: 237258 URL: https://gcc.gnu.org/viewcvs?rev=237258&root=gcc&view=rev Log: /cp 2016-06-09 Paolo Carlini PR c++/71465 R

[Bug tree-optimization/71462] [7 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu with “seg fault”

2016-06-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71462 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/68961] [6 regression] Test case gcc.target/powerpc/pr60203.c fails since r231674

2016-06-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68961 --- Comment #11 from Richard Biener --- Note that the fix depends on "bogus" cost for the vector construction on x86_64. Currently it is two stmts (nunits / 2 + 1) but the vector can be constructed by a single unpcklpd stmt. The correct cost is

[Bug target/71460] Copying structs can trap (on x86-32) due to SNaN to QNaN

2016-06-09 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71460 --- Comment #9 from Uroš Bizjak --- (In reply to jos...@codesourcery.com from comment #8) > It's not correct to use flag_signaling_nans for a fix. > flag_signaling_nans is only for cases where a bit-pattern for a signaling > NaN is interpreted

[Bug tree-optimization/71462] [7 Regression] gcc ICE at -O3 on valid code on x86_64-linux-gnu with “seg fault”

2016-06-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71462 --- Comment #3 from Richard Biener --- Author: rguenth Date: Thu Jun 9 11:36:22 2016 New Revision: 237254 URL: https://gcc.gnu.org/viewcvs?rev=237254&root=gcc&view=rev Log: 2016-06-09 Richard Biener PR tree-optimization/71462

[Bug c++/71456] missing -Wunused-variable on a static global initialized with another

2016-06-09 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71456 Eric Gallager changed: What|Removed |Added CC||egall at gwmail dot gwu.edu --- Comment

[Bug tree-optimization/71466] [7 Regression] wrong code at -O3 on x86_64-linux-gnu

2016-06-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71466 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug target/71460] Copying structs can trap (on x86-32) due to SNaN to QNaN

2016-06-09 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71460 --- Comment #8 from joseph at codesourcery dot com --- It's not correct to use flag_signaling_nans for a fix. flag_signaling_nans is only for cases where a bit-pattern for a signaling NaN is interpreted as a floating-point value. It's not whe

[Bug tree-optimization/71466] wrong code at -O3 on x86_64-linux-gnu

2016-06-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71466 --- Comment #5 from Martin Liška --- Started with r236831: Author: law Date: Fri May 27 16:32:38 2016 + * tree-ssa-threadedge.c: Remove include of tree-ssa-threadbackward.h. (thread_across_edge): Remove calls to find_jump

[Bug tree-optimization/71407] [7 Regression] ICE at -O3 in 32-bit and 64-bit modes on x86_64-linux-gnu (verify_gimple: integral result type precision does not match field size of BIT_FIELD_REF)

2016-06-09 Thread alahay01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71407 --- Comment #5 from alahay01 at gcc dot gnu.org --- Qirun Zhang : That's a different issue (original test fails due to data type mismatch, this test fails because the loop boundary is unset). Please could you raise your test as a new bug and ass

[Bug c++/71465] [7 Regression] ICE on invalid C++ code (with duplicate base) on x86_64-linux-gnu: in dfs_build_secondary_vptr_vtt_inits, at cp/class.c:9075

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

[Bug tree-optimization/71466] wrong code at -O3 on x86_64-linux-gnu

2016-06-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71466 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/71466] wrong code at -O3 on x86_64-linux-gnu

2016-06-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71466 --- Comment #3 from Martin Liška --- The problem is caused by loop unroller: 144t.ivcanon looks good: fn1 () { _Bool c_lsm.12; int c_lsm.11; _Bool d_lsm.10; int d_lsm.9; int f; int e; int _5; int c.3_9; int _13; int c.3_21;

[Bug tree-optimization/71466] wrong code at -O3 on x86_64-linux-gnu

2016-06-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71466 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug target/71338] [RL78] mulu instruction not used on G10

2016-06-09 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71338 --- Comment #1 from Oleg Endo --- ping ... anybody?

  1   2   >