This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/8549: --pedantic-errors problems on RedHat 6.1


bangerth@dealii.org wrote:
Synopsis: --pedantic-errors problems on RedHat 6.1

State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Tue Nov 12 10:21:26 2002
State-Changed-Why:
You have a very old system... I cannot reproduce this
problem with a more recent distribtion, neither with
3.0, 3.1, or 3.2.
Nevertheless, if you want us
to look at the problem, please tell us what happens exactly
at the lines indicated in std_cmath. Probably, there are
initializers used that come from system headers. Please also provide preprocessed files as described on the gcc homepage.
(However, in this case we would need both information I
mentioned above.)
Could you please also test 3.2.1 once it will be released in
a few days?

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8549
I did not include a preprocessed file, as the problem goes away if you
preprocess it and run on the preprocessed file.

Instead, I have built a tarfile of all the include files touched in the build, and a script that uses -nostdinc -Ifoo -Ibar ... which reproduces the problem on other platforms.

As I mentioned this is a very hard to reproduce bug.

Hopefully the attached tarfile makes it clear; unpack it in an empty directory, and run ./reproduce_it (a shell script).

Marc

Attachment: reproduce_it.tar
Description: Unix tar archive


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]