: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: stefan at reservoir dot com
Target Milestone: ---
Created attachment 43584
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43584&action=edit
patch to improv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84747
--- Comment #3 from Stefan M Freudenberger ---
In this case I would have expected that TARGET_ADDR_SPACE_SUBSET_P will return
TRUE, as appropriate.
Granted, it would render my example invalid for x86.
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: stefan at reservoir dot com
Target Milestone: ---
Created attachment 40225
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40225&action=edit
output of -fdump-tree-slsr
In the program below, s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78646
--- Comment #2 from Stefan M Freudenberger ---
It's not an ICE on x86, but the dump shows the incorrect pointer type.
Can I assert that the cand_type is a pointer and not a reference?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78646
--- Comment #4 from Stefan M Freudenberger ---
I guess there wouldn't be an issue if it were a reference type. However, there
is an issue with the incorrect alignment for the object type.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78646
--- Comment #5 from Stefan M Freudenberger ---
This is the revised patch:
- add_expr = fold_build2 (POINTER_PLUS_EXPR, TREE_TYPE (c->base_expr),
+ add_expr = fold_build2 (POINTER_PLUS_EXPR, c->cand_type,
c->base_expr,
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: stefan at reservoir dot com
Target Milestone: ---
Created attachment 40744
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40744&action=edit
Output of -fdu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79527
--- Comment #1 from Stefan M Freudenberger ---
Created attachment 40745
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40745&action=edit
Output of -fdump-tree-einline-eh with -fnon-call-exceptions command line flag
-end
Assignee: unassigned at gcc dot gnu.org
Reporter: stefan at reservoir dot com
Target Milestone: ---
Created attachment 41086
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41086&action=edit
The source program
For an out-of-tree target that supports address
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80262
--- Comment #1 from Stefan M Freudenberger ---
Created attachment 41087
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41087&action=edit
Output from -fdump-tree-forwprop1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80262
--- Comment #2 from Stefan M Freudenberger ---
Created attachment 41088
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41088&action=edit
Output from -fdump-tree-esra
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80262
--- Comment #4 from Stefan M Freudenberger ---
My original example involved a MEM with a constant offset, and yielded an ICE:
internal compiler error: tree check: expected integer_cst, have
addr_space_convert_expr in decompose, at tree.h
Maybe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80262
--- Comment #6 from Stefan M Freudenberger ---
Created attachment 41134
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41134&action=edit
Modified source program that shows issue on x86_64.
I've modified my example (attached) to show the is
13 matches
Mail list logo