- Notifications
You must be signed in to change notification settings - Fork5k
Commit618c64f
committed
Revert workarounds for -Wmissing-braces false positives on old GCC
We have collected several instances of a workaround for GCC bug 53119,which caused false-positive compiler warnings. This bug has long beenfixed, but was still seen on the buildfarm, most recently on lapwingwith gcc (Debian 4.7.2-5). (The GCC bug tracker mentions that a fixwas backported to 4.7.4 and 4.8.3.)That compiler no longer runs warning-free since commit6fdd5d9, sowe don't need to keep these workarounds. And furthermore, theconsensus appears to be that we don't want to keep supporting that eraof platform anymore at all.This reverts the following commits:d937904506428db449afb6392f2abad07635e0c761and makes a few similar fixes to newer code.Discussion:https://www.postgresql.org/message-id/flat/e170d61f-01ab-4cf9-ab68-91cd1fac62c5%40eisentraut.orgDiscussion:https://www.postgresql.org/message-id/flat/CA%2BTgmoYEAm-KKZibAP3hSqbTFTjUd47XtVcf3xSFDpyecXX9uQ%40mail.gmail.com1 parentb7076c1 commit618c64f
File tree
9 files changed
+16
-25
lines changed- contrib
- pg_prewarm
- postgres_fdw
- src
- backend
- optimizer/path
- storage/smgr
- bin
- pg_waldump
- pgbench
- common
- interfaces/libpq
9 files changed
+16
-25
lines changedLines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
798 | 798 |
| |
799 | 799 |
| |
800 | 800 |
| |
801 |
| - | |
| 801 | + | |
802 | 802 |
| |
803 | 803 |
| |
804 | 804 |
| |
805 | 805 |
| |
806 |
| - | |
807 | 806 |
| |
808 | 807 |
| |
809 | 808 |
| |
| |||
840 | 839 |
| |
841 | 840 |
| |
842 | 841 |
| |
843 |
| - | |
| 842 | + | |
844 | 843 |
| |
845 | 844 |
| |
846 |
| - | |
847 | 845 |
| |
848 | 846 |
| |
849 | 847 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3333 | 3333 |
| |
3334 | 3334 |
| |
3335 | 3335 |
| |
3336 |
| - | |
| 3336 | + | |
3337 | 3337 |
| |
3338 | 3338 |
| |
3339 | 3339 |
| |
| |||
3357 | 3357 |
| |
3358 | 3358 |
| |
3359 | 3359 |
| |
3360 |
| - | |
3361 | 3360 |
| |
3362 | 3361 |
| |
3363 | 3362 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2690 | 2690 |
| |
2691 | 2691 |
| |
2692 | 2692 |
| |
2693 |
| - | |
| 2693 | + | |
2694 | 2694 |
| |
2695 | 2695 |
| |
2696 | 2696 |
| |
2697 | 2697 |
| |
2698 | 2698 |
| |
2699 |
| - | |
2700 | 2699 |
| |
2701 | 2700 |
| |
2702 | 2701 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
45 |
| - | |
| 44 | + | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
|
Lines changed: 1 addition & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2279 | 2279 |
| |
2280 | 2280 |
| |
2281 | 2281 |
| |
| 2282 | + | |
2282 | 2283 |
| |
2283 | 2284 |
| |
2284 | 2285 |
| |
2285 |
| - | |
2286 |
| - | |
2287 |
| - | |
2288 |
| - | |
2289 |
| - | |
2290 |
| - | |
2291 | 2286 |
| |
2292 | 2287 |
| |
2293 | 2288 |
| |
|
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
265 | 265 |
| |
266 | 266 |
| |
267 | 267 |
| |
268 |
| - | |
| 268 | + | |
269 | 269 |
| |
270 | 270 |
| |
271 | 271 |
| |
| |||
300 | 300 |
| |
301 | 301 |
| |
302 | 302 |
| |
303 |
| - | |
| 303 | + | |
304 | 304 |
| |
305 | 305 |
| |
306 | 306 |
| |
| |||
340 | 340 |
| |
341 | 341 |
| |
342 | 342 |
| |
343 |
| - | |
| 343 | + | |
344 | 344 |
| |
345 | 345 |
| |
346 | 346 |
| |
| |||
521 | 521 |
| |
522 | 522 |
| |
523 | 523 |
| |
524 |
| - | |
| 524 | + | |
525 | 525 |
| |
526 | 526 |
| |
527 | 527 |
| |
| |||
616 | 616 |
| |
617 | 617 |
| |
618 | 618 |
| |
619 |
| - | |
| 619 | + | |
620 | 620 |
| |
621 | 621 |
| |
622 | 622 |
| |
| |||
1291 | 1291 |
| |
1292 | 1292 |
| |
1293 | 1293 |
| |
1294 |
| - | |
| 1294 | + | |
1295 | 1295 |
| |
1296 | 1296 |
| |
1297 | 1297 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
687 | 687 |
| |
688 | 688 |
| |
689 | 689 |
| |
690 |
| - | |
| 690 | + | |
691 | 691 |
| |
692 | 692 |
| |
693 | 693 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1232 | 1232 |
| |
1233 | 1233 |
| |
1234 | 1234 |
| |
1235 |
| - | |
| 1235 | + | |
1236 | 1236 |
| |
1237 | 1237 |
| |
1238 | 1238 |
| |
|
0 commit comments
Comments
(0)