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
6c40858f
Commit
6c40858f
authored
Mar 11, 2002
by
Richard Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* toplev.c (rest_of_compilation): Don't compile if we've had errors.
From-SVN: r50604
parent
40adaa27
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
10 deletions
+20
-10
gcc/ChangeLog
+7
-4
gcc/testsuite/ChangeLog
+5
-0
gcc/testsuite/g++.old-deja/g++.brendan/crash52.C
+1
-2
gcc/testsuite/g++.old-deja/g++.jason/report.C
+2
-2
gcc/toplev.c
+5
-2
No files found.
gcc/ChangeLog
View file @
6c40858f
2002-03-11 Richard Henderson <rth@redhat.com>
* toplev.c (rest_of_compilation): Don't compile if we've had errors.
2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
* Makefile.in: Update.
doc:
* cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
* doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
Update documentation.
* gcc.texi: Include cppopts.texi and cppenv.texi.
* cpp.texi: Include cppopts.texi and cppenv.texi.
*
doc/
gcc.texi: Include cppopts.texi and cppenv.texi.
*
doc/
cpp.texi: Include cppopts.texi and cppenv.texi.
2002-03-11 Zack Weinberg <zack@codesourcery.com>
...
...
gcc/testsuite/ChangeLog
View file @
6c40858f
2002-03-11 Richard Henderson <rth@redhat.com>
* g++.old-deja/g++.brendan/crash52.C: Remove return warning marker.
* g++.old-deja/g++.jason/report.C: Likewise.
2002-03-11 Nathan Sidwell <nathan@codesourcery.com>
* testsuite/g++.old-deja/g++.other/friend9.C: Revert DR 209 changes.
...
...
gcc/testsuite/g++.old-deja/g++.brendan/crash52.C
View file @
6c40858f
...
...
@@ -10,5 +10,4 @@ public:
A
&
f
(
A
&
a
)
{
// ERROR - new decl.*
std
::
cout
<<
"Blah
\n
"
;
}
// ERROR - non-void function
}
gcc/testsuite/g++.old-deja/g++.jason/report.C
View file @
6c40858f
...
...
@@ -55,7 +55,7 @@ bar2 baz (X::Y y)
bar2
wa
[
5
];
wa
[
0
]
=
baz
(
f
);
undef2
(
1
);
// ERROR - implicit declaration
}
// ERROR - non-void
}
int
ninny
()
{
...
...
@@ -70,4 +70,4 @@ int ninny ()
int
darg
(
char
X
::*
p
)
{
undef3
(
1
);
// ERROR - implicit declaration
}
// ERROR - non-void
}
gcc/toplev.c
View file @
6c40858f
...
...
@@ -2540,8 +2540,11 @@ rest_of_compilation (decl)
purge_hard_subreg_sets
(
get_insns
());
emit_initial_value_sets
();
/* Don't return yet if -Wreturn-type; we need to do cleanup_cfg. */
if
((
rtl_dump_and_exit
||
flag_syntax_only
)
&&
!
warn_return_type
)
/* Early return if there were errors. We can run afoul of our
consistency checks, and there's not really much point in fixing them.
Don't return yet if -Wreturn-type; we need to do cleanup_cfg. */
if
(((
rtl_dump_and_exit
||
flag_syntax_only
)
&&
!
warn_return_type
)
||
errorcount
||
sorrycount
)
goto
exit_rest_of_compilation
;
/* We may have potential sibling or tail recursion sites. Select one
...
...
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