[Bug lto/41761] lto1: error: type mismatch in component reference (const with non-const)

2009-10-20 Thread edwintorok at gmail dot com
--- Comment #1 from edwintorok at gmail dot com 2009-10-20 07:05 --- Created an attachment (id=18830) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18830action=view) reduced testcase reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41761

[Bug lto/41761] lto1: error: type mismatch in component reference (const with non-const)

2009-10-20 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-20 10:16 --- Confirmed. --- t1.i typedef struct { int NumPackStreams; } CSzAr; void cli_7unz (CSzAr db) { } --- t2.i typedef struct { int NumPackStreams; } CSzAr; typedef struct { CSzAr db; } CSzArEx; int

[Bug lto/41761] lto1: error: type mismatch in component reference (const with non-const)

2009-10-20 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-20 11:04 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/41761] lto1: error: type mismatch in component reference (const with non-const)

2009-10-20 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-10-20 13:33 --- Subject: Bug 41761 Author: rguenth Date: Tue Oct 20 13:33:03 2009 New Revision: 153012 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153012 Log: 2009-10-20 Richard Guenther rguent...@suse.de PR

[Bug lto/41761] lto1: error: type mismatch in component reference (const with non-const)

2009-10-20 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-20 13:33 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug lto/41761] lto1: error: type mismatch in component reference (const with non-const)

2009-10-20 Thread edwintorok at gmail dot com
--- Comment #7 from edwintorok at gmail dot com 2009-10-20 15:06 --- (In reply to comment #6) Fixed. Thanks, I can now successfully build ClamAV with lto. -- edwintorok at gmail dot com changed: What|Removed |Added