Commit fdf87ed
committed
Fix failure-to-copy bug in commit 6f6b99d.
The previous coding of get_qual_for_list() was careful to copy everything
it was using from the input data structure. The new version missed
making a copy of pass-by-ref datum values that it's inserting into Consts.
This is not optional, however, as revealed by buildfarm failures on
machines running -DRELCACHE_FORCE_RELEASE: we're copying from a relcache
entry that could go away before the required lifespan of our output
expression. I'm pretty sure -DCLOBBER_CACHE_ALWAYS machines won't like
this either, but none of them have reported in yet.1 parent e56dd7c commit fdf87ed
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1559 | 1559 | | |
1560 | 1560 | | |
1561 | 1561 | | |
1562 | | - | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
1563 | 1567 | | |
1564 | 1568 | | |
1565 | 1569 | | |
1566 | 1570 | | |
1567 | | - | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
1568 | 1574 | | |
1569 | 1575 | | |
1570 | 1576 | | |
| |||
0 commit comments