Please link to my website https://ecards.hopespring.org.uk/
Hey, I trust this message finds you well. I'm writing to propose a mutually beneficial collaboration. I've been impressed by the quality and relevance of your content, and I believe our websites share a common interest. I'd like to kindly request that you consider placing a link to my website, https://ecards.hopespring.org.uk/, within your content. This collaboration could enhance the value you offer to your audience while providing exposure to my site. I'm open to discussing any terms or conditions that work best for you. Please feel free to reach out with any questions or concerns. Thank you for considering this partnership opportunity. Warm regards, Oladosu
gcc 4.9 Very slow
Hi list When I compare gcc 4.8 in gcc 4.9 gcc 4.9 Very slow When I use g++
Re: GCC needs YOU!
gcc Became very bad gcc Became the slower and more errors Because WeChange Implementation to c++ I hope to return to c Implementation 2014-10-05 12:10 جرينتش-07:00, Manuel López-Ibáñez : > Dear GCC users, > > As you may have noticed, GCC diagnostics have steadily improved in > recent releases. In addition to the myriad of bugs fixed per release, > every release had at least one major improvement in diagnostics. > > Unfortunately, the number of people contributing to this effort is > very limited and we are more and more busy with other obligations. We > need new blood and we need help. It has never been easier to > contribute to GCC than nowadays. There are many ways you can help and > there are tasks for every level of skill and time commitment. > > Some examples are: > > * There are 610 open bugs with the diagnostic keyword > (https://gcc.gnu.org/bugzilla/buglist.cgi?keywords=diagnostic&limit=0&list_id=99232&order=bug_status%2Cpriority%2Cassigned_to%2Cbug_id&query_format=advanced&resolution=---) > > Many are easy to implement and there is a description of the strategy > available (https://gcc.gnu.org/PR49859, https://gcc.gnu.org/PR19808, > https://gcc.gnu.org/PR48956, > https://gcc.gnu.org/PR59717,https://gcc.gnu.org/PR43113 > https://gcc.gnu.org/PR38612 https://gcc.gnu.orgPR17896 > https://gcc.gnu.org/PR49973 https://gcc.gnu.org/PR53920 and many more > like those) > > Many of them require further analysis. That means run GCC under GDB > and figure out what went wrong. Just doing that would be extremely > helpful. > > Other bigger projects are not technically difficult, just longer than > a few hours: > > * Replace libiberty with gnulib. See > http://gcc.gnu.org/ml/gcc-patches/2012-08/msg00362.html > > * Add a "spell-checker" (https://gcc.gnu.org/ml/gcc/2010-04/msg00104.html) > https://gcc.gnu.org/PR52959 https://gcc.gnu.org/PR52277 > > * Investigate the open bugs in the macro unwinder > (https://gcc.gnu.org/PR52998 https://gcc.gnu.org/PR55252 > https://gcc.gnu.org/PR45333 https://gcc.gnu.org/PR60014) > > * C++ preprocessor ignores #pragma GCC diagnostic > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 > > If you are into Fortran, it would be extremely helpful to contribute > to fix this one: > > * https://gcc.gnu.org/PR54687 which is not only easy and incremental > but consists mostly in deleting code and testing. > > Of course, if you are brave and a real hacker, you can always tackle > some of the heavy stuff that no GCC hacker has figured out how to fix > yet: > > * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501 (and basically > anything mentioned here: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639) > > * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60090 > > * And any of the points here: https://gcc.gnu.org/wiki/Better_Diagnostics > > We need your help to make GCC better and keep it relevant! > > Thanks, > > Manuel. > -- Think not of them, thou hast thy music too
make all failed with error for GCC 9.2
Hi, I was trying to build GCC and "make all" is failing. Please find the config.log below and kindly help me to rectify this issue. Thanks and Regards, Aj This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.69. Invocation command line was $ ../gcc-9.2.0/configure --target=powerpc-eabi --prefix=/usr/local/powerpc-eabi --with-newlib --with-gnu-as --with-gnu-ld --disable-shared --disable-libssp ## - ## ## Platform. ## ## - ## hostname = Ubuntu-18-04 uname -m = x86_64 uname -r = 4.15.0-66-generic uname -s = Linux uname -v = #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/powerpc-eabi/bin PATH: /home/ajupazhamayil/.local/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games PATH: /snap/bin PATH: /snap/bin PATH: /var/lib/snapd/snap/bin PATH: /mnt/films/riscvInstall/bin PATH: /mnt/films/riscvInstall/riscv64-unknown-elf/bin ## --- ## ## Core tests. ## ## --- ## configure:2352: checking build system type configure:2366: result: x86_64-pc-linux-gnu configure:2413: checking host system type configure:2426: result: x86_64-pc-linux-gnu configure:2446: checking target system type configure:2459: result: powerpc-unknown-eabi configure:2513: checking for a BSD-compatible install configure:2581: result: /usr/bin/install -c configure:2592: checking whether ln works configure:2614: result: yes configure:2618: checking whether ln -s works configure:2622: result: yes configure:2629: checking for a sed that does not truncate output configure:2693: result: /bin/sed configure:2702: checking for gawk configure:2718: found /usr/bin/gawk configure:2729: result: gawk configure:3223: checking for libatomic support configure:3229: result: no configure:3261: checking for libitm support configure:3267: result: no configure:3280: checking for libsanitizer support configure:3286: result: no configure:3299: checking for libvtv support configure:3305: result: no configure:3319: checking for libhsail-rt support configure:3325: result: no configure:3410: checking for libphobos support configure:3416: result: no configure:4080: checking for gcc configure:4096: found /usr/bin/gcc configure:4107: result: gcc configure:4336: checking for C compiler version configure:4345: gcc --version >&5 gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4356: $? = 0 configure:4345: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1) configure:4356: $? = 0 configure:4345: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4356: $? = 1 configure:4345: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:4356: $? = 1 configure:4376: checking whether the C compiler works configure:4398: gccconftest.c >&5 configure:4402: $? = 0 configure:4450: result: yes configure:4453: checking for C compiler default output file name configure:4455: result: a.out configure:4461: checking for su
mach pass
Hello all Can anyone please give me a two line description about mach pass in GCC or any source reference for that. Regards Abdul
Documentation for loop header copying
Hello all Sorry if this is not the right place for this kind of questions. I am searching for some documentation (books, research papers, etc) on loop header copying compiler optimization. Any hints on this please? Best regards AW
Re: Documentation for loop header copying
Thanks Marek. I will start with the comments. Regards AW On Fri, Jul 19, 2013 at 4:50 PM, Marek Polacek wrote: > On Fri, Jul 19, 2013 at 04:42:56PM +0200, Abdul Wahid Memon wrote: >> I am searching for some documentation (books, research papers, etc) on >> loop header copying compiler optimization. >> >> Any hints on this please? > > You may want to look at the comments in tree-ssa-loop-ch.c in the GCC > source tree. > > Marek
help me
hi list I need help I make Dynamic-link library in c I want link it from a C++ I Create .h file like this #ifdef __cplusplus extern "C" { // only need to export C interface if // used by C++ source code #endif __declspec( dllimport ) static void flood_loop(MAP *map, int x, int y, unsigned int dst_c, unsigned int src_c); #ifdef __cplusplus } #endif but cannot work -- Think not of them, thou hast thy music too #include #include #include #include #define BOARD_WIDTH 10 #define BOARD_HEIGHT 20 typedef struct MAP { unsigned char b[BOARD_HEIGHT][BOARD_WIDTH]; } MAP; static void flood_loop(MAP *map, int x, int y, unsigned int dst_c, unsigned int src_c) { int fillL, fillR, i; int in_line = 1; //unsigned char c = src_c, fillC = dst_c; /* find left side, filling along the way */ fillL = fillR = x; while( in_line ) { map->b[y][fillL] = dst_c; fillL--; in_line = (fillL < 0) ? 0 : (map->b[y][fillL] == src_c); } fillL++; /* find right side, filling along the way */ in_line = 1; while( in_line ) { map->b[y][fillR] = dst_c; fillR++; in_line = (fillR > BOARD_WIDTH-1) ? 0 : (map->b[y][fillR] == src_c); } fillR--; /* search top and bottom */ for(i = fillL; i <= fillR; i++) { if( y > 0 && map->b[y - 1][i] == src_c ) flood_loop(map, i, y - 1, dst_c, src_c); if( y < BOARD_HEIGHT-1 && map->b[y + 1][i] == src_c ) flood_loop(map, i, y + 1, dst_c, src_c); } } void flood_fill(MAP *map, int x, int y, unsigned int c) { flood_loop(map, x, y, c, map->b[y][x]); map->b[y][x] = c; /* some buggy optimizers needed this line */ } char Taq(char* number) { const char taqDhmd111rr[]= "0317598642""7092154863""4206871359""1750983426""6123045978" "3674209581""5869720134""8945362017""9438617205""2581436790"; char interim='0'; char* p; for(p=number;*p!='\0';++p){ if((unsigned char)(*p-'0')>9) return '-'; //minus sign indicates an error: character is not a digit interim=taqDhmd111rr[(*p-'0')+(interim-'0')*10]; } return interim; } char CalculateCheckDigit(char* numberWithoutCheckDigit) { return Taq(numberWithoutCheckDigit); } typedef int BOOL; BOOL IsCheckDigitValid(char* numberWithCheckDigit) { return Taq(numberWithCheckDigit)=='0'; } int kmp_search(char W[], char S[]) { int t[5]; int m = 0; int i = 0; while (S[m + i] != '\0' && W[i] != '\0') { if (S[m + i] == W[i]) { ++i; } else { m += i - t[i]; if (i > 0) i = t[i]; } } if (W[i] == '\0') { return m; } else { return m + i; } } void selection_sort (int *a, int n) { int i, j, m, t; for (i = 0; i < n; i++) { for (j = i, m = i; j < n; j++) { if (a[j] < a[m]) m = j; } t = a[i]; a[i] = a[m]; a[m] = t; } } void shell_sort (int *a, int n) { int h, i, j, k; for (h = n; h /= 2;) { for (i = h; i < n; i++) { k = a[i]; for (j = i; j >= h && k < a[j - h]; j -= h) { a[j] = a[j - h]; } a[j] = k; } } } static void insertion_sort(int *a, const size_t n) { size_t i, j; int value; for (i = 1; i < n; i++) { value = a[i]; for (j = i; j > 0 & value < a[j - 1]; j--) { a[j] = a[j - 1]; } a[j] = value; } } void gnome_sort(int *a, int n) { int i=1, j=2, t; # define swap(i, j) { t = a[i]; a[i] = a[j]; a[j] = t; } while(i < n) { if (a[i - 1] > a[i]) { swap(i - 1, i); if (--i) continue; } i = j++; } # undef swap } #define try_swap { if (aa[ii] < aa[ii - 1])\ { tt = aa[ii]; aa[ii] = aa[ii - 1]; aa[ii - 1] = tt; tt = 0;} } void cocktailsort(int *aa, size_t len) { size_t ii; int tt = 0; while (!tt) { for (ii = 1, tt = 1; ii < len; ii++) try_swap; if (tt) break; for (ii = len - 1, tt = 1; ii; ii--) try_swap; } } void bubble_sort(int *a, int n) { int j, t = 1; while (n-- & t) for (j = t = 0; j < n; j++) { if (a[j] <= a[j + 1]) continue; t = a[j], a[j] = a[j + 1], a[j + 1] = t; t=1; } } void quick_sort (int *a, int n) { if (n < 2) return; int p = a[n / 2]; int *l = a; int *r = a + n - 1; while (l <= r) { if (*l < p) { l++; continue; } if (*r > p) { r--; continue; // we need to check the condition (l <= r) every time we change the value of l or r } int t = *l; *l++ = *r; *r-- = t; } quick_sort(a, r - a + 1); quick_sort(l, a + n - l); } void bead_sort(int *a, int len) { int i, j, max, sum; unsigned char *beads; #define BEAD(i, j) beads[i * max + j] f