public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: other/9470: [pch] error when creating pch still causes output
@ 2003-03-25 2:03 bangerth
0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2003-03-25 2:03 UTC (permalink / raw)
To: bkoz, gcc-bugs, gcc-prs, geoffk, nobody
Synopsis: [pch] error when creating pch still causes output
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Mar 25 01:52:38 2003
State-Changed-Why:
Indeed. Still the case.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9470
^ permalink raw reply [flat|nested] 2+ messages in thread
* other/9470: [pch] error when creating pch still causes output
@ 2003-01-28 3:46 bkoz
0 siblings, 0 replies; 2+ messages in thread
From: bkoz @ 2003-01-28 3:46 UTC (permalink / raw)
To: gcc-gnats; +Cc: geoffk
>Number: 9470
>Category: other
>Synopsis: [pch] error when creating pch still causes output
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 28 03:46:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Benjamin Kosnik
>Release: rh 7.3, head
>Organization:
>Environment:
Reading specs from /mnt/hd/ahimsa/bld-x86-gcc/gcc/specs
Configured with: /mnt/hd/bliss/src.gcc/gcc/configure --prefix=/mnt/hd/ahimsa/H-x86-gcc --enable-languages=c,c++ --enable-__cxa_atexit
Thread model: posix
gcc version 3.4 20030126 (experimental)
>Description:
Create a bogus C++ header, try to precompile it. You'll get a warning, AND a .pch file.
This is entirely unexpected: if gcc can't compile a file, it does not then write out an invalid .o file.
>How-To-Repeat:
%COMP.sh "-x c++-header -Winvalid-pch" ostream
/mnt/hd/ahimsa/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_algobase.h:149: warning: inline
function `const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = size_t]'
used but never defined
/usr/lib/crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
%ll ostream.pch
-rw-rw-r-- 1 bkoz bkoz 7.0M Jan 27 21:37 ostream.pch
>Fix:
Don't write out the file.
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-25 1:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-25 2:03 other/9470: [pch] error when creating pch still causes output bangerth
-- strict thread matches above, loose matches on Subject: below --
2003-01-28 3:46 bkoz
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).