]> gcc.gnu.org Git - gcc.git/commit
re PR lto/41761 (lto1: error: type mismatch in component reference (const with non...
authorRichard Guenther <rguenther@suse.de>
Tue, 20 Oct 2009 13:33:03 +0000 (13:33 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 20 Oct 2009 13:33:03 +0000 (13:33 +0000)
commit20d36f0ea670b235b672d1205eb437030dee7e7e
tree1c293e03073acf994f215b7e4a140572f557282b
parentdd8c071d66169f4696a86b1ebe4638a26696bce7
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
gcc/ChangeLog
gcc/gimple.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/20091020-1_0.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/20091020-1_1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/20091020-2_0.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/20091020-2_1.c [new file with mode: 0644]
This page took 0.055813 seconds and 5 git commands to generate.