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
: 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
: 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
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
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 might
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).
The
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 pr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67550
Jason Wyatt changed:
What|Removed |Added
CC||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&acti
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63379
--- Comment #1 from Jason Wyatt ---
Created attachment 33580
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33580&action=edit
Test case
Compiling this code and running it gives the following output:
Point 0,1000
Point 1,1001
Point 2,1002
P
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=33579&action=edit
.i file for simp
11 matches
Mail list logo