[Bug c/27676] New: gcc is overly strict in assignment to read-only data

2006-05-18 Thread truedfx at gentoo dot org
is overly strict in assignment to read-only data Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: truedfx at gentoo dot org

[Bug c++/21498] clause 7.1.5.3/2 of the c++ is not enforced

2006-07-02 Thread truedfx at gentoo dot org
--- Comment #6 from truedfx at gentoo dot org 2006-07-02 08:44 --- > This code is not invalid, and G++ is correct to accept it. > > DR68 permits this grammatical production and typedef-names for classes are > class-names. Does that mean this code is valid, too? typedef

[Bug preprocessor/30786] New: ICE on _Pragma at end of file

2007-02-13 Thread truedfx at gentoo dot org
: ICE on _Pragma at end of file Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: truedfx at gentoo dot org

[Bug c/35235] New: struct/union rvalue qualifiers must not propagate to members

2008-02-17 Thread truedfx at gentoo dot org
at gcc dot gnu dot org ReportedBy: truedfx at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35235

[Bug c++/28330] finds wrong template overload; peculiar diagnostic

2008-03-02 Thread truedfx at gentoo dot org
--- Comment #4 from truedfx at gentoo dot org 2008-03-02 10:57 --- I only came across this bug looking for something else, but anyway, here's a reduced testcase: template class ring {}; template ring &operator<<(ring&, T *); class base {}; class derived : publ

[Bug c++/35596] Runs out of virtual memory, with for_each

2008-03-15 Thread truedfx at gentoo dot org
--- Comment #5 from truedfx at gentoo dot org 2008-03-15 18:17 --- This is probably related to #28262. That bug's about typedef void fn(int = 0); typedef fn *fp; void call(fp f) { f(); } which used to be accepted (up to 4.2), but is now correctly rejected in 4.3. This bug is r

[Bug c++/35596] Runs out of virtual memory, with for_each

2008-03-15 Thread truedfx at gentoo dot org
--- Comment #6 from truedfx at gentoo dot org 2008-03-15 18:24 --- Or more relevantly, #4205. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35596

[Bug c++/35669] NULL (__null) not considered different from 0 with C++

2008-03-23 Thread truedfx at gentoo dot org
--- Comment #4 from truedfx at gentoo dot org 2008-03-23 18:59 --- (In reply to comment #3) > As for this PR, the warning from the C front-end seems to be mandated by the > standard (I say this because using -pedantic-errors gives an error instead, so > it is a pedwarn, it woul

[Bug c/41842] New: ICE on invalid variable length array declaration

2009-10-26 Thread truedfx at gentoo dot org
ity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: truedfx at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41842

[Bug c/41842] ICE on invalid variable length array declaration

2009-10-26 Thread truedfx at gentoo dot org
--- Comment #1 from truedfx at gentoo dot org 2009-10-27 06:26 --- Same results with the 20091022 snapshot. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41842

[Bug c/31782] New: Invalid assembly code on initial dollar signs

2007-05-01 Thread truedfx at gentoo dot org
minor Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: truedfx at gentoo dot org GCC host triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31782

[Bug c/31782] Invalid assembly code on initial dollar signs

2007-05-01 Thread truedfx at gentoo dot org
--- Comment #1 from truedfx at gentoo dot org 2007-05-02 03:21 --- Sorry, forgot to mention, I'm using gcc 4.1.2 with binutils 2.17, and I also tried gcc 3.3.6 with binutils 2.16.1, which behaves the same for me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31782

[Bug target/31782] Invalid assembly code on initial dollar signs

2007-05-01 Thread truedfx at gentoo dot org
--- Comment #3 from truedfx at gentoo dot org 2007-05-02 05:58 --- Thanks for the link. I don't see how GAS could be fixed, though. How would the assembler tell the difference between $0 the constant and $0 the identifier? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31782

[Bug preprocessor/31869] New: stringifying empty macros

2007-05-08 Thread truedfx at gentoo dot org
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: truedfx at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31869

[Bug preprocessor/31869] stringifying empty macros

2007-05-09 Thread truedfx at gentoo dot org
--- Comment #3 from truedfx at gentoo dot org 2007-05-10 00:33 --- I see the same behaviour with gcc 3.3.6. I'm not able to check even older versions for now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31869

[Bug tree-optimization/31940] New: ICE with -O -ftrapv -ftree-vrp on negation after comparison to INT_MIN

2007-05-15 Thread truedfx at gentoo dot org
tus: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: truedfx at gentoo dot org GCC host triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31940

[Bug c/43633] sizeof returns wrong size for large long long values when using -std=c99

2010-04-05 Thread truedfx at gentoo dot org
--- Comment #3 from truedfx at gentoo dot org 2010-04-05 12:54 --- (In reply to comment #2) > ยง6.4.4.1 Integer constants: > > If an integer constant cannot be represented by any type in its list, it may > have an extended integer type, if the extended integer type can r

[Bug c++/42415] New: Bad assembly generated for constructor call

2009-12-17 Thread truedfx at gentoo dot org
Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: truedfx at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42415

[Bug c++/42415] Bad assembly generated for constructor call

2009-12-17 Thread truedfx at gentoo dot org
--- Comment #1 from truedfx at gentoo dot org 2009-12-17 20:51 --- And here's the generated assembly: .file "test.cc" .text .align 2 .globl _ZN1A1fEv .type _ZN1A1fEv, @function _ZN1A1fEv: .LFB0: .cfi_startproc

[Bug c/42582] fortify with optimisation above -O0 cause abort in realpath()

2010-01-02 Thread truedfx at gentoo dot org
--- Comment #1 from truedfx at gentoo dot org 2010-01-02 20:26 --- The buffer should be at least PATH_MAX bytes. If PATH_MAX > 1024, then 1024 bytes need not be enough. But anyway, realpath() comes from glibc, so even if this is a bug, you're reporting it to the wro

[Bug preprocessor/33919] __BASE_FILE__ does not expand correctly when included from the command line

2010-08-07 Thread truedfx at gentoo dot org
--- Comment #4 from truedfx at gentoo dot org 2010-08-07 14:34 --- I'm having this problem too, and it's still happening with GCC 4.5. The ml message suggests that this may be hard to fix, but it looks surprisingly easy: instead of tracing back via INCLUDED_FROM, simply loo

[Bug c/45234] New: ICE in expand_call, at calls.c:2845 when passing aligned function argument from unaligned stack after alloca

2010-08-08 Thread truedfx at gentoo dot org
ty: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: truedfx at gentoo dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45234

[Bug target/45234] ICE in expand_call, at calls.c:2845 when passing aligned function argument from unaligned stack after alloca

2010-08-08 Thread truedfx at gentoo dot org
--- Comment #2 from truedfx at gentoo dot org 2010-08-08 22:44 --- _Decimal128 has the same problem, and is supported by gcc 4.3, so this may trigger there too (but I don't have 4.3 installed to check right now) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45234

[Bug target/45234] ICE in expand_call, at calls.c:2845 when passing aligned function argument from unaligned stack after alloca

2010-08-08 Thread truedfx at gentoo dot org
--- Comment #3 from truedfx at gentoo dot org 2010-08-08 23:09 --- I've configured a minimal 4.3.5 compiler, and testing shows that extern void f (_Decimal128); void g(void) { __builtin_alloca (2); f (0); } which also fails with the same ICE with 4.5.0 and 4.4.4, actually

[Bug target/45234] [4.4 Regression] ICE in expand_call, at calls.c:2845 when passing aligned function argument from unaligned stack after alloca

2010-08-09 Thread truedfx at gentoo dot org
--- Comment #6 from truedfx at gentoo dot org 2010-08-09 16:15 --- With those two lines removed from 4.5.0, it looks like the stack will be aligned properly by accident. When changing __builtin_alloca (2) to __builtin_alloca (6), the only thing that changes in the generated code is

[Bug target/45234] [4.4 Regression] ICE in expand_call, at calls.c:2845 when passing aligned function argument from unaligned stack after alloca

2010-08-09 Thread truedfx at gentoo dot org
--- Comment #10 from truedfx at gentoo dot org 2010-08-09 16:58 --- I had already tried simply commenting out the assert, and that caused wrong code, so changing the assert without anything else won't help :) FWIW, I now also checked the code difference between alloca(2) and all

[Bug target/45234] [4.4 Regression] ICE in expand_call, at calls.c:2845 when passing aligned function argument from unaligned stack after alloca

2010-08-09 Thread truedfx at gentoo dot org
--- Comment #13 from truedfx at gentoo dot org 2010-08-09 17:44 --- Thanks, that seems to work for me too for the reduced code. I'll test the original larger code that was failing too, but that'll take a little longer for me to report back anything. -- http://gcc.gnu.or

[Bug target/45234] [4.4 Regression] ICE in expand_call, at calls.c:2845 when passing aligned function argument from unaligned stack after alloca

2010-08-09 Thread truedfx at gentoo dot org
--- Comment #14 from truedfx at gentoo dot org 2010-08-10 05:59 --- In the original code, the patch fixes the problem too. Thanks again. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45234

[Bug preprocessor/31869] stringifying empty macros

2007-12-28 Thread truedfx at gentoo dot org
--- Comment #4 from truedfx at gentoo dot org 2007-12-28 20:59 --- Yes, gcc 2.95.3 got it right, the program used to keep the space: .. . . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31869

[Bug c++/35261] GCC4.3 internal compiler error: verify_flow_info failed

2008-04-15 Thread truedfx at gentoo dot org
--- Comment #2 from truedfx at gentoo dot org 2008-04-15 19:17 --- Created an attachment (id=15479) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15479&action=view) bug.ii I ran into this same error with different code, which I posted to <http://gcc.gnu.org/ml/gcc-he

[Bug c/26494] -pedantic-errors can be overridden by -W*

2007-01-22 Thread truedfx at gentoo dot org
--- Comment #3 from truedfx at gentoo dot org 2007-01-23 00:05 --- -Wendif-labels and -Wimplicit-int don't turn errors into warnings, so probably, yes. I did notice something else of interest while testing, though: int main(char a) {} gcc bug.c -ansi -pedantic compiles this wi

[Bug c/26494] -pedantic-errors can be overridden by -W*

2007-01-22 Thread truedfx at gentoo dot org
--- Comment #4 from truedfx at gentoo dot org 2007-01-23 00:08 --- (In reply to comment #3) > -Wendif-labels and -Wimplicit-int don't turn errors into warnings, so > probably, > yes. So probably, no, it does not happen with any other option. Sorry, I read your

[Bug c/30551] New: -pedantic does not include -Wmain, but -pedantic-errors does make -Wmain cause error messages

2007-01-22 Thread truedfx at gentoo dot org
: truedfx at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30551

[Bug c/26494] -pedantic-errors can be overridden by -W*

2007-01-22 Thread truedfx at gentoo dot org
--- Comment #6 from truedfx at gentoo dot org 2007-01-23 00:23 --- Thank you, and done. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26494