When creating subprogram metadata, DIBuilder doesn't want a derived type of any
kind, so just use the main variant here.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182192 91177308-0d34-0410-b5e6-96231b3b80d8
The "was gcc built with C++" flag is no longer set by gcc-4.8 as it is always
built with C++.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182193 91177308-0d34-0410-b5e6-96231b3b80d8
Claim to support gcc-4.8 even though this isn't true yet.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182195 91177308-0d34-0410-b5e6-96231b3b80d8
Use get_object_alignment rather than get_object_or_type_alignment for gcc-4.8.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182196 91177308-0d34-0410-b5e6-96231b3b80d8
Fix up vector usage so that it works with both gcc-4.8 and earlier versions of
gcc.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182208 91177308-0d34-0410-b5e6-96231b3b80d8
Remove unused definition that collides with a gcc-4.8 definition.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182210 91177308-0d34-0410-b5e6-96231b3b80d8
Get the pass management logic mostly compiling with gcc-4.8.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182236 91177308-0d34-0410-b5e6-96231b3b80d8
The plugin won't execute properly with gcc before 4.8 if an rtl pass is used
here.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182239 91177308-0d34-0410-b5e6-96231b3b80d8
More gcc-4.8 work.  I forgot to mention before that most of these patches are by
Peter Collingbourne, or inspired by his patches.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182240 91177308-0d34-0410-b5e6-96231b3b80d8
Use a more appropriate name now that these are no longer *cgraph* asm nodes.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182241 91177308-0d34-0410-b5e6-96231b3b80d8
In gcc-4.8, execute_free_datastructures was inlined into its user and removed.
Do the same here.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182242 91177308-0d34-0410-b5e6-96231b3b80d8
Arrange for the gcc-4.8 iteration style to work with earlier versions of gcc too
and use this for iterating over the alias_pairs array.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182243 91177308-0d34-0410-b5e6-96231b3b80d8
The mechanism for outputing ident strings changed in gcc-4.8.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182244 91177308-0d34-0410-b5e6-96231b3b80d8
Initialize the debug location in a way that works for all gcc versions.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182258 91177308-0d34-0410-b5e6-96231b3b80d8
Use accessor macros to get at BINFO so this code compiles with all gcc versions.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182262 91177308-0d34-0410-b5e6-96231b3b80d8
Disable this compile time optimization when using gcc-4.8 since otherwise it
asserts.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182271 91177308-0d34-0410-b5e6-96231b3b80d8
Functions are no longer allowed to alias globals (and vice versa) in gcc-4.8.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182273 91177308-0d34-0410-b5e6-96231b3b80d8
Like gcc-4.7, gcc-4.8 uses the optimal alignment rather than the maximal
alignment here, causing this test to fail.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182275 91177308-0d34-0410-b5e6-96231b3b80d8
Like for gcc-4.7, this test is not relevant to gcc-4.8.


git-svn-id: https://llvm.org/svn/llvm-project/dragonegg/trunk@182277 91177308-0d34-0410-b5e6-96231b3b80d8