Commit aaa7ac4
committed
tree-optimization/122225 - fix return stmt verification
The following fixes return stmt type verification by properly looking
at DECL_RESULT to decide whether that's by reference, not trying to
figure that from the actual argument.
PR tree-optimization/122225
* tree-cfg.cc (verify_gimple_return): Look at DECL_RESULT
for DECL_BY_REFERENCE.1 parent ef29eab commit aaa7ac4
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4786 | 4786 | | |
4787 | 4787 | | |
4788 | 4788 | | |
| 4789 | + | |
4789 | 4790 | | |
4790 | 4791 | | |
4791 | 4792 | | |
| |||
4800 | 4801 | | |
4801 | 4802 | | |
4802 | 4803 | | |
4803 | | - | |
4804 | | - | |
4805 | | - | |
4806 | | - | |
4807 | | - | |
4808 | | - | |
| 4804 | + | |
4809 | 4805 | | |
4810 | 4806 | | |
4811 | 4807 | | |
| |||
0 commit comments