Bug 61884 - [5 Regression] g++.dg/ipa/pr61085.C FAILs with -Os
Summary: [5 Regression] g++.dg/ipa/pr61085.C FAILs with -Os
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: ipa (show other bugs)
Version: 5.0
: P3 normal
Target Milestone: 5.0
Assignee: Not yet assigned to anyone
URL:
Keywords: wrong-code
Depends on:
Blocks:
 
Reported: 2014-07-23 06:22 UTC by Zdenek Sojka
Modified: 2014-11-19 14:00 UTC (History)
2 users (show)

See Also:
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Build: x86_64-pc-linux-gnu
Known to work: 4.8.4, 4.9.2
Known to fail: 5.0
Last reconfirmed:


Attachments
preprocessed source (g++.dg/ipa/pr61085.C) (275 bytes, text/plain)
2014-07-23 06:22 UTC, Zdenek Sojka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zdenek Sojka 2014-07-23 06:22:24 UTC
Created attachment 33174 [details]
preprocessed source (g++.dg/ipa/pr61085.C)

Output:
$ g++ -Os pr61085.ii
$ ./a.out
Aborted

valgrind doesn't output any errors

Tested revisions:
4.10 r212913 - FAIL
4.9 r212703 - OK
4.8 r212702 - OK
Comment 1 Martin Jambor 2014-07-23 11:40:17 UTC
This has been introduced by Honza's r212304 (introduction of
param_type_may_change_p).
Comment 2 Richard Biener 2014-11-19 14:00:11 UTC
Works now.