[Bug other/44435] gengtype: don't test undefined value after vasprintf failure

2018-04-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44435 --- Comment #6 from Eric Gallager --- (In reply to jos...@codesourcery.com from comment #5) > Subject: Re: gengtype: don't test undefined value after > vasprintf failure > > On Mon, 7 Jun 2010, dj at redhat dot com wrote: > > > > If the

[Bug other/44286] Use sentinel attributes in GCC

2018-04-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44286 --- Comment #3 from Eric Gallager --- (In reply to Ralf Wildenhues from comment #2) > Patch at . Does the patch still apply?

[Bug other/30920] Incorrect splaying that not assures the caching property

2018-04-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30920 --- Comment #1 from Eric Gallager --- Does the patch still apply?

[Bug c++/85509] auto (function pointer) undermining inline expansion with GCC but not LLVM

2018-04-23 Thread aaron_sami_abassi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85509 --- Comment #1 from ASA --- I should add that without the static storage duration specifier even without const specified, it does inline the function invocation.

[Bug target/85511] [X86] Using __builtin_ia32_writeeflags_u32 in 64-bit mode causes internal compiler error

2018-04-23 Thread craig.topper at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85511 --- Comment #2 from Craig Topper --- Should this builtin even be allowed in 64-bit mode?

[Bug target/83660] ICE with vec_extract inside expression statement

2018-04-23 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 acsawdey at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug rtl-optimization/85423] [8 Regression] ICE in code_motion_process_successors, at sel-sched.c:6403

2018-04-23 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85423 --- Comment #6 from Arseny Solokha --- I guess this PR can be closed now.

[Bug target/83660] ICE with vec_extract inside expression statement

2018-04-23 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 --- Comment #18 from acsawdey at gcc dot gnu.org --- Author: acsawdey Date: Tue Apr 24 00:19:43 2018 New Revision: 259590 URL: https://gcc.gnu.org/viewcvs?rev=259590=gcc=rev Log: 2018-04-23 Aaron Sawdey

[Bug target/83660] ICE with vec_extract inside expression statement

2018-04-23 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 --- Comment #17 from acsawdey at gcc dot gnu.org --- Author: acsawdey Date: Tue Apr 24 00:14:21 2018 New Revision: 259586 URL: https://gcc.gnu.org/viewcvs?rev=259586=gcc=rev Log: 2018-04-23 Aaron Sawdey

[Bug target/85511] [X86] Using __builtin_ia32_writeeflags_u32 in 64-bit mode causes internal compiler error

2018-04-23 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85511 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/85511] New: [X86] Using __builtin_ia32_writeeflags_u32 in 64-bit mode causes internal compiler error

2018-04-23 Thread craig.topper at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85511 Bug ID: 85511 Summary: [X86] Using __builtin_ia32_writeeflags_u32 in 64-bit mode causes internal compiler error Product: gcc Version: unknown Status: UNCONFIRMED

[Bug inline-asm/85185] Wider-than-expected load for struct member used as operand of inline-asm with memory clobber at -Og

2018-04-23 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85185 Jim Wilson changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/85500] INCORRECTLY REPORTED

2018-04-23 Thread aaron_sami_abassi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85500 --- Comment #3 from ASA --- > No, that's not valid as a function declaration. Right, it's: auto function_name( params ... ); Again, I should have slept before posting.

[Bug fortran/85510] Linking error when accessing a coindexed variable inside an associate block

2018-04-23 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85510 --- Comment #1 from Damian Rouson --- As similar error message results if the associate construct is replaced with a block construct of the form block integer n n=1 print*,i[1] end block The error disappears if the

[Bug sanitizer/85394] [7 Regression] Unable to run sanitized executables on ppc64le Ubuntu and SLES

2018-04-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85394 Martin Liška changed: What|Removed |Added Status|RESOLVED|ASSIGNED Known to work|

[Bug target/83402] PPC64 implementation of ./rs6000/emmintrin.h gives out of range for _mm_slli_epi32

2018-04-23 Thread pc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83402 --- Comment #15 from pc at gcc dot gnu.org --- Author: pc Date: Mon Apr 23 21:14:38 2018 New Revision: 259582 URL: https://gcc.gnu.org/viewcvs?rev=259582=gcc=rev Log: rs6000: Fix _mm_slli_epi{32,64} for shift values 16 through 31 and negative

[Bug fortran/85510] New: Linking error when accessing a coindexed variable inside an associate block

2018-04-23 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85510 Bug ID: 85510 Summary: Linking error when accessing a coindexed variable inside an associate block Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity:

[Bug rtl-optimization/79916] ICE in Max. number of generated reload insns per insn is achieved (90)

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

[Bug fortran/70870] Segmentation violation in gfc_assign_data_value

2018-04-23 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70870 --- Comment #9 from Steve Kargl --- On Mon, Apr 23, 2018 at 07:46:59PM +, gs...@t-online.de wrote: > > --- Comment #8 from G. Steinmetz --- > > These should have a new PR opened for them. > Done. This is now pr85506. >

[Bug target/85503] [8 Regression] ICE in replace_swapped_load_constant, at config/rs6000/rs6000-p8swap.c:1853 on powerpc64le-linux-gnu

2018-04-23 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85503 --- Comment #6 from kelvin at gcc dot gnu.org --- I'll do regression testing on LE and BE (just to be safe) with the new regression test added to the test suite.

[Bug c++/69560] x86_64: alignof(uint64_t) produces incorrect results with -m32

2018-04-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69560 --- Comment #21 from Jason Merrill --- Author: jason Date: Mon Apr 23 20:49:38 2018 New Revision: 259578 URL: https://gcc.gnu.org/viewcvs?rev=259578=gcc=rev Log: PR c++/69560 - wrong alignof(double) on x86. CWG 1879 -

[Bug c++/68374] G++ -Wshadow doesn't warn about static member shadowing

2018-04-23 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68374 Paolo Carlini changed: What|Removed |Added Status|REOPENED|ASSIGNED

[Bug middle-end/85496] [6/7/8 Regression] internal compiler error: in emit_move_insn, at expr.c:3722

2018-04-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85496 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/85496] [6/7/8 Regression] internal compiler error: in emit_move_insn, at expr.c:3722

2018-04-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85496 --- Comment #7 from Eric Botcazou --- Author: ebotcazou Date: Mon Apr 23 20:31:17 2018 New Revision: 259577 URL: https://gcc.gnu.org/viewcvs?rev=259577=gcc=rev Log: PR middle-end/85496 * expr.c (store_field): In the bitfield

[Bug middle-end/85496] [6/7/8 Regression] internal compiler error: in emit_move_insn, at expr.c:3722

2018-04-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85496 --- Comment #6 from Eric Botcazou --- Author: ebotcazou Date: Mon Apr 23 20:29:22 2018 New Revision: 259576 URL: https://gcc.gnu.org/viewcvs?rev=259576=gcc=rev Log: PR middle-end/85496 * expr.c (store_field): In the bitfield

[Bug middle-end/85496] [6/7/8 Regression] internal compiler error: in emit_move_insn, at expr.c:3722

2018-04-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85496 --- Comment #5 from Eric Botcazou --- Author: ebotcazou Date: Mon Apr 23 20:19:39 2018 New Revision: 259574 URL: https://gcc.gnu.org/viewcvs?rev=259574=gcc=rev Log: PR middle-end/85496 * expr.c (store_field): In the bitfield

[Bug c++/85500] INCORRECTLY REPORTED

2018-04-23 Thread aaron_sami_abassi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85500 --- Comment #2 from ASA --- (In reply to Jonathan Wakely from comment #1) > This is not a valid bug report, see https://gcc.gnu.org/bugs/ for what we > require. > > (In reply to ASA from comment #0) > > When initializing an auto variable from a

[Bug c++/84744] cannot use glibc 2.27 with gcc 7.3

2018-04-23 Thread developm...@faf-ltd.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84744 --- Comment #15 from Peter VARGA --- (In reply to Jonathan Wakely from comment #14) > Installing your own glibc in a new location and trying to point GCC to it > with -I /FaF/glibc/include is not "the default settings".

[Bug c++/85509] New: auto (function pointer) undermining inline expansion with GCC but not LLVM

2018-04-23 Thread aaron_sami_abassi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85509 Bug ID: 85509 Summary: auto (function pointer) undermining inline expansion with GCC but not LLVM Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity:

[Bug c++/85470] [7 Regression] Strange error about "call to non-constexpr function"

2018-04-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85470 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/85503] [8 Regression] ICE in replace_swapped_load_constant, at config/rs6000/rs6000-p8swap.c:1853 on powerpc64le-linux-gnu

2018-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85503 --- Comment #5 from Jakub Jelinek --- Created attachment 44009 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44009=edit gcc8-pr85503.patch Full untested patch. I've started bootstrap/regtest on powerpc64-linux (power7, big endian),

[Bug c/85508] New: runtime error in config/i386/i386.c

2018-04-23 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85508 Bug ID: 85508 Summary: runtime error in config/i386/i386.c Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/85505] Code accepted despite a variable using the same name as a parameter

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85505 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid

[Bug c++/85470] [7 Regression] Strange error about "call to non-constexpr function"

2018-04-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85470 --- Comment #5 from Jason Merrill --- Author: jason Date: Mon Apr 23 19:58:57 2018 New Revision: 259572 URL: https://gcc.gnu.org/viewcvs?rev=259572=gcc=rev Log: PR c++/85470 - wrong error with static data member. * decl.c

[Bug fortran/85507] New: [8 Regression] ICE in gfc_dep_resolver, at fortran/dependency.c:2258

2018-04-23 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85507 Bug ID: 85507 Summary: [8 Regression] ICE in gfc_dep_resolver, at fortran/dependency.c:2258 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/70870] Segmentation violation in gfc_assign_data_value

2018-04-23 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70870 G. Steinmetz changed: What|Removed |Added CC||gs...@t-online.de ---

[Bug fortran/85506] New: ICE in gfc_assign_data_value, at fortran/data.c:448

2018-04-23 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85506 Bug ID: 85506 Summary: ICE in gfc_assign_data_value, at fortran/data.c:448 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/85503] [8 Regression] ICE in replace_swapped_load_constant, at config/rs6000/rs6000-p8swap.c:1853 on powerpc64le-linux-gnu

2018-04-23 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85503 --- Comment #4 from kelvin at gcc dot gnu.org --- Thanks for chasing down the cause of the problem. I agree with the patch proposed by jakub, assuming it passes regression testing. Would you like me to do the testing? (be glad to unless

[Bug c++/85505] New: Code accepted despite a variable using the same name as a parameter

2018-04-23 Thread abbeyj+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85505 Bug ID: 85505 Summary: Code accepted despite a variable using the same name as a parameter Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal

[Bug target/85503] [8 Regression] ICE in replace_swapped_load_constant, at config/rs6000/rs6000-p8swap.c:1853 on powerpc64le-linux-gnu

2018-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85503 --- Comment #3 from Jakub Jelinek --- base here is a constant pool constant, containing (const:DI (plus:DI (symbol_ref:DI ("_ZN26OnHoverHandlerGraphicsItem7cornersE") [flags 0xc0] ) (const_int 8 [0x8]))) so this fails both because the

[Bug c++/85470] [7/8 Regression] Strange error about "call to non-constexpr function"

2018-04-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85470 --- Comment #4 from Jason Merrill --- Author: jason Date: Mon Apr 23 19:11:22 2018 New Revision: 259571 URL: https://gcc.gnu.org/viewcvs?rev=259571=gcc=rev Log: PR c++/85470 - wrong error with static data member. * decl.c

[Bug target/85503] [8 Regression] ICE in replace_swapped_load_constant, at config/rs6000/rs6000-p8swap.c:1853 on powerpc64le-linux-gnu

2018-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85503 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

Re: bug ? : -Wpedantic -Wconversion 'short a=1; a-=1;' complaint

2018-04-23 Thread Jim Wilson
On 04/23/2018 07:11 AM, Jason Vas Dias wrote: I really do not think a '-Wpedantic -Wconversion' warning should be generated for the following code, but it is (with GCC 6.4.1 and 7.3.1 on RHEL-7.5 Linux) : $ echo ' typedef unsigned short U16_t; static void f(void) { U16_t a = 1;

[Bug middle-end/85504] New: Bogus -Wrestrict warning with -fsanitize=undefined

2018-04-23 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85504 Bug ID: 85504 Summary: Bogus -Wrestrict warning with -fsanitize=undefined Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/85503] [8 Regression] ICE in replace_swapped_load_constant, at config/rs6000/rs6000-p8swap.c:1853 on powerpc64le-linux-gnu

2018-04-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85503 Segher Boessenkool changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c++/85470] [7/8 Regression] Strange error about "call to non-constexpr function"

2018-04-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85470 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/85503] [8 Regression] ICE in replace_swapped_load_constant, at config/rs6000/rs6000-p8swap.c:1853 on powerpc64le-linux-gnu

2018-04-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85503 Segher Boessenkool changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug target/85503] [8 Regression] ICE in replace_swapped_load_constant, at config/rs6000/rs6000-p8swap.c:1853 on powerpc64le-linux-gnu

2018-04-23 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85503 --- Comment #1 from Matthias Klose --- $ cat gasgraphics.ii # 3 "" 3 namespace b { template < int c > struct d { static constexpr int e = c; }; typedef d< false > f; template < typename g > struct h { typedef g i; }; template < typename > class

[Bug target/85503] New: [8 Regression] ICE in replace_swapped_load_constant, at config/rs6000/rs6000-p8swap.c:1853 on powerpc64le-linux-gnu

2018-04-23 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85503 Bug ID: 85503 Summary: [8 Regression] ICE in replace_swapped_load_constant, at config/rs6000/rs6000-p8swap.c:1853 on powerpc64le-linux-gnu Product: gcc Version:

[Bug gcov-profile/85201] [GCOV] A statement with two && operators and a comma operator in the for loop body is wrongly marked in gcov

2018-04-23 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85201 --- Comment #2 from Yibiao Yang --- @marxin Is this a real bug? or this bug is only default behavior?

[Bug rtl-optimization/85423] [8 Regression] ICE in code_motion_process_successors, at sel-sched.c:6403

2018-04-23 Thread abel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85423 --- Comment #5 from Andrey Belevantsev --- Author: abel Date: Mon Apr 23 15:19:06 2018 New Revision: 259563 URL: https://gcc.gnu.org/viewcvs?rev=259563=gcc=rev Log: PR rtl-optimization/85423 * sel-sched-ir.c

[Bug tree-optimization/85501] missed if-conversion / phiopt trick

2018-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85501 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c/65892] gcc fails to implement N685 aliasing of union members

2018-04-23 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 --- Comment #39 from joseph at codesourcery dot com --- On Thu, 19 Apr 2018, jameskuyper at verizon dot net wrote: > Code which relies upon this feature to implement a C-style approximation to > inheritance has been fairly common, which is

bug ? : -Wpedantic -Wconversion 'short a=1; a-=1;' complaint

2018-04-23 Thread Jason Vas Dias
I really do not think a '-Wpedantic -Wconversion' warning should be generated for the following code, but it is (with GCC 6.4.1 and 7.3.1 on RHEL-7.5 Linux) : $ echo ' typedef unsigned short U16_t; static void f(void) { U16_t a = 1; a-=1; }' > t.C; $ g++ -std=c++14 -Wall -Wextra

[Bug target/85434] Address of stack protector guard spilled to stack on ARM

2018-04-23 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85434 --- Comment #7 from Thomas Preud'homme --- (In reply to Thomas Preud'homme from comment #6) > (In reply to Thomas Preud'homme from comment #3) > > > > My feeling is that the target patterns should also do the address > > computation, ie

Re: Wrong snprintf optimalization

2018-04-23 Thread Marek Polacek
On Sat, Apr 21, 2018 at 11:47:52AM +0200, Dávid Bolvanský wrote: > Hello, > > #include > int main(void) > { > char buf[10]; > return snprintf(buf, 0, "string"); > } > > GCC simplifies it to > main: > mov eax, 6 > ret > > but 0 is correct I think. No, 6 seems to be the correct value: If the

[Bug c/65892] gcc fails to implement N685 aliasing of union members

2018-04-23 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 --- Comment #38 from rguenther at suse dot de --- On Fri, 20 Apr 2018, msebor at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 > > --- Comment #35 from Martin Sebor --- > Here are the proposed changes: > >

[Bug c++/16070] print something useful instead of

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16070 --- Comment #9 from Jonathan Wakely --- I suppose we could potentially have a special case for: 16070.cc:9:13: note: couldn't deduce template parameter 'T' It could say: 16070.cc:9:13: note: couldn't deduce template parameter 'T' from an

[Bug target/81652] [meta-bug] -fcf-protection=full bugs

2018-04-23 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 85489, which changed state. Bug 85489 Summary: config/x86/sjlj.S should use unsigned integer to unwind shadow stack https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85489 What|Removed

[Bug libitm/85489] config/x86/sjlj.S should use unsigned integer to unwind shadow stack

2018-04-23 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85489 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 23 12:29:00 2018 New Revision: 259559 URL: https://gcc.gnu.org/viewcvs?rev=259559=gcc=rev Log: x86/cet: Use unsigned integer to unwind shadow stack Use unsigned integer

[Bug libitm/85489] config/x86/sjlj.S should use unsigned integer to unwind shadow stack

2018-04-23 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85489 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/16070] print something useful instead of

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16070 --- Comment #8 from Jonathan Wakely --- Reduced: template struct basic_ios { }; template basic_ios& endl(basic_ios& x) { return x; } template voidBar(const T&) {} voidBar(int) {} int main() { Bar(endl); } GCC trunk says:

[Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 Tom de Vries changed: What|Removed |Added Keywords||ice-on-valid-code, patch --- Comment #11

[Bug c++/19741] suboptimal error message for template functions (as opposed to non-templates)

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19741 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2006-01-15 21:09:27 |2018-4-23 --- Comment #7 from

[Bug c++/50462] poor diagnostics for missing parenthesis in call to method

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50462 --- Comment #4 from Jonathan Wakely --- I think the original example in this bug is the same as PR 77711 comment 2. It can be reduced to: struct ostream { }; void operator<<(ostream, int) { } void operator<<(ostream, void*) { } void

[Bug c++/80311] Bound member functions extension allows bogus conversions

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80311 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/77711] Add fix-it hints for missing parentheses in member function call

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77711 --- Comment #8 from Jonathan Wakely --- My patch doesn't help for comment 2 because we never call invalid_nonstatic_member_fn when the nonsense expression refers to the name of an overloaded member function. Instead we perform overload

[Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find

2018-04-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 --- Comment #10 from Tom de Vries --- Created attachment 44006 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44006=edit Adjusted patch with testcase (In reply to Richard Biener from comment #9) > adjusted patch: Added testcase. Build

[Bug tree-optimization/85501] New: missed if-conversion / phiopt trick

2018-04-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85501 Bug ID: 85501 Summary: missed if-conversion / phiopt trick Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug c++/50462] poor diagnostics for missing parenthesis in call to method

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50462 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/85478] ICE with single element vector

2018-04-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/85491] [8 Regression] nbench LU Decomposition test 15% slower than GCC 7, 30% slower than peak

2018-04-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85491 Richard Biener changed: What|Removed |Added Blocks||84037, 84016 --- Comment #2 from

[Bug target/85491] [8 Regression] nbench LU Decomposition test 15% slower than GCC 7, 30% slower than peak

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

[Bug c++/60531] template function not resolved when comparing functions

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60531 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid

[Bug c++/64194] [C++14] for function template with auto return

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64194 --- Comment #8 from Jonathan Wakely --- Slightly different testcase from PR 69620 which is probably the same issue: struct function { template function(F); }; template auto sum(T1 x, T2 y) { return x + y; } template auto sum(T1 x,

[Bug c++/64194] [C++14] for function template with auto return

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64194 Jonathan Wakely changed: What|Removed |Added CC||wuyongwei at gmail dot com ---

[Bug c++/69260] C++14 template instantiation problem in GCC

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69260 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/64194] [C++14] for function template with auto return

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64194 Jonathan Wakely changed: What|Removed |Added CC||gcc at dcousens dot com --- Comment

[Bug c++/85499] Unable to resolve function with inferred return type

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85499 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/82644] Non-standard hypergeometric special functions defined in strict modes

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82644 --- Comment #4 from Jonathan Wakely --- This is only fixed on trunk, but I think I planned to fix it for gcc-7 too.

[Bug target/85486] [og7, nvptx] ref-1.C fails with vector length 128

2018-04-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85486 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/80506] Wrong magic number in std::gamma_distribution

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80506 --- Comment #2 from Jonathan Wakely --- This is fixed on trunk, I'm wondering whether to backport it to gcc-6-branch and gcc-7-branch.

[Bug c++/85500] auto specifier incorrectly defining new function when initializing from function identifier

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85500 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/85499] Unable to resolve function with inferred return type

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85499 --- Comment #3 from Jonathan Wakely --- This is an exact dup of an older bug that I can't find right now.

[Bug c++/84744] cannot use glibc 2.27 with gcc 7.3

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

[Bug tree-optimization/85478] ICE with single element vector

2018-04-23 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 --- Comment #8 from Andreas Krebbel --- The problem is similar to PR83753 but with a different call-chain. Richard Sandiford fixed it by adding: /* First cope with the degenerate case of a single-element vector. */

[Bug middle-end/85496] [6/7/8 Regression] internal compiler error: in emit_move_insn, at expr.c:3722

2018-04-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85496 --- Comment #3 from Eric Botcazou --- > but we do: > 6987/* Handle calls that return values in multiple non-contiguous > locations. > 6988 The Irix 6 ABI has examples of this. */ > 6989if (GET_CODE (temp) == PARALLEL)

[Bug middle-end/85496] [6/7/8 Regression] internal compiler error: in emit_move_insn, at expr.c:3722

2018-04-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85496 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug libstdc++/85494] implementation of random_device on mingw is useless

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85494 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/65923] False positive for warning about literal operator suffix and using

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65923 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |8.0

[Bug libstdc++/66689] comp_ellint_3 and ellint_3 return garbage values

2018-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66689 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c++/85500] New: auto specifier incorrectly defining new function when initializing from function identifier

2018-04-23 Thread aaron_sami_abassi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85500 Bug ID: 85500 Summary: auto specifier incorrectly defining new function when initializing from function identifier Product: gcc Version: 7.3.0 Status: UNCONFIRMED

[Bug tree-optimization/85478] ICE with single element vector

2018-04-23 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 --- Comment #7 from Andreas Krebbel --- The cross from comment #6 did not trigger the problem because I accidentally built it with --disable-checking. Dropping this and adding --with-long-double-128 triggers the ICE on a full cross as well as on

[Bug middle-end/85496] [6/7/8 Regression] internal compiler error: in emit_move_insn, at expr.c:3722

2018-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85496 Jakub Jelinek changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org,

[Bug middle-end/85496] [6/7/8 Regression] internal compiler error: in emit_move_insn, at expr.c:3722

2018-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85496 Jakub Jelinek changed: What|Removed |Added Severity|critical|normal

[Bug tree-optimization/85497] [8/9 Regression] [graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:206

2018-04-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85497 Richard Biener changed: What|Removed |Added Keywords||deferred Priority|P3

[Bug middle-end/85496] [6/7/8 Regression] internal compiler error: in emit_move_insn, at expr.c:3722

2018-04-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85496 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug c++/85498] Unable to resolve function name with inferred return type

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

[Bug c++/85499] Unable to resolve function with inferred return type

2018-04-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85499 --- Comment #2 from Richard Biener --- *** Bug 85498 has been marked as a duplicate of this bug. ***

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2018-04-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

  1   2   >