[Bug lto/46808] Too verbose diagnostic messages when compiling with LTO

2010-12-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46808

--- Comment #2 from Richard Guenther rguenth at gcc dot gnu.org 2010-12-10 
15:54:03 UTC ---
Author: rguenth
Date: Fri Dec 10 15:53:58 2010
New Revision: 167690

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=167690
Log:
2010-12-10  Richard Guenther  rguent...@suse.de

PR lto/46808
* lto-symtab.c (lto_symtab_merge_decls_2): Avoid type warnings
after errors.
(lto_symtab_merge_decls_1): Adjust.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/lto-symtab.c


[Bug lto/46808] Too verbose diagnostic messages when compiling with LTO

2010-12-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46808

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.6.0

--- Comment #3 from Richard Guenther rguenth at gcc dot gnu.org 2010-12-10 
15:55:09 UTC ---
Fixed.


[Bug lto/46808] Too verbose diagnostic messages when compiling with LTO

2010-12-05 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46808

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2010.12.05 12:15:48
 AssignedTo|unassigned at gcc dot   |rguenth at gcc dot gnu.org
   |gnu.org |
 Ever Confirmed|0   |1

--- Comment #1 from Richard Guenther rguenth at gcc dot gnu.org 2010-12-05 
12:15:48 UTC ---
Confirmed.

I'll make sure to remove

2.c:1:5: warning: type of 'main' does not match original declaration [enabled
by default]
1.c:1:5: note: previously declared here

which is redundant, and see what to do about

lto-wrapper: gcc returned 1 exit status
/usr/local/bin/ld: fatal error: lto-wrapper failed
collect2: ld returned 1 exit status