Forwarded from gcc-patches@ ML [1]. [1] http://gcc.gnu.org/ml/gcc-patches/2014-03/msg00565.html ---------- Forwarded message ---------- From: Uros Bizjak Date: Wed, Mar 12, 2014 at 12:18 PM Subject: [PATCH, libjava]: Cleanup include/dwarf2-signal.h to avoid several warnings To: "gcc-patches@gcc.gnu.org" Cc: Andrew Haley , Rainer Orth Hello! Attached patch cleans include/dwarf2-signal.h to avoid ./include/java-signal.h:26:19: warning: declaration 'class java::lang::Throwable' does not declare anything ./include/java-signal.h:24:42: warning: unused parameter '_sip' [-Wunused-parameter] ./include/java-signal.h:26:19: warning: declaration 'class java::lang::Throwable' does not declare anything ./include/java-signal.h:26:19: warning: declaration 'class java::lang::Throwable' does not declare anything on alpha-pc-linux-gnu build. The SIGNAL_HANDLER change is taken from x86_64-signal.h header and allows empty definition of MAKE_THROW_FRAME. 2014-03-12 Uros Bizjak * include/dwarf2-signal.h: Update copyright year. (SIGNAL_HANDLER): Remove _sip argument. Mark _p argument with __attribute__ ((__unused__)). (class java::lang::Throwable): Remove declaration. (MAKE_THROW_FRAME) [!__ia64__]: Define as empty definition. Patch was bootstrapped and regression tested on alpha-pc-linux-gnu and is committed to mainline SVN under obvious rule. Uros.