How to decide the what type is currently being used in tree_node?

2021-02-18 Thread Shuai Wang via Gcc
Hello, I noticed that tree_node is implemented as a union ( https://code.woboq.org/gcc/gcc/tree-core.h.html#tree_node). However, I cannot find a way of checking whether the current tree_node is really a base or type. For instance, currently when I am using: is_gimple_constant(v) Given `v` as a

Re: GCC generates non-compliant MIPS relocation data? Obscure GNU extension?

2021-02-18 Thread Project Revolution via Gcc
Gentlemen: this was fixed, although it's a bit of an odd solution. We had to combine both -mno-explicit-relocs and -mno-split-addresses, even though per the MIPS compiler documentation explicit relocs supersedes the split addresses one. Neither of these options on their own work, and it appears

gcc-8-20210218 is now available

2021-02-18 Thread GCC Administrator via Gcc
Snapshot gcc-8-20210218 is now available on https://gcc.gnu.org/pub/gcc/snapshots/8-20210218/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 8 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: GCC generates non-compliant MIPS relocation data? Obscure GNU extension?

2021-02-18 Thread Andrew Pinski via Gcc
On Thu, Feb 18, 2021 at 12:15 PM Project Revolution via Gcc wrote: > > Hi GCC folks, > > We were working on a decompilation project for a Nintendo 64 title and > attempting to enable support for using GCC instead of the emulated IRIX > compiler and we ran into a big problem with how GCC generate

GCC generates non-compliant MIPS relocation data? Obscure GNU extension?

2021-02-18 Thread Project Revolution via Gcc
Hi GCC folks, We were working on a decompilation project for a Nintendo 64 title and attempting to enable support for using GCC instead of the emulated IRIX compiler and we ran into a big problem with how GCC generates relocations for the MIPS target which appears to show that GCC is generating

Ideas for changes in GCC development

2021-02-18 Thread divyanshu jamloki via Gcc
Sir, I have checked your website and I guess that we could do some changes such as 1 background colour to make website look better and attractive 2 we could add some images to indicate more clearly what we are saying to other eg arrow for directions But sir being a 1st year student i am unable to

Re: using undeclared function returning bool results in wrong return value

2021-02-18 Thread David Brown
On 18/02/2021 13:31, Florian Weimer via Gcc wrote: > * Jonathan Wakely via Gcc: > >> Declare your functions. Don't ignore warnings. > > It's actually a GCC bug that this isn't an error. However, too many > configure scripts would still break if we changed the default. > People have had 22 year

Re: Copyright Assignment Form

2021-02-18 Thread David Edelsohn via Gcc
Sent off list. - David On Wed, Feb 17, 2021 at 11:28 PM Akshat Agarwal via Gcc wrote: > > Hey, > I would like to contribute some patches to the gccrs project > (https://github.com/Rust-GCC/gccrs/) and I'd like to get a copyright > assignment form as per the guidelines outlined at > https://gc

Re: using undeclared function returning bool results in wrong return value

2021-02-18 Thread Florian Weimer via Gcc
* Jonathan Wakely via Gcc: > Declare your functions. Don't ignore warnings. It's actually a GCC bug that this isn't an error. However, too many configure scripts would still break if we changed the default. So either use -Werror=implicit-function-declaration or C++ for the time being. Thanks,

Re: Performing inter-procedural dataflow analysis

2021-02-18 Thread Martin Jambor
Hi, On Thu, Feb 18 2021, Shuai Wang via Gcc wrote: > Hello, > > I am doing interprocedural dataflow analysis and countered the following > issue. Suppose I have an GIMPLE IR code as follows, which is after the > "simdclone" pass while before my own SIMPLE IPA pass: > > > foo (int a, int b) > { >