Skip to content
Snippets Groups Projects
Commit 20d36f0e authored by Richard Guenther's avatar Richard Guenther Committed by Richard Biener
Browse files

re PR lto/41761 (lto1: error: type mismatch in component reference (const with non-const))

2009-10-20  Richard Guenther  <rguenther@suse.de>

        PR lto/41761
	* gimple.c (gimple_register_type): Make sure we register
	the types main variant first.

	* gcc.dg/lto/20091020-1_0.c: New testcase.
	* gcc.dg/lto/20091020-1_1.c: Likewise.
	* gcc.dg/lto/20091020-2_0.c: Likewise.
	* gcc.dg/lto/20091020-2_1.c: Likewise.

From-SVN: r153012
parent dd8c071d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment