Re: Please, really, make `-masm=intel` the default for x86

2022-11-24 Thread Hi-Angel via Gcc
On Fri, 25 Nov 2022 at 09:40, LIU Hao via Gcc wrote: > One annoying thing about GCC is that, for x86 if I need to write I piece of > inline assembly then I > have to do it twice: one in AT&T syntax and one in Intel syntax. Why? A default is merely a default. I don't really see why changing that

Re: Remove RMS from the GCC Steering Committee

2021-03-26 Thread Hi-Angel via Gcc
Hello! I don't know all the details, and it surprises me nobody is asking for them. Let me be the first. On Fri, 26 Mar 2021 at 23:03, Nathan Sidwell wrote: > I’m a white dude with a British accent. > /Of course/ I have white male privilege. So, this text makes me feel sorry for the author, but

Re: Enabling Ctags Tree Wide for GCC

2019-09-11 Thread Hi-Angel
On Wed, 11 Sep 2019 at 12:50, Hi-Angel wrote: > > On Wed, 11 Sep 2019 at 09:55, Nicholas Krause wrote: > > > > > > On 9/11/19 2:30 AM, Andreas Schwab wrote: > > > On Sep 11 2019, Nicholas Krause wrote: > > > > > >> I was wondering what is

Re: Enabling Ctags Tree Wide for GCC

2019-09-11 Thread Hi-Angel
On Wed, 11 Sep 2019 at 09:55, Nicholas Krause wrote: > > > On 9/11/19 2:30 AM, Andreas Schwab wrote: > > On Sep 11 2019, Nicholas Krause wrote: > > > >> I was wondering what is the easiest way to allow source tree wide > >> ctags. > > There is make TAGS, which uses etags. Note: over time on the

Re: GCC missing -flto optimizations? SPEC lbm benchmark

2019-02-15 Thread Hi-Angel
I never could understand, why field reordering was removed from GCC? I mean, I know that it's prohibited in C and C++, but, sure, GCC can detect whether it possibly can influence application behavior, and if not, just do the reorder. The veto is important to C/C++ as programming languages, but not

Re: -ffunction-sections and -fdata-sections documentation

2017-10-13 Thread Hi-Angel
On 13 October 2017 at 17:02, David Edelsohn wrote: > On Fri, Oct 13, 2017 at 3:06 AM, Sebastian Huber > wrote: >> Hello, >> >> I would like to update the documentation of these compiler flags and have >> some questions. The -ffunction-sections and -fdata-sections documentation >> is currently: >

Intel Phi co-processor support

2017-02-03 Thread Angel Dimitrov
Hello, Can I compile on Linux with gfortran code and to run it on Phi co-processor? Or it is better to use Intel FORTRAN compiler? Angel

-Wmissing-field-initializers says «missing initializer for member» when it obviously isn't.

2014-09-10 Thread Hi-Angel
Below is a sample code to test. GCC with the option allegedly says that the line «obj = {0};» isn't initializes «mystruct::b» member to anything, although it really is. struct mystruct{ int a; int b[2]; }; int main(){ mystruct obj = {1,{2,3}}; printf("%i\n", obj.b[

Re: GCC 4.3.2 ignores -I. if used with other -I directives?!

2008-11-01 Thread Angel Tsankov
Angel Tsankov wrote: > Angel Tsankov wrote: >> [..] the -I. option seems to be ignored. > > A further investigation reveals that GCC ignore not only "-I." but > also "-I". > Still further investigation shows that versions 2.95.4, 3.0.4, and 3.1.1 take int

Re: GCC 4.3.2 ignores -I. if used with other -I directives?!

2008-11-01 Thread Angel Tsankov
Angel Tsankov wrote: > [..] the -I. option seems to be ignored. A further investigation reveals that GCC ignore not only "-I." but also "-I".

Re: GCC 4.3.2 ignores -I. if used with other -I directives?!

2008-11-01 Thread Angel Tsankov
Angel Tsankov wrote: > Result on my system: > dbgcnt.o: ../dbgcnt.c ../include/config.h > I meant that on my system the commands produce exactly the same result, i.e. the -I. option seems to be ignored.

GCC 4.3.2 ignores -I. if used with other -I directives?!

2008-11-01 Thread Angel Tsankov
-M -I../include -I. ../dbgcnt.c gcc -M -I. -I../include ../dbgcnt.c Result on my system: dbgcnt.o: ../dbgcnt.c ../include/config.h Is this the expected result or smth is wrong? Regards, Angel Tsankov

Building GCC 4.3.2 on powerpc-yellowdog-linux-gnu

2008-10-30 Thread Angel Tsankov
GE=0 to BOOT_CFLAGS; I wonder if these steps will eventually take me to a successful build of GCC. In case this matters, the configuration script identifies the build, host, and target systems as powerpc-unknown-linux-gnu. Thanks in advance, Angel Tsankov

Greetings!

2007-12-24 Thread Angel
You remember me? I d!o Here my page: http://a-zifg.nm.ru

gets is not too dangerous

2006-08-31 Thread Miguel Angel Champin Catalan
Hello: We are students of computer sciences in the Santa Maria University, Chile. We just want to know if the function "gets" it's too dangerous for a warning. The fact is that our teacher's assistant give us a homework, and one restriction was to use gcc to compile our code, without warnings

LTO and Code Compaction \ Reverse Inlining \ Procedure Abstraction?

2006-07-15 Thread Miguel Angel
Hello! I have a VERY simple example: int f1 (int i) {i = (i-7)/9+3; return i;} int f2 (int i) {i = (i-7)/9+3; return i;} It could be reduced to: int f1 (int i) {i = (i-7)/9+3; return i;} int f2 (int i) {return f1 (i);} Are there any ideas on how and where to add a target and language independe