A question concering GCC testsuite

2006-10-05 Thread Revital1 Eres
Hello, I appreciate it if someone could explain what is the difference between gcc.c-torture library and gcc.dg library under the testsuite directory. Thanks, Revital

Re: A question concering GCC testsuite

2006-10-05 Thread Andrew Pinski
On Thu, 2006-10-05 at 09:27 +0200, Revital1 Eres wrote: Hello, I appreciate it if someone could explain what is the difference between gcc.c-torture library and gcc.dg library under the testsuite directory. http://gcc.gnu.org/wiki/HowToPrepareATestcase Should explain it. If it does not, here

Get C/C++ Preprocessor Tokens

2006-10-05 Thread Matteo Fioroni
Hi, I need to get the C/C++ Preprocessor tokens for perform some operations on them. How can I write a program interface the Preprocessor and get the token that it analyze? Tnaks for help. Matteo. __ Do You Yahoo!? Poco spazio e tanto spam? Yahoo!

Get C/C++ Preprocessor Tokens

2006-10-05 Thread Raghu
Hi Matteo, Do you want the list of tokens present in the source file which is being compiled ? - Regards, Raghavendra MB. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matteo Fioroni Sent: Thursday, October 05,

Re: Documentation for loop infrastructure

2006-10-05 Thread Ira Rosen
Zdenek Dvorak [EMAIL PROTECTED] wrote on 28/09/2006 15:04:07: I have commited the documentation, including the parts from Daniel and Sebastian (but not yours) now. Zdenek I've committed my part. Ira

Re: [MIPS64] Problems when Passing TImode Parameters in EABI

2006-10-05 Thread Richard Sandiford
Fu, Chao-Ying [EMAIL PROTECTED] writes: I think there is a bug in mips_pass_by_reference when the mips abi is EABI to pass TImode parameters. Good catch. Does someone know how to pass TImode parameters in EABI? Thanks! I imagine this case wasn't specifically considered. The EABI calls

Re: [MIPS64] Problems when Passing TImode Parameters in EABI

2006-10-05 Thread Nigel Stephens
Fu, Chao-Ying wrote: Hello, I think there is a bug in mips_pass_by_reference when the mips abi is EABI to pass TImode parameters. The following code is from the mainline GCC mips.c. - mips_pass_by_reference (CUMULATIVE_ARGS *cum ATTRIBUTE_UNUSED,

Re: How can I interface myself with the C preprocessor?

2006-10-05 Thread Michael Eager
Matteo Fioroni wrote: Thanks for your help, I saw the gcc -E output: but it don't match my needs. I've to interface the Preprocessor to get the tokens (keyword, preprocessor directives, grammar, ecc..) it analyzes on which I've to permorm some operations. The preprocessor doesn't break C into

Re: How can I interface myself with the C preprocessor?

2006-10-05 Thread Michael Eager
Michael Eager wrote: Matteo Fioroni wrote: Thanks for your help, I saw the gcc -E output: but it don't match my needs. I've to interface the Preprocessor to get the tokens (keyword, preprocessor directives, grammar, ecc..) it analyzes on which I've to permorm some operations. The preprocessor

setjmp-3/setjmp-4 Darwin failures

2006-10-05 Thread Jack Howarth
Are the failures in the new setjmp-3 and setjmp-4 testcases on Darwin just another manifestation of PR10901? Jack

Re: IPA branch

2006-10-05 Thread Razya Ladelsky
Mark Mitchell [EMAIL PROTECTED] wrote on 29/09/2006 01:55:24: Razya Ladelsky wrote: Except for new optimizations, IPCP (currently on mainline) should also be transformed to SSA. IPCP in SSA code exists on IPA branch, and will be submitted to GCC4.3 after IPA branch is committed

How do I code and compile a class liberary?

2006-10-05 Thread Changjiang Mei
Dear Sirs, I've successfully compiled a complete application into an executable using g++. I'm trying to develop a class library and compile into library for use by other programs. Can any one show me how? Thank you very much in advance. C.-J. Mei

Re: How do I code and compile a class liberary?

2006-10-05 Thread Mike Stump
On Oct 5, 2006, at 11:55 AM, Changjiang Mei wrote: I've successfully compiled a complete application into an executable using g++. I'm trying to develop a class library and compile into library for use by other programs. Can any one show me how? Thank you very much in advance. Please

problems with labels

2006-10-05 Thread Andrija Radicevic
Hi, I'm trying to adjust an already existing target port of gcc-2.95.2 to gcc-4.1.0 and I came to a point where I could use some help. Everything seams fine until xgcc tries to compile libgcc2.c, then I get the following error messages: libgcc2.s: Assembler messages: libgcc2.s:52: Error:

Re: problems with labels

2006-10-05 Thread Mike Stump
On Oct 5, 2006, at 1:56 PM, Andrija Radicevic wrote: libgcc2.s:52: Error: unknown pseudo-op: `.lm_0' .LM_0 .LM_0: I have found out that the correct labels are written out by the hook TARGET_ASM_INTERNAL_LABEL and the faulty ones are the result of the output from the macro

Re: problems with labels

2006-10-05 Thread Andrija Radicevic
Does your generate look substantially different from: #undef ASM_GENERATE_INTERNAL_LABEL #define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \ sprintf (LABEL, *%s%ld, PREFIX, (long)(NUM)) Hint, I put it outputs a label, which is wrong (or calls something that does). no, it's simple

gcc-4.0-20061005 is now available

2006-10-05 Thread gccadmin
Snapshot gcc-4.0-20061005 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20061005/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.0 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Creating a VAR_DECL in a named section.

2006-10-05 Thread Brendon Costa
Hi all, I have been trying to place some data into a named section of a .o file. I can do it currently by hooking into various of the RTL to assembly routines and emitting the asm code directly, however I am now trying to do it from within the C++ front end by inserting a VAR_DECL node and

Re: How can I interface myself with the C preprocessor?

2006-10-05 Thread James Dennett
Michael Eager wrote: Matteo Fioroni wrote: Thanks for your help, I saw the gcc -E output: but it don't match my needs. I've to interface the Preprocessor to get the tokens (keyword, preprocessor directives, grammar, ecc..) it analyzes on which I've to permorm some operations. The preprocessor

[Bug target/29337] -mfpmath=387 doesn't use fistp for double-to-integer conversion

2006-10-05 Thread uros at kss-loka dot si
--- Comment #8 from uros at kss-loka dot si 2006-10-05 07:08 --- try -O2 -msse2, you get: _Z8todoubledd: subl$12, %esp fldl24(%esp) faddl 16(%esp) fstpl (%esp) movsd (%esp), %xmm0 addl$12, %esp cvttsd2si

[Bug c++/29348] Ambiguous warning with -Weffc++

2006-10-05 Thread federico dot carminati at cern dot ch
--- Comment #4 from federico dot carminati at cern dot ch 2006-10-05 07:44 --- Subject: Re: Ambiguous warning with -Weffc++ Thanks for your answer. However, if I just code in the following way int f(a lhc) { if (lhs) return TRUE; else if g() return TRUE;

[Bug fortran/27900] ICE using intrinsics as arguments

2006-10-05 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2006-10-05 07:45 --- (In reply to comment #5) FX, When the len in call sub(len) is resolved, it is never given its correct return type, which leads to the ICE. I still don't understand why the implicit none is doing this on

[Bug target/29347] i386 mode switching clobbers fp exception handling bits

2006-10-05 Thread uros at kss-loka dot si
--- Comment #2 from uros at kss-loka dot si 2006-10-05 07:51 --- (In reply to comment #0) The mode switching for floating point rounding that the i386 backend does does not actually place mode switches, but rather the calculation of values used for mode switches. Not only does that

[Bug fortran/27900] ICE using intrinsics as arguments

2006-10-05 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2006-10-05 08:05 --- (In reply to comment #6) I am glad to see that you are pursuing that one. I nearly bust my head on it my notes indicate that I had a fix that broke everything else; no details, so not much help I'm afraid. I

[Bug fortran/27588] -fbounds-check should catch substring out of range accesses

2006-10-05 Thread patchapp at dberlin dot org
--- Comment #5 from patchapp at dberlin dot org 2006-10-05 08:07 --- Subject: Bug number PR27588 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00234.html --

[Bug pch/29353] New: ICE: testsuite failure with max-unswitch-insns=1000 max-unswitch-level=4 max-aliased-vops=10000

2006-10-05 Thread micis at gmx dot de
When I bootstrap gcc with the commands given below I get a testsuite failure in libstdc++-v3/testsuite/25_algorithms/rotate/1.cc It might be a pch problem, since that ice does not occur if I compile the testsuite file without using any library Michael Cieslinski Command to build and test gcc:

[Bug tree-optimization/29333] Jump threading getting in the way of PHI-OPT

2006-10-05 Thread roberto dot costa at st dot com
--- Comment #3 from roberto dot costa at st dot com 2006-10-05 08:15 --- I tested what happens if the first PHI-OPT pass is moved right before the first VRP pass in gcc/passes.c It looks like PHI-OPT should be run both before and after VRP and DOM. The example reported shows that,

[Bug driver/17621] Add option to have GCC not search $(prefix)

2006-10-05 Thread carlos at codesourcery dot com
--- Comment #14 from carlos at codesourcery dot com 2006-10-05 08:33 --- GCC_EXEC_PREFIX does not control the search directories for header files. Could you verify that your target actually compiles before applying the patches? Both gcc and cpp need to be taught taught not to search

[Bug target/28307] [4.1/4.2 Regression] pthread functions in libgcc not weak any more on Tru64 UNIX

2006-10-05 Thread markus dot schoepflin at comsoft dot de
--- Comment #5 from markus dot schoepflin at comsoft dot de 2006-10-05 08:49 --- (In reply to comment #3) With the attached patch, at least the unmodified boehm-gc 6.7 tested successfully. I stumbled accross this bug when investigating why the boost thread library tests started to

[Bug libstdc++/29354] New: Error when seeking on an ostringstream

2006-10-05 Thread jkanze at cheuvreux dot com
The function seekp(pos_type) fails on an empty stream, even when the target position is the value returned by tellp. --- #include ostream #include sstream #include iostream int main() { std::ios::pos_type const err =

[Bug libstdc++/29354] Error when seeking on an ostringstream

2006-10-05 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-10-05 09:28 --- Ok, thanks for the report. The issue is the following: tellp() calls pubseekoff, whereas seekp() calls pubseekpos. Since we are implementing the resolution of DR 453, which allows pubseekoff to not fail when the stream is

[Bug tree-optimization/29290] [4.1 Regression] SPEC CPU2000 178.galgel ICE using -O3 -ftree-loop-linear

2006-10-05 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug driver/17621] Add option to have GCC not search $(prefix)

2006-10-05 Thread eweddington at cso dot atmel dot com
--- Comment #15 from eweddington at cso dot atmel dot com 2006-10-05 12:49 --- (In reply to comment #14) GCC_EXEC_PREFIX does not control the search directories for header files. Could you verify that your target actually compiles before applying the patches? In the test that I

[Bug target/28924] x86 sync builtins fail for char and short memory operands

2006-10-05 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug c++/29356] New: typedef name denoting unnamed class should have external linkage

2006-10-05 Thread amylaar at gcc dot gnu dot org
In this code: typedef class { public: void m(); } C; void C::m() { } void f() { C c; c.m(); } // { dg-final { scan-assembler (.globl|.global)\[ \t]+[_]+ZN1C1mEv } } C is a typedef name which accroding to 7.1.3 is used to denote the unnamed class. 3.5 ; 4, 3rd item, specifies that this

[Bug c++/29356] typedef name denoting unnamed class should have external linkage

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-05 14:25 --- I think *** This bug has been marked as a duplicate of 7221 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/7221] wrong linkage in member functions of typedef-named classes

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-05 14:25 --- *** Bug 29356 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/29353] ICE: testsuite failure with max-unswitch-insns=1000 max-unswitch-level=4 max-aliased-vops=10000

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-05 14:30 --- As far as I can tell this has nothing to do with PCH. It might be a pch problem, since that ice does not occur if I compile the testsuite file without using any library What do you mean by this? -- pinskia at

[Bug debug/28980] [4.0/4.1 Regression] ICE in loc_descriptor_from_tree_1 with -g

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2006-10-05 14:33 --- Subject: Bug 28980 Author: pinskia Date: Thu Oct 5 14:33:46 2006 New Revision: 117456 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117456 Log: 2006-10-05 Andrew Pinski [EMAIL PROTECTED] PR

[Bug debug/28980] [4.0 Regression] ICE in loc_descriptor_from_tree_1 with -g

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2006-10-05 14:34 --- Fixed in 4.1 also. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/28701] [4.1/4.2 regression] ABI test failures building libstdc++ on a glibc-2.4 based system

2006-10-05 Thread debian-gcc at lists dot debian dot org
--- Comment #10 from debian-gcc at lists dot debian dot org 2006-10-05 15:13 --- are other patches than r111381 (trunk) required for a backport of long-double-128 to the 4.1 branch? Matthias -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28701

[Bug target/27287] [4.1 Regression] returning constant double

2006-10-05 Thread dje at gcc dot gnu dot org
--- Comment #41 from dje at gcc dot gnu dot org 2006-10-05 15:18 --- Subject: Bug 27287 Author: dje Date: Thu Oct 5 15:18:18 2006 New Revision: 117458 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117458 Log: Backport from mainline 2006-09-11 Guenter Roeck

$rstr7-19b

2006-10-05 Thread Jeff
$rstr7-19b

[Bug target/28701] [4.1/4.2 regression] ABI test failures building libstdc++ on a glibc-2.4 based system

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-10-05 15:40 --- This looks related to PR 26926. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/27221] g++.dg/ext/alignof2.C fails on powerpc-darwin (and powerpc-aix)

2006-10-05 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug target/27968] gcc emits (undefined) ffreep opcode which is not understood by Solaris' /usr/ccs/bin/as when tuning for Athlon or Opteron CPUs

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-05 15:44 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/27287] [4.1 Regression] returning constant double

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #42 from pinskia at gcc dot gnu dot org 2006-10-05 15:47 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/28400] install-driver is missing $(exeext) from gcc-$(version)

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-05 15:48 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug inline-asm/29357] New: inline asm %c0 template form not documented

2006-10-05 Thread avi at argo dot co dot il
the form %c0, as in asm ( movl $42, %c0(%1) : : i(offsetof(...)), r(...) : memory ); is not documented. -- Summary: inline asm %c0 template form not documented Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: trivial

[Bug inline-asm/29357] inline asm %c0 template form not documented

2006-10-05 Thread avi at argo dot co dot il
--- Comment #1 from avi at argo dot co dot il 2006-10-05 16:05 --- Created an attachment (id=12384) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12384action=view) proposed documentation patch I don't have a coypright assignment, but most of this is copied verbatim from the

[Bug libstdc++/11953] _REENTRANT defined when compiling non-threaded code.

2006-10-05 Thread debian-gcc at lists dot debian dot org
--- Comment #41 from debian-gcc at lists dot debian dot org 2006-10-05 16:06 --- the patch was applied in the redhat/gcc-4_1-branch, not in the gcc-4_1-branch. either the target milestone should be changed or the bug reopened. Matthias -- debian-gcc at lists dot debian dot org

[Bug fortran/27900] ICE using intrinsics as arguments

2006-10-05 Thread paulthomas2 at wanadoo dot fr
--- Comment #8 from paulthomas2 at wanadoo dot fr 2006-10-05 16:17 --- Subject: Re: ICE using intrinsics as arguments FX That bug is fixed by my submitted patch about INTRINSICS (http://gcc.gnu.org/ml/fortran/2006-10/msg00022.html). I'll review it tomorrow - I am going to give

[Bug fortran/28415] 4.2.0 ICE when using automatic array and -fno-automatic

2006-10-05 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug libgcj/29324] add wait handling hook

2006-10-05 Thread daney at gcc dot gnu dot org
--- Comment #5 from daney at gcc dot gnu dot org 2006-10-05 17:02 --- Another idea: In the SIGCHLD signal handler record the pid of the process that exited. Then look it up in the pidToProcess map. If it belongs to the libgcj runtime, then do waitpid(pid, ...) on it. Otherwise

[Bug c/29358] New: Warning issued two times with snprintf

2006-10-05 Thread pf dot hugues at gmail dot com
The following snipped of code compiled with -Wall emits two times the same warning : #include stdio.h #include stdint.h #include stdlib.h int main(void) { uint32_t foo = 42; char bar[] = bla; char *buffer = malloc(10); snprintf(buffer, 10, %lu %s\n, foo, bar); free(buffer);

[Bug c/29358] Warning issued two times with snprintf

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-05 17:07 --- uint32_t is unsigned int on those targets and this is not a bug. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/29358] Warning issued two times with snprintf

2006-10-05 Thread joseph at codesourcery dot com
--- Comment #2 from joseph at codesourcery dot com 2006-10-05 17:10 --- Subject: Re: Warning issued two times with snprintf On Thu, 5 Oct 2006, pinskia at gcc dot gnu dot org wrote: uint32_t is unsigned int on those targets and this is not a bug. Did you read the bug report? The

[Bug c/29358] Warning issued two times with snprintf

2006-10-05 Thread pf dot hugues at gmail dot com
--- Comment #3 from pf dot hugues at gmail dot com 2006-10-05 17:11 --- I don't contest the warning, but why is it printed 2 times ?! -- pf dot hugues at gmail dot com changed: What|Removed |Added

[Bug c/29358] Warning issued two times with snprintf

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-05 17:15 --- (gdb) p debug_tree (function) addr_expr 0xb7dd60a0 type pointer_type 0xb7dd3900 type function_type 0xb7dae180 type integer_type 0xb7d122a0 int SI size integer_cst 0xb7cff380

[Bug middle-end/29358] Warning issued two times with snprintf

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-05 17:17 --- (In reply to comment #2) Did you read the bug report? The problem is that the warning is issued twice when it should be issued once. Woops, I am too tried I'd guess that the issue that that the system header

[Bug libgcj/29324] add wait handling hook

2006-10-05 Thread daney at gcc dot gnu dot org
-- daney at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |daney at gcc dot gnu dot org |dot org

[Bug fortran/28415] 4.2.0 ICE when using automatic array and -fno-automatic

2006-10-05 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2006-10-05 17:32 --- Subject: Bug number PR fortran/28415 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00258.html --

[Bug fortran/19260] not required when splitting a token in continuation

2006-10-05 Thread patchapp at dberlin dot org
--- Comment #9 from patchapp at dberlin dot org 2006-10-05 17:34 --- Subject: Bug number PR19260 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00255.html --

[Bug middle-end/29335] transcendental functions with constant arguments should be resolved at compile-time

2006-10-05 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2006-10-05 17:54 --- (In reply to comment #0) 1. Whether a certain minimum version of GMP/MPFR is required to avoid known bugs, etc. See my recent patch to toplevel configure.in. THe minimum required versions should be gmp-4.1.x

[Bug c++/29359] New: bad relocation section name `' in .o causes segv of ld.

2006-10-05 Thread jmbnyc at gmail dot com
I have been encountering the following problem for several weeks. I compile and create few c++ shared libraries (can happen with just one, so it has nothing to do with the number). I then attempt to link a program and I get the following type of segv during the link step: collect2: ld terminated

[Bug c++/29359] bad relocation section name `' in .o causes segv of ld.

2006-10-05 Thread jmbnyc at gmail dot com
--- Comment #1 from jmbnyc at gmail dot com 2006-10-05 18:18 --- Created an attachment (id=12385) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12385action=view) gzip'd tar file with README that shows how to reproduce -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29359

[Bug c++/29359] bad relocation section name `' in .o causes segv of ld.

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-05 18:18 --- *** This bug has been marked as a duplicate of 29244 *** *** This bug has been marked as a duplicate of 29244 *** -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/29244] bad relocation section name

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-05 18:18 --- *** Bug 29359 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29244

[Bug c++/29359] bad relocation section name `' in .o causes segv of ld.

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-05 18:19 --- Didn't I already tell you to post this to binutils? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29359

[Bug c++/29359] bad relocation section name `' in .o causes segv of ld.

2006-10-05 Thread jmbnyc at gmail dot com
--- Comment #4 from jmbnyc at gmail dot com 2006-10-05 18:23 --- (In reply to comment #3) Didn't I already tell you to post this to binutils? yes you did and I did what you asked. However, I now believe that the problem is with the compiler. I also came up with a test case that

[Bug c++/29359] bad relocation section name `' in .o causes segv of ld.

2006-10-05 Thread jmbnyc at gmail dot com
--- Comment #5 from jmbnyc at gmail dot com 2006-10-05 18:27 --- Subject: Re: bad relocation section name `' in .o causes segv of ld. Look, I am not trying to be a jerk, but this new filing has a test case associated with it (another thing that you asked for). In addition, I took your

[Bug c++/29359] bad relocation section name `' in .o causes segv of ld.

2006-10-05 Thread jmbnyc at gmail dot com
--- Comment #6 from jmbnyc at gmail dot com 2006-10-05 18:41 --- This bug might be a duplicate as you suggest but (my fault for opening new instead of updating original) it is not 'resolved'. On the original post you said to report to binutils because you suggested the bug was not in

[Bug middle-end/29359] bad relocation section name `' in .o causes segv of ld.

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-10-05 18:48 --- If you disagree with that assertion then please tell me. Yes I do disagree because GCC only produces a .s file which then binutils assembles and links. Then again you are using a GCC and binutils that were modified

[Bug middle-end/29359] bad relocation section name `' in .o causes segv of ld.

2006-10-05 Thread jmbnyc at gmail dot com
--- Comment #8 from jmbnyc at gmail dot com 2006-10-05 18:48 --- Subject: Re: bad relocation section name `' in .o causes segv of ld. One last comment. From the below, I think it is clear that the compiler is the problem. If I compile with -g then I get the problem, however if I

[Bug middle-end/29359] bad relocation section name `' in .o causes segv of ld.

2006-10-05 Thread jmbnyc at gmail dot com
--- Comment #9 from jmbnyc at gmail dot com 2006-10-05 18:51 --- Subject: Re: bad relocation section name `' in .o causes segv of ld. Fair enough. I did report it to them, but never heard back. Uli Drepper is going to try to help me get to the right people. He has also offered to look

[Bug inline-asm/23200] [4.0/4.1/4.2 regression] rejects i(var + 1)

2006-10-05 Thread stsp at users dot sourceforge dot net
--- Comment #25 from stsp at users dot sourceforge dot net 2006-10-05 19:29 --- i(var) of course can't work with -fpic, I tried it on an x86_64 today, and it seems to work. If I use -m32, then it doesn't. Why? it would only work at the expense of text relocations, but those are not

[Bug c++/29360] New: temporary to which static storage duration reference is bound destroyed too early

2006-10-05 Thread amylaar at gcc dot gnu dot org
According to 12.2 ; 5, in the following code: int count; class C { public: int i; C() : i(1) { ++count;} C(const C c) : i(c.i) { ++count;} ~C() { --count;} }; int f () { static const C c = C(); return c.i; } int main () { int i = f (); return count i; } the temporary to which

[Bug c/29361] New: Code seg faults

2006-10-05 Thread dmccullough at hpti dot com
I have some code which when compiled: Using gcc 4.0.3(ubuntu 4.0.3-lubuntu5) I have no problems. Using gcc version 4.1.0 (SUSE Linux) and -O2 or -O3, I have no problems. HOWEVER, using no compile flags, the code seg faults. Is it worth generating a small test case and test data file? --

[Bug c++/28301] [4.0/4.1 regression] ICE with broken specialization

2006-10-05 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2006-10-05 19:58 --- Fixed on mainline by Lee's patch for PR27667. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/29021] [4.2 regression] ICE on invalid use of * in template

2006-10-05 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2006-10-05 20:31 --- The bug is actually only a 4.2 regression as it only affected mainline (sorry for the incorrect info). Yes, indeed affected and not affects: The bug has been fixed by Mark's patch for PR 29105. Since the

[Bug c++/29105] [4.2 Regression] segfault in add_candidates with a non template base class and a template member function

2006-10-05 Thread reichelt at gcc dot gnu dot org
--- Comment #6 from reichelt at gcc dot gnu dot org 2006-10-05 20:31 --- *** Bug 29021 has been marked as a duplicate of this bug. *** -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/29361] Code seg faults

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-05 20:36 --- well a testcase is needed to reproduce the problem in the first place anyways so yes a testcase. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/29360] temporary to which static storage duration reference is bound destroyed too early

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-05 20:38 --- *** This bug has been marked as a duplicate of 20416 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/20416] Incorrect lifetime for temporary with static const reference

2006-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-05 20:38 --- *** Bug 29360 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgcj/29362] New: NullPointerException in gnu.xml.transform.TransformerImpl.strip(libgcj.so.7rh)

2006-10-05 Thread jjohnstn at redhat dot com
The new FC6 eclipse cdt generates a java.lang.NullPointerException everytime it tries to save the .cdtproject project file. This occurs when changes are made to a CDT project. For example, adding a new source folder causes the error. I have isolated the problem to a stand-alone testcase which

[Bug libgcj/29362] NullPointerException in gnu.xml.transform.TransformerImpl.strip(libgcj.so.7rh)

2006-10-05 Thread jjohnstn at redhat dot com
--- Comment #1 from jjohnstn at redhat dot com 2006-10-05 20:48 --- Created an attachment (id=12386) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12386action=view) Testcase that exhibits problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29362

[Bug middle-end/29359] bad relocation section name `' in .o causes segv of ld.

2006-10-05 Thread drow at gcc dot gnu dot org
--- Comment #10 from drow at gcc dot gnu dot org 2006-10-05 20:49 --- FYI, the testcase does not build with my system g++ 4.1.2; remove the static from 'extern C static'. The result does not choke my system's binutils, i.e. it links successfully. If I use the provided .s file instead

[Bug middle-end/29359] bad relocation section name `' in .o causes segv of ld.

2006-10-05 Thread jmbnyc at gmail dot com
--- Comment #11 from jmbnyc at gmail dot com 2006-10-05 20:57 --- Subject: Re: bad relocation section name `' in .o causes segv of ld. Thanks for looking at it. Uli Drepper helped me to look at the asm and conclude (just about one hour ago) that indeed the problem is with as. It

[Bug c++/27720] ICE with initialization of invalid variable

2006-10-05 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2006-10-05 21:00 --- Fixed on mainline by Lee's patch for PR26938. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgcj/29362] NullPointerException in gnu.xml.transform.TransformerImpl.strip(libgcj.so.7rh)

2006-10-05 Thread jjohnstn at redhat dot com
--- Comment #2 from jjohnstn at redhat dot com 2006-10-05 21:12 --- Created an attachment (id=12387) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12387action=view) sample cdtproject file that is used by test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29362

[Bug fortran/24398] invalid module file gives weird error

2006-10-05 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2006-10-05 21:20 --- Created an attachment (id=12388) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12388action=view) A fix for this PR This checks for the presence of GFORTRAN module as the first utterances in the .mod file. The

[Bug xml/29362] NullPointerException in gnu.xml.transform.TransformerImpl.strip(libgcj.so.7rh)

2006-10-05 Thread mark at gcc dot gnu dot org
--- Comment #3 from mark at gcc dot gnu dot org 2006-10-05 22:01 --- Confirmed with classpath CVS: $ /usr/local/jamvm/bin/jamvm CDescription java.lang.NullPointerException at gnu.xml.transform.TransformerImpl.strip(TransformerImpl.java:452) at

[Bug xml/29362] NullPointerException in gnu.xml.transform.TransformerImpl.strip(libgcj.so.7rh)

2006-10-05 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2006-10-05 22:03 --- Also happens with gcc svn head. I was also going to CC dog :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29362

[Bug c++/28346] [4.0 regression] ICE creating pointer-to-reference-member

2006-10-05 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2006-10-05 23:28 --- Because of Jason's patch for PR 28346 the code is now wrongly accepted on the 4.0 branch. With a slightly different testcase I can still trigger the ICE, though: == bool b;

[Bug c++/28346] [4.0 regression] ICE creating pointer-to-reference-member

2006-10-05 Thread reichelt at gcc dot gnu dot org
--- Comment #8 from reichelt at gcc dot gnu dot org 2006-10-05 23:29 --- I meant Jason's patch for PR 26696, of course. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28346

[Bug c++/29363] New: [4.2 regression] ICE throwing undeclared object

2006-10-05 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE on mainline: == templateint void foo() { throw A(); struct A {} a; } template void foo0(); == bug.cc: In function 'void foo()': bug.cc:3: error: there are no arguments to 'A' that

[Bug fortran/28415] 4.2.0 ICE when using automatic array and -fno-automatic

2006-10-05 Thread gregory dot fruth at aero dot org
--- Comment #5 from gregory dot fruth at aero dot org 2006-10-06 00:04 --- The patch works perfectly in 4.2.0(svn). My application now builds and runs successfully under gfortran. Thanks, Jakub! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28415

[Bug fortran/29364] New: No error given if using a non-defined type in a type definition

2006-10-05 Thread tobias dot burnus at physik dot fu-berlin dot de
If one compiles - module test implicit none type epot_t integer :: c type(nonexist),pointer :: l end type epot_t end module test - no error (and no warning) is shown. If one removes the keyword pointer, the error message Derived type at (1) has not

[Bug fortran/15441] RRSPACING broken for denormals

2006-10-05 Thread kargl at gcc dot gnu dot org
--- Comment #9 from kargl at gcc dot gnu dot org 2006-10-06 00:33 --- I have a patch, but it requires libm to have ldexp{f,l}. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/25850] real kind=16 failures on powerpc-darwin

2006-10-05 Thread howarth at nitro dot med dot uc dot edu
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2006-10-06 01:20 --- The last work on this by Andrew was to propose the code fragment below for remapping the functions... static void darwin_patch_builtin (int fncode) { tree fn = built_in_decls[fncode]; const char

  1   2   >