passes.c (rest_of_decl_compilation): Guard early_global_decl call with !seen_error ().
authorRichard Biener <rguenther@suse.de>
Thu, 27 Aug 2015 13:27:02 +0000 (13:27 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 27 Aug 2015 13:27:02 +0000 (13:27 +0000)
commitf11cd82983ce681fd1f6bd232abcc91297d4e855
tree6c8e4c2a30c588f67e6c553245819e9a7c0d4173
parenta98e4e62c1c0c8570c7db321e3c8a2a7c2336c60
passes.c (rest_of_decl_compilation): Guard early_global_decl call with !seen_error ().

2015-08-27  Richard Biener  <rguenther@suse.de>

* passes.c (rest_of_decl_compilation): Guard early_global_decl
call with !seen_error ().
* cgraphunit.c (symbol_table::finalize_compilation_unit): Move
early debug generation and finish...
(symbol_table::compile): ... here to put it after a !seen_error ()
guard.

From-SVN: r227258
gcc/ChangeLog
gcc/cgraphunit.c
gcc/passes.c