[Bug libstdc++/105844] std::lcm(50000, 49999) is UB but accepted in a constexpr due to cast to unsigned

2022-06-04 Thread goswin-v-b at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105844 --- Comment #3 from Goswin von Brederlow --- Created attachment 53082 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53082&action=edit Working patch for detecting UB This will abort if the arguments are too large instead of static_assert,

[Bug libstdc++/105844] std::lcm(50000, 49999) is UB but accepted in a constexpr due to cast to unsigned

2022-06-03 Thread goswin-v-b at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105844 --- Comment #2 from Goswin von Brederlow --- I know the patch doesn't work yet, the static_asserts aren't constexpr. But hopefully it gives someone enough of an idea to fix it.

[Bug libstdc++/105844] std::lcm(50000, 49999) is UB but accepted in a constexpr due to cast to unsigned

2022-06-03 Thread goswin-v-b at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105844 Goswin von Brederlow changed: What|Removed |Added CC||goswin-v-b at web dot de

[Bug libstdc++/105844] New: std::lcm(50000, 49999) is UB but accepted in a constexpr due to cast to unsigned

2022-06-03 Thread goswin-v-b at web dot de via Gcc-bugs
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: goswin-v-b at web dot de Target Milestone: --- Running "gcc-12.1 -std=c++20 -O2 -W -Wall" on #include constinit int t = std::lcm(50

[Bug target/105521] missed optimization in modulo arithmetic

2022-05-08 Thread goswin-v-b at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105521 --- Comment #3 from Goswin von Brederlow --- (In reply to Andrew Pinski from comment #1) > This requires having a, 64bit/32bit (and 128bit/64bit) pattern really. So > this is both a middle-end issue and a target issue. > > Note there might be a

[Bug c/105521] New: missed optimization in modulo arithmetic

2022-05-07 Thread goswin-v-b at web dot de via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: goswin-v-b at web dot de Target Milestone: --- I'm trying to compute (a*a)%n for uint64_t types on x86_64 using "gcc -O2 -W -Wall" like this: #include #include uint64_t sqrmod(uint64_t a, uint64_t n) {

[Bug middle-end/99578] [11 Regression] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2022-03-19 Thread goswin-v-b at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 --- Comment #38 from Goswin von Brederlow --- (In reply to Jonathan Wakely from comment #34) > (In reply to Goswin von Brederlow from comment #29) > > There is no garantee in the C standard that '(type *)CONSTANT' will actually > > point to the h

[Bug middle-end/99578] [11/12 Regression] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2022-03-07 Thread goswin-v-b at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 --- Comment #29 from Goswin von Brederlow --- (In reply to Jakub Jelinek from comment #26) > That is nonsense. The amount of code in the wild that relies on (type > *)CONSTANT > working is insane, you can't annotate it all. And it has worked f

[Bug c/104828] New: Wrong out-of-bounds array access warning on literal pointers

2022-03-07 Thread goswin-v-b at web dot de via Gcc-bugs
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: goswin-v-b at web dot de Target Milestone: --- Trying to access a pointer cast from an integer literal gives a out of bounds warning

[Bug c++/104514] New: add feature to create a pointer to a fixed address as constexpr

2022-02-12 Thread goswin-v-b at web dot de via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: goswin-v-b at web dot de Target Milestone: --- In the embedded and micro controller world memory mapped registers are very common. They can be declared as external object and fudged

[Bug c++/100127] [coroutines] internal compiler error compiling promise with custom awaiter

2021-04-19 Thread riki--b at hotmail dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100127 --- Comment #2 from Riccardo Brugo --- (In reply to Iain Sandoe from comment #1) > I think that this issue is already fixed in the released 10.3 branch and in > master (will shortly become GCC11). Please could you try one of those? > > $ ./gcc

[Bug c++/100127] New: [coroutines] internal compiler error compiling promise with custom awaiter

2021-04-16 Thread riki--b at hotmail dot it via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: riki--b at hotmail dot it Target Milestone: --- Created attachment 50621 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50621&action=edit Preprocessed sour

[Bug sanitizer/97294] New: ASAN "dynamic-stack-buffer-overflow" false positive with OpenMP reduction to std::vector

2020-10-05 Thread paulg-b at web dot de via Gcc-bugs
NCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: paulg-b at web dot de CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc

[Bug c++/94671] Wrong behavior with operator new overloading when using O2 for optimization

2020-04-20 Thread b...@odd-e.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94671 --- Comment #9 from Bas Vodde --- Hi Jonathan, You are right, I was drawing much too many conclusions there. I should have waited with that comment until I slept :) Sorry for that. And it has been a while since I read the proposal, it has been

[Bug c++/94671] Wrong behavior with operator new overloading when using O2 for optimization

2020-04-20 Thread b...@odd-e.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94671 --- Comment #5 from Bas Vodde --- In the case we found this, it mostly uses the overload for accounting and thus it doesn't cause a serious problem ('just' a test failure). If you use the overloaded new/delete for providing your own memory mana

[Bug c++/94671] Wrong behavior with operator new overloading when using O2 for optimization

2020-04-20 Thread b...@odd-e.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94671 --- Comment #4 from Bas Vodde --- The newCalled to true in the example was the simplest way to show the behavior. This bug came up in a open source project called CppuTest. This has the functionality to detect memory leaks and does so by overlo

[Bug c++/94671] Wrong behavior with operator new overloading when using O2 for optimization

2020-04-20 Thread b...@odd-e.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94671 --- Comment #2 from Bas Vodde --- Oh wow, does this mean that it is the choice of the compiler to actually call an overloaded operator new ? That is interesting. Thanks. I'd still consider it highly surprising behavior, at least it was for me.

[Bug c++/94671] New: Wrong behavior with operator new overloading when using O2 for optimization

2020-04-20 Thread b...@odd-e.com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: b...@odd-e.com Target Milestone: --- This bug is a similar bug as an earlier reported in clang: https://bugs.llvm.org/show_bug.cgi?id=15541 When having the overloaded new

[Bug target/91841] vector_size(8) passes MMX register without emms cleanup

2020-01-28 Thread b-gccbugzilla at largestprime dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91841 Bernard B changed: What|Removed |Added CC||b-gccbugzilla@largestprime

[Bug libstdc++/91719] New: gcc compiles seq_cst store on x86-64 differently from clang/icc

2019-09-10 Thread oliver.gier...@b-tu.de
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: oliver.gier...@b-tu.de Target Milestone: --- On x86-64 all versions of gcc compile a sequentially consistent atomic store as 'mov + mfence'. Both clang and icc on the

You'rе my viсtim

2018-07-25 Thread b
Hi, viсtim. I write yоu beсausе I рut а malwаre оn thе web раgе with pоrn whiсh you have visited. My virus grabbеd аll yоur реrsоnаl info аnd turnеd оn your саmеra which captured thе process оf your оnаnism. Just аfter thаt thе soft saved your соntаct list. I will delete thе соmpromising vidеo a

[Bug c++/85043] New: -Wuseless-cast false positive for temporary objects

2018-03-22 Thread b...@michael-lossin.de
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: b...@michael-lossin.de Target Milestone: --- > cat x.cc #include struct A { int value = 42; A & inc() { ++value; return *this; } }; int main() { { A a; std::cout << A(a).inc().value <

[Bug target/66960] Add interrupt attribute to x86 backend

2017-07-18 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #20 from Goswin von Brederlow --- So it's been a year since my last comment. Is this dead or is someone still working on it? It would be a nice addition to gcc.

Possible bug with switch when optimization is turned on.

2016-12-05 Thread luke B
;, state, BRACKETS); break; default: ; } printf("State %d btw GENERAL %d\n", state, GENERAL); } printf("If you see this then something is really wrong.\n"); exit(4); } int main() { //These don't seem to matter don't concern yourself with them

[Bug middle-end/52544] compilation fails with -finstrument-functions and sse c code

2016-11-27 Thread frederic.le...@b-com.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52544 Frédéric Leroy changed: What|Removed |Added CC||frederic.le...@b-com.com --- Comment

[Bug target/66960] Add interrupt attribute to x86 backend

2016-07-06 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #17 from Goswin von Brederlow --- (In reply to H.J. Lu from comment #16) > (In reply to Goswin von Brederlow from comment #15) > > > > No. We only do it for data pushed onto stack by CPU. > > > > I was thinking of something like: >

[Bug target/66960] Add interrupt attribute to x86 backend

2016-07-05 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #15 from Goswin von Brederlow --- (In reply to H.J. Lu from comment #14) > (In reply to Goswin von Brederlow from comment #13) > > > > Secondly why pass error_code as argument if is already on the stack and > > > > could be accessed t

[Bug target/66960] Add interrupt attribute to x86 backend

2016-07-04 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #13 from Goswin von Brederlow --- (In reply to H.J. Lu from comment #12) > (In reply to Goswin von Brederlow from comment #11) > > I think the design is fundamentally lacking in the following points: > > > > 1. interrupt handler

[Bug target/66960] Add interrupt attribute to x86 backend

2016-06-30 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 Goswin von Brederlow changed: What|Removed |Added CC||goswin-v-b at web dot de

[Bug web/65699] online docs lacks version that it documents

2015-04-13 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65699 --- Comment #4 from Goswin von Brederlow --- Yes, a simple statement like that was exactly what I had in mind.

[Bug web/65700] New: Documentation of internals is inconsistent in itself and diverges from reality

2015-04-08 Thread goswin-v-b at web dot de
Severity: normal Priority: P3 Component: web Assignee: unassigned at gcc dot gnu.org Reporter: goswin-v-b at web dot de https://gcc.gnu.org/onlinedocs/gccint/Collect2.html says when collect2 is used it generates a temporary file listing the constructors and

[Bug web/65699] New: online docs lacks version that it documents

2015-04-08 Thread goswin-v-b at web dot de
Severity: enhancement Priority: P3 Component: web Assignee: unassigned at gcc dot gnu.org Reporter: goswin-v-b at web dot de CC: goswin-v-b at web dot de The online docs do not mention what version of the compiler they document. When something

[Bug c/65668] New: gcc does not know how to use __eabi_uldivmod properly

2015-04-03 Thread goswin-v-b at web dot de
: UNCONFIRMED Severity: enhancement Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: goswin-v-b at web dot de Build: arm-none-eabi I have a uint64_t free running counter with a frequenzy of 1Mhz and I want to print

[Bug lto/65262] Link time optimization breaks use __attribute__((section("..."))) in templates

2015-03-02 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65262 --- Comment #2 from Goswin von Brederlow --- The linker script is only there because the default script combines all .text.* into one hiding the effect. One could use different section names that the default script does not combine and work witho

[Bug lto/65262] New: Link time optimization breaks use __attribute__((section("..."))) in templates

2015-03-01 Thread goswin-v-b at web dot de
Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: goswin-v-b at web dot de CC: goswin-v-b at web dot de Created attachment 34911 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34911&a

[Bug lto/65252] Link time optimization breaks use of filenames in linker scripts

2015-02-28 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65252 --- Comment #2 from Goswin von Brederlow --- As long as it's only one C/C++ file that works. But if one has multiple files then -fno-lto would optimize less. I was thinking of a more general case than mine.

[Bug lto/65252] New: Link time optimization breaks use of filenames in linker scripts

2015-02-28 Thread goswin-v-b at web dot de
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: goswin-v-b at web dot de CC: goswin-v-b at web dot de Host: x86_64-linux-gnu Target: x86_64-linux-gnu Build: arm-none-eabi I&#

[Bug c++/65199] Linker failure with -flto

2015-02-25 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65199 --- Comment #2 from Goswin von Brederlow --- That fixes it. Isn't it a gcc bug though not to detect that itself?

[Bug c++/65199] New: Linker failure with -flto

2015-02-24 Thread goswin-v-b at web dot de
: unassigned at gcc dot gnu.org Reporter: goswin-v-b at web dot de Host: x86_64-linux-gnu Target: x86_64-linux-gnu Build: arm-none-eabi I'm building a bare-metal kernel for a Raspberry Pi 2 (armv7) in c++. At some point this failed with "

[Bug fortran/59450] [OOP] ICE for type-bound-procedure expression in module procedure interface

2013-12-18 Thread b...@miller-mohr.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59450 --- Comment #9 from b...@miller-mohr.de --- Hi, verified that the ICE is gone in gcc version 4.9.0 20131217 (experimental). Thanks a lot. However, there is still a problem. As it is no longer an ICE I filed a new bug 59547 Cheers Marcus

[Bug fortran/59547] New: Problem with using tbp specification function in multiple class procedures

2013-12-18 Thread b...@miller-mohr.de
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: b...@miller-mohr.de Created attachment 31470 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31470&action=edit Error messages from gfortran 4.9.0 Hi, this is a fo

[Bug fortran/59450] [OOP] ICE for type-bound-procedure expression in module procedure interface

2013-12-13 Thread b...@miller-mohr.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59450 --- Comment #5 from b...@miller-mohr.de --- (In reply to janus from comment #4) > (In reply to janus from comment #2) > > Draft patch which fixes the error (not regtested): > > Does regtest cleanly. Hi, just wanted to say thanks

[Bug fortran/59450] New: ICE for Array Valued Function combined with Deferred Specification Function

2013-12-10 Thread b...@miller-mohr.de
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: b...@miller-mohr.de Hi, when I try to compile the code below I receive an internal compiler error. The idea of the test case is to have a base class with a type-bound

[Bug c++/57632] Operator new overloads with stdc++11 enabled looses exception specifier (MacOsX)

2013-06-17 Thread b...@odd-e.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57632 --- Comment #3 from Bas Vodde --- Thanks for the comments. I understand the problems in implementing a compiler, when this is also unclear in the language itself. Whatever is decided related to this, it would probably be a good idea to give a be

[Bug c++/57632] New: Operator new overloads with stdc++11 enabled looses exception specifier (MacOsX)

2013-06-16 Thread b...@odd-e.com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: b...@odd-e.com G++ on MacOsX acts different when enabling the new c++11 related to operator new overloads. If I compile the following code: #include "stdlib.h"

[Bug c++/56715] Explicit Reg Vars are being ignored for consts when using g++

2013-03-25 Thread goswin-v-b at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56715 Goswin von Brederlow changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resol

[Bug c++/56715] Explicit Reg Vars are being ignored for consts when using g++

2013-03-24 Thread goswin-v-b at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56715 --- Comment #2 from Goswin von Brederlow 2013-03-25 00:07:19 UTC --- (In reply to comment #1) > const is a bit special in C++, it can be used as part of a const integer > expression which is what is happening here. How does that make it

[Bug c++/56715] New: Explicit Reg Vars are being ignored for consts when using g++

2013-03-24 Thread goswin-v-b at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56715 Bug #: 56715 Summary: Explicit Reg Vars are being ignored for consts when using g++ Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFI

[Bug java/44876] New: internal compiler error: Segmentation fault

2010-07-08 Thread B dot Kameswararao at igate dot com
-- Summary: internal compiler error: Segmentation fault Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy

[Bug c/44581] internal compiler error: in simplify_subreg

2010-06-18 Thread b dot gunreben at web dot de
--- Comment #1 from b dot gunreben at web dot de 2010-06-18 15:32 --- Created an attachment (id=20939) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20939&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44581

[Bug c/44581] New: internal compiler error: in simplify_subreg

2010-06-18 Thread b dot gunreben at web dot de
sed source. -- Summary: internal compiler error: in simplify_subreg Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org Reporte

[Bug target/43869] ms_abi -> sysv_abi passing float arguments incorrectly

2010-04-25 Thread m dot b dot lankhorst at gmail dot com
--- Comment #4 from m dot b dot lankhorst at gmail dot com 2010-04-25 14:41 --- Created an attachment (id=20483) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20483&action=view) Patch that fixes the testcase It appears that SSE_REGPARM_MAX will change based on ix86_c

[Bug c/43869] ms_abi -> sysv_abi passing float arguments incorrectly

2010-04-23 Thread m dot b dot lankhorst at gmail dot com
--- Comment #1 from m dot b dot lankhorst at gmail dot com 2010-04-23 18:38 --- Created an attachment (id=20474) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20474&action=view) testcase testcase that fails -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43869

[Bug c/43869] New: ms_abi -> sysv_abi passing float arguments incorrectly

2010-04-23 Thread m dot b dot lankhorst at gmail dot com
ng float arguments incorrectly Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: m dot b dot lankhorst at gmail dot com G

[Bug fortran/43243] [4.5 Regression] Wrong-code due to missing array temp for DT with pointer component

2010-03-03 Thread burnus at net-b dot de
--- Comment #5 from burnus at net-b dot de 2010-03-03 16:59 --- Subject: Re: [4.5 Regression] Missing array temp for DT with pointer component On 03/03/2010 04:53 PM, Paul Richard Thomas wrote: > Yet another in the series :-) I hope that it is the last... > S

[Bug c/42079] New: missing unitialized warning on simple testcase

2009-11-17 Thread m dot b dot lankhorst at gmail dot com
By: m dot b dot lankhorst at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42079

[Bug c/40530] New: Suggestion: -Wsignless-bitfields

2009-06-23 Thread h dot b dot furuseth at usit dot uio dot no
UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: h dot b dot furuseth at usit dot uio dot no http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40530

[Bug debug/38479] Incorrect dwarf generated for function with parameters greater 4 words in length

2009-02-19 Thread francois at b-powers dot be
--- Comment #5 from francois at b-powers dot be 2009-02-19 13:10 --- Any update on this bug ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38479

[Bug middle-end/38299] internal error: segmentation fault

2009-01-05 Thread grant dot b dot edwards at gmail dot com
--- Comment #3 from grant dot b dot edwards at gmail dot com 2009-01-05 19:40 --- I've just run across the exact same problem using 3.4.4 to build an arm-elf 3.2.1 cross-compiler on Cygwin. Building the same exact same compiler using 3.4.6 on Linux works fine, so it appears

[Bug c/38366] gcc doesn't call functions that are struct arguments correctly

2008-12-02 Thread m dot b dot lankhorst at gmail dot com
--- Comment #1 from m dot b dot lankhorst at gmail dot com 2008-12-02 09:08 --- Created an attachment (id=16806) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16806&action=view) testcase Testcase that should return '1 2 3 4 5 6 7', but on my computer retur

[Bug c/38366] New: gcc doesn't call functions that are struct arguments correctly

2008-12-02 Thread m dot b dot lankhorst at gmail dot com
tedBy: m dot b dot lankhorst at gmail dot com GCC build triplet: x86_64-pc-linux-gnu GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38366

[Bug target/38227] gcc fails to correctly pass arguments with ms_abi function pointers

2008-11-23 Thread m dot b dot lankhorst at gmail dot com
--- Comment #4 from m dot b dot lankhorst at gmail dot com 2008-11-23 21:11 --- Patch seems to fix the testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38227

[Bug c/38227] gcc fails to correctly pass arguments with ms_abi function pointers

2008-11-22 Thread m dot b dot lankhorst at gmail dot com
--- Comment #1 from m dot b dot lankhorst at gmail dot com 2008-11-22 13:33 --- Created an attachment (id=16748) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16748&action=view) Minimal testcase Compile with amd64 compiler without optimizations and run it. Expected: Nu

[Bug c/38227] New: gcc fails to correctly pass arguments with ms_abi function pointers

2008-11-22 Thread m dot b dot lankhorst at gmail dot com
Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: m dot b dot lankhorst at gmail dot com GCC build triplet: x86_64-linux

[Bug preprocessor/38161] [4.4 regression] #elif breaks

2008-11-17 Thread h dot b dot furuseth at usit dot uio dot no
--- Comment #2 from h dot b dot furuseth at usit dot uio dot no 2008-11-17 20:15 --- Subject: Re: [4.4 regression] #elif breaks Yes, I should have read the #36320 text more carefully. I merely noticed that its empty #elif cannot expand to anything correct, while my example can (and

[Bug preprocessor/38161] New: #elif breaks

2008-11-16 Thread h dot b dot furuseth at usit dot uio dot no
us: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: h dot b dot furuseth at usit dot uio dot no GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC

[Bug c/37481] New: -pedantic accepts flexible array member = "string" initialization

2008-09-11 Thread h dot b dot furuseth at usit dot uio dot no
Severity: minor Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: h dot b dot furuseth at usit dot uio dot no GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu

Re: dict slice in python (translating perl to python)

2008-09-10 Thread B
-> Re: dict slice in python (translating perl to python) gcc-bugs   <-- Thread --> <-- Date --> Re: dict slice in python (translating perl to python) B Wed, 10 Sep 2008

[Bug preprocessor/36887] Please report #pragma GCC poison" location

2008-07-21 Thread h dot b dot furuseth at usit dot uio dot no
--- Comment #1 from h dot b dot furuseth at usit dot uio dot no 2008-07-21 11:36 --- Subject: Re: New: Please report #pragma GCC poison" location Sorry about the empty report. Anyway: The warning a.c:2:5: attempt to use poisoned "foo" is not intelligle if on

[Bug preprocessor/36887] New: Please report #pragma GCC poison" location

2008-07-21 Thread h dot b dot furuseth at usit dot uio dot no
t gnu dot org ReportedBy: h dot b dot furuseth at usit dot uio dot no GCC build triplet: i386-redhat-linux GCC host triplet: i386-redhat-linux GCC target triplet: i386-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36887

[Bug preprocessor/36123] New: wrong #if 1/-2 and (-1)/2 overflow warnings

2008-05-04 Thread h dot b dot furuseth at usit dot uio dot no
(-1)/2 overflow warnings Product: gcc Version: 4.2.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: h dot b dot furuseth at usit dot uio do

[Bug c/35193] can't find a register in class 'R1_REGS' while reloading 'asm'

2008-02-14 Thread b dot gunreben at web dot de
--- Comment #1 from b dot gunreben at web dot de 2008-02-14 13:28 --- Created an attachment (id=15148) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15148&action=view) preprocessed dcigettext.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35193

[Bug c/35193] New: can't find a register in class 'R1_REGS' while reloading 'asm'

2008-02-14 Thread b dot gunreben at web dot de
d of -O2. Adding preprocessed dcigettext.i, to reproduce, run gcc -O2 -c dcigettext.i -- Summary: can't find a register in class 'R1_REGS' while reloading 'asm' Product: gcc Version: 4.3.0 Status: UNCONFIR

[Bug c++/33467] Compilation error while compiling DynCommon.cpp

2007-09-18 Thread pinakee dot b at xius dot com
--- Comment #2 from pinakee dot b at xius dot com 2007-09-18 07:05 --- Created an attachment (id=14218) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14218&action=view) The attachment is the zip of preprocessed file of the source file. Since the file size was more th

[Bug c++/33467] Compilation error while compiling DynCommon.cpp

2007-09-17 Thread pinakee dot b at xius dot com
--- Comment #1 from pinakee dot b at xius dot com 2007-09-18 05:08 --- Created an attachment (id=14217) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14217&action=view) The file is where the compilation error is coming. The attachment is the file where the compilation e

[Bug c++/33467] New: Compilation error while compiling DynCommon.cpp

2007-09-17 Thread pinakee dot b at xius dot com
r 2 -- Summary: Compilation error while compiling DynCommon.cpp Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org Repor

[Bug middle-end/10138] warn for uninitialized arrays passed as const* arguments

2007-08-20 Thread h dot b dot furuseth at usit dot uio dot no
--- Comment #22 from h dot b dot furuseth at usit dot uio dot no 2007-08-20 22:45 --- Subject: Re: warn for uninitialized arrays passed as const* arguments manu at gcc dot gnu dot org writes: > But it seems that the current policy of GCC is to not assume that such > fun

[Bug c/32889] ICE in delete_output_reload, at reload1.c:7926

2007-07-25 Thread b dot gunreben at web dot de
--- Comment #2 from b dot gunreben at web dot de 2007-07-25 08:26 --- just to add some more information: # gcc -v Using built-in specs. Target: hppa2.0-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info

[Bug c/32889] ICE in delete_output_reload, at reload1.c:7926

2007-07-25 Thread b dot gunreben at web dot de
--- Comment #1 from b dot gunreben at web dot de 2007-07-25 08:20 --- Created an attachment (id=13971) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13971&action=view) testcase x.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32889

[Bug c/32889] New: ICE in delete_output_reload, at reload1.c:7926

2007-07-25 Thread b dot gunreben at web dot de
g ReportedBy: b dot gunreben at web dot de GCC host triplet: hppa2.0-suse-linux GCC target triplet: hppa2.0-suse-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32889

[Bug c/31109] New: gcc 3.3 not functioning under Interix 3.5

2007-03-09 Thread j dot b dot o dot s dot martens at tue dot nl
not functioning under Interix 3.5 Product: gcc Version: 3.3 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: j dot b dot o dot s dot martens at tue

[Bug c/31069] execve doesn't work correct in some cases

2007-03-07 Thread b dot krumboeck at rewe-group dot at
--- Comment #3 from b dot krumboeck at rewe-group dot at 2007-03-07 15:27 --- Oh, you're right! Thank you! I tried to debug for 3 days, without success. Linux, HPUX, GCC 4.X and GCC 3.4.2, . You are a hero! Once again, thank you very much. PS: Sorry for wasting your time.

[Bug c/31069] execve doesn't work correct in some cases

2007-03-07 Thread b dot krumboeck at rewe-group dot at
--- Comment #1 from b dot krumboeck at rewe-group dot at 2007-03-07 12:33 --- Created an attachment (id=13161) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13161&action=view) example code to reproduce the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31069

[Bug c/31069] New: execve doesn't work correct in some cases

2007-03-07 Thread b dot krumboeck at rewe-group dot at
itical Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: b dot krumboeck at rewe-group dot at GCC build triplet: ia64-hp-hpux11.23 GCC host triplet: ia64-hp-hpux11.23 GCC target triplet: ia64-hp-hpux11.23 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31069

[Bug c/30457] New: Please warn about va_start(ap, invalid)

2007-01-13 Thread h dot b dot furuseth at usit dot uio dot no
t" va_end(ap); } -- Summary: Please warn about va_start(ap, invalid) Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu do

[Bug c/28492] -Wmissing-format-attribute causes warning for vsnprintf()

2007-01-13 Thread h dot b dot furuseth at usit dot uio dot no
--- Comment #1 from h dot b dot furuseth at usit dot uio dot no 2007-01-13 18:40 --- The warning is a bit misleading, "function might be possible candidate for 'printf' format attribute" means the _calling_ function might be such a candidate, not the function bein

[Bug other/30240] -fno-inline-functions does not work, and doc bugs

2006-12-19 Thread h dot b dot furuseth at usit dot uio dot no
--- Comment #3 from h dot b dot furuseth at usit dot uio dot no 2006-12-19 11:31 --- Subject: Re: -fno-inline-functions does not work, and doc bugs I just noticed another doc bug: > http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Optimize-Options That page says:

[Bug other/30240] -fno-inline-functions does not work, and doc bugs

2006-12-19 Thread h dot b dot furuseth at usit dot uio dot no
--- Comment #2 from h dot b dot furuseth at usit dot uio dot no 2006-12-19 11:27 --- Subject: Re: -fno-inline-functions does not work, and doc bugs pinskia at gcc dot gnu dot org writes: > You want -fno-inline-functions-called-once which was added in 4.2.0 > IIRC (...)

[Bug other/30240] New: -fno-inline-functions does not work, and doc bugs

2006-12-17 Thread h dot b dot furuseth at usit dot uio dot no
ONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: h dot b dot furuseth at usit dot uio dot no 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=30240

[Bug other/30055] [4.0/4.1 Regression] while(__builtin_expect()) pessimizes loop

2006-12-03 Thread h dot b dot furuseth at usit dot uio dot no
--- Comment #2 from h dot b dot furuseth at usit dot uio dot no 2006-12-03 15:49 --- Subject: Re: [4.0/4.1 Regression] while(__builtin_expect()) pessimizes loop pinskia at gcc dot gnu dot org writes: > Fixed for 4.2.0: > (...) > Status|UN

[Bug other/30055] New: while(__builtin_expect()) pessimizes loop

2006-12-02 Thread h dot b dot furuseth at usit dot uio dot no
.254s user0m0.252s sys 0m0.001s -- Summary: while(__builtin_expect()) pessimizes loop Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot

[Bug c/30054] New: -Wc++-compat does not catch goto past initialization

2006-12-02 Thread h dot b dot furuseth at usit dot uio dot no
D Severity: minor Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: h dot b dot furuseth at usit dot uio dot no 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=30054

[Bug c++/29455] Issues with -Wchar-subscripts

2006-10-24 Thread h dot b dot furuseth at usit dot uio dot no
--- Comment #7 from h dot b dot furuseth at usit dot uio dot no 2006-10-24 08:20 --- Subject: Re: Issues with -Wchar-subscripts gdr at integrable-solutions dot net writes: > The absence of warning in C is OK -- literal characters have type int > in C. Yes, but see previous co

[Bug fortran/24790] arguments are displayed as reference or pointer to normal type in GDB

2006-10-22 Thread burnus at net-b dot de
--- Comment #6 from burnus at net-b dot de 2006-10-22 21:03 --- See http://gcc.gnu.org/ml/gcc-patches/2006-10/msg01086.html for a preliminary patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24790

[Bug other/29534] New: ICE in "gcc -O -ftrapv" with decreasing array index

2006-10-21 Thread h dot b dot furuseth at usit dot uio dot no
oduct: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: major Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: h dot b dot furuseth at usit dot uio dot no GCC build triplet: i686-pc-linux-gnu GCC ho

[Bug c++/29455] Issues with -Wchar-subscripts

2006-10-17 Thread h dot b dot furuseth at usit dot uio dot no
--- Comment #5 from h dot b dot furuseth at usit dot uio dot no 2006-10-17 12:49 --- Subject: Re: Issues with -Wchar-subscripts pinskia at gcc dot gnu dot org writes: > 'a' in C is not of the type char but instead int so not warning > there is correct really. How

[Bug c++/29455] Issues with -Wchar-subscripts

2006-10-14 Thread h dot b dot furuseth at usit dot uio dot no
--- Comment #3 from h dot b dot furuseth at usit dot uio dot no 2006-10-14 17:52 --- Subject: Re: Issues with -Wchar-subscripts Sorry about the empty answer. pinskia at gcc dot gnu dot org writes: > 'a' in C is not of the type char but instead int so not warning there

[Bug c++/29455] Issues with -Wchar-subscripts

2006-10-14 Thread h dot b dot furuseth at usit dot uio dot no
--- Comment #2 from h dot b dot furuseth at usit dot uio dot no 2006-10-14 17:06 --- Subject: Re: Issues with -Wchar-subscripts -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29455

[Bug c++/29455] New: Issues with -Wchar-subscripts

2006-10-13 Thread h dot b dot furuseth at usit dot uio dot no
[This is both a C and C++ bug report, not sure how to classify that.] int a[256]; int A(char c) { return a[c]; } // C and C++ warnings, OK. int D(void) { return a['%'];} // Spurious C++ warning, no C warning int B(void) { return a['å'];} // C++ warning, mis

[Bug middle-end/28498] fstack-protector causes crash in combination with -Os

2006-07-26 Thread m dot b dot lankhorst at gmail dot com
--- Comment #1 from m dot b dot lankhorst at gmail dot com 2006-07-26 17:42 --- Created an attachment (id=11949) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11949&action=view) The source mentioned in description Source that won't compile -- http://gcc.gnu.

  1   2   >