Bug 45555 - Add warnings for changes to code with option "-fipa-sra"
Summary: Add warnings for changes to code with option "-fipa-sra"
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: unknown
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
Keywords: diagnostic
Depends on:
Reported: 2010-09-06 13:25 UTC by Tom Browder
Modified: 2017-09-26 19:05 UTC (History)
2 users (show)

See Also:
Known to work:
Known to fail:
Last reconfirmed: 2017-09-26 00:00:00


Note You need to log in before you can comment on or make changes to this bug.
Description Tom Browder 2010-09-06 13:25:13 UTC
The "-fipa-sra" option may result in object code changes.  Users should be notified of such changes so they can make source code changes.
Comment 1 Andrew Pinski 2010-10-28 20:43:55 UTC
It would be nice but sometimes it is not the right thing to do because of virtual functions, default arguments, etc.
Comment 2 Eric Gallager 2017-09-26 19:05:51 UTC
Could you give an example testcase that exhibits the changes you're worried about?