Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
c427220a
Commit
c427220a
authored
Jun 08, 2008
by
Nathan Sidwell
Committed by
Nathan Sidwell
Jun 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* except.h: Correct checks for when SJLJ exceptions must be used.
From-SVN: r136568
parent
cf0fd618
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
8 deletions
+19
-8
gcc/ChangeLog
+4
-0
gcc/except.h
+15
-8
No files found.
gcc/ChangeLog
View file @
c427220a
2008-06-08 Nathan Sidwell <nathan@codesourcery.com>
* except.h: Correct checks for when SJLJ exceptions must be used.
2008-06-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* doc/invoke.texi (Wenum-compare): Mention that it is enabled by
...
...
gcc/except.h
View file @
c427220a
...
...
@@ -135,14 +135,14 @@ extern tree (*lang_eh_runtime_type) (tree);
has appropriate support. */
#ifndef MUST_USE_SJLJ_EXCEPTIONS
# if
!(
defined (EH_RETURN_DATA_REGNO) \
# if defined (EH_RETURN_DATA_REGNO) \
&& (defined (TARGET_UNWIND_INFO) \
|| (DWARF2_UNWIND_INFO \
&& (defined (EH_RETURN_HANDLER_RTX) \
|| defined (HAVE_eh_return)))))
# define MUST_USE_SJLJ_EXCEPTIONS 1
# else
|| defined (HAVE_eh_return))))
# define MUST_USE_SJLJ_EXCEPTIONS 0
# else
# define MUST_USE_SJLJ_EXCEPTIONS 1
# endif
#endif
...
...
@@ -152,14 +152,21 @@ extern tree (*lang_eh_runtime_type) (tree);
# endif
# if CONFIG_SJLJ_EXCEPTIONS == 0
# define USING_SJLJ_EXCEPTIONS 0
# if
ndef EH_RETURN_DATA_REGNO
# if
!defined(EH_RETURN_DATA_REGNO)
#error "EH_RETURN_DATA_REGNO required"
# endif
# if !defined(EH_RETURN_HANDLER_RTX) && !defined(HAVE_eh_return)
# if ! (defined(TARGET_UNWIND_INFO) || DWARF2_UNWIND_INFO)
#error "{DWARF2,TARGET}_UNWIND_INFO required"
# endif
# if !defined(TARGET_UNWIND_INFO) \
&& !(defined(EH_RETURN_HANDLER_RTX) || defined(HAVE_eh_return))
#error "EH_RETURN_HANDLER_RTX or eh_return required"
# endif
# if !defined(DWARF2_UNWIND_INFO) && !defined(TARGET_UNWIND_INFO)
#error "{DWARF2,TARGET}_UNWIND_INFO required"
/* Usually the above error checks will have already triggered an
error, but backends may set MUST_USE_SJLJ_EXCEPTIONS for their own
reasons. */
# if MUST_USE_SJLJ_EXCEPTIONS
#error "Must use SJLJ exceptions but configured not to"
# endif
# endif
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment