[Bug c/109507] Optimizer creates incorrect program

2023-04-14 Thread aran at 100acres dot us via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109507 Aran Clauson changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #4 from Aran Clauson

[Bug c/109507] New: Optimizer creates incorrect program

2023-04-13 Thread aran at 100acres dot us via Gcc-bugs
: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: aran at 100acres dot us Target Milestone: --- Created attachment 54854 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54854&action=edit Example program. The attached program should prin

[Bug ada/41321] Ada runtime not initializing fpu (finit)

2009-09-09 Thread aran at 100acres dot us
--- Comment #1 from aran at 100acres dot us 2009-09-09 16:40 --- Created an attachment (id=18556) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18556&action=view) Adds __amd64__ to conditional code This includes asm("finit") for amd64 targets on NetBSD -- h

[Bug ada/41321] New: Ada runtime not initializing fpu (finit)

2009-09-09 Thread aran at 100acres dot us
Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aran at 100acres dot us GCC build triplet: x86_64-unknown-netbsd5.99.16 G

[Bug fortran/39571] Compiler crash with "GNU MP: Cannot reallocate memory"

2009-03-30 Thread aran at 100acres dot us
--- Comment #11 from aran at 100acres dot us 2009-03-30 16:51 --- (In reply to comment #9) My mistake, I printed the operands to mpz_pow_ui and got gfc_arith_power: op1 = 2 gfc_arith_power: power = 2147483647 When I call mpz_pow_ui from c with these arguments, I get GNU MP: Cannot

[Bug fortran/39571] Compiler crash with "GNU MP: Cannot reallocate memory"

2009-03-28 Thread aran at 100acres dot us
--- Comment #10 from aran at 100acres dot us 2009-03-29 00:50 --- (In reply to comment #9) > > What happens when you compile the following: > > #include > #include > int main(void) { > unsigned int u = 268435472u; > mpz_t

[Bug fortran/39571] Compiler crash with "GNU MP: Cannot reallocate memory"

2009-03-28 Thread aran at 100acres dot us
--- Comment #7 from aran at 100acres dot us 2009-03-28 23:19 --- > NetBSD seems to be using jemalloc. which is the memory allocator > from FreeBSD. Perhaps, your memory is defective. > Where would this be? I can't find jemalloc in the fortran directory. -- http

[Bug target/39570] cabs and cabsf are named differently on NetBSD 5

2009-03-28 Thread aran at 100acres dot us
--- Comment #9 from aran at 100acres dot us 2009-03-28 19:38 --- (In reply to comment #8) > Symbol versioning, obviously. > Yep, that would have worked. Thanks for the clue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39570

[Bug target/39570] cabs and cabsf are named differently on NetBSD 5

2009-03-28 Thread aran at 100acres dot us
--- Comment #7 from aran at 100acres dot us 2009-03-28 18:13 --- (In reply to comment #5) > Another fix is to #undef TARGET_C99_FUNCTIONS as obviously netbsd is another > OS without a clue ... > Please explain how an OS with a clue would handle this problem. Older binaries

[Bug fortran/39571] Compiler crash with "GNU MP: Cannot reallocate memory"

2009-03-27 Thread aran at 100acres dot us
--- Comment #5 from aran at 100acres dot us 2009-03-28 04:46 --- gmp-4.2.4 passes all test. mpfr-2.4.0 pass all except the tsprintf tests where my version returns 1.899347461279296875e+07 and the test expects 1,899347461279296875e+07 (notice the decimal point is a period instead of a

[Bug fortran/39570] cabs and cabsf are named differently on NetBSD 5

2009-03-27 Thread aran at 100acres dot us
--- Comment #4 from aran at 100acres dot us 2009-03-28 01:34 --- Subject: Re: cabs and cabsf are named differently on NetBSD 5 What is beyond me is how darwin_patch_builtings gets called. It looks like it is called from rs6000.c in rs6000_init_builtins via the macro

[Bug fortran/39571] Compiler crash with "GNU MP: Cannot reallocate memory"

2009-03-27 Thread aran at 100acres dot us
--- Comment #3 from aran at 100acres dot us 2009-03-28 01:09 --- I chased this to airth.c line 1054: mpz_pow_ui (result->value.integer, op1->value.integer, power); The variable power is 268435472. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39571

[Bug fortran/39571] Compiler crash with "GNU MP: Cannot reallocate memory"

2009-03-27 Thread aran at 100acres dot us
--- Comment #2 from aran at 100acres dot us 2009-03-28 01:05 --- gmp-4.2.4 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39571

[Bug fortran/39571] New: Compiler crash with "GNU MP: Cannot reallocate memory"

2009-03-27 Thread aran at 100acres dot us
emory" Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aran at 100acres dot us GCC build triplet: i386-unknown-netbsdelf5.

[Bug fortran/39570] cabs and cabsf are named differently on NetBSD 5

2009-03-27 Thread aran at 100acres dot us
--- Comment #2 from aran at 100acres dot us 2009-03-28 00:23 --- I really tried looking at Darwin's fix to the built-in problem, but that is completely beyond me. Any suggestions would be very nice. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39570

[Bug fortran/39570] cabs and cabsf are named differently on NetBSD 5

2009-03-27 Thread aran at 100acres dot us
--- Comment #1 from aran at 100acres dot us 2009-03-28 00:22 --- Created an attachment (id=17552) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17552&action=view) Grungy little patch. This is a dirty hack for NetBSD 5.x only. It is not intended to be applied to the main

[Bug fortran/39570] New: cabs and cabsf are named differently on NetBSD 5

2009-03-27 Thread aran at 100acres dot us
gcc dot gnu dot org ReportedBy: aran at 100acres dot us GCC build triplet: i386-unknown-netbsdelf5.99.7 GCC host triplet: i386-unknown-netbsdelf5.99.7 GCC target triplet: i386-unknown-netbsdelf5.99.7 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39570

[Bug target/38182] stddef.h assumes machinee/ansi.h defines _ANSI_H_

2009-03-24 Thread aran at 100acres dot us
--- Comment #12 from aran at 100acres dot us 2009-03-24 15:49 --- Subject: Re: stddef.h assumes machinee/ansi.h defines _ANSI_H_ Joseph, The fixincludes changes fix another issue. Should I create a new bug and reference that bug in the e-mail or just describe the problem in

[Bug target/38182] stddef.h assumes machinee/ansi.h defines _ANSI_H_

2009-03-23 Thread aran at 100acres dot us
--- Comment #9 from aran at 100acres dot us 2009-03-24 06:16 --- Created an attachment (id=17528) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17528&action=view) Removes problematic fixincludes and defines _ANSI_H in stddef.h This is a combination of the other two

[Bug c++/39426] Gcc parser problems on default template arguments

2009-03-10 Thread aran at 100acres dot us
--- Comment #1 from aran at 100acres dot us 2009-03-10 22:56 --- A typedef is an effective workaround -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39426

[Bug c++/39426] New: Gcc parser problems on default template arguments

2009-03-10 Thread aran at 100acres dot us
nts Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aran at 100acres dot us GCC build triplet: i386-unknown-netbsdelf5.99.7

[Bug ada/37309] Ada tasking is not implemented on NetBSD

2009-03-02 Thread aran at 100acres dot us
--- Comment #8 from aran at 100acres dot us 2009-03-02 20:13 --- Created an attachment (id=17390) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17390&action=view) Gcc 4.3.3 build patch This patch fixes the header problems that prevent GCC 4.3.3 from compiling on NetBSD

[Bug ada/37309] Ada tasking is not implemented on NetBSD

2009-03-02 Thread aran at 100acres dot us
--- Comment #7 from aran at 100acres dot us 2009-03-02 20:09 --- Created an attachment (id=17388) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17388&action=view) Gcc 4.3.3 Ada runtime patch for NetBSD 5.0 This patch implements the Ada runtime for NetBSD 5.99. It requi

[Bug testsuite/39353] Linker warning causing tests to fail (960218 and 20030913)

2009-03-02 Thread aran at 100acres dot us
--- Comment #1 from aran at 100acres dot us 2009-03-02 19:42 --- Created an attachment (id=17387) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17387&action=view) Rename glob to Glob. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39353

[Bug testsuite/39353] New: Linker warning causing tests to fail (960218 and 20030913)

2009-03-02 Thread aran at 100acres dot us
20030913) Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aran at 100acres dot us GCC build

[Bug target/38182] stddef.h assumes machinee/ansi.h defines _ANSI_H_

2009-02-19 Thread aran at 100acres dot us
--- Comment #3 from aran at 100acres dot us 2009-02-19 21:46 --- Created an attachment (id=17333) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17333&action=view) Removes gcc's version of both stddef.h and sys/types.h This patch removes gcc's version of stddef

[Bug c/38182] New: stddef.h assumes machinee/ansi.h defines _ANSI_H_

2008-11-19 Thread aran at 100acres dot us
: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aran at 100acres dot us GCC build triplet: i386-unknown-netbsdelf5.99.02 GCC host triplet: i386-unknown-netbsdelf5.99.02 GCC target triplet: i386

[Bug c/38182] stddef.h assumes machinee/ansi.h defines _ANSI_H_

2008-11-19 Thread aran at 100acres dot us
--- Comment #1 from aran at 100acres dot us 2008-11-19 20:32 --- Created an attachment (id=16724) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16724&action=view) Patch for stddef.h This patch ensures that _ANSI_H_ is defined after including machine/ansi.h. --

[Bug target/35655] [m68hc11] Segmentation fault when compiling libgcc2.c

2008-10-12 Thread aran at 100acres dot us
--- Comment #2 from aran at 100acres dot us 2008-10-12 20:24 --- I got the same error at a different point. /home/aran/projects/gcc/current/build/./gcc/xgcc -B/home/aran/projects/gcc/current/build/./gcc/ -B/usr/local/opt/gcc-4.4/i386-unknown-netbsdelf4.99.72/bin/ -B/usr/local/opt/gcc

[Bug ada/37309] Ada tasking is not implemented on NetBSD

2008-10-03 Thread aran at 100acres dot us
--- Comment #6 from aran at 100acres dot us 2008-10-03 14:53 --- There is a typo in the last path. Apply this after the above. --- orig/gcc/ada/s-osinte-netbsd.adb2008-10-03 07:50:29.0 -0700 +++ netbsd/gcc/ada/s-osinte-netbsd.adb 2008-10-02 19:35:38.0 -0700

[Bug ada/37309] Ada tasking is not implemented on NetBSD

2008-10-02 Thread aran at 100acres dot us
--- Comment #5 from aran at 100acres dot us 2008-10-03 01:51 --- Created an attachment (id=16457) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16457&action=view) Same fixes, but work Final fixes. Sorry for the repeated posts. -- aran at 100acres dot us

[Bug ada/37309] Ada tasking is not implemented on NetBSD

2008-10-02 Thread aran at 100acres dot us
--- Comment #4 from aran at 100acres dot us 2008-10-02 23:06 --- Created an attachment (id=16456) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16456&action=view) NetBSD patch for SVN trunk Obsoletes both prior patches. Patch for SVN trunk. Adds other NetBSD suppo

[Bug ada/37309] Ada tasking is not implemented on NetBSD

2008-10-01 Thread aran at 100acres dot us
--- Comment #3 from aran at 100acres dot us 2008-10-01 16:30 --- Created an attachment (id=16444) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16444&action=view) patch for svn trunk -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37309

[Bug ada/37309] Ada tasking is not implemented on NetBSD

2008-08-31 Thread aran at 100acres dot us
--- Comment #1 from aran at 100acres dot us 2008-09-01 06:17 --- Created an attachment (id=16176) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16176&action=view) Patch and supporting files. The tar contains a patch for gcc/ada/Makefile.in and the necessary supportin

[Bug ada/37309] New: Ada tasking is not implemented on NetBSD

2008-08-31 Thread aran at 100acres dot us
: unassigned at gcc dot gnu dot org ReportedBy: aran at 100acres dot us GCC build triplet: i686-pc-netbsdelf4.99.35 GCC host triplet: i686-pc-netbsdelf4.99.35 GCC target triplet: i686-pc-netbsdelf4.99.35 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37309

[Bug ada/34553] New: Unsafe calls to mktemp and tmpname

2007-12-22 Thread aran at 100acres dot us
Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aran at 100acres dot us GCC build triplet: i386-pc-netbsdelf4.99.35 GCC host triplet: i386-pc-netbsdelf4.99.35 GCC target triplet