[Bug middle-end/28542] Segmentation fault using gcc (v4.0.3) in Ubuntu Dapper
--- Comment #8 from tkoenig at gcc dot gnu dot org 2006-08-26 19:17 --- Subject: Bug 28542 Author: tkoenig Date: Sat Aug 26 19:17:35 2006 New Revision: 116476 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116476 Log: 2006-08-26 Thomas Koenig [EMAIL PROTECTED] PR libfortran/28542 * Makefile.am: Remove normalize.c. * aclocal.m4: Regenerate. * Makefile.in: Regenerate. * libgfortran.h: #include float.h. Define GFC_REAL_*_DIGITS and GFC_REAL_*_RADIX. Remove prototypes for normalize_r4_i4 and normalize_r8_i8. * intrinsics/random.c (top level): Add prototypes for random_r10, arandom_r10, random_r16 and arandom_r16. (rnumber_4): New static function. (rnumber_8): New static function. (rnumber_10): New static function. (rnumber_16): New static function. (top level): Set to kiss_size to 12 if we have REAL(KIND=16), to 8 otherwise. Define KISS_DEFAULT_SEED_1, KISS_DEFAULT_SEED_2 and KISS_DEFAULT_SEED_3. (kiss_random_kernel): Take argument to differentiate between different random number generators. (random_r4): Add argument to call to kiss_random_kernel, use rnumber_*. (random_r8): Likewise. (random_r10): New function. (random_r16): New function. (arandom_r4): Add argument to call to kiss_random_kernel, use_rnumber_*. (arandom_r8): Likewise. (arandom_r10): New function. (arandom_r16): New function. * intrinsics/rand.c (rand): Use shift and mask. * runtime/normalize.c: Remove. 2006-08-28 Thomas Koenig [EMAIL PROTECTED] PR libfortran/28452 * gfortran.dg/random_3.f90: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/random_3.f90 Removed: branches/gcc-4_1-branch/libgfortran/runtime/normalize.c Modified: branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/libgfortran/ChangeLog branches/gcc-4_1-branch/libgfortran/Makefile.am branches/gcc-4_1-branch/libgfortran/Makefile.in branches/gcc-4_1-branch/libgfortran/intrinsics/rand.c branches/gcc-4_1-branch/libgfortran/intrinsics/random.c branches/gcc-4_1-branch/libgfortran/libgfortran.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28542
[Bug middle-end/28542] Segmentation fault using gcc (v4.0.3) in Ubuntu Dapper
--- Comment #6 from henrik at johome dot net 2006-08-05 07:02 --- Subject: Re: Segmentation fault using gcc (v4.0.3) in Ubuntu Dapper pinskia at gcc dot gnu dot org wrote: --- Comment #3 from pinskia at gcc dot gnu dot org 2006-07-30 10:28 --- Can you show the command line which you used to invoke gcc? The problem disappeared after rebooting and haven't showed since that time. So I guess that that it's hardware related. Best regards, Henrik Johansson -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28542
[Bug middle-end/28542] Segmentation fault using gcc (v4.0.3) in Ubuntu Dapper
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-08-05 07:09 --- Invalid as requested by the reporter. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28542
[Bug middle-end/28542] Segmentation fault using gcc (v4.0.3) in Ubuntu Dapper
--- Comment #4 from tkoenig at gcc dot gnu dot org 2006-08-01 17:15 --- Subject: Bug 28542 Author: tkoenig Date: Tue Aug 1 17:15:04 2006 New Revision: 115858 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115858 Log: 2006-08-01 Thomas Koenig [EMAIL PROTECTED] PR libfortran/28542 * Makefile.am: Remove normalize.c. * aclocal.m4: Regenerate using aclocal 1.9.3. * Makefile.in: Regenerate using automake 1.9.3. * libgfortran.h: #include float.h. Define GFC_REAL_*_DIGITS and GFC_REAL_*_RADIX. Remove prototypes for normalize_r4_i4 and normalize_r8_i8. * intrinsics/random.c (top level): Add prototypes for random_r10, arandom_r10, random_r16 and arandom_r16. (rnumber_4): New static function. (rnumber_8): New static function. (rnumber_10): New static function. (rnumber_16): New static function. (top level): Set to kiss_size to 12 if we have REAL(KIND=16), to 8 otherwise. Define KISS_DEFAULT_SEED_1, KISS_DEFAULT_SEED_2 and KISS_DEFAULT_SEED_3. (kiss_random_kernel): Take argument to differentiate between different random number generators. (random_r4): Add argument to call to kiss_random_kernel, use rnumber_*. (random_r8): Likewise. (random_r10): New function. (random_r16): New function. (arandom_r4): Add argument to call to kiss_random_kernel, use_rnumber_*. (arandom_r8): Likewise. (arandom_r10): New function. (arandom_r16): New function. * intrinsics/rand.c (rand): Use shift and mask. * runtime/normalize.c: Remove. 2006-08-01 Thomas Koenig [EMAIL PROTECTED] PR libfortran/28542 * gfortran.dg/random_3.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/random_3.f90 Removed: trunk/libgfortran/runtime/normalize.c Modified: trunk/gcc/testsuite/ChangeLog trunk/libgfortran/ChangeLog trunk/libgfortran/Makefile.am trunk/libgfortran/Makefile.in trunk/libgfortran/aclocal.m4 trunk/libgfortran/intrinsics/rand.c trunk/libgfortran/intrinsics/random.c trunk/libgfortran/libgfortran.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28542
[Bug middle-end/28542] Segmentation fault using gcc (v4.0.3) in Ubuntu Dapper
--- Comment #5 from tkoenig at gcc dot gnu dot org 2006-08-01 17:26 --- *sigh* I got the PR number wrong when committing a fix for PR 28452. Sorry 'bout that. Thomas -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28542
[Bug middle-end/28542] Segmentation fault using gcc (v4.0.3) in Ubuntu Dapper
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-07-30 10:28 --- Can you show the command line which you used to invoke gcc? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added GCC build triplet|Configured with:|x86_64-linux-gnu |../src/configure -v -- | |enable-languages=c,c++,ja | GCC host triplet|gcc version 4.0.3 (Ubuntu |x86_64-linux-gnu |4.0.3-1ubuntu5) | Keywords||ice-on-valid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28542