Gcc bugzilla is down

2018-04-01 Thread Thomas König
Hi, it seems that gcc bugzilla is currently down, error message is: Software error: Can't connect to the database. Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Is your database installed and up and running? Do you have the correct username and

Successful bootstrap and install of gcc (GCC) 7.3.0 on sparc64-unknown-linux-gnu

2018-04-01 Thread Aaro Koskinen
Hi, Here's a report of a successful build and install of GCC: $ gcc-7.3.0/config.guess sparc64-unknown-linux-gnu $ newcompiler/bin/gcc -v Using built-in specs. COLLECT_GCC=newcompiler/bin/gcc COLLECT_LTO_WRAPPER=/home/aaro/gcctest/newcompiler/libexec/gcc/sparc-unknown-linux-gnu/7.3.0/lto-wrapper

Re: Gcc bugzilla is down

2018-04-01 Thread Eric Gallager
Confirming, I got the same error message at around 7:29 AM Eastern Daylight Time. Please fix! Eric On 4/1/18, Thomas König wrote: > Hi, > > it seems that gcc bugzilla is currently down, error message is: > > Software error: > > Can't connect to the database. > Error: Can't connect to local MySQL

why C++ cannot alias an inline function, C can ?

2018-04-01 Thread Jason Vas Dias
Good day - I'm trying to understand why this code compiles fine in 'gcc -std=gnu11' mode, but not in 'g++ -std=g++11' mode (so far tried with gcc/g++ 5.4.0 , 7.3.1 on x86_64 linux) : ' static inline __attribute__((always_inline)) void foo(void){} static inline __attribute

Re: why C++ cannot alias an inline function, C can ?

2018-04-01 Thread Max Filippov
On Sun, Apr 1, 2018 at 4:34 AM, Jason Vas Dias wrote: > In C++ however, it does not compile : > > $ g++ -g -std=gnu++11 -x c++ -c t.c > t.c:5:8: error: 'void bar()' aliased to undefined symbol 'foo' >void bar(void); > ^ > > Even though, if I compile the object with the declaration >

Re: why C++ cannot alias an inline function, C can ?

2018-04-01 Thread Jason Vas Dias
On 01/04/2018, Max Filippov wrote: > On Sun, Apr 1, 2018 at 4:34 AM, Jason Vas Dias > wrote: >> In C++ however, it does not compile : >> >> $ g++ -g -std=gnu++11 -x c++ -c t.c >> t.c:5:8: error: 'void bar()' aliased to undefined symbol 'foo' >>void bar(void); >> ^ >> >> Even though,

Re: why C++ cannot alias an inline function, C can ?

2018-04-01 Thread Max Filippov
On Sun, Apr 1, 2018 at 5:33 AM, Jason Vas Dias wrote: > Aha! But how to determine the mangled name beforehand ? > > Even if I compile the object without the alias, then inspect > the object with objdump, there is no mangled symbol > _ZL3foov defined in the object file . > > So I must run some nam

Re: GSoC (Improvements to GCC on Windows)

2018-04-01 Thread JonY
On 03/14/2018 05:13 PM, Martin Jambor wrote: > Hello, > > On Tue, Mar 13 2018, Ko Phyo wrote: >> Hello >> >> I want to apply the project "Improvements to GCC on Windows" of GCC >> foundation. As a student, I have some theorectical knowledges about C/C++ >> and compiler technologies. And I

"file name" vs "filename"

2018-04-01 Thread Gerald Pfeifer
And now to the most important question of all. ;-) Should we use "file name" or "filename" when referring to the name of a file? Our docs currently are about even and I think it would be good to settle on one? % grep "filename" $GCC/gcc/doc/*.texi | wc -l 92 % grep "file name" $GCC/gcc/doc

Re: "file name" vs "filename"

2018-04-01 Thread Joel Sherrill
On Sun, Apr 1, 2018, 3:16 PM Gerald Pfeifer wrote: > And now to the most important question of all. ;-) Should we use > "file name" or "filename" when referring to the name of a file? > > Our docs currently are about even and I think it would be good to > settle on one? > > % grep "filename" $

Re: why C++ cannot alias an inline function, C can ?

2018-04-01 Thread Marc Glisse
(should have been on gcc-help I believe) On Sun, 1 Apr 2018, Max Filippov wrote: On Sun, Apr 1, 2018 at 5:33 AM, Jason Vas Dias wrote: Aha! But how to determine the mangled name beforehand ? Even if I compile the object without the alias, then inspect the object with objdump, there is no ma

gcc-8-20180401 is now available

2018-04-01 Thread gccadmin
Snapshot gcc-8-20180401 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/8-20180401/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 8 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision

Re: "file name" vs "filename"

2018-04-01 Thread Sandra Loosemore
On 04/01/2018 02:56 PM, Joel Sherrill wrote: On Sun, Apr 1, 2018, 3:16 PM Gerald Pfeifer > wrote: And now to the most important question of all. ;-)  Should we use "file name" or "filename" when referring to the name of a file? Our docs currently are ab

Re: GSoC (Improvements to GCC on Windows)

2018-04-01 Thread Ko Phyo
Thank for your valuable information. I couldn't made it for GSoC 2018 due to delay of my proposal application because of my University 1st semester examination. If you guys allow me to apply this kind of project in future (Not as GSoC applicant), I would be happily take part in it. Thanks in advanc

Re: GSoC (Improvements to GCC on Windows)

2018-04-01 Thread Liu Hao
在 2018/4/2 13:54, Ko Phyo 写道: > Thank for your valuable information. I couldn't made it for GSoC 2018 due > to delay of my proposal application because of my University 1st semester > examination. If you guys allow me to apply this kind of project in future > (Not as GSoC applicant), I would be hap