[Bug debug/28767] New: GCC should output DW_TAG_ptr_to_member for member functions

2006-08-17 Thread drow at gcc dot gnu dot org
Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: drow at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28767

[Bug c++/14167] Unneeded C++ types are output in debug info due to use of static constants

2006-08-22 Thread drow at gcc dot gnu dot org
--- Comment #6 from drow at gcc dot gnu dot org 2006-08-22 20:03 --- The use in main should still set TREE_USED, though; should TREE_USED on a member ought to cause the class to be emitted? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14167

[Bug debug/27017] [4.0/4.1/4.2 Regression] Debug information for static local class members are not emitted

2006-08-25 Thread drow at gcc dot gnu dot org
--- Comment #6 from drow at gcc dot gnu dot org 2006-08-25 14:35 --- We're pruning excessively; I'll track down why. -- drow at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/27075] [4.1/4.2 Regression] Compiler generate incorrect assembler for __sync_fetch-* builtins on e500 aka SPE

2006-08-25 Thread drow at gcc dot gnu dot org
-- drow at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |drow at gcc dot gnu dot org |dot org

[Bug target/27075] [4.1/4.2 Regression] Compiler generate incorrect assembler for __sync_fetch-* builtins on e500 aka SPE

2006-08-25 Thread drow at gcc dot gnu dot org
-- drow at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|drow at gcc dot gnu dot org |unassigned at gcc dot gnu

[Bug debug/27017] [4.0/4.1/4.2 Regression] Debug information for static local class members are not emitted

2006-08-25 Thread drow at gcc dot gnu dot org
--- Comment #7 from drow at gcc dot gnu dot org 2006-08-25 17:27 --- Testing a fix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27017

[Bug debug/27574] [4.1/4.2 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor

2006-08-25 Thread drow at gcc dot gnu dot org
--- Comment #15 from drow at gcc dot gnu dot org 2006-08-25 18:57 --- I don't think I can sort this one out. I think the easiest solution will be to check when marking a function as reachable whether it has an abstract origin, and if so set a flag in the abstract origin preventing its

[Bug tree-optimization/28778] [4.0/4.1/4.2 Regression] alias bug with cast and call clobbered

2006-08-25 Thread drow at gcc dot gnu dot org
--- Comment #11 from drow at gcc dot gnu dot org 2006-08-25 19:57 --- I am looking at this. The difference between those two compilers in t16.ssa is: - # blist_1 = PHI blist_6(2), blist_7(1); + # blist_1 = PHI blist_7(1), blist_6(2); The difference in t17.alias1 is that, plus

[Bug tree-optimization/28778] [4.0/4.1/4.2 Regression] alias bug with cast and call clobbered

2006-08-25 Thread drow at gcc dot gnu dot org
--- Comment #12 from drow at gcc dot gnu dot org 2006-08-25 20:50 --- Created an attachment (id=12141) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12141action=view) Aliasing fix. Thank you Janis for the reghunt! Not too hard to track down given that. I haven't tested

[Bug tree-optimization/28778] [4.0/4.1/4.2 Regression] alias bug with cast and call clobbered

2006-08-25 Thread drow at gcc dot gnu dot org
--- Comment #13 from drow at gcc dot gnu dot org 2006-08-25 20:57 --- Unfortunately Diego's gone and rewritten a bunch of aliasing code since that revision. And there's no code corresponding to where the fix went 21 months ago. So, congratulations: we've broken this testcase twice! I

[Bug tree-optimization/28778] [4.0/4.1/4.2 Regression] alias bug with cast and call clobbered

2006-08-25 Thread drow at gcc dot gnu dot org
--- Comment #14 from drow at gcc dot gnu dot org 2006-08-25 22:11 --- Testing a patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28778

[Bug debug/27017] [4.0/4.1/4.2 Regression] Debug information for static local class members are not emitted

2006-08-25 Thread drow at gcc dot gnu dot org
--- Comment #8 from drow at gcc dot gnu dot org 2006-08-26 03:48 --- My fix was completely wrong. I'll try again. The problem is that we have function f class s static function g We never walk into f. So we never find out that it contains g, and g needs a DIE. Normally

[Bug tree-optimization/28778] [4.0/4.1/4.2 Regression] alias bug with cast and call clobbered

2006-08-26 Thread drow at gcc dot gnu dot org
--- Comment #15 from drow at gcc dot gnu dot org 2006-08-26 15:14 --- I don't understand aliasing well enough to fix this correctly. See for more: http://gcc.gnu.org/ml/gcc-patches/2006-08/msg00965.html -- drow at gcc dot gnu dot org changed: What|Removed

[Bug tree-optimization/28778] [4.0/4.1/4.2 Regression] alias bug with cast and call clobbered

2006-08-26 Thread drow at gcc dot gnu dot org
--- Comment #18 from drow at gcc dot gnu dot org 2006-08-26 23:25 --- Subject: Re: [4.0/4.1/4.2 Regression] alias bug with cast and call clobbered On Sat, Aug 26, 2006 at 08:42:50PM -, rguenth at gcc dot gnu dot org wrote: So, making pointer arguments effectively using alias-set

[Bug tree-optimization/28778] [4.0/4.1/4.2 Regression] alias bug with cast and call clobbered

2006-08-27 Thread drow at gcc dot gnu dot org
--- Comment #24 from drow at gcc dot gnu dot org 2006-08-27 17:56 --- Subject: Re: [4.0/4.1/4.2 Regression] alias bug with cast and call clobbered On Sun, Aug 27, 2006 at 04:00:19PM -, dberlin at dberlin dot org wrote: 1. You believe this is a good idea for 4.2, even though

[Bug target/28872] New: ARM inline assembly can be mispredicated.

2006-08-28 Thread drow at gcc dot gnu dot org
Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: drow at gcc dot gnu dot org GCC target triplet: arm-none-linux-gnueabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28872

[Bug java/29044] New: Libiberty demangler can not handle new Java mangling.

2006-09-12 Thread drow at gcc dot gnu dot org
. Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: drow at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29044

[Bug java/29044] Libiberty demangler can not handle new Java mangling.

2006-09-12 Thread drow at gcc dot gnu dot org
--- Comment #1 from drow at gcc dot gnu dot org 2006-09-12 21:43 --- Unless this turns out to be a mangling problem, I assume it's a libiberty/demangler problem. -- drow at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/29044] Libiberty demangler can not handle new Java mangling.

2006-09-13 Thread drow at gcc dot gnu dot org
--- Comment #7 from drow at gcc dot gnu dot org 2006-09-13 12:31 --- Subject: Re: Libiberty demangler can not handle new Java mangling. I don't understand why this bug has been reported. The bug was reported because the combination of the mangling change and the demangler postfix

[Bug java/29044] Libiberty demangler can not handle new Java mangling.

2006-09-13 Thread drow at gcc dot gnu dot org
--- Comment #8 from drow at gcc dot gnu dot org 2006-09-13 12:31 --- Not a bug then. -- drow at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug other/29242] system headers lack a distinct default calling convention

2006-09-27 Thread drow at gcc dot gnu dot org
--- Comment #10 from drow at gcc dot gnu dot org 2006-09-28 01:31 --- Andrew, stop closing this bug. If necessary I will ask the SC for a statement preventing you from closing bugs as invalid when the submitter disagrees, since you haven't shown a willingness to listen to what

[Bug preprocessor/29245] no way to safely attempt an #include which may fail

2006-09-27 Thread drow at gcc dot gnu dot org
--- Comment #5 from drow at gcc dot gnu dot org 2006-09-28 01:32 --- While I firmly agree with Wolfgang, my same comment about the meaning of RESOLVED/INVALID applies here also. -- drow at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/29245] want way to #include but still able to finish compiling

2006-09-30 Thread drow at gcc dot gnu dot org
--- Comment #8 from drow at gcc dot gnu dot org 2006-09-30 15:37 --- Subject: Re: want way to #include but still able to finish compiling On Thu, Sep 28, 2006 at 06:09:12AM -, bangerth at dealii dot org wrote: Daniel, would you prefer if we marked this as WONTFIX? I think

[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 debug/27017] [4.0/4.1/4.2 Regression] Debug information for static local class members are not emitted

2006-10-23 Thread drow at gcc dot gnu dot org
--- Comment #9 from drow at gcc dot gnu dot org 2006-10-23 14:15 --- I haven't had another chance to work on this; update assigned to reflect reality. Hopefully the analysis will be useful to someone. -- drow at gcc dot gnu dot org changed: What|Removed

[Bug tree-optimization/28778] [4.0/4.1 Regression] alias bug with cast and call clobbered

2006-11-05 Thread drow at gcc dot gnu dot org
--- Comment #47 from drow at gcc dot gnu dot org 2006-11-05 22:25 --- Subject: Re: [4.0/4.1 Regression] alias bug with cast and call clobbered On Sun, Nov 05, 2006 at 10:17:16PM -, chuck at vertica dot com wrote: Folks, can anyone please tell me if this is the same problem as I

[Bug target/29206] [4.2/4.3 regression] gcj-dbtool segfaults

2006-11-06 Thread drow at gcc dot gnu dot org
--- Comment #6 from drow at gcc dot gnu dot org 2006-11-06 19:33 --- Created an attachment (id=12553) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12553action=view) Potential patch. This hasn't been tested yet; when it has I can add a changelog and post it. That's in progress

[Bug target/29206] [4.2/4.3 regression] gcj-dbtool segfaults

2006-11-06 Thread drow at gcc dot gnu dot org
--- Comment #8 from drow at gcc dot gnu dot org 2006-11-06 21:47 --- I'm not sure, but I think that our hppa port hasn't switched over yet. As for ARM, I'm not sure what to do to fix the issue. ARM old ABI is stuck with SJLJ. And the EABI can't implement _Unwind_Backtrace either. I

[Bug bootstrap/13993] [3.4 Regression] Relative path as srcdir causes problem

2005-03-08 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-03-08 17:31 --- Fixed on 3.4 and 4.0 branches. -- What|Removed |Added Status|NEW

[Bug debug/19954] Compiler emits incomplete structure type

2005-03-21 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-03-21 16:26 --- I do consider it a bug that there is no way to request GCC emit full debug information in this case. But can you give an example in which it doesn't work? In general, it relies on the C++ One Definition Rule

[Bug debug/20268] With optimization, generating incomplete debug information

2005-03-21 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-03-21 16:31 --- Nice patch! GDB should be fine with this; it either treats inlined subroutines the same as lexical blocks at the moment, or ignores them entirely. It does not really support DW_AT_ranges

[Bug target/20617] shared SH libgcc is exporting too many symbols

2005-03-24 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-03-24 16:49 --- Joern, why are you committing patches to 4.0 without testing? The release isn't _that_ imminent. Also, did you see Zack's suggestion? And Mark did ask that no one add 4.0.0 milestones without talking to him

[Bug c++/20805] Another debug info emitting bug

2005-04-07 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-04-07 12:31 --- I have a GDB patch that will avoid the internal error. I'll dig it up. I suppose there's room to argue that GCC's output is correct. Am I right in thinking that the function-local extern could, in some

[Bug c++/20805] Another debug info emitting bug

2005-04-07 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-04-07 14:28 --- As for whether the debug information is correct: - It would be preferable if the full declaration was the one outside the function rather than inside, but I don't think there's anything

[Bug other/20955] Top-level gcc configure/makefile does not handle --with-sysroot

2005-04-11 Thread drow at gcc dot gnu dot org
-- What|Removed |Added CC||drow at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20955

[Bug other/20955] Top-level gcc configure/makefile does not handle --with-sysroot

2005-04-12 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-04-12 12:53 --- Subject: Re: Top-level gcc configure/makefile does not handle --with-sysroot On Tue, Apr 12, 2005 at 12:50:29PM -, prothonotar at tarnation dot dyndns dot org wrote: --- Additional Comments From

[Bug debug/20967] g++ generates same DW_AT_ranges info for two different functions

2005-04-12 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-04-12 13:14 --- No version information. Is this HEAD, with Jim's earlier DW_AT_ranges patch? I don't think your understanding is correct, but you didn't show enough of the DIE tree to be sure. Ignore inlined functions

[Bug debug/20967] g++ generates same DW_AT_ranges info for two different functions

2005-04-12 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-04-12 14:08 --- Subject: Re: g++ generates same DW_AT_ranges info for two different functions It's a question of what associated machine code means. I think that the machine code is in fact associated with more than one

[Bug other/20955] Top-level gcc configure/makefile does not handle --with-sysroot

2005-04-13 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-04-14 03:10 --- Actually, we can and should fix this. What I gave was only a workaround. -- What|Removed |Added

[Bug other/20955] Top-level gcc configure/makefile does not handle --with-sysroot

2005-04-13 Thread drow at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |drow at gcc dot gnu dot org |dot org | Status|UNCONFIRMED

[Bug other/20955] Top-level gcc configure/makefile does not handle --with-sysroot

2005-04-13 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-04-14 03:11 --- I'll look at it when I can find the time. -- What|Removed |Added Severity|normal

[Bug tree-optimization/21021] New: ICE in tree-vrp building glibc

2005-04-14 Thread drow at gcc dot gnu dot org
at gcc dot gnu dot org ReportedBy: drow at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: mips64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21021

[Bug tree-optimization/21021] ICE in tree-vrp building glibc

2005-04-14 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-04-14 13:32 --- Created an attachment (id=8630) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8630action=view) Test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21021

[Bug rtl-optimization/21223] New: Output register variable is reloaded into the wrong register for asm

2005-04-25 Thread drow at gcc dot gnu dot org
Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: drow at gcc dot gnu dot org CC: gcc-bugs at gcc dot

[Bug rtl-optimization/21223] Output register variable is reloaded into the wrong register for asm

2005-04-25 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-04-25 21:07 --- The reload was created because the earlyclobber operand conflicts with a_oldval2, which is placed in r3 by local-alloc. I think I see why... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21223

[Bug middle-end/21223] Output register variable is reloaded into the wrong register for asm

2005-04-25 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-04-25 21:12 --- The problem is in reg_is_set or its caller. Because the output is an earlyclobber operand, it needs to be marked as born before the insn, to conflict with its inputs. I do not see an obvious way to get from

[Bug tree-optimization/21532] New: ICE caused by PRE dead instruction removal

2005-05-12 Thread drow at gcc dot gnu dot org
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: drow at gcc dot gnu dot org CC: dberlin at gcc dot gnu dot org,gcc-bugs at gcc dot gnu dot org,pinskia at gcc dot gnu dot org,stevenb at suse dot de GCC target triplet: arm-none

[Bug tree-optimization/21532] ICE caused by PRE dead instruction removal

2005-05-12 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-05-12 15:31 --- Created an attachment (id=8873) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8873action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21532

[Bug bootstrap/21751] [csl-arm-branch and HEAD] fails to bootstrap with EABI

2005-05-27 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-05-27 19:28 --- You haven't said how you configured GCC. I'm guessing you configured for arm-linux, but with an AAPCS-compatible ABI; you can't do that. The error isn't the greatest, but it's hard to guard against all

[Bug bootstrap/21751] [csl-arm-branch and HEAD] fails to bootstrap with EABI

2005-05-27 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-05-27 21:02 --- Subject: Re: [csl-arm-branch and HEAD] fails to bootstrap with EABI On Fri, May 27, 2005 at 08:57:59PM -, bero at arklinux dot org wrote: Yes, configuration was ../confiugre --prefix=/usr

[Bug debug/26475] New: tree-ssa loses line numbers for initializations

2006-02-26 Thread drow at gcc dot gnu dot org
: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: drow at gcc dot gnu dot org GCC host triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26475

[Bug debug/26475] tree-ssa loses line numbers for initializations

2006-02-27 Thread drow at gcc dot gnu dot org
--- Comment #1 from drow at gcc dot gnu dot org 2006-02-27 20:44 --- Dan Berlin, Diego, and I bounced this around on IRC a little. A couple of things that came up: - Diego suggested putting locuses on unshared INTEGER_CSTs as another possible approach. - I suggested that if we

[Bug debug/15810] DWARF2 does not emit 64 bit offsets when in 64 bit mode

2006-03-18 Thread drow at gcc dot gnu dot org
--- Comment #2 from drow at gcc dot gnu dot org 2006-03-18 19:20 --- See Joseph's comments: http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01155.html I don't think there's a GCC bug here either. If anything, it sounds like a GDB bug (and I remember Mark Kettenis fixing a similar GDB

[Bug debug/27160] New: Debugging output forgets scope for typedefs.

2006-04-14 Thread drow at gcc dot gnu dot org
: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: drow at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27160

[Bug debug/27672] New: C frontend does not generate line information for multi-line conditions

2006-05-18 Thread drow at gcc dot gnu dot org
Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: drow at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27672

[Bug c++/26965] [4.0/4.1/4.2 Regression] Unnecessary debug info for unused consts in C++

2006-06-05 Thread drow at gcc dot gnu dot org
--- Comment #7 from drow at gcc dot gnu dot org 2006-06-06 04:01 --- I'm pretty sure it's older than that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26965

[Bug debug/27017] [4.0/4.1/4.2 Regression] Debug information for static local class members are not emitted

2006-06-05 Thread drow at gcc dot gnu dot org
--- Comment #5 from drow at gcc dot gnu dot org 2006-06-06 04:04 --- The debug information is completely wrong. The only DIEs are: compilation unit, int, f(), f's argument1, and main(). Nothing for the type f()::s. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27017

[Bug debug/28063] New: [4.2 regression] Dwarf no longer uses merged strings for DW_AT_comp_dir

2006-06-16 Thread drow at gcc dot gnu dot org
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: drow at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28063

[Bug debug/28064] New: .debug_str is used only when optimizing

2006-06-16 Thread drow at gcc dot gnu dot org
optimizing Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: drow at gcc dot gnu dot org http://gcc.gnu.org/bugzilla

[Bug libstdc++/28145] New: libstdc++ and pthread cancellation are incompatible (at least with NPTL)

2006-06-23 Thread drow at gcc dot gnu dot org
are incompatible (at least with NPTL) Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: drow at gcc dot

[Bug other/28145] C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)

2006-06-23 Thread drow at gcc dot gnu dot org
--- Comment #3 from drow at gcc dot gnu dot org 2006-06-24 02:52 --- No, that was not the consensus, and I reported this bug specifically because the coding practices used in libstdc++ cause problems with cancellation... progress was being made, the last time I read c++-pthreads

[Bug target/28126] gcc moves an expensive instruction outside of a conditional

2006-07-12 Thread drow at gcc dot gnu dot org
--- Comment #4 from drow at gcc dot gnu dot org 2006-07-12 16:08 --- (In reply to comment #3) Is it OK to add (set_attr can_delay no) for tls_get_tp_mode definition? I think so, with suitable comment. Some future MIPS architecture may provide a register for this, in which case

[Bug debug/23551] dwarf records for inlines appear incomplete

2006-07-21 Thread drow at gcc dot gnu dot org
--- Comment #10 from drow at gcc dot gnu dot org 2006-07-21 16:57 --- (In reply to comment #9) Case 1: There is no location info for the parameter x because it has been optimized away. Change the variable x in main to y to avoid ambiguity, compile with -fdump-tree-all, and look

[Bug libstdc++/28457] New: ext/pb_ds/regression/tree_data_map_rand.cc fails with a particular random seed.

2006-07-21 Thread drow at gcc dot gnu dot org
with a particular random seed. Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: drow at gcc dot gnu dot org GCC

[Bug debug/27473] [4.0/4.1/4.2 Regression] g++.dg/other/unused1.C and gcc.dg/20060410.c fail on powerpc-darwin

2006-07-22 Thread drow at gcc dot gnu dot org
--- Comment #2 from drow at gcc dot gnu dot org 2006-07-22 17:45 --- Testing a patch for this. -- drow at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/27574] [4.1/4.2 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor

2006-07-22 Thread drow at gcc dot gnu dot org
-- drow at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |drow at gcc dot gnu dot org |dot org

[Bug debug/28063] [4.2 regression] Dwarf no longer uses merged strings for DW_AT_comp_dir

2006-07-22 Thread drow at gcc dot gnu dot org
--- Comment #1 from drow at gcc dot gnu dot org 2006-07-22 17:46 --- Testing a patch for this. -- drow at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/23336] [4.0/4.1/4.2 Regression] enum constants not visible to gdb because of -feliminate-unused-debug-types

2006-07-22 Thread drow at gcc dot gnu dot org
--- Comment #8 from drow at gcc dot gnu dot org 2006-07-22 18:06 --- Hmm. What's happening here is that we set TREE_USED on the enumerator, but not on the type. The enumerator never gets output, because the type is not output. It would probably be a strict improvement to add the type

[Bug debug/23336] [4.0/4.1/4.2 Regression] enum constants not visible to gdb because of -feliminate-unused-debug-types

2006-07-22 Thread drow at gcc dot gnu dot org
--- Comment #9 from drow at gcc dot gnu dot org 2006-07-22 18:34 --- Meanwhile, I'm testing a patch to treat them just as well as we treat casts. -- drow at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/26965] [4.0/4.1/4.2 Regression] Unnecessary debug info for unused consts in C++

2006-07-22 Thread drow at gcc dot gnu dot org
--- Comment #9 from drow at gcc dot gnu dot org 2006-07-22 19:39 --- Ian, could you say why you think that patch is responsible? I wonder if your testcase would behave any differently on either side of the patch; it might be something different taking up all the space. I think

[Bug debug/27574] [4.1 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor

2006-07-22 Thread drow at gcc dot gnu dot org
--- Comment #5 from drow at gcc dot gnu dot org 2006-07-22 20:05 --- I am not going to track down what did it, but something has fixed this on the 4.2 branch. I can reproduce it on Debian's 4.1 branch snapshot. If someone wants to fix it on 4.1, it should probably be easy to use

[Bug debug/28460] New: [4.0/4.1/4.2 Regression] g++ emits bogus namespace DIE

2006-07-22 Thread drow at gcc dot gnu dot org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: drow at gcc dot gnu dot org GCC host triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28460

[Bug debug/28460] [4.0/4.1/4.2 Regression] g++ emits bogus namespace DIE

2006-07-22 Thread drow at gcc dot gnu dot org
--- Comment #1 from drow at gcc dot gnu dot org 2006-07-23 00:12 --- Mark, did the old C++ parser have TYPE_CONTEXT == NULL for the global scope and the new one have it pointing to the global namespace, or something like that? If so, I guess we'll have to strip that out in dwarf2out

[Bug debug/28460] [4.0/4.1/4.2 Regression] g++ emits bogus namespace DIE

2006-07-23 Thread drow at gcc dot gnu dot org
--- Comment #3 from drow at gcc dot gnu dot org 2006-07-23 16:44 --- Subject: Re: [4.0/4.1/4.2 Regression] g++ emits bogus namespace DIE On Sun, Jul 23, 2006 at 03:59:58PM -, mark at codesourcery dot com wrote: If we're setting TYPE_CONTEXT to global_namespace, I think that's a C

[Bug c++/28460] [4.0/4.1/4.2 Regression] g++ emits bogus namespace DIE

2006-07-23 Thread drow at gcc dot gnu dot org
--- Comment #6 from drow at gcc dot gnu dot org 2006-07-23 18:48 --- Subject: Re: [4.0/4.1/4.2 Regression] g++ emits bogus namespace DIE On Sun, Jul 23, 2006 at 06:03:46PM -, gdr at integrable-solutions dot net wrote: I believe the situation has been that clear for DECLs

[Bug c++/28460] [4.0/4.1/4.2 Regression] g++ emits bogus namespace DIE

2006-07-23 Thread drow at gcc dot gnu dot org
--- Comment #7 from drow at gcc dot gnu dot org 2006-07-23 19:55 --- grokvardecl uses a NULL scope to indicate the current scope, and current_scope never returns NULL. It used to, before revision 89627, but then grokvardecl explicitly tried current_namespace. This patch instituted

[Bug c++/28460] [4.0/4.1/4.2 Regression] g++ emits bogus namespace DIE

2006-07-23 Thread drow at gcc dot gnu dot org
--- Comment #12 from drow at gcc dot gnu dot org 2006-07-24 00:11 --- Subject: Re: [4.0/4.1/4.2 Regression] g++ emits bogus namespace DIE On Sun, Jul 23, 2006 at 11:47:32PM -, gdr at integrable-solutions dot net wrote: I agree that is the correct representation. Can we agree

[Bug c++/28460] [4.0/4.1/4.2 Regression] g++ emits bogus namespace DIE

2006-07-23 Thread drow at gcc dot gnu dot org
--- Comment #14 from drow at gcc dot gnu dot org 2006-07-24 02:58 --- Subject: Bug 28460 Author: drow Date: Mon Jul 24 02:58:08 2006 New Revision: 115703 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115703 Log: PR c++/28460 * decl.c (grokvardecl): Use

[Bug debug/27473] [4.0/4.1/4.2 Regression] g++.dg/other/unused1.C and gcc.dg/20060410.c fail on powerpc-darwin

2006-07-23 Thread drow at gcc dot gnu dot org
--- Comment #3 from drow at gcc dot gnu dot org 2006-07-24 03:00 --- Subject: Bug 27473 Author: drow Date: Mon Jul 24 02:59:36 2006 New Revision: 115704 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115704 Log: PR debug/27473 * dbxout.c (output_used_types_helper

[Bug libstdc++/28457] ext/pb_ds/regression/tree_data_map_rand.cc fails with a particular random seed.

2006-07-26 Thread drow at gcc dot gnu dot org
--- Comment #2 from drow at gcc dot gnu dot org 2006-07-26 13:11 --- Subject: Re: ext/pb_ds/regression/tree_data_map_rand.cc fails with a particular random seed. On Wed, Jul 26, 2006 at 11:26:01AM -, pcarlini at suse dot de wrote: Out of curiosity, can you try whether changing

[Bug debug/27574] [4.1 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor

2006-07-26 Thread drow at gcc dot gnu dot org
--- Comment #12 from drow at gcc dot gnu dot org 2006-07-26 13:59 --- It is a cgraph change. There were several patches affecting cgraph_remove_node during this time period; it was probably one of those. The problem is that we throw away the body of the abstract copy

[Bug other/28145] C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)

2006-07-31 Thread drow at gcc dot gnu dot org
--- Comment #10 from drow at gcc dot gnu dot org 2006-08-01 02:47 --- Subject: Re: C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL) On Tue, Aug 01, 2006 at 02:13:08AM -, jason at gcc dot gnu dot org wrote: Finally

[Bug other/28145] C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)

2006-08-01 Thread drow at gcc dot gnu dot org
--- Comment #12 from drow at gcc dot gnu dot org 2006-08-01 13:02 --- Subject: Re: C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL) On Tue, Aug 01, 2006 at 07:10:53AM -, jason at redhat dot com wrote: [What does

[Bug debug/23336] [4.0/4.1/4.2 Regression] enum constants not visible to gdb because of -feliminate-unused-debug-types

2006-08-01 Thread drow at gcc dot gnu dot org
--- Comment #10 from drow at gcc dot gnu dot org 2006-08-01 14:24 --- Subject: Bug 23336 Author: drow Date: Tue Aug 1 14:23:58 2006 New Revision: 115853 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115853 Log: gcc/ PR debug/23336 * c-typeck.c

[Bug debug/28063] [4.2 regression] Dwarf no longer uses merged strings for DW_AT_comp_dir

2006-08-02 Thread drow at gcc dot gnu dot org
--- Comment #2 from drow at gcc dot gnu dot org 2006-08-02 13:32 --- Subject: Bug 28063 Author: drow Date: Wed Aug 2 13:31:56 2006 New Revision: 115874 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115874 Log: gcc/ PR debug/28063 * dwarf2out.c

[Bug debug/23336] [4.0/4.1 Regression] enum constants not visible to gdb because of -feliminate-unused-debug-types

2006-08-02 Thread drow at gcc dot gnu dot org
--- Comment #11 from drow at gcc dot gnu dot org 2006-08-02 13:35 --- Fixed for 4.2. -- drow at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.0

[Bug debug/28063] [4.2 regression] Dwarf no longer uses merged strings for DW_AT_comp_dir

2006-08-02 Thread drow at gcc dot gnu dot org
--- Comment #3 from drow at gcc dot gnu dot org 2006-08-02 13:37 --- Now fixed in 4.2; nothing else affected. -- drow at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/25152] -fstrict-aliasing generates wrong code, but no warning from -Wstrict-aliasing

2005-11-30 Thread drow at gcc dot gnu dot org
--- Comment #6 from drow at gcc dot gnu dot org 2005-11-30 16:02 --- However, I think this is a convincing reason for the patch to merged to at least 4.1.0. -- drow at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/25455] [4.2 Regression] make all with a native build now does a bootstrap instead of a normal build

2005-12-16 Thread drow at gcc dot gnu dot org
--- Comment #8 from drow at gcc dot gnu dot org 2005-12-16 20:38 --- Since he did: http://gcc.gnu.org/ml/gcc/2005-12/msg00357.html I'm just going to close this. -- drow at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/21344] Libgcc file name not returned correctly

2006-01-21 Thread drow at gcc dot gnu dot org
--- Comment #1 from drow at gcc dot gnu dot org 2006-01-21 16:18 --- I tested this with both HEAD (to become 4.2.0) and the 4.0 branch (4.0.3). It worked in both cases. My guess would be that either your arm-thumb-elf-gcc was built with multilibs disabled, or else the thumb libgcc

[Bug c++/14167] Unneeded C++ types are output in debug info due to use of static constants

2006-01-21 Thread drow at gcc dot gnu dot org
--- Comment #3 from drow at gcc dot gnu dot org 2006-01-21 16:27 --- I don't have G++ 3.4 handy at the moment. 3.3 emits about three and a half times as large of a .debug_info section as 4.0, however, so I believe this is fixed. There's still lots of unneeded debug information output

[Bug c++/14167] Unneeded C++ types are output in debug info due to use of static constants

2006-01-21 Thread drow at gcc dot gnu dot org
--- Comment #4 from drow at gcc dot gnu dot org 2006-01-21 16:37 --- Oops, not so clear after all. Debug information for Class1 is no longer emitted, but debug information for Class1::var1 is still emitted. It just doesn't trigger the output of the containing class any more. If I add

[Bug target/19520] protected function pointer doesn't work right

2005-02-03 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-02-03 15:51 --- FWIW, the reason this leaves a bad taste in my mouth is that I strongly believe symbol visibility should be consistent between ELF platforms. There's at least one ELF platform where resolving a function

[Bug tree-optimization/19828] [4.0 Regression] LIM is pulling out a pure function even though there is something which can modify global memory

2005-02-08 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-02-08 19:27 --- Here's another related testcase. If you uncomment the store to global_int, LIM will move only func_const out of the loop. With them both commented out, however, the pure call gets moved out of the loop

[Bug tree-optimization/19828] [4.0 Regression] LIM is pulling out a pure function even though there is something which can modify global memory

2005-02-08 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-02-08 19:36 --- Here's another one. This may be a different bug. Suppose we have two pure functions, one which checks whether a library is present and one which fetches some piece of data from the library. Code looks like

[Bug tree-optimization/19828] [4.0 Regression] LIM is pulling out a pure function even though there is something which can modify global memory

2005-02-13 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-02-13 20:05 --- That's a pretty useless definition of pure functions - they may read global memory, but not dereference any pointers which are invalid at any point in the life of the program? -- http://gcc.gnu.org

[Bug tree-optimization/19828] [4.0 Regression] LIM is pulling out a pure function even though there is something which can modify global memory

2005-02-13 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2005-02-13 20:13 --- I've suggested when talking to someone else about this that they should be assumed not to trap at the points where they are called. That would allow calls to them to be removed, although still limit code

[Bug rtl-optimization/17450] Use of uninitialized data in reorder_insns

2004-10-20 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2004-10-20 19:42 --- Appears to be gone with current HEAD. A number of new problems appeared, which I will report separately. -- What|Removed |Added

[Bug tree-optimization/18089] New: Valgrind errors in real.c

2004-10-20 Thread drow at gcc dot gnu dot org
at gcc dot gnu dot org ReportedBy: drow at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18089

[Bug tree-optimization/18089] Valgrind errors in real.c

2004-10-20 Thread drow at gcc dot gnu dot org
--- Additional Comments From drow at gcc dot gnu dot org 2004-10-20 20:01 --- Created an attachment (id=7389) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7389action=view) Testcase. valgrind --db-attach=yes gcc/stage2/cc1 -fpreprocessed ggc-common2.i -quiet -O1 -o ggc-common.s

  1   2   3   >