This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Forwarded from gcc-patches@ ML [1].
[1] http://gcc.gnu.org/ml/gcc-patches/2014-03/msg00565.html
---------- Forwarded message ----------
From: Uros Bizjak <ubizjak@gmail.com>
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" <gcc-patches@gcc.gnu.org>
Cc: Andrew Haley <aph@redhat.com>, Rainer Orth <ro@cebitec.uni-bielefeld.de>
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 <ubizjak@gmail.com>
* 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.
Attachment:
j.diff.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |