public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/15067] New: Minor glitch in the source of cpp.
@ 2004-04-22 11:15 duz at sol-3 dot de
2004-04-22 12:32 ` [Bug preprocessor/15067] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: duz at sol-3 dot de @ 2004-04-22 11:15 UTC (permalink / raw)
To: gcc-bugs
Returning "false" onto "char *" is actually questionable.
/pub/unpacked/gcc-3.4.0/gcc/cppinit.c:471: incompatible types in return
--
Summary: Minor glitch in the source of cpp.
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: duz at sol-3 dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15067
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug preprocessor/15067] Minor glitch in the source of cpp.
2004-04-22 11:15 [Bug preprocessor/15067] New: Minor glitch in the source of cpp duz at sol-3 dot de
@ 2004-04-22 12:32 ` pinskia at gcc dot gnu dot org
2004-04-23 2:00 ` [Bug preprocessor/15067] [3.4/3.5 Regression] " cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-22 12:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-22 11:23 -------
Confirmed.
Caused by:
* cppinit.c (cpp_read_main_file): Split into two functions:
Distribute _cpp_stack_file call over the two functions.
(cpp_find_main_file): New function.
Don't call _cpp_do_file_change even if working_directory flag set.
(cpp_push_main_file): New function.
* cppfiles.c (_cpp_find_failed): New helper function.
(find_file): Made non-static and renamed to _cpp_find_file.
(_cpp_stack_file): No longer needed. But note the following.
(stack_file): Made non-static and renamed to _cpp_stack_file.
* fix-header.c (cpp_read_main_file): Replace cpp_read_main_file
call with calls to cpp_find_main_file and cpp_push_main_file.
(search_path_head): If there is no current buffer, use main_file.
* cpphash.h: Update function declarations.
* cpplib.h: Update function declarations.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |bothner at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |build
Last reconfirmed|0000-00-00 00:00:00 |2004-04-22 11:23:26
date| |
Target Milestone|--- |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15067
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug preprocessor/15067] [3.4/3.5 Regression] Minor glitch in the source of cpp.
2004-04-22 11:15 [Bug preprocessor/15067] New: Minor glitch in the source of cpp duz at sol-3 dot de
2004-04-22 12:32 ` [Bug preprocessor/15067] " pinskia at gcc dot gnu dot org
@ 2004-04-23 2:00 ` cvs-commit at gcc dot gnu dot org
2004-04-23 2:08 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-04-23 2:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-04-23 01:41 -------
Subject: Bug 15067
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: bothner@gcc.gnu.org 2004-04-23 01:41:21
Modified files:
gcc : cppinit.c ChangeLog
Log message:
* cppinit.c (cpp_read_main_file): Return NULL rather than false.
Fixes PR preprocessor/15067.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppinit.c.diff?cvsroot=gcc&r1=1.304&r2=1.305
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.3465&r2=2.3466
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15067
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug preprocessor/15067] [3.4/3.5 Regression] Minor glitch in the source of cpp.
2004-04-22 11:15 [Bug preprocessor/15067] New: Minor glitch in the source of cpp duz at sol-3 dot de
2004-04-22 12:32 ` [Bug preprocessor/15067] " pinskia at gcc dot gnu dot org
2004-04-23 2:00 ` [Bug preprocessor/15067] [3.4/3.5 Regression] " cvs-commit at gcc dot gnu dot org
@ 2004-04-23 2:08 ` cvs-commit at gcc dot gnu dot org
2004-04-23 2:22 ` bothner at gcc dot gnu dot org
2004-05-19 21:44 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-04-23 2:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-04-23 01:44 -------
Subject: Bug 15067
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: bothner@gcc.gnu.org 2004-04-23 01:44:08
Modified files:
gcc : cppinit.c ChangeLog
Log message:
* cppinit.c (cpp_read_main_file): Return NULL rather than false.
Fixes PR preprocessor/15067.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppinit.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.297.6.4&r2=1.297.6.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.413&r2=2.2326.2.414
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15067
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug preprocessor/15067] [3.4/3.5 Regression] Minor glitch in the source of cpp.
2004-04-22 11:15 [Bug preprocessor/15067] New: Minor glitch in the source of cpp duz at sol-3 dot de
` (2 preceding siblings ...)
2004-04-23 2:08 ` cvs-commit at gcc dot gnu dot org
@ 2004-04-23 2:22 ` bothner at gcc dot gnu dot org
2004-05-19 21:44 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: bothner at gcc dot gnu dot org @ 2004-04-23 2:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bothner at gcc dot gnu dot org 2004-04-23 02:00 -------
Patch checked into mainline and 3.4 branch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15067
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug preprocessor/15067] [3.4/3.5 Regression] Minor glitch in the source of cpp.
2004-04-22 11:15 [Bug preprocessor/15067] New: Minor glitch in the source of cpp duz at sol-3 dot de
` (3 preceding siblings ...)
2004-04-23 2:22 ` bothner at gcc dot gnu dot org
@ 2004-05-19 21:44 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-19 21:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-19 04:12 -------
*** Bug 15536 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |tbogart at frii dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15067
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-05-19 4:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-22 11:15 [Bug preprocessor/15067] New: Minor glitch in the source of cpp duz at sol-3 dot de
2004-04-22 12:32 ` [Bug preprocessor/15067] " pinskia at gcc dot gnu dot org
2004-04-23 2:00 ` [Bug preprocessor/15067] [3.4/3.5 Regression] " cvs-commit at gcc dot gnu dot org
2004-04-23 2:08 ` cvs-commit at gcc dot gnu dot org
2004-04-23 2:22 ` bothner at gcc dot gnu dot org
2004-05-19 21:44 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).