[Bug middle-end/51677] don't suggest giving main() __attribute__((const))

2019-01-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51677 --- Comment #5 from Eric Gallager --- (In reply to Eric Gallager from comment #4) > (In reply to Martin Sebor from comment #3) > > It should be easy to white-list the main function in the > > -Wsuggest-attribute= checker. At the same time, I'm

[Bug middle-end/51677] don't suggest giving main() __attribute__((const))

2018-04-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51677 --- Comment #4 from Eric Gallager --- (In reply to Martin Sebor from comment #3) > It should be easy to white-list the main function in the > -Wsuggest-attribute= checker. At the same time, I'm not sure it's necessary > or that the problem is

[Bug middle-end/51677] don't suggest giving main() __attribute__((const))

2018-01-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51677 --- Comment #3 from Martin Sebor --- It should be easy to white-list the main function in the -Wsuggest-attribute= checker. At the same time, I'm not sure it's necessary or that the problem is unique to main. The reasons noted in comment #0

[Bug middle-end/51677] don't suggest giving main() __attribute__((const))

2018-01-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51677 Eric Gallager changed: What|Removed |Added Keywords||diagnostic CC|

[Bug middle-end/51677] don't suggest giving main() __attribute__((const))

2011-12-29 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51677 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last