public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/14874] New: Compiler driver always returns exit code 0
@ 2004-04-07 11:54 martin at mpa-garching dot mpg dot de
  2004-04-07 12:14 ` [Bug driver/14874] " martin at mpa-garching dot mpg dot de
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: martin at mpa-garching dot mpg dot de @ 2004-04-07 11:54 UTC (permalink / raw)
  To: gcc-bugs

When compiling the following one-liner

#error foo

gcc 3.5 (mainline) returns an exit code of 0,
where earlier versions returned an exit code of 1.

~/tmp>gcc -c -v bug.c
Reading specs from /afs/mpa/data/martin/ugcc/lib/gcc/i686-pc-linux-gnu/3.5.0/specs
Configured with: /scratch/gcc/configure --prefix=/afs/mpa/data/martin/ugcc
--enable-languages=c++ --disable-checking
Thread model: posix
gcc version 3.5.0 20040407 (experimental)
 /afs/mpa/data/martin/ugcc/libexec/gcc/i686-pc-linux-gnu/3.5.0/cc1 -quiet -v
bug.c -quiet -dumpbase bug.c -mtune=pentiumpro -auxbase bug -version -o
/tmp/cc41A6po.s
ignoring nonexistent directory
"/afs/mpa/data/martin/ugcc/lib/gcc/i686-pc-linux-gnu/3.5.0/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /afs/mpa/data/martin/ugcc/include
 /afs/mpa/data/martin/ugcc/lib/gcc/i686-pc-linux-gnu/3.5.0/include
 /usr/include
End of search list.
GNU C version 3.5.0 20040407 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.5.0 20040407 (experimental).
GGC heuristics: --param ggc-min-expand=63 --param ggc-min-heapsize=63318
bug.c:1:2: #error foo
~/tmp>echo $?
0

-- 
           Summary: Compiler driver always returns exit code 0
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: martin at mpa-garching dot mpg dot de
                CC: gcc-bugs at gcc dot gnu dot org,martin at mpa-garching
                    dot mpg dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14874


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-04-07 20:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-07 11:54 [Bug c/14874] New: Compiler driver always returns exit code 0 martin at mpa-garching dot mpg dot de
2004-04-07 12:14 ` [Bug driver/14874] " martin at mpa-garching dot mpg dot de
2004-04-07 12:23 ` [Bug driver/14874] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-04-07 15:07 ` ian at wasabisystems dot com
2004-04-07 20:53 ` 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).