[Bug c++/27255] Including C++ header declares C functions

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-22 02:09 --- Two things, first this is a dup of PR 6257 (which is one of the most report bugs and that means is on http://gcc.gnu.org/bugzilla/duplicates.cgi, please next time read that list). Second, this might become valid to

[Bug libstdc++/6257] C-library symbols enter global namespace

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #23 from pinskia at gcc dot gnu dot org 2006-04-22 02:09 --- *** Bug 27255 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/27255] Including C++ header declares C functions

2006-04-21 Thread trentgamblin at hotmail dot com
--- Comment #2 from trentgamblin at hotmail dot com 2006-04-22 03:23 --- Subject: RE: Including C++ header declares C functions >Two things, first this is a dup of PR 6257 (which is one of the most report >bugs and that means is on http://gcc.gnu.org/bugzilla/duplicates.cgi, >please

[Bug libstdc++/27256] New: gcc 4.1.0 compilation fails on RHEL AS 3 (x86_64)

2006-04-21 Thread st-wong at cuhk dot edu dot hk
Gcc version: 4.1.0 System type: RedHat Enterprise Linux AS 3.0 (x86_64) on Sun v20z (2 x AMD Operaton 252) configure options: ./configure --enable-languages="c,c++,fortran" Command line triggers the bug: make Error output: --- cut here - [snip] /usr/local/src/

[Bug fortran/26106] [meta-bug] Gfortran can't compile tonto

2006-04-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #21 from jvdelisle at gcc dot gnu dot org 2006-04-22 04:48 --- I am able to compile with -g OK. Not sure what I was seeing the other night. Here is a backtrace where I see a segfault: (gdb) bt #0 0x082c1c15 in __atom_module__n_bf ([EMAIL PROTECTED]) at f95files/atom.F90:

[Bug c++/27257] New: Error integer compare in g++ 4.1.0

2006-04-21 Thread johnzhang at tencent dot com
0X8000 - 10 < 0 and 10 - 0X8000 < 0 gcc version 3.3.4 gets a right result of comparing between 10 and 0X8000, but gcc version 4.1.0 fails. the test code followed: #include int main() { int b = 0X8000; if ((10 - b) < 0) { printf("(10 - b) =

[Bug c++/27258] New: ostrstream objects and static variables cause segmentation fault

2006-04-21 Thread tim at yeung dot com
The follow code (build script also included) causes segmentation fault. Problem occurs with g++ 3.4.4 and 3.4.5 on RHEL V4 U2 (x86). Thanks. // build script *** g++ -c staticTestMain.C g++ -Wno-deprecated -c staticTestA.C g++ -o staticTest staticTestA.o staticTestMain.o

<    1   2