Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mitake/tinycc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: mob
Choose a base ref
...
head repository: mitake/tinycc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 4 files changed
  • 1 contributor

Commits on Oct 25, 2012

  1. Forbid VLA as static variables

    Currently, VLA are not forbidden for static variable. This leads to
    problems even if for fixed-size array when the size expression uses the
    ternary operator (cond ? then-value : else-value) because it is parsed
    as a general expression which leads to code generated in this case.
    
    This commit solve the problem by forbidding VLA for static variables.
    Although not required for the fix, avoiding code generation when the
    expression is constant would be a nice addition though.
    Thomas Preud'homme committed Oct 25, 2012
    Configuration menu
    Copy the full SHA
    85f6fad View commit details
    Browse the repository at this point in the history
  2. Error out in case of variable name clash

    Error out when two local variable with same name are defined in the same
    scope. This fixes bug #15597 in savannah's BTS.
    Thomas Preud'homme committed Oct 25, 2012
    Configuration menu
    Copy the full SHA
    cf95ac3 View commit details
    Browse the repository at this point in the history
  3. Fix commit 85f6fad

    Don't reset nocode_wanted with saved_nocode_wanted if it hasn't been
    modified (and hence saved_nocode_wanted is uninitialized).
    Thomas Preud'homme committed Oct 25, 2012
    Configuration menu
    Copy the full SHA
    508df16 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2012

  1. Add support for R_ARM_THM_{JUMP24,CALL} relocs

    Add support for relocations R_ARM_THM_JUMP24 and R_ARM_THM_CALL. These
    are encountered with gcc when compiling for armv6 or greater with
    -mthumb flag and a call (conditional or not) is done.
    Thomas Preud'homme committed Oct 28, 2012
    Configuration menu
    Copy the full SHA
    fad68c9 View commit details
    Browse the repository at this point in the history
  2. Enable arm hardfloat calling convention

    Use arm hardfloat calling convention when the system is using it
    (detected by searching for hardfloat multiarch directory).
    Thomas Preud'homme committed Oct 28, 2012
    Configuration menu
    Copy the full SHA
    034dce4 View commit details
    Browse the repository at this point in the history
Loading