public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/45145]  New: printing tabs fails strangely
@ 2010-07-30 17:31 allcock at math dot utexas dot edu
  2010-07-30 17:33 ` [Bug c++/45145] " allcock at math dot utexas dot edu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: allcock at math dot utexas dot edu @ 2010-07-30 17:31 UTC (permalink / raw)
  To: gcc-bugs

This should print 100 numbers separated by tabs, then 100 x's separated by
spaces, then 100 x's separated by tabs, then 100 0's (int not char) separated
by tabs. But the last two print fewer than 100--only one line of them.

g++ -v -O0 -Wall --save-temps bug.cc
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5659~1/src/configure --disable-checking
--enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
--build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10-
--host=x86_64-apple-darwin10 --target=i686-apple-darwin10
--with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5659)
 /usr/libexec/gcc/i686-apple-darwin10/4.2.1/cc1plus -E -quiet -v -imultilib
x86_64 -D__DYNAMIC__ bug.cc -fPIC -mmacosx-version-min=10.6.4 -m64 -mtune=core2
-Wall -O0 -fpch-preprocess -D__private_extern__=extern -o bug.ii
ignoring nonexistent directory
"/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../../i686-apple-darwin10/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/c++/4.2.1
 /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64
 /usr/include/c++/4.2.1/backward
 /usr/local/include
 /usr/lib/gcc/i686-apple-darwin10/4.2.1/include
 /usr/include
 /System/Library/Frameworks (framework directory)
 /Library/Frameworks (framework directory)
End of search list.
 /usr/libexec/gcc/i686-apple-darwin10/4.2.1/cc1plus -fpreprocessed bug.ii -fPIC
-quiet -dumpbase bug.cc -mmacosx-version-min=10.6.4 -m64 -mtune=core2 -auxbase
bug -O0 -Wall -version -D__private_extern__=extern -o bug.s
GNU C++ version 4.2.1 (Apple Inc. build 5659) (i686-apple-darwin10)
        compiled by GNU C version 4.2.1 (Apple Inc. build 5659).
GGC heuristics: --param ggc-min-expand=150 --param ggc-min-heapsize=131072
Compiler executable checksum: d1de7f2cb6246ecf28813a5aea73d6f2
 /usr/libexec/gcc/i686-apple-darwin10/4.2.1/as -arch x86_64
-force_cpusubtype_ALL -o bug.o bug.s
 /usr/libexec/gcc/i686-apple-darwin10/4.2.1/collect2 -dynamic -arch x86_64
-macosx_version_min 10.6.4 -weak_reference_mismatches non-weak -o a.out
-lcrt1.10.6.o -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64
-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64
-L/usr/lib/i686-apple-darwin10/4.2.1 -L/usr/lib/gcc/i686-apple-darwin10/4.2.1
-L/usr/lib/gcc/i686-apple-darwin10/4.2.1
-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../i686-apple-darwin10/4.2.1
-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../.. bug.o -lstdc++ -lSystem -lgcc
-lSystem


-- 
           Summary: printing tabs fails strangely
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: allcock at math dot utexas dot edu


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


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

* [Bug c++/45145] printing tabs fails strangely
  2010-07-30 17:31 [Bug c++/45145] New: printing tabs fails strangely allcock at math dot utexas dot edu
@ 2010-07-30 17:33 ` allcock at math dot utexas dot edu
  2010-07-30 17:54 ` redi at gcc dot gnu dot org
  2010-07-31  9:23 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: allcock at math dot utexas dot edu @ 2010-07-30 17:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from allcock at math dot utexas dot edu  2010-07-30 17:33 -------
Created an attachment (id=21361)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21361&action=view)
preprocessed version of 20-line c++ file exhibiting bug


-- 


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


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

* [Bug c++/45145] printing tabs fails strangely
  2010-07-30 17:31 [Bug c++/45145] New: printing tabs fails strangely allcock at math dot utexas dot edu
  2010-07-30 17:33 ` [Bug c++/45145] " allcock at math dot utexas dot edu
@ 2010-07-30 17:54 ` redi at gcc dot gnu dot org
  2010-07-31  9:23 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu dot org @ 2010-07-30 17:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from redi at gcc dot gnu dot org  2010-07-30 17:54 -------
4.2.1 is no logner supported, and bugs for Apple builds should be reported to
Apple.


-- 


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


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

* [Bug c++/45145] printing tabs fails strangely
  2010-07-30 17:31 [Bug c++/45145] New: printing tabs fails strangely allcock at math dot utexas dot edu
  2010-07-30 17:33 ` [Bug c++/45145] " allcock at math dot utexas dot edu
  2010-07-30 17:54 ` redi at gcc dot gnu dot org
@ 2010-07-31  9:23 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-31  9:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-07-31 09:23 -------
as of comment #2, invalid.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2010-07-31  9:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-30 17:31 [Bug c++/45145] New: printing tabs fails strangely allcock at math dot utexas dot edu
2010-07-30 17:33 ` [Bug c++/45145] " allcock at math dot utexas dot edu
2010-07-30 17:54 ` redi at gcc dot gnu dot org
2010-07-31  9:23 ` rguenth 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).