Bug 45555 - Add warnings for changes to code with option "-fipa-sra"
Summary: Add warnings for changes to code with option "-fipa-sra"
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: unknown
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: diagnostic
Depends on:
Blocks:
 
Reported: 2010-09-06 13:25 UTC by Tom Browder
Modified: 2017-12-30 03:13 UTC (History)
1 user (show)

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


Attachments

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?
Comment 3 Eric Gallager 2017-12-30 03:13:02 UTC
(In reply to Eric Gallager from comment #2)
> Could you give an example testcase that exhibits the changes you're worried
> about?

Guess not; closing. Feel free to reopen if you come up with one.