[Bug pch/86674] New: -W(no)-error=invalid-pch does not affect incorrect language warning

2018-07-25 Thread jwyatt at feralinteractive dot com
Priority: P3 Component: pch Assignee: unassigned at gcc dot gnu.org Reporter: jwyatt at feralinteractive dot com Target Milestone: --- -Werror=invalid-pch does not turn warnings caused by -Winvalid-pch into errors. -Wno-error=invalid-pch does not turn errors

[Bug sanitizer/85774] New: Incorrect stack-use-after-scope caused by missing cleanup of shadow bytes

2018-05-14 Thread jwyatt at feralinteractive dot com
: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: jwyatt at feralinteractive dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot

[Bug c++/85710] New: Enabling memset-elt-size warning causes ICE on memset of template member array

2018-05-09 Thread jwyatt at feralinteractive dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jwyatt at feralinteractive dot com Target Milestone: --- The memset-elt-size warning causes an internal compiler error when compiling: #include template struct A { int

[Bug tree-optimization/78189] New: movaps generated for unaligned store in aligned struct, when struct is referenced via unaligned member.

2016-11-02 Thread jwyatt at feralinteractive dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jwyatt at feralinteractive dot com Target Milestone: --- The code below, when compiled with -O2 -ftree-slp

[Bug c++/67550] [5/6 regression] Initialization of local struct array with elements of global array yields zeros instead of initializer values

2015-11-24 Thread jwyatt at feralinteractive dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67550 --- Comment #6 from Jason Wyatt --- Adding a TREE_READONLY (to match TREE_READONLY being unset in split_nonconstant_init) check seems to fix the generated gimple. This is total guesswork though - I have no idea what side effects this change

[Bug c++/67550] [5/6 regression] Initialization of local struct array with elements of global array yields zeros instead of initializer values

2015-11-23 Thread jwyatt at feralinteractive dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67550 --- Comment #5 from Jason Wyatt --- When parsing the initialisation of const TestStruct var: store_init_value ends up calling split_nonconstant_init, so that only the constant part of the initialisation of var is stored in DECL_INITIAL(t).

[Bug c++/67550] [5/6 regression] Initialization of local struct array with elements of global array yields zeros instead of initializer values

2015-11-23 Thread jwyatt at feralinteractive dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67550 --- Comment #4 from Jason Wyatt --- It appears that while parsing the initialiser for the array, maybe_constant_init switches the var for a constructor. This constructor only sets the m2 member variable. You can see the result in the gimple it

[Bug c++/67550] [5/6 regression] Initialization of local struct array with elements of global array yields zeros instead of initializer values

2015-11-20 Thread jwyatt at feralinteractive dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67550 Jason Wyatt changed: What|Removed |Added CC||jwyatt at feralinteractive dot com

[Bug c++/68186] New: Using public base member function privately prevents derived classes using base member function

2015-11-02 Thread jwyatt at feralinteractive dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jwyatt at feralinteractive dot com Target Milestone: --- Created attachment 36637 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36637=edit Mini

[Bug tree-optimization/63379] New: Incorrect vectorization when enabling SSE and O3, initialises loop with wrong value

2014-09-26 Thread jwyatt at feralinteractive dot com
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jwyatt at feralinteractive dot com Created attachment 33579 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33579action=edit .i file for simple test

[Bug tree-optimization/63379] Incorrect vectorization when enabling SSE and O3, initialises loop with wrong value

2014-09-26 Thread jwyatt at feralinteractive dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63379 --- Comment #1 from Jason Wyatt jwyatt at feralinteractive dot com --- Created attachment 33580 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33580action=edit Test case Compiling this code and running it gives the following output: Point